diff options
| author | Anton Blanchard <anton@ozlabs.org> | 2020-07-15 10:08:20 +1000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-08-21 13:07:29 +0200 |
| commit | 7bd13ac62979762f46a81b633ad2732aa764d577 (patch) | |
| tree | b11c2fa5979f161a7ca7c7f9f36b21bd15e90ba9 /kernel/sysctl.c | |
| parent | 5b0051e74a1507647ec10e6b0f88648ea92eb863 (diff) | |
pseries: Fix 64 bit logical memory block panic
commit 89c140bbaeee7a55ed0360a88f294ead2b95201b upstream.
Booting with a 4GB LMB size causes us to panic:
qemu-system-ppc64: OS terminated: OS panic:
Memory block size not suitable: 0x0
Fix pseries_memory_block_size() to handle 64 bit LMBs.
Cc: stable@vger.kernel.org
Signed-off-by: Anton Blanchard <anton@ozlabs.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200715000820.1255764-1-anton@ozlabs.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions
