android_kernel_xiaomi_sm8350/arch/powerpc/sysdev
Benjamin Gray dc5804b47b powerpc/xive: Fix endian conversion size
[ Upstream commit ff7a60ab1e065257a0e467c13b519f4debcd7fcf ]

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 10:30:14 +01:00
..
ge
xics powerpc/xics: fix refcount leak in icp_opal_init() 2022-06-14 18:11:30 +02:00
xive
6xx-suspend.S
cpm2_pic.c
cpm2_pic.h
cpm2.c
cpm_common.c
cpm_gpio.c powerpc: cpm_gpio: Remove owner assignment from platform_driver 2018-06-03 20:43:35 +10:00
dart_iommu.c
dart.h
dcr-low.S
dcr.c
ehv_pic.c
fsl_85xx_cache_ctlr.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
fsl_85xx_cache_sram.c
fsl_85xx_l2ctlr.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
fsl_gtm.c
fsl_lbc.c
fsl_mpic_err.c
fsl_mpic_timer_wakeup.c
fsl_msi.c
fsl_msi.h Merge remote-tracking branch 'remotes/origin/tmp-f686d9f' into msm-lahaina 2019-07-01 17:41:24 -07:00
fsl_pci.c
fsl_pci.h powerpc/fsl-pci: Fix Class Code of PCIe Root Port 2022-08-25 11:17:25 +02:00
fsl_pmc.c
fsl_rcpm.c
fsl_rio.c
fsl_rio.h
fsl_rmu.c
fsl_soc.c Merge remote-tracking branch 'remotes/origin/tmp-f686d9f' into msm-lahaina 2019-07-01 17:41:24 -07:00
fsl_soc.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
grackle.c
i8259.c Merge remote-tracking branch 'remotes/origin/tmp-f686d9f' into msm-lahaina 2019-07-01 17:41:24 -07:00
indirect_pci.c
ipic.c Merge remote-tracking branch 'remotes/origin/tmp-f686d9f' into msm-lahaina 2019-07-01 17:41:24 -07:00
ipic.h
Kconfig powerpc/powernv: Move SCOM access code into powernv platform 2019-08-05 18:53:03 +10:00
Makefile
mmio_nvram.c Merge remote-tracking branch 'remotes/origin/tmp-f686d9f' into msm-lahaina 2019-07-01 17:41:24 -07:00
mpc5xxx_clocks.c
mpic_msgr.c
mpic_msi.c
mpic_timer.c
mpic_u3msi.c Merge remote-tracking branch 'remotes/origin/tmp-f686d9f' into msm-lahaina 2019-07-01 17:41:24 -07:00
mpic.c
mpic.h
msi_bitmap.c
of_rtc.c Merge remote-tracking branch 'remotes/origin/tmp-f686d9f' into msm-lahaina 2019-07-01 17:41:24 -07:00
pmi.c
rtc_cmos_setup.c
simple_gpio.c
simple_gpio.h
tsi108_dev.c
tsi108_pci.c powerpc/sysdev/tsi108: fix resource printk format warnings 2023-05-17 11:35:50 +02:00
udbg_memcons.c
xilinx_intc.c
xilinx_pci.c