[PATCH v3 1/3] riscv: Improve PTDUMP to show RSW with non-zero value

Yu-Chien Peter Lin peterlin at andestech.com
Wed Sep 20 18:40:51 PDT 2023


Hi Conor,

On Wed, Sep 20, 2023 at 10:55:30AM +0100, Conor Dooley wrote:
> On Wed, Sep 20, 2023 at 11:55:20AM +0800, Yu Chien Peter Lin wrote:
> > RSW field can be used to encode 2 bits of software
> > defined information. Currently, PTDUMP only prints
> > "RSW" when its value is 1 or 3.
> > 
> > To fix this issue and improve the debugging experience
> > with PTDUMP, we redefine _PAGE_SPECIAL to its original
> > value and use _PAGE_SOFT as the RSW mask, allow it to
> > print the RSW with any non-zero value.
> > 
> > This patch also removes the val from the struct prot_bits
> > as it is no longer needed.
> > 
> 
> Could you please add cover letters to multi-patch patchsets?
> 
> Thanks,
> Conor.

Sure, will do.

Regards,
Peter Lin



More information about the linux-riscv mailing list