KVM: arm64: selftests: Test linked {break,watch}points
Status from this message: Applied to next, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest9 patches 5 repliesApplied
- v19 patches 20 repliesSuperseded
Changes in v2 from the cover letter
- Use FIELD_GET() to extract ID register fields (Oliver, Ricardo)
- Try to make function/variable names more clear (Oliver, Ricardo)
- Make the context number more unlikely to happen by mistake (Ricardo)
- Remove unnecessary GUEST_SYNC for test stage tracking
- Collect Reviewed-bys from Oliver and Ricardo (thanks!)
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | KVM: arm64: selftests: Use FIELD_GET() to extract ID register fieldstools/ tools/ tools/ | +8 | 2 replies | |
| 2/9 | KVM: arm64: selftests: Add write_dbg{b,w}{c,v}r helpers in debug-exceptionstools/ | +68 | 0 replies | |
| 3/9 | KVM: arm64: selftests: Remove the hard-coded {b,w}pn#0 from debug-exceptionstools/ | +32 | 1 reply | |
| 4/9 | KVM: arm64: selftests: Add helpers to enable debug exceptionstools/ | +13 | 0 replies | |
| 5/9 | KVM: arm64: selftests: Stop unnecessary test stage tracking of debug-exceptionstools/ | +9 | 1 reply | |
| 6/9 | KVM: arm64: selftests: Change debug_version() to take ID_AA64DFR0_EL1tools/ | +4 | 0 replies | |
| 7/9 | KVM: arm64: selftests: Add a test case for a linked breakpointtools/ | +57 | 0 replies | |
| 8/9 | KVM: arm64: selftests: Add a test case for a linked watchpointtools/ | +35 | 0 replies | |
| 9/9 | KVM: arm64: selftests: Test with every breakpoint/watchpointtools/ | +42 | 0 replies |
Reviews trailers per patch
5 of 9 patches have a Reviewed-by or Acked-by.
| Patch | Ricardo Koller | Oliver Upton |
|---|---|---|
| 1/9 | R-b | |
| 2/9 | R-b | |
| 3/9 | R-b | R-b |
| 4/9 | R-b | R-b |
| 5/9 | R-b | |
| 6/9 | ||
| 7/9 | ||
| 8/9 | ||
| 9/9 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/9] KVM: arm64: selftests: Test linked {break,watch}points
This series adds test cases for linked {break,watch}points to the debug-exceptions test, and expands {break,watch}point tests to use non-zero {break,watch}points (the current test always uses {break,watch}point#0).
Patches 1-6 add some helpers or do minor refactoring for preparation of adding test cases in subsequent patches. Patches 7-8 add test cases for a linked {break,watch}point. Patch 9 expands {break,watch}point test cases to use non-zero {break,watch}points.
The series is based on v6.1-rc1 with the patch [1] applied.
v2:
- Use FIELD_GET() to extract ID register fields (Oliver, Ricardo)
- Try to make function/variable names more clear (Oliver, Ricardo)
- Make the context number more unlikely to happen by mistake (Ricardo)
- Remove unnecessary GUEST_SYNC for test stage tracking
- Collect Reviewed-bys from Oliver and Ricardo (thanks!)
v1: https://lore.kernel.org/all/[email protected]/
[1] https://lore.kernel.org/all/[email protected]/
Reiji Watanabe (9):
KVM: arm64: selftests: Use FIELD_GET() to extract ID register fields
KVM: arm64: selftests: Add write_dbg{b,w}{c,v}r helpers in
debug-exceptions
KVM: arm64: selftests: Remove the hard-coded {b,w}pn#0 from
debug-exceptions
KVM: arm64: selftests: Add helpers to enable debug exceptions
KVM: arm64: selftests: Stop unnecessary test stage tracking of
debug-exceptions
KVM: arm64: selftests: Change debug_version() to take ID_AA64DFR0_EL1
KVM: arm64: selftests: Add a test case for a linked breakpoint
KVM: arm64: selftests: Add a test case for a linked watchpoint
KVM: arm64: selftests: Test with every breakpoint/watchpoint
.../selftests/kvm/aarch64/aarch32_id_regs.c | 3 +- .../selftests/kvm/aarch64/debug-exceptions.c | 311 ++++++++++++++---- .../selftests/kvm/lib/aarch64/processor.c | 7 +- 3 files changed, 245 insertions(+), 76 deletions(-)
base-commit: 0ecb0791b2af9bde4389d5ee9ee2a64ddf55ea85
Signature · 1 line
2.38.0.413.g74048e4d9e-goog