]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/vt-d: Take CONFIG_PCI_ATS into account
authorThomas Gleixner <tglx@linutronix.de>
Mon, 16 Nov 2020 12:52:47 +0000 (13:52 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 16 Nov 2020 12:57:46 +0000 (13:57 +0100)
commit2bf826862b769bc14f287f3f1565fdbe29e1a330
treef8cd1a2c30d6c56a848eb99be5ca615fdf48a7a8
parent52303c159aaf2219cfa60dd0f7bf7c06a1d70995
iommu/vt-d: Take CONFIG_PCI_ATS into account

pci_dev::physfn is only available when CONFIG_PCI_ATS is set. The recent
fix for the irqdomain rework missed that dependency which makes the build
fail when CONFIG_PCI_ATS=n.

Add the necessary #ifdeffery.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Fixes: 81f3298bfaed ("iommu/vt-d: Cure VF irqdomain hickup")
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Joerg Roedel <joro@8bytes.org>
drivers/iommu/intel/dmar.c