(subset) [PATCH v4 1/2] powerpc/mm: Cleanup memory block size probing

Michael Ellerman patch-notifications at ellerman.id.au
Wed Aug 23 21:55:55 AEST 2023


On Tue, 01 Aug 2023 10:14:46 +0530, Aneesh Kumar K.V wrote:
> Parse the device tree in early init to find the memory block size to be
> used by the kernel. Consolidate the memory block size device tree parsing
> to one helper and use that on both powernv and pseries. We still want to
> use machine-specific callback because on all machine types other than
> powernv and pseries we continue to return MIN_MEMORY_BLOCK_SIZE.
> 
> pseries_memory_block_size used to look for the second memory
> block (memory at x) to determine the memory_block_size value. This patch
> changed that to look at all memory blocks and make sure we can map them all
> correctly using the computed memory block size value.
> 
> [...]

Patch 1 applied to powerpc/next.

[1/2] powerpc/mm: Cleanup memory block size probing
      https://git.kernel.org/powerpc/c/4d15721177d539d743fcf31d7bb376fb3b81aeb6

cheers


More information about the Linuxppc-dev mailing list