All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] riscv: implement Zicbom-based CMO instructions + the t-head variant
@ 2022-03-07 22:46 ` Heiko Stuebner
  0 siblings, 0 replies; 50+ messages in thread
From: Heiko Stuebner @ 2022-03-07 22:46 UTC (permalink / raw)
  To: palmer, paul.walmsley
  Cc: linux-riscv, linux-kernel, wefu, guoren, atishp, anup, mick,
	samuel, cmuellner, philipp.tomsich, Heiko Stuebner

This series is based on the alternatives changes done in my svpbmt series
and thus also depends on Atish's isa-extension parsing series.

It implements using the cache-management instructions from the  Zicbom-
extension to handle cache flush, etc actions on platforms needing them.

SoCs using cpu cores from T-Head like the Allwinne D1 implement a
different set of cache instructions. But while they are different,
instructions they provide the same functionality, so a variant can
easly hook into the existing alternatives mechanism on those.


Heiko Stuebner (2):
  riscv: Implement Zicbom-based cache management operations
  riscv: implement cache-management errata for T-Head SoCs

 arch/riscv/Kconfig                   |  8 +++
 arch/riscv/Kconfig.erratas           | 10 ++++
 arch/riscv/errata/thead/errata.c     |  5 ++
 arch/riscv/include/asm/errata_list.h | 78 +++++++++++++++++++++++++++-
 arch/riscv/include/asm/hwcap.h       |  1 +
 arch/riscv/kernel/cpu.c              |  1 +
 arch/riscv/kernel/cpufeature.c       | 17 ++++++
 arch/riscv/mm/Makefile               |  1 +
 arch/riscv/mm/dma-noncoherent.c      | 61 ++++++++++++++++++++++
 9 files changed, 180 insertions(+), 2 deletions(-)
 create mode 100644 arch/riscv/mm/dma-noncoherent.c

-- 
2.30.2


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

end of thread, other threads:[~2022-04-20  0:19 UTC | newest]

Thread overview: 50+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-07 22:46 [PATCH 0/2] riscv: implement Zicbom-based CMO instructions + the t-head variant Heiko Stuebner
2022-03-07 22:46 ` Heiko Stuebner
2022-03-07 22:46 ` [PATCH 1/2] riscv: Implement Zicbom-based cache management operations Heiko Stuebner
2022-03-07 22:46   ` Heiko Stuebner
2022-03-25 16:20   ` Anup Patel
2022-03-25 16:20     ` Anup Patel
2022-03-25 17:24     ` Philipp Tomsich
2022-03-25 17:24       ` Philipp Tomsich
     [not found]     ` <CAAeLtUAi+61Hk7oBW979QEKYaume3vqdt_KkS_mXpRAs+CzHnA@mail.gmail.com>
2022-03-25 17:37       ` Anup Patel
2022-03-25 17:37         ` Anup Patel
2022-03-31 10:07   ` Christoph Hellwig
2022-03-31 10:07     ` Christoph Hellwig
2022-03-07 22:46 ` [PATCH 2/2] riscv: implement cache-management errata for T-Head SoCs Heiko Stuebner
2022-03-07 22:46   ` Heiko Stuebner
2022-03-31  2:30   ` Palmer Dabbelt
2022-03-31  2:30     ` Palmer Dabbelt
2022-03-31  8:22     ` Heiko Stübner
2022-03-31  8:22       ` Heiko Stübner
2022-03-31  8:29       ` Philipp Tomsich
2022-03-31  8:29         ` Philipp Tomsich
2022-04-20  0:18       ` Palmer Dabbelt
2022-04-20  0:18         ` Palmer Dabbelt
2022-04-01  1:05   ` Samuel Holland
2022-04-01  1:05     ` Samuel Holland
2022-04-15 11:26 ` [PATCH 0/2] riscv: implement Zicbom-based CMO instructions + the t-head variant Corentin Labbe
2022-04-15 11:26   ` Corentin Labbe
2022-04-16  2:19   ` Samuel Holland
2022-04-16  2:19     ` Samuel Holland
2022-04-16  7:35     ` Corentin Labbe
2022-04-16  7:35       ` Corentin Labbe
2022-04-16 17:47       ` Samuel Holland
2022-04-16 17:47         ` Samuel Holland
2022-04-16 19:32         ` Corentin Labbe
2022-04-16 19:32           ` Corentin Labbe
2022-04-17  2:17           ` Guo Ren
2022-04-17  2:17             ` Guo Ren
2022-04-17  8:45             ` Corentin Labbe
2022-04-17  8:45               ` Corentin Labbe
2022-04-17  8:49               ` Guo Ren
2022-04-17  8:49                 ` Guo Ren
2022-04-17 17:35                 ` Corentin Labbe
2022-04-17 17:35                   ` Corentin Labbe
2022-04-17 22:50                   ` Guo Ren
2022-04-17 22:50                     ` Guo Ren
2022-04-19  7:44                     ` Corentin Labbe
2022-04-19  7:44                       ` Corentin Labbe
2022-04-18 15:29                   ` Philipp Tomsich
2022-04-18 15:29                     ` Philipp Tomsich
2022-04-19  7:52                     ` Corentin Labbe
2022-04-19  7:52                       ` Corentin Labbe

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.