From nobody Tue Aug 20 15:50:01 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 4WpDS95nRZz5TLmT; Tue, 20 Aug 2024 15:50:01 +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 4WpDS95GJwz44ck; Tue, 20 Aug 2024 15:50:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724169001; 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=WhrGKiw65jkdbqE4H7v1joRHJzEUXNU7apmbHYrWT9Q=; b=dsuMWBq2i3iVTw1RpVZtlOwjF/U0O2DYY1B2xIMfVG/KsVx2H4kHOneBYP7T6Yvoj+cxN5 gmfIm2f7ukaufGcsWE7Ap4zs853LzSbr0Yh4Ba1rrr+8hobb9XswqNLXs217//eoT+0qSn 0Kyzsv246OI0b4E7roSCpr2qHVaMfCkE/zzlsUZCOUVLv7YoI6zRJD41p/8BFVzn6xIXqo ABCsrFdD4MW0QkyLx6aiqYwNaU+KHKohzz4w5gqVC1sSwzN4BgdZZVBYbsr4SRMHMSjw96 Fuh1TE48IE+bpTI8kQsLNaMzlKrPhjK5zxUd02nP+IKsJIgdP5/AHtxBb+H6TQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724169001; a=rsa-sha256; cv=none; b=AhYkuQcL/evPzBoYPxmolk44nUM/+yL3dbNxhiHJG9/jLQQrT2sDiELDXP/eL1A5vvSL6N HrBGgWQkip3ifB7Ubaip+RWy7cw+vGEtd+yAMyX0Ro5NUavI3CqC493gIRmgwvAvNf4zIk IRQUERRMPJEUlfc5oZpGNGahNbylFqUWAWiXrTsYEHYRw41XW41SJOAq1Whbx9cql6Yq4v HiUz9V3gncGeFBCG/iVf+L2e+cRL/lY8dnMHTNKnNG7RHO9Jso3lMsbIbBIDUHCsG5eMn0 zPJvN50xI0sgKgIy435UkKxPG7EWpxB78kJhbDRY0nb0/mLpPaVFSmat3dRGug== 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=1724169001; 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=WhrGKiw65jkdbqE4H7v1joRHJzEUXNU7apmbHYrWT9Q=; b=GZQ7a9oHu1BOFJsJAjYtPcY8XOsBy3ClZDwiW6vTS87I/9YojBTaBsD88iIsML6QayhHRI 6A0I26/465v2FCGk01npLwbWc+SsV5NBIuTMcvdU/NeJwbd9nsT1TBVHyVL/JA/hb0gySQ qdP1QFLP+QQZmu+SI+eZhpR+czELpwP8lPhLBrrBSodlwSivnD5R4eFhQFPXjLs4KfSkin 3JolkoihpF1mqzq5a67SRXsAr9kDufFZw4T+6RvkcdSf12Z/DhrRHm803BmNDCO6kFGalV +5RatxR1xbgEV/s2NU3WgjFVoZu0oqzBqM+9VEifXkeXeerOZQRFq8pJtPPTQA== 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 4WpDS94spzz15qq; Tue, 20 Aug 2024 15:50:01 +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 47KFo12v064009; Tue, 20 Aug 2024 15:50:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47KFo1Ke064005; Tue, 20 Aug 2024 15:50:01 GMT (envelope-from git) Date: Tue, 20 Aug 2024 15:50:01 GMT Message-Id: <202408201550.47KFo1Ke064005@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: 0875f3cd74b2 - main - Revert "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: 0875f3cd74b2f305e82bff4e640c89f891ca84f8 Auto-Submitted: auto-generated The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=0875f3cd74b2f305e82bff4e640c89f891ca84f8 commit 0875f3cd74b2f305e82bff4e640c89f891ca84f8 Author: Ed Maste AuthorDate: 2024-08-20 15:43:11 +0000 Commit: Ed Maste CommitDate: 2024-08-20 15:49:25 +0000 Revert "x86: Enable Intel DMAR by default" A number of people have reported panics with it enabled by default, possibly due to broken ACPI tables, which we do not handle well. D46382 is a potential fix for this issue. Additionally DMAR is currently not compatible with bhyve passthrough (see comment #10 in PR280817), with a draft patch to address that in D25672. Revert to disabling DMAR by default pending the resolution of those two issues. This reverts commit 3192fc30230ae432b80cca783abc2dbea9d3f383. PR: 280817 Sponsored by: The FreeBSD Foundation --- sys/x86/iommu/intel_drv.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/x86/iommu/intel_drv.c b/sys/x86/iommu/intel_drv.c index 9401892aa9d6..0b25620114cd 100644 --- a/sys/x86/iommu/intel_drv.c +++ b/sys/x86/iommu/intel_drv.c @@ -159,8 +159,7 @@ dmar_count_iter(ACPI_DMAR_HEADER *dmarh, void *arg) int dmar_rmrr_enable = 1; -static int dmar_enable = 1; - +static int dmar_enable = 0; static void dmar_identify(driver_t *driver, device_t parent) {