# Re: \[PATCH\] powerpc/ptdump: Fix display of RW pages on FSL\_BOOK3E

- From: Michael Ellerman \<hidden\>
- Date: 2022-07-04 11:36:23 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2022/07/1845391
- Thread: https://ratatoskr.run/stable/2022/06/1839104/t.md

```text
On Tue, 28 Jun 2022 16:43:35 +0200, Christophe Leroy wrote:
> On FSL_BOOK3E, _PAGE_RW is defined with two bits, one for user and one
> for supervisor. As soon as one of the two bits is set, the page has
> to be display as RW. But the way it is implemented today requires both
> bits to be set in order to display it as RW.
> 
> Instead of display RW when _PAGE_RW bits are set and R otherwise,
> reverse the logic and display R when _PAGE_RW bits are all 0 and
> RW otherwise.
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc/ptdump: Fix display of RW pages on FSL_BOOK3E
      https://git.kernel.org/powerpc/c/dd8de84b57b02ba9c1fe530a6d916c0853f136bd

cheers
```
