From nobody Tue Oct 28 01:55:52 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1516211177405160.44611737202752; Wed, 17 Jan 2018 09:46:17 -0800 (PST) Received: from localhost ([::1]:51069 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ebrmy-0004LV-J9 for importer@patchew.org; Wed, 17 Jan 2018 12:46:16 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46724) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ebriJ-0008Qn-NL for qemu-devel@nongnu.org; Wed, 17 Jan 2018 12:41:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ebriJ-0007ow-0E for qemu-devel@nongnu.org; Wed, 17 Jan 2018 12:41:27 -0500 Received: from mx1.redhat.com ([209.132.183.28]:44666) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ebriI-0007nh-RI; Wed, 17 Jan 2018 12:41:26 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C1CC4C05689D; Wed, 17 Jan 2018 17:41:25 +0000 (UTC) Received: from t460s.redhat.com (ovpn-117-185.ams2.redhat.com [10.36.117.185]) by smtp.corp.redhat.com (Postfix) with ESMTP id CF0795D756; Wed, 17 Jan 2018 17:41:21 +0000 (UTC) From: David Hildenbrand To: qemu-s390x@nongnu.org, qemu-devel@nongnu.org Date: Wed, 17 Jan 2018 18:40:35 +0100 Message-Id: <20180117174047.6382-7-david@redhat.com> In-Reply-To: <20180117174047.6382-1-david@redhat.com> References: <20180117174047.6382-1-david@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Wed, 17 Jan 2018 17:41:25 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH v2 06/18] s390x/flic: no need to call s390_io_interrupt() from flic X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Huth , David Hildenbrand , Cornelia Huck , Alexander Graf , Christian Borntraeger , Richard Henderson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" We can directly call the right function. Suggested-by: Cornelia Huck Signed-off-by: David Hildenbrand --- hw/intc/s390_flic.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/intc/s390_flic.c b/hw/intc/s390_flic.c index bdc8ec7607..d6ed1d7380 100644 --- a/hw/intc/s390_flic.c +++ b/hw/intc/s390_flic.c @@ -108,6 +108,7 @@ static int qemu_s390_inject_airq(S390FLICState *fs, uin= t8_t type, uint8_t isc, uint8_t flags) { QEMUS390FLICState *flic =3D QEMU_S390_FLIC(fs); + S390FLICStateClass *fsc =3D S390_FLIC_COMMON_GET_CLASS(fs); bool flag =3D flags & S390_ADAPTER_SUPPRESSIBLE; uint32_t io_int_word =3D (isc << 27) | IO_INT_WORD_AI; =20 @@ -116,7 +117,7 @@ static int qemu_s390_inject_airq(S390FLICState *fs, uin= t8_t type, return 0; } =20 - s390_io_interrupt(0, 0, 0, io_int_word); + fsc->inject_io(fs, 0, 0, 0, io_int_word); =20 if (flag && (flic->simm & AIS_MODE_MASK(isc))) { flic->nimm |=3D AIS_MODE_MASK(isc); --=20 2.14.3