From nobody Wed Sep 11 08:44:33 2024 X-Original-To: dev-commits-src-branches@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 4X3Yz60FQJz5W7WV; Wed, 11 Sep 2024 08:44:34 +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 4X3Yz56bLSz41Qx; Wed, 11 Sep 2024 08:44:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726044273; 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=BGDd7J55TLq/WG3vU5rPi0fB1AGnR+ojam+t1Edvvkw=; b=dv7984WJ5kI0u2fQ/z496/e8Pbhsi0ev8n+1rHp8PQTMal3I7/9JiUC2hDDC0ahq7iomAF qjbyD9d3oB1V/ILY6AC3di0UbRUUzj1ewUbHbnqHGAqNrSjjewu/+eCpxOONEY0IWRxQDA De41tkcvTo8qF4mWsoNUC30WQfDzvFw17s98aHa8vExTdybE+iLYkgZZeCNlzp+TzOCgTJ l0EbMyhkNcG8yW7BU8hZMtGd9ZZpepGRTwHmbUl3FeEwD+cwB0yDTecXKWoph2V0sEcwQJ tW+3pzfcXn+veHaRoE9BsrSt91kluSvvKVM2NZugyDInJvrdtVky4FKOk7s9vw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726044273; a=rsa-sha256; cv=none; b=ti5XrdL59mz7X/oTy+G+C6N0X1vhduJIqG7ZED9Cc6sqmrNm53zxD/jMiBWpyRXST3dRrI DLatE+vCHHTeLV6k8FCSrzVArqTJhLWxMHmLQ6YIg1WzzWOuI8l07EkjvbfNNoAchWOKzn KezCJy+6k9Fz9eBrrJMuUHq99VX3gNsQN1xKmlhq8K05wSGIN8zAbp5zzNzBDBUCrGAlMC kKt+50NlzYiKXFNiimxodaAKArOx3W/Y6DCDEi1sjYvEEJCaoyGiTfCOOEUT8jMamQV/ON Ye54WxgW24FYmS0GqIYqak0CevyQzCoGqEBdPGOTynqkEOggDXeboq75lPdHrA== 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=1726044273; 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=BGDd7J55TLq/WG3vU5rPi0fB1AGnR+ojam+t1Edvvkw=; b=ZM1QMQQqMQNWq4vq6T9vru80yue9wl7TLHTXdbvJ81UuUZA7yZFz6Kgk5mx+G3RUPK54WX 7DZUxaCmKC+1bbAtVbnOwUgZtTMf1zPeQTBOp2JVWIfeP0Ke3M8EQ2t+imrWiijWRKuY7P KKPxHDZdH95WnshDDFeQLdV/C2DgD8gjqOM+NFM89TGQmwar9W0JyEkiTzLnBiGdtFgWDh DA8OCLKok1+y2rw3osP7QOctr1PmeAlLFD30FGPLycm1QW7q8sU95sVoICjm/NF1W91kQD m5d31Y1Gsdo9KhksLd2asxU92ita+fcGep8HvkbTM6rvkaUMVm+ZLq5vHJHBlg== 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 4X3Yz56C2BzPMh; Wed, 11 Sep 2024 08:44:33 +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 48B8iX7p007939; Wed, 11 Sep 2024 08:44:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48B8iXbA007936; Wed, 11 Sep 2024 08:44:33 GMT (envelope-from git) Date: Wed, 11 Sep 2024 08:44:33 GMT Message-Id: <202409110844.48B8iXbA007936@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 173116c6a392 - stable/14 - DMAR: provide hw.iommu.ir alias for the hw.dmar.ir tunable List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@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/stable/14 X-Git-Reftype: branch X-Git-Commit: 173116c6a392b4a17af08f5262838e2b1e5ccb1a Auto-Submitted: auto-generated The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=173116c6a392b4a17af08f5262838e2b1e5ccb1a commit 173116c6a392b4a17af08f5262838e2b1e5ccb1a Author: Konstantin Belousov AuthorDate: 2024-08-23 21:12:15 +0000 Commit: Konstantin Belousov CommitDate: 2024-09-11 08:44:00 +0000 DMAR: provide hw.iommu.ir alias for the hw.dmar.ir tunable (cherry picked from commit 22bf8cf32f355705eb40cfbd7892492ac8140c50) --- 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 1ac51a7aaea0..d2f8f8df4691 100644 --- a/sys/x86/iommu/intel_intrmap.c +++ b/sys/x86/iommu/intel_intrmap.c @@ -331,6 +331,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) {