From nobody Wed Mar 15 18:34:45 2023 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 4PcJw54khrz3xccc; Wed, 15 Mar 2023 18:34:45 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PcJw54HRkz3jkp; Wed, 15 Mar 2023 18:34:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678905285; 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=bJAyb237f/YcWMmk7XgVsJ9gLkw9MfBmBUU1C8rQMlw=; b=XHMGJfsGHn82VFiBz1tgDXWVC0qJvurKaNgglzw2o9x1Shr87uJh7FiHk8Fae7SlQkujXE JWOHwrvC/rzRKRzWuAGQQvn2XMI1Ag218aK1+N67dhWi7SpcBYHy0Kwr77Oh/Soi270X2t B17ZO3dnhLBjz9yRpdUOtmQfd0hcOczEnVzNdLENxsRKHfv7D14s8OIDfpgOU7pCOMNcmK hBW5p6WaidZ67lbvi4wuvO2cs+4EyVlbTVvjECoaVRCe6aKArID+V2ncUNydo4IdU2vY0E Zn/Z2T16f2+r4UWCGHugmoQCR+EK9Sqo3yMz0hw/clIbyftOmLMdnpBTy6Dzog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678905285; 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=bJAyb237f/YcWMmk7XgVsJ9gLkw9MfBmBUU1C8rQMlw=; b=FdzQM/B+Ie8tQW58goKKIxcHMbRy4yrfmhr/DzpJVUOMC60jknvu7CzLvOL4lYyILo3YNX u1vik7DahUMA9UTjRGQ6wTjuXao9FaPmCcDOzJ0oczUwWeQmMmQPped8aFFhpcv8TuGRMh +M+FL926PqBELeY4OPwkOKEf+9gsBbawwLkGJDzcslMs8Sk9J9aFesnGY0GpZXfXQRywlU pA2/cNkQTliJNlFKKHA6qVYpFao0IFIPLpAQrcwjv/NtH4GnW65xczrnPi2w//2aobMF2u VckWEonOLb7acA2hqClI+IZBAjkSoDZdM4+ZNbbXyjpwbUTHSUpc+Et08n4DVg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678905285; a=rsa-sha256; cv=none; b=yaqE3QuSlt6XNmbry+HsyX+BW0/Oupa3Y9cmkWWGybM44tardDhWf/rIQbA20jhCGCZfho J5NF6qf92pHBjiV1EMYHj+UQ9ZIOqxQ0/3V6TSrTHft+YFSvQ1etJgBdgFvxRf3gYh3bPy ijRUMdspsG2F8FwlHuX1t2sCncLTK5unttJjhy+mhYV86daVMHCF2dPDzXiTE6YNS6fLu0 4KkAYccs0DKiLJKJ0/m40IgfHtIi1HahrplbTpplREiay2aX7lJxJbSdcaDsbkw5vsqfyx hlWLmlcC3BxoSI+QdpJOAVkwPZLVekPuVeciBKwCiiQrFdQ63hXSmv2P03CrVQ== 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 4PcJw53Mphz1RXd; Wed, 15 Mar 2023 18:34:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 32FIYjRe038261; Wed, 15 Mar 2023 18:34:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32FIYjAA038260; Wed, 15 Mar 2023 18:34:45 GMT (envelope-from git) Date: Wed, 15 Mar 2023 18:34:45 GMT Message-Id: <202303151834.32FIYjAA038260@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Andrew Turner Subject: git: cc67cd58fce0 - main - arm64: Support stage 2 mappings in pmap_remove_all 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: andrew X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cc67cd58fce07b7550f7be36508693f0e8e54926 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=cc67cd58fce07b7550f7be36508693f0e8e54926 commit cc67cd58fce07b7550f7be36508693f0e8e54926 Author: Andrew Turner AuthorDate: 2023-03-15 16:27:51 +0000 Commit: Andrew Turner CommitDate: 2023-03-15 18:24:50 +0000 arm64: Support stage 2 mappings in pmap_remove_all This has been hit when testing bhyve. Sponsored by: Arm Ltd --- sys/arm64/arm64/pmap.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/arm64/arm64/pmap.c b/sys/arm64/arm64/pmap.c index 2ea007418c9d..17abce473c17 100644 --- a/sys/arm64/arm64/pmap.c +++ b/sys/arm64/arm64/pmap.c @@ -3622,7 +3622,6 @@ retry: } while ((pv = TAILQ_FIRST(&m->md.pv_list)) != NULL) { pmap = PV_PMAP(pv); - PMAP_ASSERT_STAGE1(pmap); if (!PMAP_TRYLOCK(pmap)) { pvh_gen = pvh->pv_gen; md_gen = m->md.pv_gen; @@ -3648,7 +3647,7 @@ retry: if (tpte & ATTR_SW_WIRED) pmap->pm_stats.wired_count--; if ((tpte & ATTR_AF) != 0) { - pmap_s1_invalidate_page(pmap, pv->pv_va, true); + pmap_invalidate_page(pmap, pv->pv_va, true); vm_page_aflag_set(m, PGA_REFERENCED); }