mbox series

[V2,0/2] mm/debug_vm_pgtable: Some minor updates

Message ID 1606825169-5229-1-git-send-email-anshuman.khandual@arm.com (mailing list archive)
Headers show
Series mm/debug_vm_pgtable: Some minor updates | expand

Message

Anshuman Khandual Dec. 1, 2020, 12:19 p.m. UTC
This series contains some cleanups and new test suggestions from Catalin
from an earlier discussion.

https://lore.kernel.org/linux-mm/20201123142237.GF17833@gaia/

This series is based on v5.10-rc6 and has been tested on arm64 and x86 but
has only been build tested on riscv, s390, arc etc. It would be great if
folks could test this on these platforms as well. Thank you.

Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: Gerald Schaefer <gerald.schaefer@linux.ibm.com>
Cc: Vineet Gupta <vgupta@synopsys.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Paul Walmsley <paul.walmsley@sifive.com>
Cc: Andrew Morton <akpm@linux-foundation.org>

Changes in V2:

- Added some missing tests in pud_basic_tests()
- Added bidirectional dirty check after pxx_wrprotect() per Catalin
- Moved WARN_ON(pte_dirty(pte_wrprotect(pte))) just after page table entry creation

Changes in V1:

https://lore.kernel.org/linux-mm/1606453584-15399-1-git-send-email-anshuman.khandual@arm.com/

Anshuman Khandual (2):
  mm/debug_vm_pgtable/basic: Add validation for dirtiness after write protect
  mm/debug_vm_pgtable/basic: Iterate over entire protection_map[]

 Documentation/vm/arch_pgtable_helpers.rst |  8 +-
 mm/debug_vm_pgtable.c                     | 89 ++++++++++++++++++++---
 2 files changed, 81 insertions(+), 16 deletions(-)

Comments

Anshuman Khandual Dec. 9, 2020, 2:41 a.m. UTC | #1
On 12/1/20 5:49 PM, Anshuman Khandual wrote:
> This series contains some cleanups and new test suggestions from Catalin
> from an earlier discussion.
> 
> https://lore.kernel.org/linux-mm/20201123142237.GF17833@gaia/
> 
> This series is based on v5.10-rc6 and has been tested on arm64 and x86 but
> has only been build tested on riscv, s390, arc etc. It would be great if
> folks could test this on these platforms as well. Thank you.
> 
> Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
> Cc: Gerald Schaefer <gerald.schaefer@linux.ibm.com>
> Cc: Vineet Gupta <vgupta@synopsys.com>
> Cc: Catalin Marinas <catalin.marinas@arm.com>
> Cc: Paul Walmsley <paul.walmsley@sifive.com>
> Cc: Andrew Morton <akpm@linux-foundation.org>

Hello Gerald/Christophe/Vineet/Paul,

Could you please give this series a quick test on s390, ppc, arc,
and riscv platforms. Thank you.

- Anshuman
Gerald Schaefer Dec. 9, 2020, 3:25 p.m. UTC | #2
On Wed, 9 Dec 2020 08:11:13 +0530
Anshuman Khandual <anshuman.khandual@arm.com> wrote:

> 
> 
> On 12/1/20 5:49 PM, Anshuman Khandual wrote:
> > This series contains some cleanups and new test suggestions from Catalin
> > from an earlier discussion.
> > 
> > https://lore.kernel.org/linux-mm/20201123142237.GF17833@gaia/
> > 
> > This series is based on v5.10-rc6 and has been tested on arm64 and x86 but
> > has only been build tested on riscv, s390, arc etc. It would be great if
> > folks could test this on these platforms as well. Thank you.
> > 
> > Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
> > Cc: Gerald Schaefer <gerald.schaefer@linux.ibm.com>
> > Cc: Vineet Gupta <vgupta@synopsys.com>
> > Cc: Catalin Marinas <catalin.marinas@arm.com>
> > Cc: Paul Walmsley <paul.walmsley@sifive.com>
> > Cc: Andrew Morton <akpm@linux-foundation.org>
> 
> Hello Gerald/Christophe/Vineet/Paul,
> 
> Could you please give this series a quick test on s390, ppc, arc,
> and riscv platforms. Thank you.
> 

Hi Anshuman, works fine for s390.

Tested-by: Gerald Schaefer <gerald.schaefer@de.ibm.com> [s390]