svn commit: r309551 - head/sys/x86/iommu
Konstantin Belousov
kib at FreeBSD.org
Mon Dec 5 11:42:11 UTC 2016
Author: kib
Date: Mon Dec 5 11:42:09 2016
New Revision: 309551
URL: https://svnweb.freebsd.org/changeset/base/309551
Log:
Release DMAR table after using it.
Reported and tested by: hps
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Modified:
head/sys/x86/iommu/intel_drv.c
Modified: head/sys/x86/iommu/intel_drv.c
==============================================================================
--- head/sys/x86/iommu/intel_drv.c Mon Dec 5 11:41:09 2016 (r309550)
+++ head/sys/x86/iommu/intel_drv.c Mon Dec 5 11:42:09 2016 (r309551)
@@ -109,6 +109,7 @@ dmar_iterate_tbl(dmar_iter_t iter, void
if (!iter(dmarh, arg))
break;
}
+ AcpiPutTable((ACPI_TABLE_HEADER *)dmartbl);
}
struct find_iter_args {
@@ -184,6 +185,7 @@ dmar_identify(driver_t *driver, device_t
(unsigned)dmartbl->Flags,
"\020\001INTR_REMAP\002X2APIC_OPT_OUT");
}
+ AcpiPutTable((ACPI_TABLE_HEADER *)dmartbl);
dmar_iterate_tbl(dmar_count_iter, NULL);
if (dmar_devcnt == 0)
More information about the svn-src-all
mailing list