1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/linux/hotfix-mips64-sgi-ip32-r10k.patch
3 # Copyright (C) 2024 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 Apply ip28 indigo 2 r10k speculative load-store workaround for r10k/r120 o2 ip32, too.
16 --- linux-6.6/arch/mips/Kconfig.vanilla 2024-01-06 20:52:06.032449685 +0100
17 +++ linux-6.6/arch/mips/Kconfig 2024-01-06 20:52:47.309454246 +0100
19 select R5000_CPU_SCACHE
20 select RM7000_CPU_SCACHE
21 select SYS_HAS_CPU_R5000
22 - select SYS_HAS_CPU_R10000 if BROKEN
23 + select SYS_HAS_CPU_R10000
24 select SYS_HAS_CPU_RM7000
25 select SYS_HAS_CPU_NEVADA
26 select SYS_SUPPORTS_64BIT_KERNEL
27 --- linux-6.6/arch/mips/sgi-ip32/Platform.vanilla 2024-01-06 20:56:28.524478690 +0100
28 +++ linux-6.6/arch/mips/sgi-ip32/Platform 2024-01-06 20:57:21.112484501 +0100
32 cflags-$(CONFIG_SGI_IP32) += -I$(srctree)/arch/mips/include/asm/mach-ip32
33 +cflags-$(CONFIG_CPU_R10000) += -mr10k-cache-barrier=load-store
34 load-$(CONFIG_SGI_IP32) += 0xffffffff80004000