From wenst at chromium.org Wed Apr 8 01:11:49 2026 From: wenst at chromium.org (Chen-Yu Tsai) Date: Wed, 8 Apr 2026 16:11:49 +0800 Subject: [PATCH] firmware: raspberrypi: Change dependency to ARCH_BCM2835 and COMPILE_TEST Message-ID: <20260408081150.1710717-1-wenst@chromium.org> The Raspberry Pi firmware driver has no compile dependencies on the BCM2835 mailbox driver. It's just a indirect runtime dependency: the driver only works on a Raspberry Pi. Change the dependency from BCM2835_MBOX to ARCH_BCM2835. Also allow compile tests. This allows drivers that have build time dependencies on this firmware driver to be compile tested as well. Signed-off-by: Chen-Yu Tsai --- drivers/firmware/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware/Kconfig b/drivers/firmware/Kconfig index bbd2155d8483..f99d27c1f6a4 100644 --- a/drivers/firmware/Kconfig +++ b/drivers/firmware/Kconfig @@ -114,7 +114,7 @@ config ISCSI_IBFT config RASPBERRYPI_FIRMWARE tristate "Raspberry Pi Firmware Driver" - depends on BCM2835_MBOX + depends on ARCH_BCM2835 || COMPILE_TEST help This option enables support for communicating with the firmware on the Raspberry Pi. -- 2.53.0.1213.gd9a14994de-goog From florian.fainelli at broadcom.com Fri Apr 10 10:15:41 2026 From: florian.fainelli at broadcom.com (Florian Fainelli) Date: Fri, 10 Apr 2026 10:15:41 -0700 Subject: [PATCH] firmware: raspberrypi: Change dependency to ARCH_BCM2835 and COMPILE_TEST In-Reply-To: <20260408081150.1710717-1-wenst@chromium.org> References: <20260408081150.1710717-1-wenst@chromium.org> Message-ID: On 4/8/26 01:11, Chen-Yu Tsai wrote: > The Raspberry Pi firmware driver has no compile dependencies on the > BCM2835 mailbox driver. It's just a indirect runtime dependency: the > driver only works on a Raspberry Pi. > > Change the dependency from BCM2835_MBOX to ARCH_BCM2835. Also allow > compile tests. This allows drivers that have build time dependencies > on this firmware driver to be compile tested as well. > > Signed-off-by: Chen-Yu Tsai No objection, however I think this should also have: default ARCH_BRCM2835 because without the firmware driver there is effectively nothing that works. See this patch series: https://lists.infradead.org/pipermail/linux-arm-kernel/2024-May/927679.html > --- > drivers/firmware/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/firmware/Kconfig b/drivers/firmware/Kconfig > index bbd2155d8483..f99d27c1f6a4 100644 > --- a/drivers/firmware/Kconfig > +++ b/drivers/firmware/Kconfig > @@ -114,7 +114,7 @@ config ISCSI_IBFT > > config RASPBERRYPI_FIRMWARE > tristate "Raspberry Pi Firmware Driver" > - depends on BCM2835_MBOX > + depends on ARCH_BCM2835 || COMPILE_TEST > help > This option enables support for communicating with the firmware on the > Raspberry Pi. -- Florian From lkp at intel.com Mon Apr 13 01:29:24 2026 From: lkp at intel.com (kernel test robot) Date: Mon, 13 Apr 2026 16:29:24 +0800 Subject: [PATCH] firmware: raspberrypi: Change dependency to ARCH_BCM2835 and COMPILE_TEST In-Reply-To: <20260408081150.1710717-1-wenst@chromium.org> References: <20260408081150.1710717-1-wenst@chromium.org> Message-ID: <202604130409.fOhpgXN6-lkp@intel.com> Hi Chen-Yu, kernel test robot noticed the following build errors: [auto build test ERROR on soc/for-next] [also build test ERROR on linus/master v7.0-rc7 next-20260410] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Chen-Yu-Tsai/firmware-raspberrypi-Change-dependency-to-ARCH_BCM2835-and-COMPILE_TEST/20260412-210604 base: https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git for-next patch link: https://lore.kernel.org/r/20260408081150.1710717-1-wenst%40chromium.org patch subject: [PATCH] firmware: raspberrypi: Change dependency to ARCH_BCM2835 and COMPILE_TEST config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20260413/202604130409.fOhpgXN6-lkp at intel.com/config) compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260413/202604130409.fOhpgXN6-lkp at intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202604130409.fOhpgXN6-lkp at intel.com/ All errors (new ones prefixed by >>): >> drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c:531:3: error: call to undeclared function 'dsb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 531 | dsb(sy); | ^ >> drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c:531:7: error: use of undeclared identifier 'sy' 531 | dsb(sy); | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c:559:2: error: call to undeclared function 'dsb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 559 | dsb(sy); /* data barrier operation */ | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c:559:6: error: use of undeclared identifier 'sy' 559 | dsb(sy); /* data barrier operation */ | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c:1944:2: error: call to undeclared function 'dsb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1944 | DEBUG_VALUE(PARSE_HEADER, (int)(long)header); | ^ include/linux/raspberrypi/vchiq_core.h:71:37: note: expanded from macro 'DEBUG_VALUE' 71 | do { debug_ptr[DEBUG_ ## d] = (v); dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c:1944:2: error: use of undeclared identifier 'sy' include/linux/raspberrypi/vchiq_core.h:71:41: note: expanded from macro 'DEBUG_VALUE' 71 | do { debug_ptr[DEBUG_ ## d] = (v); dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c:1946:2: error: call to undeclared function 'dsb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1946 | DEBUG_VALUE(PARSE_MSGID, msgid); | ^ include/linux/raspberrypi/vchiq_core.h:71:37: note: expanded from macro 'DEBUG_VALUE' 71 | do { debug_ptr[DEBUG_ ## d] = (v); dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c:1946:2: error: use of undeclared identifier 'sy' include/linux/raspberrypi/vchiq_core.h:71:41: note: expanded from macro 'DEBUG_VALUE' 71 | do { debug_ptr[DEBUG_ ## d] = (v); dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c:2059:4: error: call to undeclared function 'dsb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2059 | DEBUG_TRACE(PARSE_LINE); | ^ include/linux/raspberrypi/vchiq_core.h:69:42: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c:2059:4: error: use of undeclared identifier 'sy' include/linux/raspberrypi/vchiq_core.h:69:46: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c:2062:5: error: call to undeclared function 'dsb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2062 | DEBUG_TRACE(PARSE_LINE); | ^ include/linux/raspberrypi/vchiq_core.h:69:42: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c:2062:5: error: use of undeclared identifier 'sy' include/linux/raspberrypi/vchiq_core.h:69:46: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c:2097:4: error: call to undeclared function 'dsb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2097 | DEBUG_TRACE(PARSE_LINE); | ^ include/linux/raspberrypi/vchiq_core.h:69:42: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c:2097:4: error: use of undeclared identifier 'sy' include/linux/raspberrypi/vchiq_core.h:69:46: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c:2099:5: error: call to undeclared function 'dsb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2099 | DEBUG_TRACE(PARSE_LINE); | ^ include/linux/raspberrypi/vchiq_core.h:69:42: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c:2099:5: error: use of undeclared identifier 'sy' include/linux/raspberrypi/vchiq_core.h:69:46: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c:2132:4: error: call to undeclared function 'dsb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2132 | DEBUG_TRACE(PARSE_LINE); | ^ include/linux/raspberrypi/vchiq_core.h:69:42: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c:2132:4: error: use of undeclared identifier 'sy' include/linux/raspberrypi/vchiq_core.h:69:46: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c:2137:4: error: call to undeclared function 'dsb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2137 | DEBUG_TRACE(PARSE_LINE); | ^ include/linux/raspberrypi/vchiq_core.h:69:42: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. -- >> drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c:665:3: error: call to undeclared function 'dsb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 665 | DEBUG_TRACE(SERVICE_CALLBACK_LINE); | ^ include/linux/raspberrypi/vchiq_core.h:69:42: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ >> drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c:665:3: error: use of undeclared identifier 'sy' include/linux/raspberrypi/vchiq_core.h:69:46: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c:667:3: error: call to undeclared function 'dsb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 667 | DEBUG_COUNT(COMPLETION_QUEUE_FULL_COUNT); | ^ include/linux/raspberrypi/vchiq_core.h:73:33: note: expanded from macro 'DEBUG_COUNT' 73 | do { debug_ptr[DEBUG_ ## d]++; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c:667:3: error: use of undeclared identifier 'sy' include/linux/raspberrypi/vchiq_core.h:73:37: note: expanded from macro 'DEBUG_COUNT' 73 | do { debug_ptr[DEBUG_ ## d]++; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c:675:3: error: call to undeclared function 'dsb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 675 | DEBUG_TRACE(SERVICE_CALLBACK_LINE); | ^ include/linux/raspberrypi/vchiq_core.h:69:42: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c:675:3: error: use of undeclared identifier 'sy' include/linux/raspberrypi/vchiq_core.h:69:46: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c:769:2: error: call to undeclared function 'dsb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 769 | DEBUG_TRACE(SERVICE_CALLBACK_LINE); | ^ include/linux/raspberrypi/vchiq_core.h:69:42: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c:769:2: error: use of undeclared identifier 'sy' include/linux/raspberrypi/vchiq_core.h:69:46: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c:804:4: error: call to undeclared function 'dsb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 804 | DEBUG_TRACE(SERVICE_CALLBACK_LINE); | ^ include/linux/raspberrypi/vchiq_core.h:69:42: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c:804:4: error: use of undeclared identifier 'sy' include/linux/raspberrypi/vchiq_core.h:69:46: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c:805:4: error: call to undeclared function 'dsb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 805 | DEBUG_COUNT(MSG_QUEUE_FULL_COUNT); | ^ include/linux/raspberrypi/vchiq_core.h:73:33: note: expanded from macro 'DEBUG_COUNT' 73 | do { debug_ptr[DEBUG_ ## d]++; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c:805:4: error: use of undeclared identifier 'sy' include/linux/raspberrypi/vchiq_core.h:73:37: note: expanded from macro 'DEBUG_COUNT' 73 | do { debug_ptr[DEBUG_ ## d]++; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c:810:5: error: call to undeclared function 'dsb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 810 | DEBUG_TRACE(SERVICE_CALLBACK_LINE); | ^ include/linux/raspberrypi/vchiq_core.h:69:42: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c:810:5: error: use of undeclared identifier 'sy' include/linux/raspberrypi/vchiq_core.h:69:46: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c:814:4: error: call to undeclared function 'dsb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 814 | DEBUG_TRACE(SERVICE_CALLBACK_LINE); | ^ include/linux/raspberrypi/vchiq_core.h:69:42: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c:814:4: error: use of undeclared identifier 'sy' include/linux/raspberrypi/vchiq_core.h:69:46: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c:839:2: error: call to undeclared function 'dsb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 839 | DEBUG_TRACE(SERVICE_CALLBACK_LINE); | ^ include/linux/raspberrypi/vchiq_core.h:69:42: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c:839:2: error: use of undeclared identifier 'sy' include/linux/raspberrypi/vchiq_core.h:69:46: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ 18 errors generated. -- >> drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c:213:2: error: call to undeclared function 'dsb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 213 | DEBUG_TRACE(DEQUEUE_MESSAGE_LINE); | ^ include/linux/raspberrypi/vchiq_core.h:69:42: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ >> drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c:213:2: error: use of undeclared identifier 'sy' include/linux/raspberrypi/vchiq_core.h:69:46: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c:228:4: error: call to undeclared function 'dsb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 228 | DEBUG_TRACE(DEQUEUE_MESSAGE_LINE); | ^ include/linux/raspberrypi/vchiq_core.h:69:42: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c:228:4: error: use of undeclared identifier 'sy' include/linux/raspberrypi/vchiq_core.h:69:46: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c:236:4: error: call to undeclared function 'dsb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 236 | DEBUG_TRACE(DEQUEUE_MESSAGE_LINE); | ^ include/linux/raspberrypi/vchiq_core.h:69:42: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c:236:4: error: use of undeclared identifier 'sy' include/linux/raspberrypi/vchiq_core.h:69:46: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c:279:2: error: call to undeclared function 'dsb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 279 | DEBUG_TRACE(DEQUEUE_MESSAGE_LINE); | ^ include/linux/raspberrypi/vchiq_core.h:69:42: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c:279:2: error: use of undeclared identifier 'sy' include/linux/raspberrypi/vchiq_core.h:69:46: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c:454:2: error: call to undeclared function 'dsb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 454 | DEBUG_TRACE(AWAIT_COMPLETION_LINE); | ^ include/linux/raspberrypi/vchiq_core.h:69:42: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c:454:2: error: use of undeclared identifier 'sy' include/linux/raspberrypi/vchiq_core.h:69:46: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c:460:2: error: call to undeclared function 'dsb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 460 | DEBUG_TRACE(AWAIT_COMPLETION_LINE); | ^ include/linux/raspberrypi/vchiq_core.h:69:42: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c:460:2: error: use of undeclared identifier 'sy' include/linux/raspberrypi/vchiq_core.h:69:46: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c:464:3: error: call to undeclared function 'dsb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 464 | DEBUG_TRACE(AWAIT_COMPLETION_LINE); | ^ include/linux/raspberrypi/vchiq_core.h:69:42: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c:464:3: error: use of undeclared identifier 'sy' include/linux/raspberrypi/vchiq_core.h:69:46: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c:469:4: error: call to undeclared function 'dsb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 469 | DEBUG_TRACE(AWAIT_COMPLETION_LINE); | ^ include/linux/raspberrypi/vchiq_core.h:69:42: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c:469:4: error: use of undeclared identifier 'sy' include/linux/raspberrypi/vchiq_core.h:69:46: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c:475:2: error: call to undeclared function 'dsb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 475 | DEBUG_TRACE(AWAIT_COMPLETION_LINE); | ^ include/linux/raspberrypi/vchiq_core.h:69:42: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c:475:2: error: use of undeclared identifier 'sy' include/linux/raspberrypi/vchiq_core.h:69:46: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c:578:2: error: call to undeclared function 'dsb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 578 | DEBUG_TRACE(AWAIT_COMPLETION_LINE); | ^ include/linux/raspberrypi/vchiq_core.h:69:42: note: expanded from macro 'DEBUG_TRACE' 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. vim +/dsb +531 drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c 71bad7f086419d drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c popcornmix 2013-07-02 513 77cf3f5dcf35c8 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c Nicolas Saenz Julienne 2019-05-09 514 /* 77cf3f5dcf35c8 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c Nicolas Saenz Julienne 2019-05-09 515 * All the event waiting routines in VCHIQ used a custom semaphore 77cf3f5dcf35c8 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c Nicolas Saenz Julienne 2019-05-09 516 * implementation that filtered most signals. This achieved a behaviour similar 77cf3f5dcf35c8 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c Nicolas Saenz Julienne 2019-05-09 517 * to the "killable" family of functions. While cleaning up this code all the 77cf3f5dcf35c8 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c Nicolas Saenz Julienne 2019-05-09 518 * routines where switched to the "interruptible" family of functions, as the 77cf3f5dcf35c8 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c Nicolas Saenz Julienne 2019-05-09 519 * former was deemed unjustified and the use "killable" set all VCHIQ's 77cf3f5dcf35c8 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c Nicolas Saenz Julienne 2019-05-09 520 * threads in D state. c22502cb84d4c9 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c Umang Jain 2024-07-03 521 * c22502cb84d4c9 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c Umang Jain 2024-07-03 522 * Returns: 0 on success, a negative error code on failure 77cf3f5dcf35c8 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c Nicolas Saenz Julienne 2019-05-09 523 */ 71bad7f086419d drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c popcornmix 2013-07-02 524 static inline int 4075fa9efc4ee6 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c Dominic Braun 2018-12-14 525 remote_event_wait(wait_queue_head_t *wq, struct remote_event *event) 71bad7f086419d drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c popcornmix 2013-07-02 526 { c22502cb84d4c9 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c Umang Jain 2024-07-03 527 int ret = 0; c22502cb84d4c9 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c Umang Jain 2024-07-03 528 71bad7f086419d drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c popcornmix 2013-07-02 529 if (!event->fired) { 71bad7f086419d drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c popcornmix 2013-07-02 530 event->armed = 1; 35b7ebda57affc drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c Michael Zoran 2016-10-19 @531 dsb(sy); c22502cb84d4c9 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c Umang Jain 2024-07-03 532 ret = wait_event_interruptible(*wq, event->fired); c22502cb84d4c9 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c Umang Jain 2024-07-03 533 if (ret) { 71bad7f086419d drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c popcornmix 2013-07-02 534 event->armed = 0; c22502cb84d4c9 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c Umang Jain 2024-07-03 535 return ret; 71bad7f086419d drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c popcornmix 2013-07-02 536 } 71bad7f086419d drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c popcornmix 2013-07-02 537 event->armed = 0; f6c99d86246ad4 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c Phil Elwell 2022-06-24 538 /* Ensure that the peer sees that we are not waiting (armed == 0). */ 71bad7f086419d drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c popcornmix 2013-07-02 539 wmb(); 71bad7f086419d drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c popcornmix 2013-07-02 540 } 71bad7f086419d drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c popcornmix 2013-07-02 541 71bad7f086419d drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c popcornmix 2013-07-02 542 event->fired = 0; c22502cb84d4c9 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c Umang Jain 2024-07-03 543 return ret; 71bad7f086419d drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c popcornmix 2013-07-02 544 } 71bad7f086419d drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c popcornmix 2013-07-02 545 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki From lkp at intel.com Mon Apr 13 01:29:26 2026 From: lkp at intel.com (kernel test robot) Date: Mon, 13 Apr 2026 16:29:26 +0800 Subject: [PATCH] firmware: raspberrypi: Change dependency to ARCH_BCM2835 and COMPILE_TEST In-Reply-To: <20260408081150.1710717-1-wenst@chromium.org> References: <20260408081150.1710717-1-wenst@chromium.org> Message-ID: <202604130727.sB8gZrr6-lkp@intel.com> Hi Chen-Yu, kernel test robot noticed the following build errors: [auto build test ERROR on soc/for-next] [also build test ERROR on linus/master v7.0-rc7 next-20260410] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Chen-Yu-Tsai/firmware-raspberrypi-Change-dependency-to-ARCH_BCM2835-and-COMPILE_TEST/20260412-210604 base: https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git for-next patch link: https://lore.kernel.org/r/20260408081150.1710717-1-wenst%40chromium.org patch subject: [PATCH] firmware: raspberrypi: Change dependency to ARCH_BCM2835 and COMPILE_TEST config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20260413/202604130727.sB8gZrr6-lkp at intel.com/config) compiler: alpha-linux-gcc (GCC) 15.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260413/202604130727.sB8gZrr6-lkp at intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202604130727.sB8gZrr6-lkp at intel.com/ All errors (new ones prefixed by >>): drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c: In function 'remote_event_wait': >> drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c:531:17: error: implicit declaration of function 'dsb' [-Wimplicit-function-declaration] 531 | dsb(sy); | ^~~ >> drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c:531:21: error: 'sy' undeclared (first use in this function); did you mean 's8'? 531 | dsb(sy); | ^~ | s8 drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c:531:21: note: each undeclared identifier is reported only once for each function it appears in drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c: In function 'remote_event_signal': drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c:559:13: error: 'sy' undeclared (first use in this function); did you mean 's8'? 559 | dsb(sy); /* data barrier operation */ | ^~ | s8 In file included from include/linux/raspberrypi/vchiq_arm.h:14, from drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c:18: drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c: In function 'parse_message': >> include/linux/raspberrypi/vchiq_core.h:71:48: error: 'sy' undeclared (first use in this function); did you mean 's8'? 71 | do { debug_ptr[DEBUG_ ## d] = (v); dsb(sy); } while (0) | ^~ drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c:1944:9: note: in expansion of macro 'DEBUG_VALUE' 1944 | DEBUG_VALUE(PARSE_HEADER, (int)(long)header); | ^~~~~~~~~~~ drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c: In function 'parse_rx_slots': include/linux/raspberrypi/vchiq_core.h:69:53: error: 'sy' undeclared (first use in this function); did you mean 's8'? 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^~ drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c:2213:17: note: in expansion of macro 'DEBUG_TRACE' 2213 | DEBUG_TRACE(PARSE_LINE); | ^~~~~~~~~~~ drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c: In function 'slot_handler_func': include/linux/raspberrypi/vchiq_core.h:73:44: error: 'sy' undeclared (first use in this function); did you mean 's8'? 73 | do { debug_ptr[DEBUG_ ## d]++; dsb(sy); } while (0) | ^~ drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c:2314:17: note: in expansion of macro 'DEBUG_COUNT' 2314 | DEBUG_COUNT(SLOT_HANDLER_COUNT); | ^~~~~~~~~~~ -- In file included from drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c:33: drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c: In function 'add_completion': >> include/linux/raspberrypi/vchiq_core.h:69:49: error: implicit declaration of function 'dsb' [-Wimplicit-function-declaration] 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^~~ drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c:665:17: note: in expansion of macro 'DEBUG_TRACE' 665 | DEBUG_TRACE(SERVICE_CALLBACK_LINE); | ^~~~~~~~~~~ include/linux/raspberrypi/vchiq_core.h:69:53: error: 'sy' undeclared (first use in this function); did you mean 's8'? 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^~ drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c:665:17: note: in expansion of macro 'DEBUG_TRACE' 665 | DEBUG_TRACE(SERVICE_CALLBACK_LINE); | ^~~~~~~~~~~ include/linux/raspberrypi/vchiq_core.h:69:53: note: each undeclared identifier is reported only once for each function it appears in 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^~ drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c:665:17: note: in expansion of macro 'DEBUG_TRACE' 665 | DEBUG_TRACE(SERVICE_CALLBACK_LINE); | ^~~~~~~~~~~ drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c: In function 'service_callback': include/linux/raspberrypi/vchiq_core.h:69:53: error: 'sy' undeclared (first use in this function); did you mean 's8'? 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^~ drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c:769:9: note: in expansion of macro 'DEBUG_TRACE' 769 | DEBUG_TRACE(SERVICE_CALLBACK_LINE); | ^~~~~~~~~~~ -- In file included from drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c:14: drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c: In function 'vchiq_ioc_dequeue_message': >> include/linux/raspberrypi/vchiq_core.h:69:49: error: implicit declaration of function 'dsb' [-Wimplicit-function-declaration] 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^~~ drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c:213:9: note: in expansion of macro 'DEBUG_TRACE' 213 | DEBUG_TRACE(DEQUEUE_MESSAGE_LINE); | ^~~~~~~~~~~ include/linux/raspberrypi/vchiq_core.h:69:53: error: 'sy' undeclared (first use in this function); did you mean 's8'? 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^~ drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c:213:9: note: in expansion of macro 'DEBUG_TRACE' 213 | DEBUG_TRACE(DEQUEUE_MESSAGE_LINE); | ^~~~~~~~~~~ include/linux/raspberrypi/vchiq_core.h:69:53: note: each undeclared identifier is reported only once for each function it appears in 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^~ drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c:213:9: note: in expansion of macro 'DEBUG_TRACE' 213 | DEBUG_TRACE(DEQUEUE_MESSAGE_LINE); | ^~~~~~~~~~~ drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c: In function 'vchiq_ioc_await_completion': include/linux/raspberrypi/vchiq_core.h:69:53: error: 'sy' undeclared (first use in this function); did you mean 's8'? 69 | do { debug_ptr[DEBUG_ ## d] = __LINE__; dsb(sy); } while (0) | ^~ drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c:454:9: note: in expansion of macro 'DEBUG_TRACE' 454 | DEBUG_TRACE(AWAIT_COMPLETION_LINE); | ^~~~~~~~~~~ vim +/dsb +531 drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c 71bad7f086419d drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c popcornmix 2013-07-02 513 77cf3f5dcf35c8 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c Nicolas Saenz Julienne 2019-05-09 514 /* 77cf3f5dcf35c8 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c Nicolas Saenz Julienne 2019-05-09 515 * All the event waiting routines in VCHIQ used a custom semaphore 77cf3f5dcf35c8 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c Nicolas Saenz Julienne 2019-05-09 516 * implementation that filtered most signals. This achieved a behaviour similar 77cf3f5dcf35c8 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c Nicolas Saenz Julienne 2019-05-09 517 * to the "killable" family of functions. While cleaning up this code all the 77cf3f5dcf35c8 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c Nicolas Saenz Julienne 2019-05-09 518 * routines where switched to the "interruptible" family of functions, as the 77cf3f5dcf35c8 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c Nicolas Saenz Julienne 2019-05-09 519 * former was deemed unjustified and the use "killable" set all VCHIQ's 77cf3f5dcf35c8 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c Nicolas Saenz Julienne 2019-05-09 520 * threads in D state. c22502cb84d4c9 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c Umang Jain 2024-07-03 521 * c22502cb84d4c9 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c Umang Jain 2024-07-03 522 * Returns: 0 on success, a negative error code on failure 77cf3f5dcf35c8 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c Nicolas Saenz Julienne 2019-05-09 523 */ 71bad7f086419d drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c popcornmix 2013-07-02 524 static inline int 4075fa9efc4ee6 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c Dominic Braun 2018-12-14 525 remote_event_wait(wait_queue_head_t *wq, struct remote_event *event) 71bad7f086419d drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c popcornmix 2013-07-02 526 { c22502cb84d4c9 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c Umang Jain 2024-07-03 527 int ret = 0; c22502cb84d4c9 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c Umang Jain 2024-07-03 528 71bad7f086419d drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c popcornmix 2013-07-02 529 if (!event->fired) { 71bad7f086419d drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c popcornmix 2013-07-02 530 event->armed = 1; 35b7ebda57affc drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c Michael Zoran 2016-10-19 @531 dsb(sy); c22502cb84d4c9 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c Umang Jain 2024-07-03 532 ret = wait_event_interruptible(*wq, event->fired); c22502cb84d4c9 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c Umang Jain 2024-07-03 533 if (ret) { 71bad7f086419d drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c popcornmix 2013-07-02 534 event->armed = 0; c22502cb84d4c9 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c Umang Jain 2024-07-03 535 return ret; 71bad7f086419d drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c popcornmix 2013-07-02 536 } 71bad7f086419d drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c popcornmix 2013-07-02 537 event->armed = 0; f6c99d86246ad4 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c Phil Elwell 2022-06-24 538 /* Ensure that the peer sees that we are not waiting (armed == 0). */ 71bad7f086419d drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c popcornmix 2013-07-02 539 wmb(); 71bad7f086419d drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c popcornmix 2013-07-02 540 } 71bad7f086419d drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c popcornmix 2013-07-02 541 71bad7f086419d drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c popcornmix 2013-07-02 542 event->fired = 0; c22502cb84d4c9 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c Umang Jain 2024-07-03 543 return ret; 71bad7f086419d drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c popcornmix 2013-07-02 544 } 71bad7f086419d drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c popcornmix 2013-07-02 545 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki From wenst at chromium.org Mon Apr 27 02:10:57 2026 From: wenst at chromium.org (Chen-Yu Tsai) Date: Mon, 27 Apr 2026 17:10:57 +0800 Subject: [PATCH v2] firmware: raspberrypi: Change dependency to ARCH_BCM2835 and COMPILE_TEST Message-ID: <20260427091058.2669812-1-wenst@chromium.org> The Raspberry Pi firmware driver has no compile dependencies on the BCM2835 mailbox driver. It's just a indirect runtime dependency: the driver only works on a Raspberry Pi. Change the dependency from BCM2835_MBOX to ARCH_BCM2835. Also allow compile tests. This allows drivers that have build time dependencies on this firmware driver to be compile tested as well. More dependencies are added to account for build time dependencies: - depends on MAILBOX for mailbox API (not stubbed) usage - depends on ARM || ARM64 for dsb() usage Also make it built by default if ARCH_BCM2835, since many functions will not work without this firmware driver. Signed-off-by: Chen-Yu Tsai --- Changes since v1: - Added depends on MAILBOX for API usage (pointed out by Sashiko) - Added depends on ARM || ARM64 for dsb() usage (build failure report from kernel test robot) - Added default ARCH_BCM2835 as Florian suggested --- drivers/firmware/Kconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/firmware/Kconfig b/drivers/firmware/Kconfig index bbd2155d8483..bcfda01c2ab8 100644 --- a/drivers/firmware/Kconfig +++ b/drivers/firmware/Kconfig @@ -114,7 +114,10 @@ config ISCSI_IBFT config RASPBERRYPI_FIRMWARE tristate "Raspberry Pi Firmware Driver" - depends on BCM2835_MBOX + depends on ARCH_BCM2835 || COMPILE_TEST + depends on ARM || ARM64 + depends on MAILBOX + default ARCH_BCM2835 help This option enables support for communicating with the firmware on the Raspberry Pi. -- 2.54.0.rc2.544.gc7ae2d5bb8-goog