aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel
diff options
context:
space:
mode:
authorLu Baolu <baolu.lu@linux.intel.com>2022-07-12 08:09:08 +0800
committerJoerg Roedel <jroedel@suse.de>2022-07-15 10:21:43 +0200
commit25357900f4e67094dd09b7dcb8a5f47c3f5a159d (patch)
treed12be87418277e7abe864fdbcb45a76802a1dfe0 /arch/x86/kernel
parentiommu/vt-d: Remove global g_iommus array (diff)
downloadlinux-dev-25357900f4e67094dd09b7dcb8a5f47c3f5a159d.tar.xz
linux-dev-25357900f4e67094dd09b7dcb8a5f47c3f5a159d.zip
iommu/vt-d: Make DMAR_UNITS_SUPPORTED default 1024
If the available hardware exceeds DMAR_UNITS_SUPPORTED (previously set to MAX_IO_APICS, or 128), it causes these messages: "DMAR: Failed to allocate seq_id", "DMAR: Parse DMAR table failure.", and "x2apic: IRQ remapping doesn't support X2APIC mode x2apic disabled"; and the system fails to boot properly. To support up to 64 sockets with 10 DMAR units each (640), make the value of DMAR_UNITS_SUPPORTED default 1024. Signed-off-by: Steve Wahl<steve.wahl@hpe.com> Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Reviewed-by: Kevin Tian <kevin.tian@intel.com> Reviewed-by: Steve Wahl <steve.wahl@hpe.com> Link: https://lore.kernel.org/linux-iommu/20220615183650.32075-1-steve.wahl@hpe.com/ Link: https://lore.kernel.org/r/20220702015610.2849494-7-baolu.lu@linux.intel.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'arch/x86/kernel')
0 files changed, 0 insertions, 0 deletions