Re: [PATCH] powerpc/mm/altmap: Fix altmap boundary check

2023-07-29 Thread Michael Ellerman
On Mon, 24 Jul 2023 23:43:20 +0530, Aneesh Kumar K.V wrote: > altmap->free includes the entire free space from which altmap blocks > can be allocated. So when checking whether the kernel is doing altmap > block free, compute the boundary correctly. > > Applied to powerpc/fixes. [1/1] powerpc/mm

Re: [PATCH] powerpc/mm/altmap: Fix altmap boundary check

2023-07-24 Thread David Hildenbrand
On 24.07.23 20:13, Aneesh Kumar K.V wrote: altmap->free includes the entire free space from which altmap blocks can be allocated. So when checking whether the kernel is doing altmap block free, compute the boundary correctly. Cc: David Hildenbrand Cc: Dan Williams Fixes: 9ef34630a461 ("powerpc

[PATCH] powerpc/mm/altmap: Fix altmap boundary check

2023-07-24 Thread Aneesh Kumar K.V
altmap->free includes the entire free space from which altmap blocks can be allocated. So when checking whether the kernel is doing altmap block free, compute the boundary correctly. Cc: David Hildenbrand Cc: Dan Williams Fixes: 9ef34630a461 ("powerpc/mm: Fallback to RAM if the altmap is unusabl