public inbox for linux-parisc@vger.kernel.org
 help / color / mirror / Atom feed
* Re: ERROR: modpost: "sba_list" [drivers/char/agp/parisc-agp.ko] undefined!
       [not found] <202104061234.XBEOEjdn-lkp@intel.com>
@ 2021-04-06  9:43 ` Helge Deller
  0 siblings, 0 replies; only message in thread
From: Helge Deller @ 2021-04-06  9:43 UTC (permalink / raw)
  To: kernel test robot, linux-parisc; +Cc: kbuild-all, linux-kernel

* kernel test robot <lkp@intel.com>:
> Hi Helge,
>
> First bad commit (maybe != root cause):
>
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   0a50438c84363bd37fe18fe432888ae9a074dcab
> commit: 00e35f2b0e8acb88d4e1aa96ff0490e3bfe46580 parisc: Enable -mlong-calls gcc option by default when !CONFIG_MODULES
> date:   10 weeks ago
> config: parisc-randconfig-r035-20210406 (attached as .config)
> compiler: hppa64-linux-gcc (GCC) 9.3.0
> reproduce (this is a W=1 build):
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=00e35f2b0e8acb88d4e1aa96ff0490e3bfe46580
>         git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
>         git fetch --no-tags linus master
>         git checkout 00e35f2b0e8acb88d4e1aa96ff0490e3bfe46580
>         # save the attached .config to linux build tree
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=parisc
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
>
> All errors (new ones prefixed by >>, old ones prefixed by <<):
>
> >> ERROR: modpost: "sba_list" [drivers/char/agp/parisc-agp.ko] undefined!

The following patch should fix it.
I'll apply it to the parisc for-next git tree.

Thanks!
Helge

-

From: Helge Deller <deller@gmx.de>
Date: Tue, 6 Apr 2021 11:32:52 +0200
Subject: [PATCH] parisc: parisc-agp requires SBA IOMMU driver

Add a dependency to the SBA IOMMU driver to avoid:
ERROR: modpost: "sba_list" [drivers/char/agp/parisc-agp.ko] undefined!

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Helge Deller <deller@gmx.de>

diff --git a/drivers/char/agp/Kconfig b/drivers/char/agp/Kconfig
index a086dd34f932..4f501e4842ab 100644
--- a/drivers/char/agp/Kconfig
+++ b/drivers/char/agp/Kconfig
@@ -125,7 +125,7 @@ config AGP_HP_ZX1

 config AGP_PARISC
 	tristate "HP Quicksilver AGP support"
-	depends on AGP && PARISC && 64BIT
+	depends on AGP && PARISC && 64BIT && IOMMU_SBA
 	help
 	  This option gives you AGP GART support for the HP Quicksilver
 	  AGP bus adapter on HP PA-RISC machines (Ok, just on the C8000



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-06  9:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <202104061234.XBEOEjdn-lkp@intel.com>
2021-04-06  9:43 ` ERROR: modpost: "sba_list" [drivers/char/agp/parisc-agp.ko] undefined! Helge Deller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox