[PATCH] powerpc: Fix preserved memory size for int-vectors

2024-01-08 Thread GUO Zihua
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 --- arch/powerpc/kernel/prom.c | 11 ++- 1 file changed, 10

[PATCH v2] powerpc: Fix preserved memory size for int-vectors

2024-01-13 Thread GUO Zihua
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 --- v2: Eliminate the unneccessary casting and changed type of