WebRE: [PATCH] [MIPS] Add fix for loongson3 llsc errata. From: Matthew Fortune ; To: Jiaxun Yang , "binutils at sourceware dot org" ; Date: Mon, 22 Jan 2024 08:51:25 +0000; Subject: RE: [PATCH] [MIPS] Add fix for loongson3 llsc errata; … WebLoongson-3 LLSC Workarounds found in arch/mips/Kconfig The configuration item CONFIG_CPU_LOONGSON3_WORKAROUNDS: prompt: Loongson-3 LLSC Workarounds type: bool depends on: ( CONFIG_SMP ) && ( CONFIG_CPU_LOONGSON64 ) defined in arch/mips/Kconfig found in Linux kernels: 5.18–5.19, 6.0–6.2, 6.3-rc+HEAD …
CONFIG_CPU_LOONGSON3_WORKAROUNDS: Loongson-3 LLSC …
WebThis patch fix all the cases in kernel, but: +. the fix at the end of futex_atomic_cmpxchg_inatomic is for branch-target of 'bne', there other cases which smp_mb__before_llsc() and smp_llsc_mb() fix the ll and branch-target coincidently such as atomic_sub_if_positive/ cmpxchg/xchg, just like this one. +. Loongson 3 does support … Web9 de jan. de 2024 · -mfix-loongson3-llsc. This breaks labels which might then point at the wrong instruction. The workaround to explicitly pass -mno-fix-loongson3-llsc has been … tental condos in wachesaw
[PATCH] [MIPS] GAS: Fix Loongson3 LLSC errata.
WebLKML Archive on lore.kernel.org help / color / mirror / Atom feed * Re:Re:Re: Re:[PATCH 4.9 81/96] MIPS:Loongson: Introduce and use loongson_llsc_mb() [not found] @ 2024-03-14 3:08 ` 陈华才 0 siblings, 0 replies; only message in thread From: 陈华才 @ 2024-03-14 3:08 UTC (permalink / … Web*/ > + static bfd_boolean mips_fix_loongson3_llsc = TRUE; > + Just a brief comment... you are asking here for all code generation for all cores to pay the penalty of the loongson errata by enabling this by default. ... for just the loongson cores when targeted with -march. Web1 de fev. de 2024 · But ls7a2000 improve it to 32 bytes. v3: fix more grammar mistakes in Kconfig reported by Randy Dunlap and give more details about lsdc. v2: fixup warnings reported by kernel test robot There is a display controller in loongson's LS2K1000 SoC and LS7A1000 bridge, and the DC in those chip is a PCI device. triang r52 locomotive