On 31/08/26 11:38 AM, John Paul Adrian Glaubitz wrote: > Hi Anshuman, > > On Mon, 2026-08-31 at 11:13 +0530, Anshuman Khandual wrote: >> pxd_ERROR() macros have been provided by all platforms, which are very much >> identical and can be dropped off completely if these pgtable printing could >> be moved to callers in generic MM aka all pxd_clear_bad(). > > If pxd_ERROR() macros are really all identical, why not provide a common > definiton > of that macro? I'm always a bit concerned about such changes as there is > always > a risk to oversee arch-specific peculiarities. We don't those platform macros any more after converting generic MM into using ptval_bytes_to_hex_str() which now handles different pgtable entry types. > > Adrian >
- [PATCH 2/8] mm: Stop using pxd_ERROR() Anshuman Khandual
- [PATCH 1/8] mm: Make ptval_to_str() generally av... Anshuman Khandual
- [PATCH 3/8] loongarch/mm: Stop using pte_ERROR() Anshuman Khandual
- [PATCH 4/8] parisc/mm: Directly use generic [pmd... Anshuman Khandual
- [PATCH 6/8] sh/mm: Stop using [p4d|pud|pmd]_ERRO... Anshuman Khandual
- Re: [PATCH 6/8] sh/mm: Stop using [p4d|pud|... Andrew Morton
- [PATCH 8/8] mm: Drop pxd_ERROR() Anshuman Khandual
- [PATCH 7/8] sh/mm: Stop using pgd_ERROR() Anshuman Khandual
- [PATCH 5/8] sh/mm: Stop using pte_ERROR() Anshuman Khandual
- Re: [PATCH 0/8] mm: Drop pxd_ERROR() John Paul Adrian Glaubitz
- Re: [PATCH 0/8] mm: Drop pxd_ERROR() Anshuman Khandual
- Re: [PATCH 0/8] mm: Drop pxd_ERROR() Andrew Morton
- Re: [PATCH 0/8] mm: Drop pxd_ERROR() Anshuman Khandual
