linux-stable/arch/powerpc
Benjamin Gray ad0c8f4937 powerpc/xive: Fix endian conversion size
[ Upstream commit ff7a60ab1e ]

Sparse reports a size mismatch in the endian swap. The Opal
implementation[1] passes the value as a __be64, and the receiving
variable out_qsize is a u64, so the use of be32_to_cpu() appears to be
an error.

[1]: https://github.com/open-power/skiboot/blob/80e2b1dc73/hw/xive.c#L3854

Fixes: 88ec6b93c8 ("powerpc/xive: add OPAL extensions for the XIVE native exploitation support")
Signed-off-by: Benjamin Gray <bgray@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231011053711.93427-2-bgray@linux.ibm.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-11-20 11:59:28 +01:00
..
boot powerpc: dts: add missing space before { 2023-08-25 08:39:30 +10:00
configs Kbuild updates for v6.6 2023-09-05 11:01:47 -07:00
crypto This push fixes a random config build failure on powerpc. 2023-09-01 15:39:25 -07:00
include powerpc/40x: Remove stale PTE_ATOMIC_UPDATES macro 2023-11-20 11:59:28 +01:00
kernel powerpc: Only define __parse_fpscr() when required 2023-11-20 11:59:27 +01:00
kexec powerpc: Move DMA64_PROPNAME define to a header 2023-08-18 17:03:15 +10:00
kvm powerpc updates for 6.6 2023-08-31 12:43:10 -07:00
lib powerpc/qspinlock: Fix stale propagated yield_cpu 2023-10-18 21:07:21 +11:00
math-emu
mm powerpc fixes for 6.6 #6 2023-10-27 05:40:42 -10:00
net powerpc/bpf: populate extable entries only during the last pass 2023-05-15 15:40:31 +10:00
perf powerpc/perf/hv-24x7: Update domain value check 2023-09-18 12:23:47 +10:00
platforms powerpc/pseries: Remove unused r0 in the hcall tracing code 2023-09-30 22:52:18 +10:00
purgatory powerpc/purgatory: remove PGO flags 2023-06-12 11:31:50 -07:00
sysdev powerpc/xive: Fix endian conversion size 2023-11-20 11:59:28 +01:00
tools powerpc/ftrace: Add support for -fpatchable-function-entry 2023-08-22 00:09:06 +10:00
xmon TTY/Serial driver changes for 6.6-rc1 2023-09-01 09:38:00 -07:00
Kbuild
Kconfig powerpc/mm: Allow ARCH_FORCE_MAX_ORDER up to 12 2023-10-15 20:55:03 +11:00
Kconfig.debug powerpc: allow PPC_EARLY_DEBUG_CPM only when SERIAL_CPM=y 2023-07-03 16:07:55 +10:00
Makefile powerpc/64s: Move CPU -mtune options into Kconfig 2023-08-25 08:39:29 +10:00
Makefile.postlink kbuild: remove --include-dir MAKEFLAG from top Makefile 2023-02-05 18:51:22 +09:00