On 8/18/26 06:00, Anshuman Khandual wrote:
pxd_ERROR() has been used in generic mm just to print the page table entry
in pxd_clear_bad() before clearing those out with pxd_clear() later. These
pxd_ERROR() macros have been provided by all platforms which basically did
the same thing.
Make pxd_clear_bad() use recently added ptval_to_str() instead for printing
page table entries thus completely dropping dependency on platform provided
pxd_ERROR() macros which can then be dropped off later on.
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: David Hildenbrand <david@kernel.org>
Cc: Lorenzo Stoakes <ljs@kernel.org>
Cc: <redacted>
Cc: <redacted>
Signed-off-by: Anshuman Khandual <redacted>
---
Acked-by: David Hildenbrand (Arm) <david@kernel.org>
--
Cheers,
David