aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_xarray.c
diff options
context:
space:
mode:
authorAnshuman Khandual <[email protected]>2025-04-07 05:31:12 +0000
committerAndrew Morton <[email protected]>2025-05-12 00:48:19 +0000
commit08978fc3b0d5709583f6dc2072a8607d0b527860 (patch)
tree47e3e83362b89d43f748c736206e4228f4efa41a /lib/test_xarray.c
parentmm/ptdump: split note_page() into level specific callbacks (diff)
downloadkernel-08978fc3b0d5709583f6dc2072a8607d0b527860.tar.gz
kernel-08978fc3b0d5709583f6dc2072a8607d0b527860.zip
mm/ptdump: split effective_prot() into level specific callbacks
Last argument in effective_prot() is u64 assuming pxd_val() returned value (all page table levels) is 64 bit. pxd_val() is very platform specific and its type should not be assumed in generic MM. Split effective_prot() into individual page table level specific callbacks which accepts corresponding pxd_t argument instead and then the subscribing platform (only x86) just derive pxd_val() from the entries as required and proceed as earlier. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Anshuman Khandual <[email protected]> Cc: Paul Walmsley <[email protected]> Cc: Palmer Dabbelt <[email protected]> Cc: Dave Hansen <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Ard Biesheuvel <[email protected]> Cc: Catalin Marinas <[email protected]> Cc: Gerald Schaefer <[email protected]> Cc: Heiko Carstens <[email protected]> Cc: Madhavan Srinivasan <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Nicholas Piggin <[email protected]> Cc: Ryan Roberts <[email protected]> Cc: Will Deacon <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/test_xarray.c')
0 files changed, 0 insertions, 0 deletions