[{"id":3672536,"web_url":"http://patchwork.ozlabs.org/comment/3672536/","msgid":"<c32ed4db-d2e2-4673-9888-88ca6570375e@canonical.com>","list_archive_url":null,"date":"2026-04-02T03:14:54","subject":"ACK: [SRU][N][PATCH 0/1] Compile error due to nonexistent struct\n member with CONFIG_PCI_EPF_TEST","submitter":{"id":92836,"url":"http://patchwork.ozlabs.org/api/people/92836/","name":"Yufeng Gao","email":"yufeng.gao@canonical.com"},"content":"On 2/4/26 12:55, Noah Wager wrote:\n> BugLink: https://bugs.launchpad.net/bugs/2147065\n>\n> [ Impact ]\n>\n> The noble 6.8 kernel fails to build when CONFIG_PCI_EPF_TEST is enabled, with\n> the following error:\n>\n> ```\n>      CC [M] drivers/pci/endpoint/functions/pci-epf-test.o\n>    drivers/pci/endpoint/functions/pci-epf-test.c: In function 'pci_epf_test_alloc_space':\n>    drivers/pci/endpoint/functions/pci-epf-test.c:863:33: error: 'const struct pci_epc_features' has no member named 'bar'\n>      863 | if (epc_features->bar[bar].type == BAR_FIXED)\n>          | ^~\n>    drivers/pci/endpoint/functions/pci-epf-test.c:863:52: error: 'BAR_FIXED' undeclared (first use in this function)\n>      863 | if (epc_features->bar[bar].type == BAR_FIXED)\n>          | ^~~~~~~~~\n>    drivers/pci/endpoint/functions/pci-epf-test.c:863:52: note: each undeclared identifier is reported only once for each function it appears in\n>    drivers/pci/endpoint/functions/pci-epf-test.c:864:53: error: 'const struct pci_epc_features' has no member named 'bar'\n>      864 | test_reg_size = epc_features->bar[bar].fixed_size;\n>          | ^~\n>    make[8]: *** [scripts/Makefile.build:243: drivers/pci/endpoint/functions/pci-epf-test.o] Error 1\n>    make[7]: *** [scripts/Makefile.build:481: drivers/pci/endpoint/functions] Error 2\n>    make[6]: *** [scripts/Makefile.build:481: drivers/pci/endpoint] Error 2\n> ```\n>\n> This is due to the inclusion of the linux-6.12.y upstream stable commit:\n> e741dabcc52b (\"PCI: endpoint: pci-epf-test: Limit PCIe BAR size for fixed BARs\")\n> without including the dependent (non-stable) commit:\n> e01c9797c0eb (\"PCI: endpoint: Clean up hardware description for BARs\")\n>\n> The 6.12 commit does not fix any issues that have been observed with the 6.8\n> noble kernel, so it should be reverted. After doing so, the kernel compiles\n> when the config is enabled.\n>\n> [ Test Plan ]\n>\n> 1. Apply the revert.\n> 2. Enable CONFIG_PCI_EPF_TEST in the generic 6.8 kernel\n> 3. Compile the kernel.\n>\n> The compilation should succeed with the revert.\n>\n> [ Where problems could occur ]\n>\n> Since this config is disabled in Ubuntu by default, it has not been tested in\n> the past. Even though it compiles with this fix, that does not guarantee\n> correct behaviour in the features that the config enables. For example,\n> reverting this commit means the feature will definitely not work with\n> controllers with too-small fixed BAR sizes, as that is what the commit fixes\n> upstream. If it is needed, a full backport of the commit and its dependents will\n> be necessary.\n>\n> [ Other Info ]\n>\n> For context, this issue was found because the noble:linux-nvidia-tegra kernel\n> needs to enable PCI_EPF_TEST, so more issues may be found once that gets further\n> testing.\n>\n> Noah Wager (1):\n>    UBUNTU: SAUCE: Revert \"PCI: endpoint: pci-epf-test: Limit PCIe BAR\n>      size for fixed BARs\"\n>\n>   drivers/pci/endpoint/functions/pci-epf-test.c | 7 +------\n>   1 file changed, 1 insertion(+), 6 deletions(-)\n>\nAcked-by: Yufeng Gao <yufeng.gao@canonical.com>","headers":{"Return-Path":"<kernel-team-bounces@lists.ubuntu.com>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (4096-bit key;\n unprotected) header.d=canonical.com header.i=@canonical.com\n header.a=rsa-sha256 header.s=20251003 header.b=c/JYywVs;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com\n (client-ip=185.125.189.65; helo=lists.ubuntu.com;\n envelope-from=kernel-team-bounces@lists.ubuntu.com;\n receiver=patchwork.ozlabs.org)"],"Received":["from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fmRmx5dTTz1yGH\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 02 Apr 2026 14:15:13 +1100 (AEDT)","from localhost ([127.0.0.1] helo=lists.ubuntu.com)\n\tby lists.ubuntu.com with esmtp (Exim 4.86_2)\n\t(envelope-from <kernel-team-bounces@lists.ubuntu.com>)\n\tid 1w88WO-0000xr-6d; Thu, 02 Apr 2026 03:15:04 +0000","from smtp-relay-internal-0.internal ([10.131.114.225]\n helo=smtp-relay-internal-0.canonical.com)\n by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.86_2) (envelope-from <yufeng.gao@canonical.com>)\n id 1w88WN-0000xP-57\n for kernel-team@lists.ubuntu.com; Thu, 02 Apr 2026 03:15:03 +0000","from mail-pl1-f199.google.com (mail-pl1-f199.google.com\n [209.85.214.199])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id E6D4C3F129\n for <kernel-team@lists.ubuntu.com>; Thu,  2 Apr 2026 03:15:02 +0000 (UTC)","by mail-pl1-f199.google.com with SMTP id\n d9443c01a7336-2b24305cb3cso3825825ad.2\n for <kernel-team@lists.ubuntu.com>; Wed, 01 Apr 2026 20:15:02 -0700 (PDT)","from ?IPV6:2001:8003:ec14:5900:1487:f09a:a0e3:68b9?\n ([2001:8003:ec14:5900:1487:f09a:a0e3:68b9])\n by smtp.gmail.com with ESMTPSA id\n d9443c01a7336-2b2749e2e97sm13307165ad.82.2026.04.01.20.14.58\n for <kernel-team@lists.ubuntu.com>\n (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);\n Wed, 01 Apr 2026 20:15:00 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com;\n s=20251003; t=1775099702;\n bh=n0vj8PcgKuUowzh+cz1vf790sXSMU7lVdsJwG1XwpuI=;\n h=Message-ID:Date:MIME-Version:Subject:To:References:From:\n In-Reply-To:Content-Type;\n b=c/JYywVsLWC4Tmd/2aNSYUOIYkJbzF1eFefJ4/5HV9qCDm3tpSMwfr8mnKuPsCPCi\n 0I367u2MqrbYE6xBofXudIB7CLNuzlrMkkiVLOKZP9WJGMp3FfI6Q6N5kye1bT+xEy\n M6wCTgn2y/kh3nc+8kAd2PGALSSZwgJB0132KOQle2iBG7RYw6J/XBCF7BxaQryeCC\n R+AHaGJBJf+XgEMzX9D15lFk63U3IzRW2KpD2uiiHqx+YYT1yQhDGCs3XsEl1/1d3d\n RXd6RtzOMZnZ8Yh9G9XaBAZfqD2g4hyhQkK5LizmO168aLA+MeFu2YbLGJzXLF6yHS\n C9QBJ3FRycz/ahebLo2HbaXdMJYxBI6d+SeDBDf39RJGwmml71JiZLPnHGZ0yNtKFS\n RQMydvENzAcbpokGuSxkm5mgpQzSBue5HjQD+Ipu6riaOKR8jhPxI6CLnirtgP98gs\n whp6BwyzPJkD9hvn2yt5uvhPFsW4KfOv/UEYhX9iq1Ah20vXjQWDPpEq3UOixk2398\n M8b/loyURM9LN2oicL8G29MMIc2N269sWFD8HYsTIhZNuR/5MnvD6RLGeYWBh9FV3z\n yODQ196pqN40yCbz9MPh9F4ia5KbEISgYJNxjJNJDRRGcAkD8LJ9/H+8AnVm0URM2e\n /QExm+dKX3rSC73TqJCekMHc=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1775099701; x=1775704501;\n h=content-transfer-encoding:in-reply-to:content-language:from\n :references:to:subject:user-agent:mime-version:date:message-id\n :x-gm-gg:x-gm-message-state:from:to:cc:subject:date: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iN6PEhllvR+ThR2GZ5lJQIpfDo20FVhIgrLIDkL439Bh+mUaNMzqsXRHs4c8X54FMb6X3JY8\n KKDDs=","X-Received":["by 2002:a17:902:ebc2:b0:2b2:4611:5dca with SMTP id\n d9443c01a7336-2b269c3ee58mr65499925ad.24.1775099701170;\n Wed, 01 Apr 2026 20:15:01 -0700 (PDT)","by 2002:a17:902:ebc2:b0:2b2:4611:5dca with SMTP id\n d9443c01a7336-2b269c3ee58mr65499735ad.24.1775099700776;\n Wed, 01 Apr 2026 20:15:00 -0700 (PDT)"],"Message-ID":"<c32ed4db-d2e2-4673-9888-88ca6570375e@canonical.com>","Date":"Thu, 2 Apr 2026 13:14:54 +1000","MIME-Version":"1.0","User-Agent":"Mozilla Thunderbird","Subject":"ACK: [SRU][N][PATCH 0/1] Compile error due to nonexistent struct\n member with CONFIG_PCI_EPF_TEST","To":"kernel-team@lists.ubuntu.com","References":"<20260402025553.512322-1-noah.wager@canonical.com>","From":"Yufeng Gao <yufeng.gao@canonical.com>","Content-Language":"en-US","In-Reply-To":"<20260402025553.512322-1-noah.wager@canonical.com>","X-BeenThere":"kernel-team@lists.ubuntu.com","X-Mailman-Version":"2.1.20","Precedence":"list","List-Id":"Kernel team discussions <kernel-team.lists.ubuntu.com>","List-Unsubscribe":"<https://lists.ubuntu.com/mailman/options/kernel-team>,\n <mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe>","List-Archive":"<https://lists.ubuntu.com/archives/kernel-team>","List-Post":"<mailto:kernel-team@lists.ubuntu.com>","List-Help":"<mailto:kernel-team-request@lists.ubuntu.com?subject=help>","List-Subscribe":"<https://lists.ubuntu.com/mailman/listinfo/kernel-team>,\n <mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe>","Content-Transfer-Encoding":"base64","Content-Type":"text/plain; charset=\"utf-8\"; Format=\"flowed\"","Errors-To":"kernel-team-bounces@lists.ubuntu.com","Sender":"\"kernel-team\" <kernel-team-bounces@lists.ubuntu.com>"}},{"id":3675074,"web_url":"http://patchwork.ozlabs.org/comment/3675074/","msgid":"<3da93170-5e13-41d4-b53b-d4293906b0a0@canonical.com>","list_archive_url":null,"date":"2026-04-09T04:54:45","subject":"ACK: [SRU][N][PATCH 0/1] Compile error due to nonexistent struct\n member with CONFIG_PCI_EPF_TEST","submitter":{"id":85372,"url":"http://patchwork.ozlabs.org/api/people/85372/","name":"Masahiro Yamada","email":"masahiro.yamada@canonical.com"},"content":"On 4/2/26 11:55, Noah Wager wrote:\n> BugLink: https://bugs.launchpad.net/bugs/2147065\n>\n> [ Impact ]\n>\n> The noble 6.8 kernel fails to build when CONFIG_PCI_EPF_TEST is enabled, with\n> the following error:\n>\n> ```\n>      CC [M] drivers/pci/endpoint/functions/pci-epf-test.o\n>    drivers/pci/endpoint/functions/pci-epf-test.c: In function 'pci_epf_test_alloc_space':\n>    drivers/pci/endpoint/functions/pci-epf-test.c:863:33: error: 'const struct pci_epc_features' has no member named 'bar'\n>      863 | if (epc_features->bar[bar].type == BAR_FIXED)\n>          | ^~\n>    drivers/pci/endpoint/functions/pci-epf-test.c:863:52: error: 'BAR_FIXED' undeclared (first use in this function)\n>      863 | if (epc_features->bar[bar].type == BAR_FIXED)\n>          | ^~~~~~~~~\n>    drivers/pci/endpoint/functions/pci-epf-test.c:863:52: note: each undeclared identifier is reported only once for each function it appears in\n>    drivers/pci/endpoint/functions/pci-epf-test.c:864:53: error: 'const struct pci_epc_features' has no member named 'bar'\n>      864 | test_reg_size = epc_features->bar[bar].fixed_size;\n>          | ^~\n>    make[8]: *** [scripts/Makefile.build:243: drivers/pci/endpoint/functions/pci-epf-test.o] Error 1\n>    make[7]: *** [scripts/Makefile.build:481: drivers/pci/endpoint/functions] Error 2\n>    make[6]: *** [scripts/Makefile.build:481: drivers/pci/endpoint] Error 2\n> ```\n>\n> This is due to the inclusion of the linux-6.12.y upstream stable commit:\n> e741dabcc52b (\"PCI: endpoint: pci-epf-test: Limit PCIe BAR size for fixed BARs\")\n> without including the dependent (non-stable) commit:\n> e01c9797c0eb (\"PCI: endpoint: Clean up hardware description for BARs\")\n>\n> The 6.12 commit does not fix any issues that have been observed with the 6.8\n> noble kernel, so it should be reverted. After doing so, the kernel compiles\n> when the config is enabled.\n>\n> [ Test Plan ]\n>\n> 1. Apply the revert.\n> 2. Enable CONFIG_PCI_EPF_TEST in the generic 6.8 kernel\n> 3. Compile the kernel.\n>\n> The compilation should succeed with the revert.\n>\n> [ Where problems could occur ]\n>\n> Since this config is disabled in Ubuntu by default, it has not been tested in\n> the past. Even though it compiles with this fix, that does not guarantee\n> correct behaviour in the features that the config enables. For example,\n> reverting this commit means the feature will definitely not work with\n> controllers with too-small fixed BAR sizes, as that is what the commit fixes\n> upstream. If it is needed, a full backport of the commit and its dependents will\n> be necessary.\n>\n> [ Other Info ]\n>\n> For context, this issue was found because the noble:linux-nvidia-tegra kernel\n> needs to enable PCI_EPF_TEST, so more issues may be found once that gets further\n> testing.\n>\n> Noah Wager (1):\n>    UBUNTU: SAUCE: Revert \"PCI: endpoint: pci-epf-test: Limit PCIe BAR\n>      size for fixed BARs\"\n>\n>   drivers/pci/endpoint/functions/pci-epf-test.c | 7 +------\n>   1 file changed, 1 insertion(+), 6 deletions(-)\n>\n\nAcked-by: Masahiro Yamada <masahiro.yamada@canonical.com>","headers":{"Return-Path":"<kernel-team-bounces@lists.ubuntu.com>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (4096-bit key;\n unprotected) header.d=canonical.com header.i=@canonical.com\n header.a=rsa-sha256 header.s=20251003 header.b=V4oggF5C;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com\n (client-ip=185.125.189.65; helo=lists.ubuntu.com;\n envelope-from=kernel-team-bounces@lists.ubuntu.com;\n receiver=patchwork.ozlabs.org)"],"Received":["from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4frnfr33r8z1yD3\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 09 Apr 2026 14:55:00 +1000 (AEST)","from localhost ([127.0.0.1] helo=lists.ubuntu.com)\n\tby lists.ubuntu.com with esmtp (Exim 4.86_2)\n\t(envelope-from <kernel-team-bounces@lists.ubuntu.com>)\n\tid 1wAhPq-0001vU-5p; Thu, 09 Apr 2026 04:54:54 +0000","from smtp-relay-internal-0.internal ([10.131.114.225]\n helo=smtp-relay-internal-0.canonical.com)\n by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.86_2) (envelope-from <masahiro.yamada@canonical.com>)\n id 1wAhPn-0001ur-SQ\n for kernel-team@lists.ubuntu.com; Thu, 09 Apr 2026 04:54:51 +0000","from mail-qt1-f198.google.com (mail-qt1-f198.google.com\n [209.85.160.198])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id A79F33F654\n for <kernel-team@lists.ubuntu.com>; Thu,  9 Apr 2026 04:54:51 +0000 (UTC)","by mail-qt1-f198.google.com with SMTP id\n d75a77b69052e-50d63962d83so16474621cf.2\n for <kernel-team@lists.ubuntu.com>; Wed, 08 Apr 2026 21:54:51 -0700 (PDT)","from ?IPV6:2001:67c:1562:8007::aac:401c?\n ([2001:67c:1562:8007::aac:401c]) by smtp.gmail.com with ESMTPSA id\n af79cd13be357-8d2a864ad92sm1632034285a.35.2026.04.08.21.54.48\n (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);\n Wed, 08 Apr 2026 21:54:49 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com;\n s=20251003; t=1775710491;\n bh=Vhq7gN/VXY+jHLQasw+zEL4b5b8Yv2kuVvbPonXubds=;\n h=Message-ID:Date:MIME-Version:Subject:To:References:From:\n In-Reply-To:Content-Type;\n b=V4oggF5CMIdqQhSgeoieWy5646drbzXW3G2oxXFo/Je2Kr2DFw7wjse0EyEdMvnZd\n GOi1JN/HAsEitFBSDhB+KDwu+3QgJY3SjDBGLvoLNjxIvmbbRIg/3PurDaXiPiHKZA\n tNY1ohFh+9TJmBOT3BPt4u7qr+HiNVurnY3e0Sb9fLzfdFnhohEM8WW70dwwdBAyw9\n OmKHmKpc1uQhyWhd42iF4u0z2taZJXAoq8ZfpnyLRWMadvMqag3OfEzm7xwR3BkOiS\n I/xEJPJqDLml/B28eAHQ/m976MH8ZI+6x/ALh2M/zGHF5MuuhWbCvtGV2V8vKzsefH\n VaCSVDQu8y0JQGGwZpqC/zJykMZJh1rWxDO+PD9/7Bh1K/obVwWybjkACKRA2B7AbC\n kwUjm6jzIaLhnZieooCzo8ePuSeLj4Jhrdrt76X9ysu87XfQUs83QFokniPjAJLNmB\n aaA5X0NOytqPIr9a+q6D8KzYNJfbu04b2VGfCXgO2JmwMf390Xbnj1nb34p5zjJ5TS\n hD1IrN+Sxb3/zQDDGroyJHUd367286MRrARVappJpBPy2SxCj7PgFUB68NlHxq8qIx\n FqmqUCofBAqikLzvMYfhEnc4hzE9dFT48e2A4zNgDO36yem8Z+Rf0Q1jGrJzIVeaKw\n QQmmnQPP9XRWTEWZKcGQ6uF0=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1775710490; x=1776315290;\n h=content-transfer-encoding:in-reply-to:content-language:from\n :references:to:subject:user-agent:mime-version:date:message-id\n :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id\n :reply-to;\n bh=Vhq7gN/VXY+jHLQasw+zEL4b5b8Yv2k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ZAHEEa9946RyPQUaLI+jjfnnOIJzOp3VDnUceDBdX6Ghjh25lE02VzKXYzN9U\n jfIf5OdGvFRRsM+ZvKU1p8DMLoZ9WDwG695W2+/N7QKHgcZdumE1vRTb+","X-Received":["by 2002:a05:620a:3d90:b0:8d7:a015:5dc2 with SMTP id\n af79cd13be357-8d7a0156151mr1473850885a.52.1775710490437;\n Wed, 08 Apr 2026 21:54:50 -0700 (PDT)","by 2002:a05:620a:3d90:b0:8d7:a015:5dc2 with SMTP id\n af79cd13be357-8d7a0156151mr1473850085a.52.1775710489989;\n Wed, 08 Apr 2026 21:54:49 -0700 (PDT)"],"Message-ID":"<3da93170-5e13-41d4-b53b-d4293906b0a0@canonical.com>","Date":"Thu, 9 Apr 2026 13:54:45 +0900","MIME-Version":"1.0","User-Agent":"Mozilla Thunderbird","Subject":"ACK: [SRU][N][PATCH 0/1] Compile error due to nonexistent struct\n member with CONFIG_PCI_EPF_TEST","To":"Noah Wager <noah.wager@canonical.com>, kernel-team@lists.ubuntu.com","References":"<20260402025553.512322-1-noah.wager@canonical.com>","From":"Masahiro Yamada <masahiro.yamada@canonical.com>","Content-Language":"en-US","In-Reply-To":"<20260402025553.512322-1-noah.wager@canonical.com>","X-BeenThere":"kernel-team@lists.ubuntu.com","X-Mailman-Version":"2.1.20","Precedence":"list","List-Id":"Kernel team discussions <kernel-team.lists.ubuntu.com>","List-Unsubscribe":"<https://lists.ubuntu.com/mailman/options/kernel-team>,\n <mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe>","List-Archive":"<https://lists.ubuntu.com/archives/kernel-team>","List-Post":"<mailto:kernel-team@lists.ubuntu.com>","List-Help":"<mailto:kernel-team-request@lists.ubuntu.com?subject=help>","List-Subscribe":"<https://lists.ubuntu.com/mailman/listinfo/kernel-team>,\n <mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe>","Content-Transfer-Encoding":"base64","Content-Type":"text/plain; charset=\"utf-8\"; Format=\"flowed\"","Errors-To":"kernel-team-bounces@lists.ubuntu.com","Sender":"\"kernel-team\" <kernel-team-bounces@lists.ubuntu.com>"}},{"id":3676114,"web_url":"http://patchwork.ozlabs.org/comment/3676114/","msgid":"<875x5yrqla.fsf@gmail.com>","list_archive_url":null,"date":"2026-04-11T05:52:33","subject":"APPLIED: [SRU][N][PATCH 0/1] Compile error due to nonexistent\n struct member with CONFIG_PCI_EPF_TEST","submitter":{"id":89305,"url":"http://patchwork.ozlabs.org/api/people/89305/","name":"Mehmet Basaran","email":"mehmet.basaran@canonical.com"},"content":"Applied to noble:linux master-next branch. Thanks.\nNoah Wager <noah.wager@canonical.com> writes:\n\n> BugLink: https://bugs.launchpad.net/bugs/2147065\n>\n> [ Impact ]\n>\n> The noble 6.8 kernel fails to build when CONFIG_PCI_EPF_TEST is enabled, with\n> the following error:\n>\n> ```\n>     CC [M] drivers/pci/endpoint/functions/pci-epf-test.o\n>   drivers/pci/endpoint/functions/pci-epf-test.c: In function 'pci_epf_test_alloc_space':\n>   drivers/pci/endpoint/functions/pci-epf-test.c:863:33: error: 'const struct pci_epc_features' has no member named 'bar'\n>     863 | if (epc_features->bar[bar].type == BAR_FIXED)\n>         | ^~\n>   drivers/pci/endpoint/functions/pci-epf-test.c:863:52: error: 'BAR_FIXED' undeclared (first use in this function)\n>     863 | if (epc_features->bar[bar].type == BAR_FIXED)\n>         | ^~~~~~~~~\n>   drivers/pci/endpoint/functions/pci-epf-test.c:863:52: note: each undeclared identifier is reported only once for each function it appears in\n>   drivers/pci/endpoint/functions/pci-epf-test.c:864:53: error: 'const struct pci_epc_features' has no member named 'bar'\n>     864 | test_reg_size = epc_features->bar[bar].fixed_size;\n>         | ^~\n>   make[8]: *** [scripts/Makefile.build:243: drivers/pci/endpoint/functions/pci-epf-test.o] Error 1\n>   make[7]: *** [scripts/Makefile.build:481: drivers/pci/endpoint/functions] Error 2\n>   make[6]: *** [scripts/Makefile.build:481: drivers/pci/endpoint] Error 2\n> ```\n>\n> This is due to the inclusion of the linux-6.12.y upstream stable commit:\n> e741dabcc52b (\"PCI: endpoint: pci-epf-test: Limit PCIe BAR size for fixed BARs\")\n> without including the dependent (non-stable) commit:\n> e01c9797c0eb (\"PCI: endpoint: Clean up hardware description for BARs\")\n>\n> The 6.12 commit does not fix any issues that have been observed with the 6.8\n> noble kernel, so it should be reverted. After doing so, the kernel compiles\n> when the config is enabled.\n>\n> [ Test Plan ]\n>\n> 1. Apply the revert.\n> 2. Enable CONFIG_PCI_EPF_TEST in the generic 6.8 kernel\n> 3. Compile the kernel.\n>\n> The compilation should succeed with the revert.\n>\n> [ Where problems could occur ]\n>\n> Since this config is disabled in Ubuntu by default, it has not been tested in\n> the past. Even though it compiles with this fix, that does not guarantee\n> correct behaviour in the features that the config enables. For example,\n> reverting this commit means the feature will definitely not work with\n> controllers with too-small fixed BAR sizes, as that is what the commit fixes\n> upstream. If it is needed, a full backport of the commit and its dependents will\n> be necessary.\n>\n> [ Other Info ]\n>\n> For context, this issue was found because the noble:linux-nvidia-tegra kernel\n> needs to enable PCI_EPF_TEST, so more issues may be found once that gets further\n> testing.\n>\n> Noah Wager (1):\n>   UBUNTU: SAUCE: Revert \"PCI: endpoint: pci-epf-test: Limit PCIe BAR\n>     size for fixed BARs\"\n>\n>  drivers/pci/endpoint/functions/pci-epf-test.c | 7 +------\n>  1 file changed, 1 insertion(+), 6 deletions(-)\n>\n> -- \n> 2.43.0\n>\n>\n> -- \n> kernel-team mailing list\n> kernel-team@lists.ubuntu.com\n> https://lists.ubuntu.com/mailman/listinfo/kernel-team","headers":{"Return-Path":"<kernel-team-bounces@lists.ubuntu.com>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (4096-bit key;\n unprotected) header.d=canonical.com header.i=@canonical.com\n header.a=rsa-sha256 header.s=20251003 header.b=K/mdT8m4;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com\n (client-ip=185.125.189.65; helo=lists.ubuntu.com;\n envelope-from=kernel-team-bounces@lists.ubuntu.com;\n receiver=patchwork.ozlabs.org)"],"Received":["from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4ft2rY3w3Mz1yGb\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 11 Apr 2026 15:52:45 +1000 (AEST)","from localhost ([127.0.0.1] helo=lists.ubuntu.com)\n\tby lists.ubuntu.com with esmtp (Exim 4.86_2)\n\t(envelope-from <kernel-team-bounces@lists.ubuntu.com>)\n\tid 1wBRGo-0004wk-9l; Sat, 11 Apr 2026 05:52:38 +0000","from smtp-relay-internal-1.internal ([10.131.114.114]\n helo=smtp-relay-internal-1.canonical.com)\n by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.86_2) (envelope-from <mehmet.basaran@canonical.com>)\n id 1wBRGm-0004wa-QZ\n for kernel-team@lists.ubuntu.com; Sat, 11 Apr 2026 05:52:36 +0000","from mail-wm1-f69.google.com (mail-wm1-f69.google.com\n [209.85.128.69])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id B6A1F3F16E\n for <kernel-team@lists.ubuntu.com>; Sat, 11 Apr 2026 05:52:36 +0000 (UTC)","by mail-wm1-f69.google.com with SMTP id\n 5b1f17b1804b1-488dcaf2f2fso3277055e9.0\n for <kernel-team@lists.ubuntu.com>; Fri, 10 Apr 2026 22:52:36 -0700 (PDT)","from localhost ([94.54.18.154]) by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-488d67b4903sm47768095e9.5.2026.04.10.22.52.34\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Fri, 10 Apr 2026 22:52:35 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com;\n s=20251003; t=1775886756;\n bh=LlbpALs4DtFWiAB+H9hwNac2Fx7xCbUJwmHufyOCy4k=;\n h=From:To:Subject:In-Reply-To:References:Date:Message-ID:\n MIME-Version:Content-Type;\n b=K/mdT8m4iU2/p9uc8voP12xheEgSEBnZS09NKWSrLxxbnibQftBjjtKVYFNZ/qEEB\n pEW9Hrjy3C+rtNl3wrGSB/W+4v8cnk3pgY8ji1T8KtbizyIMUSLvheaWd5IjfiGhz1\n CaLoR4uVc4bVR6zdESE/29+46Xj5giGrJAVxQtTvn4/bprUtqG2YnjSVxeX/NvknSA\n HB58etYr1V0DM7JoYMUwYyUkgh3Pp6dvv9c/smr3KGDas8XKBkFv0279Mk535GTP1y\n nFNTMb+ZUGadtgKb0AholxHyPtV51+ekNFF889HdJvnQ1x5Sbyfh1sbuPhE+5jIVo4\n 2ymO7o5eERfs4fuW0h/gMR2WIoaGTMOe1Qi4ll+zPafocdMAv01PQdA0DVBb/CA5t8\n PCOv97a5DwnW7Qp1aQZ2PX//tdMnJYtQYxsymmHVAq2hmJ1+n3Wa1Qm24PEyQKm8og\n 0GKsaZ04u0UV5VgIR96Wmku6ZIScJmNI8Pc2p4jxDULzRX5uT0RqwXvR6eH6IapYif\n 9fc6FR4ezcneA7VT3HSZmBEV7rOFfUczlI8uO3ln3D+/gdYLZFkl83ZUApIWl42cov\n VChmWEz0GSbFiVOTqJJbA08V0SG/J8uha7invtnfTLJYXieztJNpWlo3gdk6pu4Hnp\n jQeyGq/+6ZdeCs4AoV78nsFU=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1775886756; x=1776491556;\n h=mime-version:message-id:date:references:in-reply-to:subject:to:from\n :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id\n :reply-to;\n bh=LlbpALs4DtFWiAB+H9hwNac2Fx7xCbUJwmHufyOCy4k=;\n b=FsewLMuLB3AkoaG3V04onvVvhoiLiidJOaimS+TIdW9C16Amasv4uWpcGJ7vbLP9Ce\n tAkLPxaJ0ks3edZgzOFUvFv+J1nc1n7DHIt8Ya1Gghp+HgEn73yAyfMakevAi3+SuoOW\n S33e1TQmoEW2SecszNU1TUk38pbvFq08eUVCCLj2aNMHRw9yEbk53K56CdXo4kl9uY92\n 1oMVhfZfp9DbQWp0SprIev+Fl0Qck8CjRodF9rYTasax/6ocnJ1dMBJiTLsPa56ridgp\n HM5FEbgCnOI51xPxZuZH79ioKWJZG1Qf9Yf/JBO/snJLyuqBzM3HMWA6A/SM0SERNJK3\n J9lA==","X-Forwarded-Encrypted":"i=1;\n AJvYcCVP7cpkrVDDm9q0XO2Yaw9lPE7ZbrnW8vmaECwlxLdHqn5Wo0QmBbaVWj9U6YMbjnRu1S3sl7fEQZi+3w==@lists.ubuntu.com","X-Gm-Message-State":"AOJu0YzSnIMbvv7MvSn6omJrs7dHuxmPKS+spCxdkclsPetUrWEJzsSw\n y3ytpGC+clp+VCsSmJSsCbd07RoQLBUE4d0gvQ6tl1ydr/Kg+XHgeYtzIkeyCm/PMBHa72G4TXf\n ENHZmEl1dlJuGd6ySzGimAHo9/GvuAHAf+PGMx8/YUzc30CcBvWxAJZfGcBCZ65JypxwKFznz/Y\n 2tfcGO7+PkcyJatg==","X-Gm-Gg":"AeBDieuD4sWm22MJ1WXlJ+qwiPLFdfRX50PpAhUz3hO68R0tLb6FFC46WBnuHT+mH3C\n 4nOh15aeu9yG94HkSBIZZkQxkenvUj/PEo/G2xU3TY9S76Dm3WFCdUX83KFbCt4c6eTT+gvdzFO\n qDx+ctCdS/Lp88lUDVGGgvz6qGW3AjSltPIP2BSn6cY9ZJQ/Ft5r7G9ZBFUMYaMh+NFzZy/Zh2Y\n p8cTokbBmkmaXHExLOR0dMdaUgmKfiXsQzH7BG1dmFBAoLy/3+0dWUG3605ls2FJAeyFDgghCBn\n 0jGUQvWYERNbCkCEkSwvfIgwFSjs5k4tT3AkCfIxZ7bKylzjauKGg4NrXePuPPaNFILQKa9qJS4\n /Sv8PbdsRoD3qQdBrC05GuIOJoCKc","X-Received":["by 2002:a05:600c:8883:b0:488:9fb7:376d with SMTP id\n 5b1f17b1804b1-488d689baccmr53614335e9.28.1775886756057;\n Fri, 10 Apr 2026 22:52:36 -0700 (PDT)","by 2002:a05:600c:8883:b0:488:9fb7:376d with SMTP id\n 5b1f17b1804b1-488d689baccmr53614125e9.28.1775886755708;\n Fri, 10 Apr 2026 22:52:35 -0700 (PDT)"],"From":"Mehmet Basaran <mehmet.basaran@canonical.com>","To":"Noah Wager <noah.wager@canonical.com>, kernel-team@lists.ubuntu.com","Subject":"APPLIED: [SRU][N][PATCH 0/1] Compile error due to nonexistent\n struct member with CONFIG_PCI_EPF_TEST","In-Reply-To":"<20260402025553.512322-1-noah.wager@canonical.com>","References":"<20260402025553.512322-1-noah.wager@canonical.com>","Date":"Sat, 11 Apr 2026 08:52:33 +0300","Message-ID":"<875x5yrqla.fsf@gmail.com>","MIME-Version":"1.0","Content-Type":"multipart/mixed; boundary=\"=-=-=\"","X-BeenThere":"kernel-team@lists.ubuntu.com","X-Mailman-Version":"2.1.20","Precedence":"list","List-Id":"Kernel team discussions <kernel-team.lists.ubuntu.com>","List-Unsubscribe":"<https://lists.ubuntu.com/mailman/options/kernel-team>,\n <mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe>","List-Archive":"<https://lists.ubuntu.com/archives/kernel-team>","List-Post":"<mailto:kernel-team@lists.ubuntu.com>","List-Help":"<mailto:kernel-team-request@lists.ubuntu.com?subject=help>","List-Subscribe":"<https://lists.ubuntu.com/mailman/listinfo/kernel-team>,\n <mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe>","Errors-To":"kernel-team-bounces@lists.ubuntu.com","Sender":"\"kernel-team\" <kernel-team-bounces@lists.ubuntu.com>"}}]