iommu/vt-d: Make posted MSI an opt-in command line option
authorJacob Pan <jacob.jun.pan@linux.intel.com>
Tue, 23 Apr 2024 17:41:13 +0000 (10:41 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 29 Apr 2024 22:54:43 +0000 (00:54 +0200)
commitbe9be07b22c96dc03d0ecc76b5a5f21c2dcb05a1
treec200afbc2ceee56b34291b813b8f174bd25cd661
parentce0a92871179f8ca58ae8e3cf50e726a163bf831
iommu/vt-d: Make posted MSI an opt-in command line option

Add a command line opt-in option for posted MSI if CONFIG_X86_POSTED_MSI=y.

Also introduce a helper function for testing if posted MSI is supported on
the platform.

Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20240423174114.526704-12-jacob.jun.pan@linux.intel.com
Documentation/admin-guide/kernel-parameters.txt
arch/x86/include/asm/irq_remapping.h
drivers/iommu/irq_remapping.c