Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8986f22

Browse files
committed
iommu/vt-d: Take CONFIG_PCI_ATS into account
pci_dev::physfn is only available when CONFIG_PCI_ATS is set. The recentfix for the irqdomain rework missed that dependency which makes the buildfail when CONFIG_PCI_ATS=n.Add the necessary #ifdeffery.Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>Fixes:ff82872 ("iommu/vt-d: Cure VF irqdomain hickup")Signed-off-by: Thomas Gleixner <tglx@linutronix.de>Cc: Joerg Roedel <joro@8bytes.org>
1 parent09162bc commit8986f22

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎drivers/iommu/intel/dmar.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,9 @@ static void dmar_pci_bus_del_dev(struct dmar_pci_notify_info *info)
335335

336336
staticinlinevoidvf_inherit_msi_domain(structpci_dev*pdev)
337337
{
338+
#ifdefCONFIG_PCI_ATS
338339
dev_set_msi_domain(&pdev->dev,dev_get_msi_domain(&pdev->physfn->dev));
340+
#endif
339341
}
340342

341343
staticintdmar_pci_bus_notifier(structnotifier_block*nb,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp