U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/3] Risc-V cache operations
@ 2024-08-20  9:37 Mayuresh Chitale
  2024-08-20  9:37 ` [PATCH v1 1/3] riscv: Add support for defining instructions Mayuresh Chitale
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Mayuresh Chitale @ 2024-08-20  9:37 UTC (permalink / raw)
  To: u-boot
  Cc: Mayuresh Chitale, Rick Chen, Leo, Tom Rini, Heinrich Schuchardt,
	Kongyang Liu, Randolph, Michal Simek, Yu Chien Peter Lin,
	Ben Dooks, Samuel Holland, Dan Carpenter, Bin Meng,
	Łukasz Stelmach

This patchset adds support for using the CBO instructions to perform the
dcache flush/inval operations for the qemu-riscv board when those are
enabled. The CBO instructions are defined in the Risc-V CMO specification
which can be found at the link below:
https://github.com/riscv/riscv-CMOs/blob/master/specifications/cmobase-v1.0.pdf

Mayuresh Chitale (3):
  riscv: Add support for defining instructions
  riscv: cache: Add CBO instructions
  board: qemu-riscv: Override enable_caches

 arch/riscv/Kconfig                      |  4 ++
 arch/riscv/include/asm/cache.h          |  3 +
 arch/riscv/include/asm/insn-def.h       | 42 ++++++++++++
 arch/riscv/lib/cache.c                  | 90 +++++++++++++++++++++++++
 board/emulation/qemu-riscv/qemu-riscv.c | 16 +++++
 5 files changed, 155 insertions(+)
 create mode 100644 arch/riscv/include/asm/insn-def.h

-- 
2.34.1


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

end of thread, other threads:[~2024-08-21 16:10 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-20  9:37 [PATCH v1 0/3] Risc-V cache operations Mayuresh Chitale
2024-08-20  9:37 ` [PATCH v1 1/3] riscv: Add support for defining instructions Mayuresh Chitale
2024-08-20  9:37 ` [PATCH v1 2/3] riscv: cache: Add CBO instructions Mayuresh Chitale
2024-08-20 12:14   ` Heinrich Schuchardt
2024-08-21  9:11     ` Mayuresh Chitale
2024-08-21  9:57     ` Conor Dooley
2024-08-21 10:03       ` Conor.Dooley
2024-08-21 16:04         ` Mayuresh Chitale
2024-08-21 15:57       ` Mayuresh Chitale
2024-08-21 16:09         ` Conor Dooley
2024-08-20  9:37 ` [PATCH v1 3/3] board: qemu-riscv: Override enable_caches Mayuresh Chitale
2024-08-20 12:12   ` Heinrich Schuchardt
2024-08-21  9:11     ` Mayuresh Chitale
2024-08-21  9:21       ` Heinrich Schuchardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox