[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <55F97DFA.80709@de.ibm.com>
Date: Wed, 16 Sep 2015 16:34:34 +0200
From: Christian Borntraeger <borntraeger@...ibm.com>
To: "Jason J. Herne" <jjherne@...ux.vnet.ibm.com>, pbonzini@...hat.com
Cc: cornelia.huck@...ibm.com, peterz@...radead.org, tglx@...utronix.de,
kvm@...r.kernel.org, linux-s390@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Fixes: 805de8f43c20 (atomic: Replace
atomic_{set,clear}_mask() usage)
Am 16.09.2015 um 15:13 schrieb Jason J. Herne:
> The offending commit accidentally replaces an atomic_clear with an
> atomic_or instead of an atomic_andnot in kvm_s390_vcpu_request_handled.
> The symptom is that kvm guests on s390 hang on startup.
> This patch simply replaces the incorrect atomic_or with atomic_andnot
>
> Signed-off-by: Jason J. Herne <jjherne@...ux.vnet.ibm.com>
Acked-by: Christian Borntraeger <borntraeger@...ibm.com>
Paolo,
can you take this via kvm tree for 4.3?
Maybe move the subject line into the mail body an rephrase the subject line.
Christian
> ---
> arch/s390/kvm/kvm-s390.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c
> index c91eb94..49e76be 100644
> --- a/arch/s390/kvm/kvm-s390.c
> +++ b/arch/s390/kvm/kvm-s390.c
> @@ -1574,7 +1574,7 @@ static void kvm_s390_vcpu_request(struct kvm_vcpu *vcpu)
>
> static void kvm_s390_vcpu_request_handled(struct kvm_vcpu *vcpu)
> {
> - atomic_or(PROG_REQUEST, &vcpu->arch.sie_block->prog20);
> + atomic_andnot(PROG_REQUEST, &vcpu->arch.sie_block->prog20);
> }
>
> /*
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists