From: Mayuresh Chitale <mchitale@ventanamicro.com>
To: u-boot@lists.denx.de
Cc: "Mayuresh Chitale" <mchitale@ventanamicro.com>,
"Rick Chen" <rick@andestech.com>, Leo <ycliang@andestech.com>,
"Tom Rini" <trini@konsulko.com>,
"Heinrich Schuchardt" <xypron.glpk@gmx.de>,
"Kongyang Liu" <seashell11234455@gmail.com>,
Randolph <randolph@andestech.com>,
"Michal Simek" <michal.simek@amd.com>,
"Yu Chien Peter Lin" <peterlin@andestech.com>,
"Ben Dooks" <ben.dooks@codethink.co.uk>,
"Samuel Holland" <samuel@sholland.org>,
"Dan Carpenter" <dan.carpenter@linaro.org>,
"Bin Meng" <bmeng.cn@gmail.com>,
"Łukasz Stelmach" <l.stelmach@samsung.com>
Subject: [PATCH v1 0/3] Risc-V cache operations
Date: Tue, 20 Aug 2024 09:37:49 +0000 [thread overview]
Message-ID: <20240820093800.5436-1-mchitale@ventanamicro.com> (raw)
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
next reply other threads:[~2024-08-20 9:38 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-20 9:37 Mayuresh Chitale [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240820093800.5436-1-mchitale@ventanamicro.com \
--to=mchitale@ventanamicro.com \
--cc=ben.dooks@codethink.co.uk \
--cc=bmeng.cn@gmail.com \
--cc=dan.carpenter@linaro.org \
--cc=l.stelmach@samsung.com \
--cc=michal.simek@amd.com \
--cc=peterlin@andestech.com \
--cc=randolph@andestech.com \
--cc=rick@andestech.com \
--cc=samuel@sholland.org \
--cc=seashell11234455@gmail.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=xypron.glpk@gmx.de \
--cc=ycliang@andestech.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox