GET/SET_ONE_REG and HIOR patches v3
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
v1 -> v2 from the cover letter
- do paranthesis
- add patch to rename internal old KVM_REG constants
- fix comments
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | KVM: PPC: Add generic single register ioctlsDocumentation/ arch/ include/ | +116 | 0 replies | |
| 2/4 | KVM: PPC: Add support for explicit HIOR settingDocumentation/ arch/ arch/ +3 more | +23 | 0 replies | |
| 3/4 | KVM: PPC: Move kvm_vcpu_ioctl_[gs]et_one_reg down to platform-specific codearch/ arch/ arch/ +2 more | +81 | 0 replies | |
| 4/4 | KVM: PPC: Rename MMIO register identifiersarch/ arch/ arch/ | +21 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] GET/SET_ONE_REG and HIOR patches v3
This is a revised version of the ONE_REG interface. The main difference to v1 is that we now encode the register size in the constant, making it very unambiguous what size it is. That way we can just take a pointer from user space to write it to.
Thanks a lot to Scott for reviewing the previous patches and pointing out some design issues before it actually lands upstream.
v1 -> v2:
- do paranthesis
- add patch to rename internal old KVM_REG constants
- fix comments
Alex
Alexander Graf (3):
KVM: PPC: Add generic single register ioctls
KVM: PPC: Add support for explicit HIOR setting
KVM: PPC: Rename MMIO register identifiers
Paul Mackerras (1):
KVM: PPC: Move kvm_vcpu_ioctl_[gs]et_one_reg down to
platform-specific code
Documentation/virtual/kvm/api.txt | 41 ++++++++++++++++++++++++++++++ arch/powerpc/include/asm/kvm.h | 14 ++++++---- arch/powerpc/include/asm/kvm_book3s.h | 2 + arch/powerpc/include/asm/kvm_ppc.h | 3 ++ arch/powerpc/kvm/book3s_hv.c | 36 ++++++++++++++++++++++++++ arch/powerpc/kvm/book3s_paired_singles.c | 9 ++++-- arch/powerpc/kvm/book3s_pr.c | 38 ++++++++++++++++++++++++++- arch/powerpc/kvm/booke.c | 10 +++++++ arch/powerpc/kvm/powerpc.c | 34 ++++++++++++++++++------ include/linux/kvm.h | 36 ++++++++++++++++++++++++++ 10 files changed, 203 insertions(+), 20 deletions(-)