From: Yu Chien Peter Lin <peterlin@andestech.com> To: <paul.walmsley@sifive.com>, <palmer@dabbelt.com>, <aou@eecs.berkeley.edu>, <david@redhat.com>, <akpm@linux-foundation.org>, <alexghiti@rivosinc.com>, <bjorn@rivosinc.com>, <linux-riscv@lists.infradead.org>, <linux-kernel@vger.kernel.org> Cc: <conor.dooley@microchip.com>, Yu Chien Peter Lin <peterlin@andestech.com> Subject: [PATCH v4 3/3] riscv: Introduce NAPOT field to PTDUMP Date: Thu, 21 Sep 2023 10:50:22 +0800 [thread overview] Message-ID: <20230921025022.3989723-4-peterlin@andestech.com> (raw) In-Reply-To: <20230921025022.3989723-1-peterlin@andestech.com> This patch introduces the NAPOT field to PTDUMP, allowing it to display the letter "N" for pages that have the 63rd bit set. Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com> Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com> Tested-by: Alexandre Ghiti <alexghiti@rivosinc.com> --- Changes v1 -> v3 - no change Changes v3 -> v4 - Include Alexandre's RB/TB-tags --- arch/riscv/mm/ptdump.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/riscv/mm/ptdump.c b/arch/riscv/mm/ptdump.c index 13997cf3fe36..b71f08b91e53 100644 --- a/arch/riscv/mm/ptdump.c +++ b/arch/riscv/mm/ptdump.c @@ -136,6 +136,10 @@ struct prot_bits { static const struct prot_bits pte_bits[] = { { #ifdef CONFIG_64BIT + .mask = _PAGE_NAPOT, + .set = "N", + .clear = ".", + }, { .mask = _PAGE_MTMASK_SVPBMT, .set = "MT(%s)", .clear = " .. ", -- 2.34.1
WARNING: multiple messages have this Message-ID (diff)
From: Yu Chien Peter Lin <peterlin@andestech.com> To: <paul.walmsley@sifive.com>, <palmer@dabbelt.com>, <aou@eecs.berkeley.edu>, <david@redhat.com>, <akpm@linux-foundation.org>, <alexghiti@rivosinc.com>, <bjorn@rivosinc.com>, <linux-riscv@lists.infradead.org>, <linux-kernel@vger.kernel.org> Cc: <conor.dooley@microchip.com>, Yu Chien Peter Lin <peterlin@andestech.com> Subject: [PATCH v4 3/3] riscv: Introduce NAPOT field to PTDUMP Date: Thu, 21 Sep 2023 10:50:22 +0800 [thread overview] Message-ID: <20230921025022.3989723-4-peterlin@andestech.com> (raw) In-Reply-To: <20230921025022.3989723-1-peterlin@andestech.com> This patch introduces the NAPOT field to PTDUMP, allowing it to display the letter "N" for pages that have the 63rd bit set. Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com> Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com> Tested-by: Alexandre Ghiti <alexghiti@rivosinc.com> --- Changes v1 -> v3 - no change Changes v3 -> v4 - Include Alexandre's RB/TB-tags --- arch/riscv/mm/ptdump.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/riscv/mm/ptdump.c b/arch/riscv/mm/ptdump.c index 13997cf3fe36..b71f08b91e53 100644 --- a/arch/riscv/mm/ptdump.c +++ b/arch/riscv/mm/ptdump.c @@ -136,6 +136,10 @@ struct prot_bits { static const struct prot_bits pte_bits[] = { { #ifdef CONFIG_64BIT + .mask = _PAGE_NAPOT, + .set = "N", + .clear = ".", + }, { .mask = _PAGE_MTMASK_SVPBMT, .set = "MT(%s)", .clear = " .. ", -- 2.34.1 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv
next prev parent reply other threads:[~2023-09-21 2:50 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-09-21 2:50 [PATCH v4 0/3] Improve PTDUMP and introduce new fields Yu Chien Peter Lin 2023-09-21 2:50 ` Yu Chien Peter Lin 2023-09-21 2:50 ` [PATCH v4 1/3] riscv: Improve PTDUMP to show RSW with non-zero value Yu Chien Peter Lin 2023-09-21 2:50 ` Yu Chien Peter Lin 2023-09-21 2:50 ` [PATCH v4 2/3] riscv: Introduce PBMT field to PTDUMP Yu Chien Peter Lin 2023-09-21 2:50 ` Yu Chien Peter Lin 2023-09-21 2:50 ` Yu Chien Peter Lin [this message] 2023-09-21 2:50 ` [PATCH v4 3/3] riscv: Introduce NAPOT " Yu Chien Peter Lin 2023-11-06 15:00 ` [PATCH v4 0/3] Improve PTDUMP and introduce new fields patchwork-bot+linux-riscv 2023-11-06 15:00 ` patchwork-bot+linux-riscv
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20230921025022.3989723-4-peterlin@andestech.com \ --to=peterlin@andestech.com \ --cc=akpm@linux-foundation.org \ --cc=alexghiti@rivosinc.com \ --cc=aou@eecs.berkeley.edu \ --cc=bjorn@rivosinc.com \ --cc=conor.dooley@microchip.com \ --cc=david@redhat.com \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-riscv@lists.infradead.org \ --cc=palmer@dabbelt.com \ --cc=paul.walmsley@sifive.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.