Content-Type: multipart/mixed; boundary="===============7414343484920139507==" MIME-Version: 1.0 From: Hans de Goede To: kbuild-all@lists.01.org Subject: Re: [PATCH v3 6/8] mfd: lpc_ich: Switch to generic p2sb_bar() Date: Wed, 22 Dec 2021 13:09:50 +0100 Message-ID: <670ae8dd-ca0b-7f32-ba54-08ee4989983b@redhat.com> In-Reply-To: List-Id: --===============7414343484920139507== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Andy, On 12/22/21 12:13, Andy Shevchenko wrote: > On Wed, Dec 22, 2021 at 09:18:57AM +0800, kernel test robot wrote: >> Hi Andy, >> >> I love your patch! Yet something to improve: >> >> [auto build test ERROR on wsa/i2c/for-next] >> [also build test ERROR on linus/master v5.16-rc6 next-20211221] >> [cannot apply to lee-mfd/for-mfd-next helgaas-pci/next] >> [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] >> >> url: https://github.com/0day-ci/linux/commits/Andy-Shevchenko/platfor= m-x86-introduce-p2sb_bar-helper/20211222-022450 >> base: https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2= c/for-next >> config: i386-randconfig-a002-20211220 (https://download.01.org/0day-ci/a= rchive/20211222/202112220954.vhHik75w-lkp(a)intel.com/config) >> compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 >> reproduce (this is a W=3D1 build): >> # https://github.com/0day-ci/linux/commit/5154514cc02b0e14f5af0f= e18a591ca0a86eba51 >> git remote add linux-review https://github.com/0day-ci/linux >> git fetch --no-tags linux-review Andy-Shevchenko/platform-x86-in= troduce-p2sb_bar-helper/20211222-022450 >> git checkout 5154514cc02b0e14f5af0fe18a591ca0a86eba51 >> # save the config file to linux build tree >> mkdir build_dir >> make W=3D1 O=3Dbuild_dir ARCH=3Di386 SHELL=3D/bin/bash >> >> If you fix the issue, kindly add following tag as appropriate >> Reported-by: kernel test robot >> >> All errors (new ones prefixed by >>, old ones prefixed by <<): >> >>>> ERROR: modpost: "p2sb_bar" [drivers/mfd/lpc_ich.ko] undefined! >> >> Kconfig warnings: (for reference only) >> WARNING: unmet direct dependencies detected for P2SB >> Depends on X86 && X86_PLATFORM_DEVICES && X86_PLATFORM_DRIVERS_INTEL = && PCI >> Selected by >> - LPC_ICH && HAS_IOMEM && PCI && X86 > = > Oh, yes, the code moved from drivers/pci to drivers/platform/x86/intel. > Hans, do you have any better suggestion than just replacing > select P2SB if X86 > by > select P2SB if X86 && X86_PLATFORM_DRIVERS_INTEL > ? > = > Maybe I need to fix the folder traversing in PDx86 Makefile(s)? > It rings a bell that we have had similar issue when I tried to > move some files to intel/ subfolder. Right, we still need to move a few intel files and we hit a similar issue with those, here is my email about what I still believe is the best solution for this: https://lore.kernel.org/platform-driver-x86/ccae9fcb-fa2f-5c44-1241-9f107b3= 58103(a)redhat.com/ I/we never got around to implementing this. If you can write a fix implementing this I would be happy to merge that right away, which should also solve the problem with your P2SB series. Regards, Hans --===============7414343484920139507==--