]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
parisc: parisc-agp requires SBA IOMMU driver
authorHelge Deller <deller@gmx.de>
Tue, 6 Apr 2021 09:32:52 +0000 (11:32 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 4 May 2021 14:08:45 +0000 (16:08 +0200)
BugLink: https://bugs.launchpad.net/bugs/1926489
commit 9054284e8846b0105aad43a4e7174ca29fffbc44 upstream.

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>
Cc: stable@vger.kernel.org
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/char/agp/Kconfig

index 812d6aa6e013676479133cba5e8936aad04cb8e8..f2d015a8ff57f75e74877f4c2415ffdc098940eb 100644 (file)
@@ -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