powerpc: Fix preserved memory size for int-vectors
authorGUO Zihua <guozihua@huawei.com>
Sat, 13 Jan 2024 08:05:09 +0000 (08:05 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 7 May 2024 13:23:35 +0000 (23:23 +1000)
commit473e2311f31fdcae8e3f4410d119dbfece656edc
tree734f5adbebe0e3eb2463302874a1a8778dab472f
parentacb354fe97e5aa6d9534b601ce18ef7866f25c4d
powerpc: Fix preserved memory size for int-vectors

The first 32k of memory is reserved for interrupt vectors, however for
powerpc64 this might not be enough. Fix this by reserving the maximum
size between 32k and the real size of interrupt vectors.

Signed-off-by: GUO Zihua <guozihua@huawei.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240113080509.1598290-1-guozihua@huawei.com
arch/powerpc/kernel/prom.c