All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2 0/2] riscv: errata: Add ERRATA_THEAD_WRITE_ONCE fixup
@ 2025-07-13 15:53 ` guoren
  0 siblings, 0 replies; 32+ messages in thread
From: guoren @ 2025-07-13 15:53 UTC (permalink / raw)
  To: palmer, guoren, conor, alexghiti, paul.walmsley, bjorn, eobras,
	corbet, peterlin, rabenda.cn
  Cc: linux-riscv, linux-kernel

From: "Guo Ren (Alibaba DAMO Academy)" <guoren@kernel.org>

The early version of XuanTie C9xx cores has a store merge buffer
delay problem. The store merge buffer could improve the store queue
performance by merging multi-store requests, but when there are not
continued store requests, the prior single store request would be
waiting in the store queue for a long time. That would cause
significant problems for communication between multi-cores. This
problem was found on sg2042 & th1520 platforms with the qspinlock
lock torture test.

Changelog:
V2:
 - Add new header file for errata_list_vendors.
 - Rebase newest kernel version.

V1:
https://lore.kernel.org/all/20241214143039.4139398-1-guoren@kernel.org/

Guo Ren (Alibaba DAMO Academy) (2):
  riscv: Move vendor errata definitions to new header
  riscv: errata: Add ERRATA_THEAD_WRITE_ONCE fixup

 arch/riscv/Kconfig.errata                    | 17 ++++++++++
 arch/riscv/errata/thead/errata.c             | 20 ++++++++++++
 arch/riscv/include/asm/errata_list.h         | 19 +----------
 arch/riscv/include/asm/errata_list_vendors.h | 25 ++++++++++++++
 arch/riscv/include/asm/rwonce.h              | 34 ++++++++++++++++++++
 include/asm-generic/rwonce.h                 |  2 ++
 6 files changed, 99 insertions(+), 18 deletions(-)
 create mode 100644 arch/riscv/include/asm/errata_list_vendors.h
 create mode 100644 arch/riscv/include/asm/rwonce.h

-- 
2.40.1


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2026-01-15 11:11 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-13 15:53 [PATCH V2 0/2] riscv: errata: Add ERRATA_THEAD_WRITE_ONCE fixup guoren
2025-07-13 15:53 ` guoren
2025-07-13 15:53 ` [PATCH V2 1/2] riscv: Move vendor errata definitions to new header guoren
2025-07-13 15:53   ` guoren
2025-07-15 13:13   ` Han Gao
2025-07-15 13:13     ` Han Gao
2025-07-17  8:21   ` Alexandre Ghiti
2025-07-17  8:21     ` Alexandre Ghiti
2025-07-13 15:53 ` [PATCH V2 2/2] riscv: errata: Add ERRATA_THEAD_WRITE_ONCE fixup guoren
2025-07-13 15:53   ` guoren
2025-07-15  3:02   ` Drew Fustini
2025-07-15  3:02     ` Drew Fustini
2025-07-15  6:14     ` Guo Ren
2025-07-15  6:14       ` Guo Ren
2025-07-15 13:14   ` Han Gao
2025-07-15 13:14     ` Han Gao
2025-07-17  8:22   ` Alexandre Ghiti
2025-07-17  8:22     ` Alexandre Ghiti
2025-10-07 21:36     ` Han Gao
2025-10-07 21:36       ` Han Gao
2025-10-09  7:29       ` Alexandre Ghiti
2025-10-09  7:29         ` Alexandre Ghiti
2025-10-15  3:37         ` Paul Walmsley
2025-10-15  3:37           ` Paul Walmsley
2025-10-15  7:53           ` Guo Ren
2025-10-15  7:53             ` Guo Ren
2025-12-12 16:37           ` Han Gao
2025-12-12 16:37             ` Han Gao
2026-01-15 11:10           ` Yao Zi
2026-01-15 11:10             ` Yao Zi
2025-08-06 17:15 ` [PATCH V2 0/2] " patchwork-bot+linux-riscv
2025-08-06 17:15   ` patchwork-bot+linux-riscv

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.