From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id ACC85CD493F for ; Thu, 21 Sep 2023 02:50:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229589AbjIUCuo (ORCPT ); Wed, 20 Sep 2023 22:50:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229499AbjIUCun (ORCPT ); Wed, 20 Sep 2023 22:50:43 -0400 Received: from Atcsqr.andestech.com (60-248-80-70.hinet-ip.hinet.net [60.248.80.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D9B3CF for ; Wed, 20 Sep 2023 19:50:35 -0700 (PDT) Received: from mail.andestech.com (ATCPCS16.andestech.com [10.0.1.222]) by Atcsqr.andestech.com with ESMTP id 38L2oThK059250; Thu, 21 Sep 2023 10:50:29 +0800 (+08) (envelope-from peterlin@andestech.com) Received: from atctrx.andestech.com (10.0.15.173) by ATCPCS16.andestech.com (10.0.1.222) with Microsoft SMTP Server id 14.3.498.0; Thu, 21 Sep 2023 10:50:27 +0800 From: Yu Chien Peter Lin To: , , , , , , , , CC: , Yu Chien Peter Lin Subject: [PATCH v4 0/3] Improve PTDUMP and introduce new fields Date: Thu, 21 Sep 2023 10:50:19 +0800 Message-ID: <20230921025022.3989723-1-peterlin@andestech.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.0.15.173] X-DNSRBL: X-MAIL: Atcsqr.andestech.com 38L2oThK059250 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset enhances PTDUMP by providing additional information from pagetable entries. The first patch fixes the RSW field, while the second and third patches introduce the PBMT and NAPOT fields, respectively, for RV64 systems. Yu Chien Peter Lin (3): riscv: Improve PTDUMP to show RSW with non-zero value riscv: Introduce PBMT field to PTDUMP riscv: Introduce NAPOT field to PTDUMP arch/riscv/include/asm/pgtable-bits.h | 4 +- arch/riscv/mm/ptdump.c | 53 +++++++++++++++++---------- 2 files changed, 36 insertions(+), 21 deletions(-) -- 2.34.1