From: "Clément Léger" <cleger@rivosinc.com>
To: kvm@vger.kernel.org, kvm-riscv@lists.infradead.org
Cc: "Clément Léger" <cleger@rivosinc.com>,
"Andrew Jones" <ajones@ventanamicro.com>,
"Anup Patel" <apatel@ventanamicro.com>,
"Atish Patra" <atishp@rivosinc.com>
Subject: [kvm-unit-tests PATCH v3 0/2] Add support for SBI FWFT extension testing
Date: Tue, 28 Jan 2025 15:15:40 +0100 [thread overview]
Message-ID: <20250128141543.1338677-1-cleger@rivosinc.com> (raw)
This series adds a minimal set of tests for the FWFT extension. Reserved
range as well as misaligned exception delegation. A commit coming from
the SSE tests series is also included in this series to add -deps
makefile notation.
---
V3:
- Rebase on top of andrew/riscv/sbi
- Use sbiret_report_error()
- Add helpers for MISALIGNED_EXC_DELEG fwft set/get
- Add a comment on misaligned trap handling
V2:
- Added fwft_{get/set}_raw() to test invalid > 32 bits ids
- Added test for invalid flags/value > 32 bits
- Added test for lock feature
- Use and enum for FWFT functions
- Replace hardcoded 1 << with BIT()
- Fix fwft_get/set return value
- Split set/get tests for reserved ranges
- Added push/pop to arch -c option
- Remove leftover of manual probing code
Clément Léger (2):
riscv: Add "-deps" handling for tests
riscv: Add tests for SBI FWFT extension
riscv/Makefile | 8 +-
lib/riscv/asm/sbi.h | 34 ++++++++
riscv/sbi-fwft.c | 190 ++++++++++++++++++++++++++++++++++++++++++++
riscv/sbi.c | 3 +
4 files changed, 232 insertions(+), 3 deletions(-)
create mode 100644 riscv/sbi-fwft.c
--
2.47.1
next reply other threads:[~2025-01-28 14:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-28 14:15 Clément Léger [this message]
2025-01-28 14:15 ` [kvm-unit-tests PATCH v3 1/2] riscv: Add "-deps" handling for tests Clément Léger
2025-01-28 14:15 ` [kvm-unit-tests PATCH v3 2/2] riscv: Add tests for SBI FWFT extension Clément Léger
2025-01-29 13:47 ` Andrew Jones
2025-01-29 14:17 ` Andrew Jones
2025-02-03 8:47 ` Clément Léger
2025-01-29 14:18 ` [kvm-unit-tests PATCH v3 0/2] Add support for SBI FWFT extension testing Andrew Jones
2025-03-04 9:34 ` Andrew Jones
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=20250128141543.1338677-1-cleger@rivosinc.com \
--to=cleger@rivosinc.com \
--cc=ajones@ventanamicro.com \
--cc=apatel@ventanamicro.com \
--cc=atishp@rivosinc.com \
--cc=kvm-riscv@lists.infradead.org \
--cc=kvm@vger.kernel.org \
/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