On 11/08/2026 12:25 pm, Muhammad Usama Anjum wrote:
On 11/08/2026 11:15 am, Anshuman Khandual wrote:
quoted
On Thu, Aug 06, 2026 at 09:38:40AM +0100, Muhammad Usama Anjum wrote:
quoted
Later conversions use hw_pte_t in page-table checking, generic page-table
helpers, and vmalloc interfaces. Include linux/pgtable_types.h from the
headers that declare those interfaces before changing their types.
For vmalloc.h, replace the direct asm/page.h include with
linux/pgtable_types.h. The latter includes asm/page.h, so pgprot_t remains
available. It also provides either the default alias or the opted-in
hw_pte_t wrapper.
Stand-alone header file updates are not ideal. Why cannot these changes be
folded in, where hw_pte_t gets used first time ever in the above mentioned
places.
That's correct. This patch should be merged with the 3/9 patch. But that patch
is already too much big as it was generated with the help of Coccinelle. So I
kept it separate.
Do you still think we should merge it as its a special case?
Sorry, I wanted to mention merging this patch and 4/9 patch (instead of 3/9 patch) in
my previous email.
Thanks,
Usama