OpenCloudOS-Kernel/arch/powerpc/configs
Geoff Levand f70557d482 powerpc/ps3_defconfig: Disable PPC64_BIG_ENDIAN_ELF_ABI_V2
commit 482b718a84f08b6fc84879c3e90cc57dba11c115 upstream.

Commit 8c5fa3b5c4 ("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_ENDIAN_ELF_ABI_V2 is not set'
to the ps3_defconfig file so that the PPC64_ELF_ABI_V1 is used.

Fixes run time errors like these:

  BUG: Kernel NULL pointer dereference at 0x00000000
  Faulting instruction address: 0xc000000000047cf0
  Oops: Kernel access of bad area, sig: 11 [#1]
  Call Trace:
  [c0000000023039e0] [c00000000100ebfc] ps3_create_spu+0xc4/0x2b0 (unreliable)
  [c000000002303ab0] [c00000000100d4c4] create_spu+0xcc/0x3c4
  [c000000002303b40] [c00000000100eae4] ps3_enumerate_spus+0xa4/0xf8

Fixes: 8c5fa3b5c4 ("powerpc/64: Make ELFv2 the default for big-endian builds")
Cc: stable@vger.kernel.org # v6.5+
Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/df906ac1-5f17-44b9-b0bb-7cd292a0df65@infradead.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-01-31 16:18:49 -08:00
..
40x treewide: drop CONFIG_EMBEDDED 2023-08-21 13:46:25 -07:00
44x treewide: drop CONFIG_EMBEDDED 2023-08-21 13:46:25 -07:00
52xx treewide: drop CONFIG_EMBEDDED 2023-08-21 13:46:25 -07:00
83xx mm/slab: rename CONFIG_SLAB to CONFIG_SLAB_DEPRECATED 2023-05-26 19:01:47 +02:00
85xx arch/*/configs/*defconfig: Replace AUTOFS4_FS by AUTOFS_FS 2023-07-29 14:08:22 -07:00
32-bit.config powerpc/Makefile: Add ppc32/ppc64_randconfig targets 2021-05-23 20:51:35 +10:00
64-bit.config powerpc/Makefile: Add ppc32/ppc64_randconfig targets 2021-05-23 20:51:35 +10:00
85xx-32bit.config
85xx-64bit.config
85xx-hw.config powerpc: Drop CONFIG_MTD_M25P80 in 85xx-hw.config 2020-07-06 23:11:04 +10:00
85xx-smp.config
86xx-hw.config powerpc/configs: Remove dead symbols 2020-07-29 21:08:06 +10:00
86xx-smp.config powerpc/86xx: Switch to kconfig fragments approach 2016-03-11 19:19:12 -06:00
adder875_defconfig powerpc: Restore CONFIG_DEBUG_INFO in defconfigs 2022-06-29 16:58:49 +10:00
altivec.config
amigaone_defconfig scsi: sr: remove references to BLK_DEV_SR_VENDOR, leave it enabled 2020-02-24 14:59:01 -05:00
be.config powerpc/configs: Add a powernv_be_defconfig 2017-07-31 16:56:37 +10:00
book3s_32.config powerpc: Add ppc32_allmodconfig defconfig target 2018-07-24 22:03:15 +10:00
cell_defconfig arch/*/configs/*defconfig: Replace AUTOFS4_FS by AUTOFS_FS 2023-07-29 14:08:22 -07:00
chrp32_defconfig eth: de4x5: remove support for Generic DECchip & DIGITAL EtherWORKS PCI/EISA 2022-05-23 11:43:51 +01:00
corenet_base.config powerpc/corenet: Add PPC_QEMU_E500 to corenet configs 2023-04-20 13:21:48 +10:00
debug.config powerpc/configs: Add debug config fragment 2019-10-28 21:54:16 +11:00
disable-werror.config kbuild: Show marked Kconfig fragments in "help" 2023-09-04 02:04:20 +09:00
dpaa.config powerpc/configs/dpaa: enable the Cortina PHY driver 2018-08-08 17:13:45 -05:00
ep88xc_defconfig powerpc: Restore CONFIG_DEBUG_INFO in defconfigs 2022-06-29 16:58:49 +10:00
ep8248e_defconfig arch/*/configs/*defconfig: Replace AUTOFS4_FS by AUTOFS_FS 2023-07-29 14:08:22 -07:00
fsl-emb-nonhw.config mm, treewide: redefine MAX_ORDER sanely 2023-04-05 19:42:46 -07:00
g5_defconfig powerpc/configs: Update config files for removed/renamed symbols 2022-09-30 18:35:52 +10:00
gamecube_defconfig mm/slab: rename CONFIG_SLAB to CONFIG_SLAB_DEPRECATED 2023-05-26 19:01:47 +02:00
guest.config powerpc/configs: Add IBMVETH=y and IBMVNIC=y to guest configs 2023-04-21 16:16:25 +10:00
holly_defconfig powerpc/configs: Remove CMDLINE_BOOL 2020-06-22 10:37:57 +10:00
kvm_guest.config powerpc/configs: Incorporate generic kvm_guest.config into guest configs 2023-04-21 16:16:25 +10:00
le.config
linkstation_defconfig arch: Remove references to CONFIG_NFSD_V3 in the default configs 2022-03-11 10:25:16 -05:00
maple_defconfig powerpc/64s: Default to 64K pages for 64 bit book3s 2021-10-27 22:31:22 +11:00
mgcoge_defconfig treewide: drop CONFIG_EMBEDDED 2023-08-21 13:46:25 -07:00
microwatt_defconfig treewide: drop CONFIG_EMBEDDED 2023-08-21 13:46:25 -07:00
mpc83xx_defconfig mm/slab: rename CONFIG_SLAB to CONFIG_SLAB_DEPRECATED 2023-05-26 19:01:47 +02:00
mpc85xx_base.config powerpc: drop MPC85xx_CDS platform support 2023-06-21 14:08:53 +10:00
mpc86xx_base.config powerpc: drop HPCD/MPC8610 evaluation platform support 2023-04-20 13:21:47 +10:00
mpc512x_defconfig mm/slab: rename CONFIG_SLAB to CONFIG_SLAB_DEPRECATED 2023-05-26 19:01:47 +02:00
mpc866_ads_defconfig powerpc/8xx: Drop CONFIG_8xx_COPYBACK option 2020-05-26 22:22:20 +10:00
mpc885_ads_defconfig powerpc/configs: Update config files for removed/renamed symbols 2022-09-30 18:35:52 +10:00
mpc5200_defconfig powerpc: Restore CONFIG_DEBUG_INFO in defconfigs 2022-06-29 16:58:49 +10:00
mvme5100_defconfig arch: Remove references to CONFIG_NFSD_V3 in the default configs 2022-03-11 10:25:16 -05:00
pasemi_defconfig arch/*/configs/*defconfig: Replace AUTOFS4_FS by AUTOFS_FS 2023-07-29 14:08:22 -07:00
pmac32_defconfig powerpc updates for 6.6 2023-08-31 12:43:10 -07:00
powernv_defconfig arch/*/configs/*defconfig: Replace AUTOFS4_FS by AUTOFS_FS 2023-07-29 14:08:22 -07:00
ppc6xx_defconfig powerpc updates for 6.6 2023-08-31 12:43:10 -07:00
ppc40x_defconfig powerpc/configs: Remove dead symbols 2020-07-29 21:08:06 +10:00
ppc44x_defconfig powerpc: Remove Xilinx PPC405/PPC440 support 2020-05-28 23:24:34 +10:00
ppc64_defconfig powerpc updates for 6.6 2023-08-31 12:43:10 -07:00
ppc64e_defconfig arch/*/configs/*defconfig: Replace AUTOFS4_FS by AUTOFS_FS 2023-07-29 14:08:22 -07:00
ppc64le.config powerpc/configs: Add ppc64le_allnoconfig target 2020-12-15 22:53:27 +11:00
ps3_defconfig powerpc/ps3_defconfig: Disable PPC64_BIG_ENDIAN_ELF_ABI_V2 2024-01-31 16:18:49 -08:00
security.config kbuild: Show marked Kconfig fragments in "help" 2023-09-04 02:04:20 +09:00
skiroot_defconfig cred: get rid of CONFIG_DEBUG_CREDENTIALS 2023-12-20 17:01:51 +01:00
storcenter_defconfig powerpc/configs: Update config files for removed/renamed symbols 2022-09-30 18:35:52 +10:00
tqm8xx_defconfig powerpc: Restore CONFIG_DEBUG_INFO in defconfigs 2022-06-29 16:58:49 +10:00
wii_defconfig mm/slab: rename CONFIG_SLAB to CONFIG_SLAB_DEPRECATED 2023-05-26 19:01:47 +02:00