RFC KVM: s390: spring cleanup
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest10 patches 27 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | KVM: s390: diag258: Pass absolute address to kvm_is_gpa_in_memslot()arch/ | +1 | 3 replies | |
| 2/10 | KVM: s390: Consolidate lpswe variantsarch/ | +21 | 5 replies | |
| 3/10 | KVM: s390: Convert shifts to gpa_to_gfn()arch/ arch/ | +3 | 3 replies | |
| 4/10 | KVM: s390: kvm_s390_real_to_abs() should return gpa_tarch/ | +3 | 3 replies | |
| 5/10 | KVM: s390: vsie: Cleanup and fixup of crycb handlingarch/ arch/ | +30 | 4 replies | |
| 6/10 | KVM: s390: Rework lowcore access functionsarch/ | +22 | 2 replies | |
| 7/10 | KVM: s390: Use gpa_t and gva_t in gaccess filesarch/ arch/ | +11 | 2 replies | |
| 8/10 | KVM: s390: Use gpa_t in priv.carch/ arch/ | +20 | 3 replies | |
| 9/10 | KVM: s390: Use gpa_t in pv.carch/ arch/ | +10 | 3 replies | |
| 10/10 | KVM: s390: Cleanup kvm_s390_store_status_unloadedarch/ arch/ | +18 | 2 replies |
Reviews trailers per patch
All 10 patches have a Reviewed-by or Acked-by.
| Patch | Christian Borntraeger | Christoph Schlameuss | Claudio Imbrenda | Anthony Krowiak | Hendrik Brueckner |
|---|---|---|---|---|---|
| 1/10 | R-b | R-b | R-b | ||
| 2/10 | R-b | A-b | |||
| 3/10 | A-b | R-b | R-b | ||
| 4/10 | A-b | R-b | R-b | ||
| 5/10 | R-b | R-b | R-b | ||
| 6/10 | A-b | ||||
| 7/10 | R-b | R-b | |||
| 8/10 | R-b | ||||
| 9/10 | R-b | ||||
| 10/10 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.
Cover letter [RFC 00/10] KVM: s390: spring cleanup
When looking into the new gmap code I also had a look into our handling of addresses as a whole. I've found that we have a lot of unsigned long variables which could be gpa_t or gva_t. There's code where we could use provided functions for calculations like gfn shifting and in general we have a lot of magic constants left which could be defined constants. Some of these contants are already in our code base anyway...
This series tries to clean up some of these problems.
I have more commits that also introduce new types for real and logical addresses but these have to wait until I see a real benefit.
Janosch Frank (10):
KVM: s390: diag258: Pass absolute address to kvm_is_gpa_in_memslot()
KVM: s390: Consolidate lpswe variants
KVM: s390: Convert shifts to gpa_to_gfn()
KVM: s390: kvm_s390_real_to_abs() should return gpa_t
KVM: s390: vsie: Cleanup and fixup of crycb handling
KVM: s390: Rework lowcore access functions
KVM: s390: Use gpa_t and gva_t in gaccess files
KVM: s390: Use gpa_t in priv.c
KVM: s390: Use gpa_t in pv.c
KVM: s390: Cleanup kvm_s390_store_status_unloaded
arch/s390/include/asm/kvm_host.h | 6 +++ arch/s390/kvm/diag.c | 2 +- arch/s390/kvm/gaccess.c | 20 ++++----- arch/s390/kvm/gaccess.h | 49 ++++++++++++++------- arch/s390/kvm/interrupt.c | 4 +- arch/s390/kvm/kvm-s390.c | 24 +++++++---- arch/s390/kvm/kvm-s390.h | 12 +++--- arch/s390/kvm/priv.c | 73 +++++++++++++++----------------- arch/s390/kvm/pv.c | 12 +++--- arch/s390/kvm/vsie.c | 50 +++++++++++----------- 10 files changed, 138 insertions(+), 114 deletions(-)
Signature · 1 line
2.51.0