# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/linux/hotfix-mips64-sgi-ip32-r10k.patch # Copyright (C) 2024 - 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- Apply ip28 indigo 2 r10k speculative load-store workaround for r10k/r120 o2 ip32, too. --- linux-6.6/arch/mips/Kconfig.vanilla 2024-01-06 20:52:06.032449685 +0100 +++ linux-6.6/arch/mips/Kconfig 2024-01-06 20:52:47.309454246 +0100 @@ -785,7 +785,7 @@ select R5000_CPU_SCACHE select RM7000_CPU_SCACHE select SYS_HAS_CPU_R5000 - select SYS_HAS_CPU_R10000 if BROKEN + select SYS_HAS_CPU_R10000 select SYS_HAS_CPU_RM7000 select SYS_HAS_CPU_NEVADA select SYS_SUPPORTS_64BIT_KERNEL --- linux-6.6/arch/mips/sgi-ip32/Platform.vanilla 2024-01-06 20:56:28.524478690 +0100 +++ linux-6.6/arch/mips/sgi-ip32/Platform 2024-01-06 20:57:21.112484501 +0100 @@ -7,4 +7,5 @@ # will break. # cflags-$(CONFIG_SGI_IP32) += -I$(srctree)/arch/mips/include/asm/mach-ip32 +cflags-$(CONFIG_CPU_R10000) += -mr10k-cache-barrier=load-store load-$(CONFIG_SGI_IP32) += 0xffffffff80004000