KVM: s390: introduce defines for control registers
Cornelia Huck
Reviewed-byQuoted 8 lines · On Mon, 30 Apr 2018 17:55:24 +0200 David Hildenbrand <[email protected]> wrote:
In KVM code we use masks to test/set control registers.
Let's define the ones we use in
arch/s390/include/asm/ctl_reg.hand replace all occurrences in KVM code.As we will be needing the define for Clock-comparator sign control soon, let's also add it.
Quoted 8 lines
Suggested-by Collin L. Walling <[email protected]>Signed-off-by David Hildenbrand <[email protected]>--- arch/s390/include/asm/ctl_reg.h | 12 ++++++++++++ arch/s390/kvm/guestdbg.c | 2 +- arch/s390/kvm/interrupt.c | 20 ++++++++++---------- arch/s390/kvm/kvm-s390.c | 10 +++++++--- 4 files changed, 30 insertions(+), 14 deletions(-)
Reviewed-by Cornelia Huck <[email protected]>
Heiko Carstens
Acked-byQuoted 8 lines · David Hildenbrand
In KVM code we use masks to test/set control registers.
Let's define the ones we use in
arch/s390/include/asm/ctl_reg.hand replace all occurrences in KVM code.As we will be needing the define for Clock-comparator sign control soon, let's also add it.
Quoted 8 lines
Suggested-by Collin L. Walling <[email protected]>Signed-off-by David Hildenbrand <[email protected]>--- arch/s390/include/asm/ctl_reg.h | 12 ++++++++++++ arch/s390/kvm/guestdbg.c | 2 +- arch/s390/kvm/interrupt.c | 20 ++++++++++---------- arch/s390/kvm/kvm-s390.c | 10 +++++++--- 4 files changed, 30 insertions(+), 14 deletions(-)
If you need an ack for the non-KVM part:
Acked-by Heiko Carstens <[email protected]>