From patchwork Mon Jul 29 14:56:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Damien Hedde X-Patchwork-Id: 1138454 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=greensocs.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=greensocs.com header.i=@greensocs.com header.b="RbEw7tAy"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45y33b2cqHz9sMr for ; Tue, 30 Jul 2019 01:08:27 +1000 (AEST) Received: from localhost ([::1]:53122 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hs7GD-0003G9-Eg for incoming@patchwork.ozlabs.org; Mon, 29 Jul 2019 11:08:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38805) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hs78G-0005lB-MI for qemu-devel@nongnu.org; Mon, 29 Jul 2019 11:00:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hs78B-0005cx-PV for qemu-devel@nongnu.org; Mon, 29 Jul 2019 11:00:12 -0400 Received: from beetle.greensocs.com ([5.135.226.135]:49054) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hs785-0005S3-Il; Mon, 29 Jul 2019 11:00:01 -0400 Received: from kouign-amann.bar.greensocs.com (unknown [172.16.11.117]) by beetle.greensocs.com (Postfix) with ESMTPS id 7CC6A96F98; Mon, 29 Jul 2019 14:59:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=greensocs.com; s=mail; t=1564412359; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MabvMRXMXvglNHuMuwjz05sk4mSZqL5kEppHHuUwOes=; b=RbEw7tAydVp6/nppEq6nCc6ol8nkZTCHV19A4QJmuGWul57V30AGOyO/52vuGMABdYRQMC 7iK91DSQatfT+pjryv5+tM2e///hsymOb2yA8aPDXXTezQlHRp0HnGfX0MBoLzIdwo1me2 zaIXpoY5jwGJDYHE5wzY+VyM0SvCo9s= From: Damien Hedde To: qemu-devel@nongnu.org Date: Mon, 29 Jul 2019 16:56:42 +0200 Message-Id: <20190729145654.14644-22-damien.hedde@greensocs.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190729145654.14644-1-damien.hedde@greensocs.com> References: <20190729145654.14644-1-damien.hedde@greensocs.com> MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=greensocs.com; s=mail; t=1564412359; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MabvMRXMXvglNHuMuwjz05sk4mSZqL5kEppHHuUwOes=; b=xsE9+Q0d0dyv+xkvkMqr06WnTZSFzaN1kShGpwHQkCFv50Dep2t1+OIUlchuzljU+I5+al lEbBf8W1F24hHA9JAHUW6uB3vJN5DNdh9c5RZlw1FzbD+IcieKABEnBYmvaLzsJL4KEs8w n5WA7c127R07w54EvtPKX2G7O5uW5lU= ARC-Seal: i=1; s=mail; d=greensocs.com; t=1564412359; a=rsa-sha256; cv=none; b=UQkGwFSDvFflTpIyjFSfQZEwGWqTWkZbJZ7+kXz5OS77XN3Tb7/JaXJq4M5+DWbOmBUSsq 8WCbS234CmUQDcHuTZIRHapaU+Sq+l+nk0tbTaL8d0CfQBgLTGk+BS/JtheJefMqZyp6hf cDhiqXvBAFJPKoLgWLKWe7cfPUcgbgU= ARC-Authentication-Results: i=1; beetle.greensocs.com; none X-Spam: Yes X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 5.135.226.135 Subject: [Qemu-devel] [PATCH v3 21/33] hw/intc/spapr_xive.c: remove device_legacy_reset call X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, peter.maydell@linaro.org, walling@linux.ibm.com, dmitry.fleytman@gmail.com, mst@redhat.com, mark.cave-ayland@ilande.co.uk, kraxel@redhat.com, edgar.iglesias@xilinx.com, hare@suse.com, qemu-block@nongnu.org, david@redhat.com, pasic@linux.ibm.com, borntraeger@de.ibm.com, marcandre.lureau@redhat.com, rth@twiddle.net, thuth@redhat.com, ehabkost@redhat.com, alistair@alistair23.me, qemu-s390x@nongnu.org, qemu-arm@nongnu.org, clg@kaod.org, jsnow@redhat.com, david@gibson.dropbear.id.au, Damien Hedde , berrange@redhat.com, cohuck@redhat.com, mark.burton@greensocs.com, qemu-ppc@nongnu.org, pbonzini@redhat.com Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Replace legacy's reset call by device_reset_warm. The new function propagates also the reset to the sub-buses tree but this has no impact since SpaprXive has no child bus. Signed-off-by: Damien Hedde --- hw/intc/spapr_xive.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/intc/spapr_xive.c b/hw/intc/spapr_xive.c index 22e11ad10c..fbd7ddb06e 100644 --- a/hw/intc/spapr_xive.c +++ b/hw/intc/spapr_xive.c @@ -1511,7 +1511,7 @@ static target_ulong h_int_reset(PowerPCCPU *cpu, return H_PARAMETER; } - device_legacy_reset(DEVICE(xive)); + device_reset_warm(DEVICE(xive)); if (kvm_irqchip_in_kernel()) { Error *local_err = NULL;