From nobody Fri Nov 22 14:20:29 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 4Xvy1V0Xklz5dxbv; Fri, 22 Nov 2024 14:20:30 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xvy1T6dTRz51Zv; Fri, 22 Nov 2024 14:20:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732285229; 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=gvTHBAeZHoboaAHnKNs1xdZEMYo/+M2VE/9Q/hoXg1c=; b=Ihbmjab2pJwer/cjlvHWpuqg8A+m8+sjl03HrBKt6C6HkO8FpnQlovgnzdNXQEO3e0ir4/ Ud4StQhJyFts6EZ+hmmxTcyW4El0Jhs4JxnzpvaxeUiq9Qw9x0ngsPQ5aVFTW0kkUrGvqG XJy+aHxlYNJFVUfIRQTfV2nT/hfdNOmzmAMzzExVkMtonmZKeWOLaNdGh6aIar3rCyYwIl t8whRaHtJ6Xmm9U5PMO1T95xu3hyCIpDKFhdSjgD82OsNToOSEhS8yl3dgsHcvZoXDzzdH l9vVgT0CYitU+/j/6j2tMvq8Sxe6kZhSYKIENtGkLBM4aSkuV/iw8o4Nh7Q/mA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732285229; 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=gvTHBAeZHoboaAHnKNs1xdZEMYo/+M2VE/9Q/hoXg1c=; b=buGBLlltkuQdPX6SH+lierApxH2Hdb2YP3XULq+vpgT+Css5XT98AOanabNFtTP16etrmm nhAnFEMsIfEdVQgTTLGAu4Tm4IwAE/LOGS/HoNlCSRfETfBMgmNY20qYfkLDn5U0tDUOuM S/NogEcAGG9bpdLK9HNK9P0AneubmX2bMWWQFepmkaouWE/U9IQCVtwcImQdhl2ABFbaoA oCNLrA+o2sNt+AP65d2juM0ZJ9AdDkR4jCZHqyHHc1qmqg9H+ckL8mthh+uwLQ5boKb4Ex hbmmhDoIvhQnRbMXZBMK4imomRUc5bSRuXCZsCXys1Wk7RpPGrFylR8qPQsIlg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732285229; a=rsa-sha256; cv=none; b=cIF2CdaYOFqjkvcbAf76IpB9iY9dsKA5N2QFWaA4A9YnOT0sBFu+4ZmOIhrB6S/wZkdqJV enNs2/cK3dsBEtRrx7VM7l6RIXOdGR2tzuXX/8Ixe0ki4lHXW/YgtHO3wHJggvJwztL2gK KygszbFojB7qfW4Gyan4mFJvvVry2stM3vmS3GNzGray5KEBmIBSDTZQSyoKkILEGfZKM/ c287XVGEnOIFjHKuUXcFBQFTu8ghjs9uxAQ4Mj+c3HWWr0fXAhlyjlYPE1/rHp+pnQe+W/ GRR1ap4KhXaZcnUkZL1qsLHgVwRl3zWqXHYxOII9NayIxAjzgjJiE+qFa/WFgg== 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 4Xvy1T5QT8zSSQ; Fri, 22 Nov 2024 14:20:29 +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 4AMEKTk6094340; Fri, 22 Nov 2024 14:20:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AMEKTwB094337; Fri, 22 Nov 2024 14:20:29 GMT (envelope-from git) Date: Fri, 22 Nov 2024 14:20:29 GMT Message-Id: <202411221420.4AMEKTwB094337@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 07593d13fa2a - main - efirt: Fix the TDP_EFIRT assertion 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: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 07593d13fa2ad6fe4d962b7473c6020aef2a0414 Auto-Submitted: auto-generated The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=07593d13fa2ad6fe4d962b7473c6020aef2a0414 commit 07593d13fa2ad6fe4d962b7473c6020aef2a0414 Author: Mark Johnston AuthorDate: 2024-11-22 14:19:37 +0000 Commit: Mark Johnston CommitDate: 2024-11-22 14:19:37 +0000 efirt: Fix the TDP_EFIRT assertion Fixes: a03957a706a0 ("efirt: mark dynamic region executing the RT code with the TDP_EFIRT flag") --- sys/dev/efidev/efirt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/efidev/efirt.c b/sys/dev/efidev/efirt.c index 37b46ec38dad..8cada0d5061b 100644 --- a/sys/dev/efidev/efirt.c +++ b/sys/dev/efidev/efirt.c @@ -323,7 +323,7 @@ efi_leave(void) pmap_t curpmap; td = curthread; - MPASS((td->td_pflags & TDP_EFIRT) == 0); + MPASS((td->td_pflags & TDP_EFIRT) != 0); td->td_pflags &= ~TDP_EFIRT; efi_arch_leave();