Make DMAR_UNITS_SUPPORTED configurable
Merge Request Required Information
Bugzilla: https://bugzilla.redhat.com/2094984
Upstream Status: Posted https://github.com/LuBaolu/intel-iommu.git
- vtd-next-for-v5.20 branch
Tested: Tested on RH Sapphire Rapids systems to make sure currently working systems still worked. HPE doing verification on their impacted systems.
Summary of Changes
Sapphire Rapids has 10 DMAR units per socket, which quickly overwhelms the current limit of 128 in the kernel when there is a system with many sockets, such as HPE's new 64 socket system. Make DMAR_UNITS_SUPPORTED configurable and set it 1024 for MAXSMP.
Jerry Snitselaar (2):
iommu/vt-d: Make DMAR_UNITS_SUPPORTED a config setting
rhel config: Set DMAR_UNITS_SUPPORTED
Signed-off-by: Jerry Snitselaar jsnitsel@redhat.com
Approved Bugzilla Ticket
All submissions to CentOS Stream must reference an approved ticket in Red Hat Bugzilla. Please follow the CentOS Stream contribution documentation for how to file this ticket and have it approved.