From nobody Mon Jul 08 14:52:34 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 4WHnCk6rNRz5QMml; Mon, 08 Jul 2024 14:52:34 +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 4WHnCk6776z4vqq; Mon, 8 Jul 2024 14:52:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720450354; 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=beqCgXLon8fNxPd4u+KtfuI28PY2AMBCXdZBWqh3LHE=; b=N0v+JCJoulhAZk1f2gonWF5iiyD0DLhSUQvAO9UOtb+KQzF2Up9WBWMObEN9JXIkrp5bV/ hfSKMfHXxrSZx0fxgBc2cEJqRVmftbkeu53NVXcP5ktwqkFVVwu6yMiwgJ1fScJCgpNmK4 3O+B5ZJeNb50rjorIGaSgaS9bgdDSF034BFbGAxSQa9tdchyKcjDK+qU9RJKS60oCnJGqL ImIcF00KelwyQj4mrT/iAxarFsqr6h3teZLC2xRFHlm2NCPZWLRtJX+aPke/d+AQLeV3se 5XYgD3cKT7TijLGVcG51Rh4CRfi/x6xMlxxszD/iz53gAWd7yziQT6jPd5C3vQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1720450354; a=rsa-sha256; cv=none; b=u1OHvFknVzNi1GJhew/lLNop5wl9PgCUkYKWLldJspLdZH5u8gqG3JcMuumintHO5YruXi bu1WUS0vUkyOzufEAG9CSNbCCnY05i2eK0YrmzykCKlMV1mqeDjmUIRuwFntUll9flzb3E hDgVttvuMj2+ZadEUxfLl9p4Ym+wMsdb1Ad6J/5pWvLFZceX3dj0aJ1MevjJkjX530EbHA FkNu7JNcCK53xzMfxkxcP98UVzGIU4fqWSgA4yAwtO6GF6weBPWvilEPRDOf6ZkOtKFAKt 9s3dT07EsTYFCgAjY7bYl14OQUZJBxNF7mgQwFz9qDYx5ytpkeGAOqtVcgBVKw== 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=1720450354; 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=beqCgXLon8fNxPd4u+KtfuI28PY2AMBCXdZBWqh3LHE=; b=Yeoqvuf9xeZ9YCHsReScG7+TYonGB7Y6/PPe57PhFYaQtjH41BXuWsDQo9ODSefxypuoDA jlS+kfgPszwSAYET6sRdRPK0+AgBuvO2x8Y5O6a10Ucgtqyrw4BiB3oYs7g0/W4N8fdGxv 2IH6BJB7WeN7YPKEwwFT5BsVNvERkeY52iYXxPrmNDB3IS8NwP3x8R3J5NBCRDhDd4Rl8d Bbuse38osotsubqCXTqKmfWhVmeU22XZxyHMHNdTb64Ohp9n4Or1pv8vGeAHKrz0ws3FoF PCB4Vh9RNKyx0LPAo5ewsVTHPq9Ohq6V6bwC6sXF3pbwcz1FKu94Jd1lLHCOdg== 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 4WHnCk5kgXzw2K; Mon, 8 Jul 2024 14:52:34 +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 468EqYc6046663; Mon, 8 Jul 2024 14:52:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 468EqYfp046660; Mon, 8 Jul 2024 14:52:34 GMT (envelope-from git) Date: Mon, 8 Jul 2024 14:52:34 GMT Message-Id: <202407081452.468EqYfp046660@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: 4e148a7baa1c - main - riscv: include PV chunks in kernel dump 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: 4e148a7baa1cb7fcc17f4ffb5e2b91ab78925fa6 Auto-Submitted: auto-generated The branch main has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=4e148a7baa1cb7fcc17f4ffb5e2b91ab78925fa6 commit 4e148a7baa1cb7fcc17f4ffb5e2b91ab78925fa6 Author: Mitchell Horne AuthorDate: 2024-07-08 14:46:55 +0000 Commit: Mitchell Horne CommitDate: 2024-07-08 14:46:55 +0000 riscv: include PV chunks in kernel dump Un-ifdef the call to dump_add_page() in reserve_pv_entries(). We want PV chunks available in the kernel dump, in case they need inspection. Reviewed by: markj Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D45760 --- sys/riscv/riscv/pmap.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/riscv/riscv/pmap.c b/sys/riscv/riscv/pmap.c index f49f18ba87bb..110f321a9461 100644 --- a/sys/riscv/riscv/pmap.c +++ b/sys/riscv/riscv/pmap.c @@ -2102,9 +2102,7 @@ retry: } PV_STAT(atomic_add_int(&pc_chunk_count, 1)); PV_STAT(atomic_add_int(&pc_chunk_allocs, 1)); -#if 0 dump_add_page(m->phys_addr); -#endif pc = (void *)PHYS_TO_DMAP(m->phys_addr); pc->pc_pmap = pmap; pc->pc_map[0] = PC_FREEN;