All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Graf <agraf@suse.de>
To: Christian Borntraeger <borntraeger@de.ibm.com>,
	Paolo Bonzini <pbonzini@redhat.com>,
	"Jason J. Herne" <jjherne@linux.vnet.ibm.com>,
	kvm@vger.kernel.org, cornelia.huck@de.ibm.com, aik@ozlabs.ru
Subject: Re: [PATCH v2] kvm-s390: Provide guest TOD Clock Get/Set Controls
Date: Fri, 07 Nov 2014 16:19:59 +0100	[thread overview]
Message-ID: <545CE31F.5040109@suse.de> (raw)
In-Reply-To: <545CE0D3.5090503@de.ibm.com>



On 07.11.14 16:10, Christian Borntraeger wrote:
> Am 07.11.2014 um 16:06 schrieb Paolo Bonzini:
>>
>>
>> On 07/11/2014 15:55, Jason J. Herne wrote:
>>> From: "Jason J. Herne" <jjherne@linux.vnet.ibm.com>
>>>
>>> Provide KVM_REG_S390_TOD and KVM_REG_S390_TOD_HIGH registers on s390 for
>>> managing guest Time Of Day clock value.
>>>
>>> KVM_REG_S390_TOD_HIGH is presently always set to 0. In the future it will
>>> contain a high order expansion of the tod clock value after it overflows
>>> the 64-bits of KVM_REG_S390_TOD.
>>>
>>> Signed-off-by: Jason J. Herne <jjherne@linux.vnet.ibm.com>
>>> ---
>>>  arch/s390/include/uapi/asm/kvm.h |  2 ++
>>>  arch/s390/kvm/kvm-s390.c         | 63 ++++++++++++++++++++++++++++++++++++++++
>>>  2 files changed, 65 insertions(+)
>>>
>>> diff --git a/arch/s390/include/uapi/asm/kvm.h b/arch/s390/include/uapi/asm/kvm.h
>>> index 48eda3a..5578832 100644
>>> --- a/arch/s390/include/uapi/asm/kvm.h
>>> +++ b/arch/s390/include/uapi/asm/kvm.h
>>> @@ -138,4 +138,6 @@ struct kvm_sync_regs {
>>>  #define KVM_REG_S390_PFSELECT	(KVM_REG_S390 | KVM_REG_SIZE_U64 | 0x7)
>>>  #define KVM_REG_S390_PP		(KVM_REG_S390 | KVM_REG_SIZE_U64 | 0x8)
>>>  #define KVM_REG_S390_GBEA	(KVM_REG_S390 | KVM_REG_SIZE_U64 | 0x9)
>>> +#define KVM_REG_S390_TOD	(KVM_REG_S390 | KVM_REG_SIZE_U64 | 0xA)
>>> +#define KVM_REG_S390_TOD_HIGH	(KVM_REG_S390 | KVM_REG_SIZE_U8 | 0xB)
>>>  #endif
>>> diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c
>>> index 55aade4..17e3d61 100644
>>> --- a/arch/s390/kvm/kvm-s390.c
>>> +++ b/arch/s390/kvm/kvm-s390.c
>>> @@ -31,6 +31,7 @@
>>>  #include <asm/switch_to.h>
>>>  #include <asm/facility.h>
>>>  #include <asm/sclp.h>
>>> +#include<asm/timex.h>
> 
> Will apply with a small whitespace fix

Reviewed-by: Alexander Graf <agraf@suse.de>


Alex

      reply	other threads:[~2014-11-07 15:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-07 14:55 [PATCH v2] kvm-s390: Provide guest TOD Clock Get/Set Controls Jason J. Herne
2014-11-07 14:55 ` Jason J. Herne
2014-11-07 15:06   ` Paolo Bonzini
2014-11-07 15:10     ` Christian Borntraeger
2014-11-07 15:19       ` Alexander Graf [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=545CE31F.5040109@suse.de \
    --to=agraf@suse.de \
    --cc=aik@ozlabs.ru \
    --cc=borntraeger@de.ibm.com \
    --cc=cornelia.huck@de.ibm.com \
    --cc=jjherne@linux.vnet.ibm.com \
    --cc=kvm@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.