From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHtWs-0004Ew-Ll for qemu-devel@nongnu.org; Wed, 31 Oct 2018 12:39:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHtWo-0007gD-6O for qemu-devel@nongnu.org; Wed, 31 Oct 2018 12:39:38 -0400 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:36812) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHtWn-0007fi-U3 for qemu-devel@nongnu.org; Wed, 31 Oct 2018 12:39:34 -0400 Received: by mail-wr1-x443.google.com with SMTP id y16so17237235wrw.3 for ; Wed, 31 Oct 2018 09:39:33 -0700 (PDT) References: <20181025144644.15464-1-cota@braap.org> <20181025144644.15464-50-cota@braap.org> From: Alex =?utf-8?Q?Benn=C3=A9e?= In-reply-to: <20181025144644.15464-50-cota@braap.org> Date: Wed, 31 Oct 2018 16:39:31 +0000 Message-ID: <87a7mu6pfg.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [RFC v4 50/71] s390x: convert to cpu_interrupt_request List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Emilio G. Cota" Cc: qemu-devel@nongnu.org, David Hildenbrand , Cornelia Huck , Richard Henderson , Alexander Graf , Christian Borntraeger , qemu-s390x@nongnu.org, Paolo Bonzini Emilio G. Cota writes: > Cc: Cornelia Huck > Cc: Christian Borntraeger > Cc: Alexander Graf > Cc: David Hildenbrand > Cc: qemu-s390x@nongnu.org > Reviewed-by: Richard Henderson > Signed-off-by: Emilio G. Cota Reviewed-by: Alex Benn=C3=A9e > --- > hw/intc/s390_flic.c | 2 +- > target/s390x/cpu.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/hw/intc/s390_flic.c b/hw/intc/s390_flic.c > index bfb5cf1d07..d944824e67 100644 > --- a/hw/intc/s390_flic.c > +++ b/hw/intc/s390_flic.c > @@ -189,7 +189,7 @@ static void qemu_s390_flic_notify(uint32_t type) > CPU_FOREACH(cs) { > S390CPU *cpu =3D S390_CPU(cs); > > - cs->interrupt_request |=3D CPU_INTERRUPT_HARD; > + cpu_interrupt_request_or(cs, CPU_INTERRUPT_HARD); > > /* ignore CPUs that are not sleeping */ > if (s390_cpu_get_state(cpu) !=3D S390_CPU_STATE_OPERATING && > diff --git a/target/s390x/cpu.c b/target/s390x/cpu.c > index 956d4e1d18..1f91df57bc 100644 > --- a/target/s390x/cpu.c > +++ b/target/s390x/cpu.c > @@ -65,7 +65,7 @@ static bool s390_cpu_has_work(CPUState *cs) > return false; > } > > - if (!(cs->interrupt_request & CPU_INTERRUPT_HARD)) { > + if (!(cpu_interrupt_request(cs) & CPU_INTERRUPT_HARD)) { > return false; > } -- Alex Benn=C3=A9e