android_kernel_xiaomi_sm8450/arch/powerpc
Shrikanth Hegde 12ea1ec137 powerpc/pseries: Add failure related checks for h_get_mpp and h_get_ppp
[ Upstream commit 6d4341638516bf97b9a34947e0bd95035a8230a5 ]

Couple of Minor fixes:

- hcall return values are long. Fix that for h_get_mpp, h_get_ppp and
parse_ppp_data

- If hcall fails, values set should be at-least zero. It shouldn't be
uninitialized values. Fix that for h_get_mpp and h_get_ppp

Signed-off-by: Shrikanth Hegde <sshegde@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240412092047.455483-3-sshegde@linux.ibm.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-06-16 13:32:24 +02:00
..
boot powerpc: dts: t1040rdb: fix compatible string for Rev A boards 2023-03-17 08:45:10 +01:00
configs Remove DECnet support from kernel 2023-06-21 15:45:38 +02:00
crypto crypto: powerpc/crc-vpmsum_test - Fix sparse endianness warning 2020-09-04 17:57:15 +10:00
include powerpc/pseries: Add failure related checks for h_get_mpp and h_get_ppp 2024-06-16 13:32:24 +02:00
kernel powerpc/watchpoints: Annotate atomic context in more places 2024-03-01 13:16:46 +01:00
kexec powerpc: Set crashkernel offset to mid of RMA region 2022-04-13 21:00:56 +02:00
kvm KVM: use __vcalloc for very large allocations 2024-02-23 08:41:55 +01:00
lib powerpc: xor_vmx: Add '-mhard-float' to CFLAGS 2024-04-13 12:59:01 +02:00
math-emu powerpc/math_emu/efp: Include module.h 2022-10-26 13:25:40 +02:00
mm powerpc/kasan: Fix addr error caused by page alignment 2024-02-23 08:42:25 +01:00
net powerpc64/bpf: Limit 'ldbrx' to processors compliant with ISA v2.06 2022-02-01 17:25:45 +01:00
oprofile powerpc/oprofile: fix spelling mistake "contex" -> "context" 2020-08-25 01:31:33 +10:00
perf powerpc/hv-gpci: Fix the H_GET_PERF_COUNTER_INFO hcall return value checks 2024-03-26 18:21:59 -04:00
platforms powerpc/pseries: Add failure related checks for h_get_mpp and h_get_ppp 2024-06-16 13:32:24 +02:00
purgatory powerpc/purgatory: remove PGO flags 2023-06-21 15:45:37 +02:00
sysdev powerpc/fsl-soc: hide unused const variable 2024-06-16 13:32:11 +02:00
tools powerpc/tools: Remove 90 line limit in checkpatch script 2020-09-08 22:57:11 +10:00
xmon powerpc: Don't include lppaca.h in paca.h 2023-09-19 12:20:15 +02:00
Kbuild powerpc/kexec: Move kexec files into a dedicated subdir. 2019-11-21 15:41:34 +11:00
Kconfig powerpc/kasan: Force thread size increase with KASAN 2022-06-14 18:32:39 +02:00
Kconfig.debug powerpc: allow PPC_EARLY_DEBUG_CPM only when SERIAL_CPM=y 2023-07-27 08:44:09 +02:00
Makefile powerpc: Fail build if using recordmcount with binutils v2.37 2023-07-27 08:44:26 +02:00
Makefile.postlink powerpc: unrel_branch_check.sh: use nm to find symbol value 2020-09-02 11:00:22 +10:00