Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1741761rdb; Wed, 20 Sep 2023 19:50:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEQSOOXlg0SGr/uGX17qF6mq7DECsF6wK0kV3nkAp07RMWK+T96CZJXRLCRmeTrX/IUn9xU X-Received: by 2002:a05:6808:2cf:b0:3a3:47c5:1de3 with SMTP id a15-20020a05680802cf00b003a347c51de3mr3949210oid.49.1695264649377; Wed, 20 Sep 2023 19:50:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695264649; cv=none; d=google.com; s=arc-20160816; b=PArhXy62PmDCL0xsADBxn72LxTb8GX9o/p6FWNCvkhkbUtyFUJb6m01j8K5kEseKZe BI2h2jwgrrRXouRx1YfQuIW0t8ckzmnAr5evMeRxlN38Lbuuegd3YYeTw9RdVTm5lsRZ LcTk643I4Y33Fo4L3/V/xqQp9F3+bwxT44JHB3AZ4uEAtn1wy0uCn7+RSknTkkNeRpdO osax9XenfTRhXYmUbNWgC+u9TqihFbF1P06qbdGH1aDAc6+J6LJ3oIHscAIV3GNc1DkC pFe34D3wmSACgKqhSo4PXKG6Fc1x2pyOwJAV+ewM8ExMqH0i1G8NVF6O1pkkPKPBKvm9 v/9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=6dpbXkUPE7Zhdu1Z2M90xxaQLZmQMGI2SN+cvCs+h40=; fh=KurLJqq2XfuewB6RNJWlRN2u09Gks5pj0rZr7I72NxA=; b=Td6EQlgowXXgVJbqeB2puC0UQgH33jlbmD5UpLDkoz50K1t/8GWY2Ir5hq9xseWulB 1NMDEDz8mY7mJhLOFh3utYIT1v+WtPW3lB4mVn5S8WeuepuMH4H+XpU6GcjqfPJI16tc P456m2lj/9bZ2sr7R5V3xVxYOaLAVLAS9sMWt5fFrpuQYtzOgHEk2qyiElsL3Ktgzlrv YCBLYGMHtzfw7YOiVuBSgaSlCFB4XgIehqwOS58gD7pzRTgP+ky2/Dd/XgzppsE88I2M CCERaxcVwodAPicyOecO28AgdBqy6Jg5OefM3/iW8O9LKSyed2LNyQWTik3XQeAFhokA W0mQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id g38-20020a631126000000b00565f0e9cfbbsi421468pgl.382.2023.09.20.19.50.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 19:50:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id D491283294D1; Wed, 20 Sep 2023 19:50:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229538AbjIUCuo (ORCPT + 99 others); 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-SPAM-SOURCE-CHECK: pass X-MAIL: Atcsqr.andestech.com 38L2oThK059250 X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Wed, 20 Sep 2023 19:50:44 -0700 (PDT) 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