From nobody Tue Aug 13 20:03:08 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 4Wk2PT4395z5TKpZ; Tue, 13 Aug 2024 20:03:09 +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 4Wk2PT2WZCz4vsR; Tue, 13 Aug 2024 20:03:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723579389; 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=W4ItEF9LqhOU1PHuOtvnCFXLHkLcuS8K5NZC/d2H5Fw=; b=Nx+3JTz2z9QfCm7MPqRd1sSg12L+fHyGfQH7gEag2d3ThaBmz4A+JLKitm/1a1u/CksW+9 e66LQbOojEsZx7z1gXcqrmdY99Vxe4CTuoLqyCvr5KEsNu0KCeM3VdVorOXEXXKse9Wt2C AuxUQWlxX1sjUQelAbxWjUbhk4X8xQ0nC9HcmibhPqBxGgtr11PUJraFAMiXyZI/h38rlH Fx06s7hMg0HR2v11dJcfVzKzZFSmyLMqkc0vhPUv5AYFnSnLllrEoYsNZhvOBwNrUKr1Pe VNkIe6z7jdaNIcczGGeySnQ6D9295sC1qvpyMW+qGlq8tuJ5ZgisLmwWIL426A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723579389; a=rsa-sha256; cv=none; b=M279nRFpH//e7cO6bgK8OFwcQ53Uh81z54DAIFcKb7ZMYrdW5VxioRvwtt8k/ByRa/jE38 7SsSUQs8A1cA34eOOjCYqk3cVof233uOaDccbITav5ceBfL+O5z/6Ne3HwtoldUSDeKrQM rTpt3ylS3WpCDHdQ/4WRt2U87NSD00j+rIRdCTENrqd5rIvZcHVFTqHgIhCunMHaWRG6KH SOcFRr9P5UWFC1Q5I3g8+CobbFrrCZjOpwfY6PLIwcXjyHS9Po931tF0h0hXgCs7TL7MtY bvfldorufnJcQRiLWdCtZ+RI3FZm+XqlOdA7zZT3r85ZBr70mfq6w1QtIp04nw== 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=1723579389; 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=W4ItEF9LqhOU1PHuOtvnCFXLHkLcuS8K5NZC/d2H5Fw=; b=vGffaGIqmdJWmLHsSDn1q2YTe2gbaMru01nBSCmBMuIYyEEtsgaIp6nbvhLicAwiG3FnJm cMu+0CzH78We5qN6E+vLRM7XTophopOBYcMPpCDPE9jO8Az135+jva31mTlfQ6WCqeuTfq ixu33LoL3gC6tLaZmUVywmARt/TFZBGGtvDCx/QIyxu9/VPxNrXoy8Jy5l93LcfhPfJgSD v2Q2j7TmbnNf2uLx8rhlWsbAMGV0wrmOGwuk4zpliRS93fmTmWlCJoLRkUP37+MIm4GGVF 81Ox92OaDeZZELmPaS8ZD2j/aFvVfwBbZ419wiWmRAZqdwmNNs4sOVHEbTCtnA== 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 4Wk2PS5mzYzPN0; Tue, 13 Aug 2024 20:03:08 +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 47DK38hd007950; Tue, 13 Aug 2024 20:03:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47DK38FZ007947; Tue, 13 Aug 2024 20:03:08 GMT (envelope-from git) Date: Tue, 13 Aug 2024 20:03:08 GMT Message-Id: <202408132003.47DK38FZ007947@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: 3192fc30230a - main - x86: Enable Intel DMAR by default 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: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3192fc30230ae432b80cca783abc2dbea9d3f383 Auto-Submitted: auto-generated The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=3192fc30230ae432b80cca783abc2dbea9d3f383 commit 3192fc30230ae432b80cca783abc2dbea9d3f383 Author: Ed Maste AuthorDate: 2022-09-30 18:33:41 +0000 Commit: Ed Maste 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) {