Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1632042

Re: [PATCH v2 1/9] KVM: add kvm_{test,clear}_request to replace {test,clear}_bit

From Cornelia Huck <cornelia.huck@de.ibm.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 1/9] KVM: add kvm_{test,clear}_request to replace {test,clear}_bit
Date 2017-04-27 13:40 +0200
Message-ID <tAPWa-8ku-13@gated-at.bofh.it> (permalink)
References <tABTb-7dC-3@gated-at.bofh.it> <tABTd-7dC-33@gated-at.bofh.it>
Organization IBM Deutschland Research & Development GmbH Vorsitzende des Aufsichtsrats: Martina Koederitz Geschäftsführung: Dirk Wittkopp Sitz der Gesellschaft: Böblingen Registergericht: Amtsgericht Stuttgart, HRB 243294

Show all headers | View raw


On Wed, 26 Apr 2017 22:32:19 +0200
Radim Krčmář <rkrcmar@redhat.com> wrote:

> Users were expected to use kvm_check_request() for testing and clearing,
> but request have expanded their use since then and some users want to
> only test or do a faster clear.
> 
> Make sure that requests are not directly accessed with bit operations.
> 
> Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
> ---
>  arch/mips/kvm/emulate.c           |  2 +-
>  arch/powerpc/kvm/book3s_pr.c      |  2 +-
>  arch/powerpc/kvm/book3s_pr_papr.c |  2 +-
>  arch/powerpc/kvm/booke.c          |  4 ++--
>  arch/powerpc/kvm/powerpc.c        |  2 +-
>  arch/s390/kvm/kvm-s390.c          |  2 +-
>  arch/x86/kvm/vmx.c                |  2 +-
>  arch/x86/kvm/x86.c                |  8 ++++----
>  include/linux/kvm_host.h          | 14 ++++++++++++--
>  9 files changed, 24 insertions(+), 14 deletions(-)

Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/9] KVM: towards maintainable kvm_make_all_cpus_request() Radim Krčmář <rkrcmar@redhat.com> - 2017-04-26 22:40 +0200
  [PATCH v2 5/9] KVM: perform a wake_up in kvm_make_all_cpus_request Radim Krčmář <rkrcmar@redhat.com> - 2017-04-26 22:40 +0200
    Re: [PATCH v2 5/9] KVM: perform a wake_up in  kvm_make_all_cpus_request Andrew Jones <drjones@redhat.com> - 2017-04-27 13:40 +0200
    Re: [PATCH v2 5/9] KVM: perform a wake_up in  kvm_make_all_cpus_request Cornelia Huck <cornelia.huck@de.ibm.com> - 2017-04-27 14:10 +0200
      Re: [PATCH v2 5/9] KVM: perform a wake_up in  kvm_make_all_cpus_request Paolo Bonzini <pbonzini@redhat.com> - 2017-04-27 14:20 +0200
  [PATCH v2 1/9] KVM: add kvm_{test,clear}_request to replace {test,clear}_bit Radim Krčmář <rkrcmar@redhat.com> - 2017-04-26 22:40 +0200
    Re: [PATCH v2 1/9] KVM: add kvm_{test,clear}_request to replace  {test,clear}_bit Cornelia Huck <cornelia.huck@de.ibm.com> - 2017-04-27 13:40 +0200
    Re: [PATCH v2 1/9] KVM: add kvm_{test,clear}_request to replace  {test,clear}_bit Andrew Jones <drjones@redhat.com> - 2017-04-27 13:40 +0200

csiph-web