[PATCH] powerpc/ps3_defconfig: Disable PPC64_BIG_ENDIAN_ELF_ABI_V2

2023-12-23 Thread Geoff Levand
Commit 8c5fa3b5c4df3d071dab42b04b971df370d99354 (powerpc/64: Make ELFv2 the default for big-endian builds), merged in Linux-6.5-rc1 changes the calling ABI in a way that is incompatible with the current code for the PS3's LV1 hypervisor calls. This change just adds the line '# CONFIG_PPC64_BIG_END

[PATCH 2/2] powerpc/powernv/vas: Return directly after a failed kasprintf() in map_paste_region()

2023-12-23 Thread Markus Elfring
From: Markus Elfring Date: Sat, 23 Dec 2023 19:48:09 +0100 Return directly after a call of the function “kasprintf” failed at the beginning. Signed-off-by: Markus Elfring --- arch/powerpc/platforms/powernv/vas-window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/po

[PATCH 1/2] powerpc/powernv/vas: One function call less in vas_window_alloc() after error detection

2023-12-23 Thread Markus Elfring
From: Markus Elfring Date: Sat, 23 Dec 2023 19:35:13 +0100 The kfree() function was called in one case by the vas_window_alloc() function during error handling even if the passed variable contained a null pointer. This issue was detected by using the Coccinelle software. Thus use another label.

[PATCH 0/2] powerpc/powernv/vas: Adjustments for two function implementations

2023-12-23 Thread Markus Elfring
From: Markus Elfring Date: Sat, 23 Dec 2023 20:02:02 +0100 A few update suggestions were taken into account from static source code analysis. Markus Elfring (2): One function call less in vas_window_alloc() after error detection Return directly after a failed kasprintf() in map_paste_region(