Re: [PATCH] riscv: dts: spacemit: k3: Add Ziccrse extension for X100 cores
From: Guodong Xu
Date: Thu May 28 2026 - 01:19:03 EST
On Tue, May 26, 2026 at 3:23 PM Guodong Xu <guodong@xxxxxxxxxxxx> wrote:
>
> Add the Ziccrse ISA extension to all eight X100 cores. Ziccrse
> provides a forward progress guarantee on LR/SC sequences in main
> memory regions with cacheability and coherence PMAs.
>
> The SpacemiT X100 core supports it per the SpacemiT K3 hardware
> specification.
For the record, I have tested this change on SpacemiT K3 Pico-ITX.
The stress test is run by enabling CONFIG_LOCK_TORTURE_TEST=y then
boots the kernel with:
locktorture.torture_type=spin_lock locktorture.nwriters_stress=16
driving all 8 harts. It survived sustained torture [ran for ~10 minutes]
with 0 Fail.
... ...
[ 735.588947] torture_spin_lock_write_delay: delay = 25 jiffies.
[ 738.015096] torture_spin_lock_write_delay: delay = 25 jiffies.
[ 739.204713] torture_spin_lock_write_delay: delay = 25 jiffies.
[ 741.195211] Writes: Total: 714319420 Max/Min: 45946599/43679876 Fail: 0
Thanks,
Guodong / docularxu
docularxu@xxxxxxxxxxx
>
> Signed-off-by: Guodong Xu <guodong@xxxxxxxxxxxx>
> ---
> arch/riscv/boot/dts/spacemit/k3.dtsi | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/arch/riscv/boot/dts/spacemit/k3.dtsi b/arch/riscv/boot/dts/spacemit/k3.dtsi