From nobody Wed Sep 04 21:50:52 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Wzblc61R1z5VS58; Wed, 04 Sep 2024 21:50:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wzblc5CzJz4hdF; Wed, 4 Sep 2024 21:50:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725486652; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=eHpk0ZLz17KJTY0iJnNBsmjCQUgmJ3I0qkBK2naxi6Y=; b=arj/k1QYKs0vZ2tIr/rmPNxgiEVNBgg8WS43toPuSpNPUPxQbUTNiD3FNVvmNONO7KzqOF LRj5esQNhFeLzh25xXxV3a/dFXGdB7rMWc8nCFxEcjzQNfm3sZnNbv9kNOL/MPbGm7SLSs RU6pJmEcLxnuLX8lxNf9PKt1bVR6P6eybzOa+Q4wiAal021uqBrre5ckrVI7F6+tw3f192 cfMJ/MF0OHsStXznVEKUzuhffm9V55D4AqPt8mUJbWVUQvHXqVh1oGTQuHos3exbfRedrK ki4rKNOKiwsW4Vji0S9oVJQUUdLAdZhuH5N2sYx2jrShsZ6Gj1bY6OqN/cPmZg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725486652; a=rsa-sha256; cv=none; b=vKw9M0DQpbUIoRxD6xXnXvb8hy9keZndZtFLgtL+gd0GAco3oSTUQkDPDV+B+GBvlmICO6 45BUU/cT/+OyipyLFSzdFnbURGC+ebjqukS9VxOmWvkH/ZJQeXJykAt+fziaIsbPirXEdu 0nfC/RWpebFmc7HLR3ZaU7/cjxhcwO4QrY2KWooetsgcFiWJ4gFycuUozGAVLmLSEWlsXm x9TA2stp4aHea3CDbj6zAfVzpm3hbzyaIlmrOdwSvIlTTHOfyDs8JR240f86WeNOS6wJaN 51dtRWEg1fmcy7S/qbPbMr8fVbjFHjyQ1UlOsoVZEfrWWbnKoE9Y6tILjmvJoA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725486652; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=eHpk0ZLz17KJTY0iJnNBsmjCQUgmJ3I0qkBK2naxi6Y=; b=jxIMO/2jTXNB5evguhOO0Yk6m5dy1wMzpeIOcpNiZDmNOYAnV/gOVRWmEIZMc458cuKPBG EA/GQgCOkurhLw3ds8FObV8ipGlt8zDlz2xw3WpKeECQ9v29kDBDCVh6bTahTStW4hu7LP GGnxatSkK7d351vyxOcXyhUzXk+PuSx+RfS8UE0uJA9u8ughmfWvHYLbwCZyYFLbOJOGf6 Km42KuOIdrf1sedImMW9rXGN3BMoAuCWprQs8anDvuaGohr05pPpZ1sTMuRmRP60dH3jsN Z2ZrYvKJpcX/RrL7MGRd8SFaLO5z+oPz1onf0H8byiOn1hAKc/SFsuLPS7SGpA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Wzblc4rGJzh5n; Wed, 4 Sep 2024 21:50:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 484Loqhd033002; Wed, 4 Sep 2024 21:50:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 484LoqsG032999; Wed, 4 Sep 2024 21:50:52 GMT (envelope-from git) Date: Wed, 4 Sep 2024 21:50:52 GMT Message-Id: <202409042150.484LoqsG032999@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 22bf8cf32f35 - main - DMAR: provide hw.iommu.ir alias for the hw.dmar.ir tunable List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 22bf8cf32f355705eb40cfbd7892492ac8140c50 Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=22bf8cf32f355705eb40cfbd7892492ac8140c50 commit 22bf8cf32f355705eb40cfbd7892492ac8140c50 Author: Konstantin Belousov AuthorDate: 2024-08-23 21:12:15 +0000 Commit: Konstantin Belousov 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) {