From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8FB07C432C0 for ; Tue, 3 Dec 2019 11:07:14 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 5A757206EC for ; Tue, 3 Dec 2019 11:07:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="LmqRVpEv" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5A757206EC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:51666 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ic61P-0007K0-LI for qemu-devel@archiver.kernel.org; Tue, 03 Dec 2019 06:07:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53375) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ic5qL-0003LF-DY for qemu-devel@nongnu.org; Tue, 03 Dec 2019 05:55:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ic5qH-0006s0-BR for qemu-devel@nongnu.org; Tue, 03 Dec 2019 05:55:43 -0500 Received: from us-smtp-1.mimecast.com ([205.139.110.61]:51896 helo=us-smtp-delivery-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ic5qF-0006of-DI for qemu-devel@nongnu.org; Tue, 03 Dec 2019 05:55:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1575370536; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Sz1GpD+3T1QWTgobHdtGvt1jXECG9RFlmUdUGH0uwVA=; b=LmqRVpEvt4adYYmUedXsYAi0ZitjTyL8lPSeUbqs1lLbTjnJ2aEWHU0spcZSphvrGdO3O8 kyp77x+/TLYNFe+pPZxNULc9hQSUNyrMiTzfe1xTfg4fn5L7r3t9dS2Sfh2tij9AT3TE+r 4HbO5QGCLIcz7SWvbiasLxmFXJG0abs= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-138-OVaDAPWzNkKWeEFJbPRAwg-1; Tue, 03 Dec 2019 05:55:35 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id ADB97107ACC5; Tue, 3 Dec 2019 10:55:32 +0000 (UTC) Received: from gondolin (ovpn-116-214.ams2.redhat.com [10.36.116.214]) by smtp.corp.redhat.com (Postfix) with ESMTP id 62E0A10016DA; Tue, 3 Dec 2019 10:55:12 +0000 (UTC) Date: Tue, 3 Dec 2019 11:55:08 +0100 From: Cornelia Huck To: Damien Hedde Subject: Re: [PATCH v5 01/13] add device_legacy_reset function to prepare for reset api change Message-ID: <20191203115508.6c2a6ef4.cohuck@redhat.com> In-Reply-To: <20191018150630.31099-2-damien.hedde@greensocs.com> References: <20191018150630.31099-1-damien.hedde@greensocs.com> <20191018150630.31099-2-damien.hedde@greensocs.com> Organization: Red Hat GmbH MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-MC-Unique: OVaDAPWzNkKWeEFJbPRAwg-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 205.139.110.61 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 Zheng , peter.maydell@linaro.org, Collin Walling , Dmitry Fleytman , "Michael S. Tsirkin" , qemu-devel@nongnu.org, Gerd Hoffmann , David Hildenbrand , Halil Pasic , Christian Borntraeger , david@gibson.dropbear.id.au, philmd@redhat.com, ehabkost@redhat.com, qemu-s390x@nongnu.org, qemu-arm@nongnu.org, =?UTF-8?B?Q8OpZHJpYw==?= Le Goater , John Snow , Richard Henderson , berrange@redhat.com, mark.burton@greensocs.com, edgari@xilinx.com, pbonzini@redhat.com Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On Fri, 18 Oct 2019 17:06:18 +0200 Damien Hedde wrote: > Provide a temporary device_legacy_reset function doing what > device_reset does to prepare for the transition with Resettable > API. >=20 > All occurrence of device_reset in the code tree are also replaced > by device_legacy_reset. >=20 > The new resettable API has different prototype and semantics > (resetting child buses as well as the specified device). Subsequent > commits will make the changeover for each call site individually; once > that is complete device_legacy_reset() will be removed. >=20 > Signed-off-by: Damien Hedde > Reviewed-by: Peter Maydell > Acked-by: David Gibson > --- > Cc: Gerd Hoffmann > Cc: Paolo Bonzini > Cc: "Daniel P. Berrang=C3=A9" > Cc: Eduardo Habkost > Cc: Richard Henderson > Cc: "Michael S. Tsirkin" > Cc: Marcel Apfelbaum > Cc: John Snow > Cc: "C=C3=A9dric Le Goater" > Cc: Collin Walling > Cc: Cornelia Huck > Cc: David Hildenbrand > Cc: Halil Pasic > Cc: Christian Borntraeger > Cc: Dmitry Fleytman > Cc: Fam Zheng > --- > hw/audio/intel-hda.c | 2 +- > hw/core/qdev.c | 6 +++--- > hw/hyperv/hyperv.c | 2 +- > hw/i386/pc.c | 2 +- > hw/ide/microdrive.c | 8 ++++---- > hw/intc/spapr_xive.c | 2 +- > hw/ppc/pnv_psi.c | 2 +- > hw/ppc/spapr_pci.c | 2 +- > hw/ppc/spapr_vio.c | 2 +- > hw/s390x/s390-pci-inst.c | 2 +- > hw/scsi/vmw_pvscsi.c | 2 +- > hw/sd/omap_mmc.c | 2 +- > hw/sd/pl181.c | 2 +- > include/hw/qdev-core.h | 4 ++-- > 14 files changed, 20 insertions(+), 20 deletions(-) Acked-by: Cornelia Huck