git: 3192fc30230a - main - x86: Enable Intel DMAR by default
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 13 Aug 2024 20:03:08 UTC
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=3192fc30230ae432b80cca783abc2dbea9d3f383
commit 3192fc30230ae432b80cca783abc2dbea9d3f383
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2022-09-30 18:33:41 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2024-08-13 20:02:45 +0000
x86: Enable Intel DMAR by default
APIC ID 255 and above require x2APIC and DMAR interrupt remapping.
FreeBSD is starting to be tested on high core count Intel systems that
meet this criteria.
Reviewed by: kib, jhb
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D42435
---
sys/x86/iommu/intel_drv.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sys/x86/iommu/intel_drv.c b/sys/x86/iommu/intel_drv.c
index 0b25620114cd..9401892aa9d6 100644
--- a/sys/x86/iommu/intel_drv.c
+++ b/sys/x86/iommu/intel_drv.c
@@ -159,7 +159,8 @@ dmar_count_iter(ACPI_DMAR_HEADER *dmarh, void *arg)
int dmar_rmrr_enable = 1;
-static int dmar_enable = 0;
+static int dmar_enable = 1;
+
static void
dmar_identify(driver_t *driver, device_t parent)
{