Re: [PATCH 0/8] mm: Drop pxd_ERROR()
Anshuman Khandual <[email protected]>
| Newsgroups | gmane.linux.ports.ppc.embedded |
|---|---|
| Message-ID | <8ad05b11-5cc3-4682-b921-a0c7820b1f97__39783.7022248254$1788159013$gmane$org@arm.com> |
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 >