Re: [PATCH V2] powerpc/memhotplug: Add add_pages override for PPC

2022-06-28 Thread Aneesh Kumar K V
On 6/28/22 6:26 PM, Michael Ellerman wrote: > "Aneesh Kumar K.V" writes: >> With commit ffa0b64e3be5 ("powerpc: Fix virt_addr_valid() for 64-bit Book3E >> & 32-bit") >> the kernel now validate the addr against high_memory value. This results >> in the below BUG_ON with dax pfns. >> >> [

Re: [PATCH V2] powerpc/memhotplug: Add add_pages override for PPC

2022-06-28 Thread Michael Ellerman
"Aneesh Kumar K.V" writes: > With commit ffa0b64e3be5 ("powerpc: Fix virt_addr_valid() for 64-bit Book3E & > 32-bit") > the kernel now validate the addr against high_memory value. This results > in the below BUG_ON with dax pfns. > > [ 635.798741][T26531] kernel BUG at mm/page_alloc.c:5521! >

[PATCH V2] powerpc/memhotplug: Add add_pages override for PPC

2022-06-27 Thread Aneesh Kumar K.V
With commit ffa0b64e3be5 ("powerpc: Fix virt_addr_valid() for 64-bit Book3E & 32-bit") the kernel now validate the addr against high_memory value. This results in the below BUG_ON with dax pfns. [ 635.798741][T26531] kernel BUG at mm/page_alloc.c:5521! 1:mon> e cpu 0x1: Vector: 700 (Program