The branch main has been updated by kib:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=22bf8cf32f355705eb40cfbd7892492ac8140c50

commit 22bf8cf32f355705eb40cfbd7892492ac8140c50
Author:     Konstantin Belousov <[email protected]>
AuthorDate: 2024-08-23 21:12:15 +0000
Commit:     Konstantin Belousov <[email protected]>
CommitDate: 2024-09-04 21:50:19 +0000

    DMAR: provide hw.iommu.ir alias for the hw.dmar.ir tunable
    
    Sponsored by:   Advanced Micro Devices (AMD)
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
---
 sys/x86/iommu/intel_intrmap.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/x86/iommu/intel_intrmap.c b/sys/x86/iommu/intel_intrmap.c
index a6979a9d2501..ec3cd35e4f4e 100644
--- a/sys/x86/iommu/intel_intrmap.c
+++ b/sys/x86/iommu/intel_intrmap.c
@@ -323,6 +323,7 @@ dmar_init_irt(struct dmar_unit *unit)
                return (0);
        unit->ir_enabled = 1;
        TUNABLE_INT_FETCH("hw.dmar.ir", &unit->ir_enabled);
+       TUNABLE_INT_FETCH("hw.iommu.ir", &unit->ir_enabled);
        if (!unit->ir_enabled)
                return (0);
        if (!unit->qi_enabled) {

Reply via email to