From nobody Thu Aug 29 15:21:51 2024 X-Original-To: dev-commits-src-all@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 4WvlPW5n3Zz5PcGs; Thu, 29 Aug 2024 15:21:51 +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 4WvlPW51dyz4qXN; Thu, 29 Aug 2024 15:21:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724944911; 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=f88pjODd1rzyfoK9x+pNaTeoP6Ki6ALh5XargyMK18U=; b=qQMcxqWn6kMwbbQ8lz5j6saxQub1hfi5YRDo9obPPN5z31NOfF9YLq+c0Ub1dAbrnMP+6F ikKlX6gtcl0ZoF9AHbbX0t4SzX2XlaWLeb2bVchakYLlCwiqgBcHO9I5npCY4WydLzHDi+ 8QlQFzyBBAgF7z8ijSy7exyG48QdKMERcT8lRCVxdk9kH0Hlj0inJZJNMVY+whoSz6T3zN mawZw2HZPHICA5ic27+tWc/IBnw9K5hl8pmJhbdAdFThr+WZY0oJVvSVlvLQkGsth+zuCY Eay+3GUo/JbP8ErCOgJEULFdB3BmWpDZB0QSub9dcC77nL6ZwE5eUHVGmVLGRg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724944911; a=rsa-sha256; cv=none; b=S1XrJC8t21ksgYVbQBPIcxMkNP2t1scvh7fMxon18ltzr08y5EDxY4vGRNpXMt94k5rkm2 HqnuWjw7a/CGErluXvJhiuyOxo68AAdFdMGgeeddIa1C1bLAkMNHBiob//3ciYuSxArRMF 3M29jMwj6oBJpljDai1LnXrDAGafOXMLrloKmhnYNF4fQsdistcrRZAxdP9Kn8LoylBAN2 xDShHhiqREcd0JoWYYQ0Yp8L0UzIeo5WzbKhRgrcWJhHyxWws+5bU6bqZVipNuoxMqdL5/ V8klKpzpvluq+7eez0l/C8o+suQ78muV9llzbu2+DYyUlCwRK9Ixi/mgbL0DJg== 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=1724944911; 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=f88pjODd1rzyfoK9x+pNaTeoP6Ki6ALh5XargyMK18U=; b=fizu2N2NXxh70TalRZz7WIV1VdLpe54+U1GXvg37/ZWnA7Ekt0JD2uup1NTL0IuRRHy5Gm KXgwyjNO3WrqaGqCQlMdpcrXaOQ4/vS7ObwNZHmnS92H9SiQfLXPUMkvcUU4tNtcuWKDEe ubnDLxi2ZC3lGKiGWJmlJwwTxibkpS6v/pKvQAoLy/6Th1Xzu+C6TudViZJg3VGvr0s0hG Ct5936d34ZQoTxEqJ199xz9IR0tn8AIp2nJltqTiUr2akHfUEorPZyYQpEF+amyR30OLR2 1pxeye0n8gjqZFjGgIVxakGPQiuDln9ez8YLQZlyxvWQc+Us390rH+88eiOkqQ== 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 4WvlPW4cfjzN9G; Thu, 29 Aug 2024 15:21:51 +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 47TFLpXu008906; Thu, 29 Aug 2024 15:21:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47TFLpul008903; Thu, 29 Aug 2024 15:21:51 GMT (envelope-from git) Date: Thu, 29 Aug 2024 15:21:51 GMT Message-Id: <202408291521.47TFLpul008903@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mitchell Horne Subject: git: 05cf677bb8d8 - main - riscv: remove a redundant MPASS test in _pmap_unwire_ptp() List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mhorne X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 05cf677bb8d8b2528fd5bf472c908eabe4e76125 Auto-Submitted: auto-generated The branch main has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=05cf677bb8d8b2528fd5bf472c908eabe4e76125 commit 05cf677bb8d8b2528fd5bf472c908eabe4e76125 Author: Wuyang Chung AuthorDate: 2024-08-02 06:28:46 +0000 Commit: Mitchell Horne CommitDate: 2024-08-29 15:20:28 +0000 riscv: remove a redundant MPASS test in _pmap_unwire_ptp() It is guaranteed by the else if condition. Reviewed by: mhorne Pull Request: https://github.com/freebsd/freebsd-src/pull/1355 --- sys/riscv/riscv/pmap.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/riscv/riscv/pmap.c b/sys/riscv/riscv/pmap.c index 7058eb03cf44..c372e6f7362b 100644 --- a/sys/riscv/riscv/pmap.c +++ b/sys/riscv/riscv/pmap.c @@ -1464,7 +1464,6 @@ _pmap_unwire_ptp(pmap_t pmap, vm_offset_t va, vm_page_t m, struct spglist *free) pd_entry_t *l0; vm_page_t pdpg; - MPASS(pmap_mode != PMAP_MODE_SV39); l0 = pmap_l0(pmap, va); pdpg = PTE_TO_VM_PAGE(pmap_load(l0)); pmap_unwire_ptp(pmap, va, pdpg, free);