Re: [PATCH 1/3] powerpc/mm: Align memory_limit value specified using mem= kernel parameter

2024-05-03 Thread Joel Savitz
On Thu, May 2, 2024 at 10:20 PM Michael Ellerman  wrote:
>
> Joel Savitz  writes:
> > On Wed, Apr 17, 2024 at 10:36 AM Joel Savitz  wrote:
> >>
> >> Acked-by: Joel Savitz 
> >>
> >
> > Hi,
> >
> > What is the status of this? This patch fixes a bug where a powerpc
> > machine hangs at boot when passed an unaligned value in the mem=
> > kernel parameter.
>
> It's in linux-next for v6.10
>
> cheers
>

Thanks!

Best,
Joel Savitz



Re: [PATCH 1/3] powerpc/mm: Align memory_limit value specified using mem= kernel parameter

2024-05-03 Thread Michael Ellerman
On Wed, 03 Apr 2024 14:06:09 +0530, Aneesh Kumar K.V (IBM) wrote:
> The value specified for the memory limit is used to set a restriction on
> memory usage. It is important to ensure that this restriction is within
> the linear map kernel address space range. The hash page table
> translation uses a 16MB page size to map the kernel linear map address
> space. htab_bolt_mapping() function aligns down the size of the range
> while mapping kernel linear address space. Since the memblock limit is
> enforced very early during boot, before we can detect the type of memory
> translation (radix vs hash), we align the memory limit value specified
> as a kernel parameter to 16MB. This alignment value will work for both
> hash and radix translations.
> 
> [...]

Applied to powerpc/next.

[1/3] powerpc/mm: Align memory_limit value specified using mem= kernel parameter
  https://git.kernel.org/powerpc/c/5ca096161cdccfa328acf6704a4615528471d309
[2/3] powerpc/fadump: Don't update the user-specified memory limit
  https://git.kernel.org/powerpc/c/f94f5ac07983cb53de0c964f5428366c19e81993
[3/3] powerpc/mm: Update the memory limit based on direct mapping restrictions
  https://git.kernel.org/powerpc/c/5a799af9522641517f6d871d9f56e2658ee7db58

cheers


Re: [PATCH 1/3] powerpc/mm: Align memory_limit value specified using mem= kernel parameter

2024-05-02 Thread Michael Ellerman
Joel Savitz  writes:
> On Wed, Apr 17, 2024 at 10:36 AM Joel Savitz  wrote:
>>
>> Acked-by: Joel Savitz 
>>
>
> Hi,
>
> What is the status of this? This patch fixes a bug where a powerpc
> machine hangs at boot when passed an unaligned value in the mem=
> kernel parameter.

It's in linux-next for v6.10

cheers


Re: [PATCH 1/3] powerpc/mm: Align memory_limit value specified using mem= kernel parameter

2024-05-02 Thread Joel Savitz
On Wed, Apr 17, 2024 at 10:36 AM Joel Savitz  wrote:
>
> Acked-by: Joel Savitz 
>

Hi,

What is the status of this? This patch fixes a bug where a powerpc
machine hangs at boot when passed an unaligned value in the mem=
kernel parameter.
Best,
Joel Savitz



Re: [PATCH 1/3] powerpc/mm: Align memory_limit value specified using mem= kernel parameter

2024-04-17 Thread Joel Savitz
Acked-by: Joel Savitz