KVM: s390: Limit adapter indicator access to page
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 6 repliesIn review
- v12 patches 4 repliesSuperseded
Changes in v2 from the cover letter
Reworked KVM limit check.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | KVM: s390: Limit adapter indicator access to mapped pagearch/ | +12 | 4 replies | |
| 2/2 | KVM: s390: selftests: Add IRQ routing address offset teststools/ tools/ | +76 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Matthew Rosato | Christian Borntraeger |
|---|---|---|
| 1/2 | R-b T-b | R-b |
| 2/2 | R-b T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] KVM: s390: Limit adapter indicator access to page
We currently check the address of the indicator fields but not the sum of address and offset. This patch remedies that problem and limits the address + offset combination to a single page.
The selftest is very rudimentary but it's a start.
v2:
Reworked KVM limit check.
Changed good-case test to subtract 4 bits instead of 8. That should ensure that we catch the error I made in v1.
Janosch Frank (2):
KVM: s390: Limit adapter indicator access to mapped page
KVM: s390: selftests: Add IRQ routing address offset tests
arch/s390/kvm/interrupt.c | 12 +++ tools/testing/selftests/kvm/Makefile.kvm | 1 + .../testing/selftests/kvm/s390/irq_routing.c | 75 +++++++++++++++++++ 3 files changed, 88 insertions(+) create mode 100644 tools/testing/selftests/kvm/s390/irq_routing.c
Signature · 1 line
2.51.0