1# Intel VT-D interrupt remapping controller configuration
2
3# Copyright (c) 2020 Intel Corporation
4# SPDX-License-Identifier: Apache-2.0
5
6menuconfig INTEL_VTD_ICTL
7	bool "Intel VT-D interrupt remapping controller"
8	default y
9	depends on DT_HAS_INTEL_VT_D_ENABLED
10	depends on !BOARD_QEMU_X86_64 && ACPI && X86 && 64BIT && PCIE_MSI_MULTI_VECTOR
11	select CACHE_MANAGEMENT
12	help
13	  Such interrupt remapping hardware is provided through Intel VT-D
14	  technology. It's being used, currently, only for MSI/MSI-X
15	  multi-vector support. If you have such PCIe device requiring
16	  multi-vector support, you will need to enable this.
17
18if INTEL_VTD_ICTL
19
20config INTEL_VTD_ICTL_XAPIC_PASSTHROUGH
21	bool "XAPIC mode pass-through"
22	depends on !X2APIC
23	help
24	  If XAPIC mode is enabled, it will avoid remapping all interrupts.
25
26config INTEL_VTD_ICTL_NO_SRC_ID_CHECK
27	bool "Never check the source id"
28	help
29	  Disable the source id check in IRTE.
30
31config INTEL_VTD_ICTL_INIT_PRIORITY
32	int "Initialization priority"
33	default 40
34	help
35	  This device should be initialized as soon as possible, before any
36	  other device that would require it for MSI/MSI-X multi-vector support.
37
38endif # INTEL_VTD_ICTL
39