Received: by 2002:adf:c793:0:0:0:0:0 with SMTP id l19csp1709909wrg; Fri, 17 May 2019 04:09:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqwkxoJuVj7GT/rOrRGvXcpyHf6nRIU80/5wxU0gpCATJG31PDHnmhWYR8Vu3YAT7ozYtnxW X-Received: by 2002:a50:ce06:: with SMTP id y6mr56894651edi.160.1558091384032; Fri, 17 May 2019 04:09:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558091384; cv=none; d=google.com; s=arc-20160816; b=vC+ejgKzUKAZIuaZFo1H6cJenY5MoCbDCM+OxvnqTZ7uMldMZalf+G3aKyUZXwsf6U 3LFN8xNxV5gXWb+Ob7BDyHQBU/LLlT3KFB7fBL25y/pacsemXqddu5DWUvMUZQvVOcLp 7ndYW5lTohpqBRV69jQfFNiWGXbx5efpz+FGthbvLPc/OuupAtmdN2X9hWi5/HrNXTw6 SzVypUdVnZ9feNVqHSWQFZTrmk+OuxJ+dYSnKRK3Z8iPCP9/5hU+vPVgXUnTBCbgBQdE lDvY5blc434hgOIwSPS9eJ4Tv6x+yYtJ7LqxMzMIEssJilfwrKwCx87SvH60886CKZc3 pz9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:openpgp:from:references:to; bh=dz4geg7a/h3tNwmHON1BqrdrORqh70EUe9jtwjNR0x4=; b=BaM+oixs5SBloqDmGroUoULuo5rPeTtmvljpzfktu2nUAB3qT7VetXVOJGzNn0hW7B QskFQ7nOZiJHLEc6sCk6CtDC5OS0/TulFhKqpddR8Y26HVBII+GGSciWEi3r/gNx/hN/ LYgWeVellVChQoyyGh96Kd5ybS5E9RGVkxtoUDuHDuHHJ0Ojt9h0yAfmt2bLDXRWUwi7 DlzxysWFS9fUI5NbE7TVh4+D4sk1ngmtNsfhujHHZvxK/IvjsAaFTIjPcbdlFiP8aUvG Cg7KjOL+AXuo1MJIkhIZwQ/EzrPTKxToA8DJUgojXXHEGL/X+2K8DNCmjn2OGnrigOC7 A5qw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id m9si1957351edm.178.2019.05.17.04.09.43 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 17 May 2019 04:09:44 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from localhost ([127.0.0.1]:46593 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRakA-0000F5-Uh for alex.bennee@linaro.org; Fri, 17 May 2019 07:09:43 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51384) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRaA3-0001c8-K0 for qemu-devel@nongnu.org; Fri, 17 May 2019 06:32:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hRaA2-00039d-D3 for qemu-devel@nongnu.org; Fri, 17 May 2019 06:32:23 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:52594) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hRaA2-00038a-5u for qemu-devel@nongnu.org; Fri, 17 May 2019 06:32:22 -0400 Received: by mail-wm1-f68.google.com with SMTP id y3so6447127wmm.2 for ; Fri, 17 May 2019 03:32:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=dz4geg7a/h3tNwmHON1BqrdrORqh70EUe9jtwjNR0x4=; b=iFTXcwp4yn9j24MggkrML5dQYAkOp/kEKR/dczpycd2jSLtrok11l/O1YSBooUr8Fo DEj9pg/I9gjHOnP1ES6VyFlyvvJBsvVoJvb4HG2up7rkLTkn4ljBpHgXd0KdnE8oZMlY kNvUJZ/yNyByow+lV8Q/4D4/hwywyplJ7But8qcA5NSv/5J+nhxjf6xelbMVjJk2RnAC MucsGKKy+48OETwJcgwbfzhDQlBpRnRJcqi//Uc4lIcKjh9b9xQwKIgvbHum/GLnzCjm /ysbczfl93tVocIIEteG579LjECW488J1mJJlqp7Fwkoi8G+KSjuC9c8MkN3XIu0e1J3 1nzA== X-Gm-Message-State: APjAAAWP+VsxcJcqcmd2dhm48uKkMjKuWf59PQqOj4BOTIWUDHervpJX qyckfUZ5fB9b1LroGhj1IhbwKw== X-Received: by 2002:a1c:9c42:: with SMTP id f63mr1773551wme.23.1558089141116; Fri, 17 May 2019 03:32:21 -0700 (PDT) Received: from [192.168.1.43] (228.red-83-52-173.dynamicip.rima-tde.net. [83.52.173.228]) by smtp.gmail.com with ESMTPSA id q16sm8567530wmj.17.2019.05.17.03.32.19 (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Fri, 17 May 2019 03:32:20 -0700 (PDT) To: Markus Armbruster , Thomas Huth , qemu-devel@nongnu.org, Eduardo Habkost References: <20190507163416.24647-1-philmd@redhat.com> From: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= Openpgp: id=89C1E78F601EE86C867495CBA2A3FD6EDEADC0DE; url=http://pgp.mit.edu/pks/lookup?op=get&search=0xA2A3FD6EDEADC0DE Message-ID: Date: Fri, 17 May 2019 12:32:18 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190507163416.24647-1-philmd@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.128.68 Subject: Re: [Qemu-devel] [PATCH v2 00/16] hw: Use object_initialize_child for correct reference counting 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: Peter Maydell , "Michael S. Tsirkin" , Antony Pavlov , Paul Burton , Andrew Jeffery , Alistair Francis , Mark Cave-Ayland , =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , Andrew Baumann , Joel Stanley , Aleksandar Rikalo , qemu-arm@nongnu.org, Peter Chubb , =?UTF-8?Q?C=c3=a9dric_Le_Goater?= , Aleksandar Markovic , "Edgar E. Iglesias" , qemu-ppc@nongnu.org, Jean-Christophe Dubois , Aurelien Jarno , David Gibson Errors-To: qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org Sender: "Qemu-devel" X-TUID: 4UwNaBFh+j+X Hi Eduardo, On 5/7/19 6:34 PM, Philippe Mathieu-Daudé wrote: > Hi, > > This series looks at Eduardo suggestions from [1] > and Thomas commit aff39be0ed97 to replace various > object_initialize + qdev_set_parent_bus calls by > sysbus_init_child_obj(). Do you think you can take this series? Else, via which tree it should go? Thanks! Phil. > > Important comment from Eduardo: > > It's possible, but we need a volunteer to review each > hunk because the existing code might be (correctly) > calling object_unref() (either immediately or when > parent is finalized). > > I tried to split it enough to make the review process > easier. > > Regards, > > Phil. > > [*] https://patchwork.ozlabs.org/patch/943333/#1953608 > v1: https://lists.gnu.org/archive/html/qemu-devel/2019-02/msg05931.html > > Philippe Mathieu-Daudé (16): > hw/ppc/pnv: Use object_initialize_child for correct reference counting > hw/misc/macio: Use object_initialize_child for correct ref. counting > hw/virtio: Use object_initialize_child for correct reference counting > hw/arm/bcm2835: Use TYPE_PL011 instead of hardcoded string > hw/arm/bcm2835: Use object_initialize() on PL011State > hw/arm/bcm2835: Use object_initialize_child for correct ref. counting > hw/arm/aspeed: Use object_initialize_child for correct ref. counting > hw/arm: Use object_initialize_child for correct reference counting > hw/mips: Use object_initialize() on MIPSCPSState > hw/mips: Use object_initialize_child for correct reference counting > hw/microblaze/zynqmp: Move the IPI state into the PMUSoC state > hw/microblaze/zynqmp: Let the SoC manage the IPI devices > hw/microblaze/zynqmp: Use object_initialize_child for correct ref. > counting > hw/microblaze/zynqmp: Use object_initialize_child for correct ref. > counting > hw/arm/mps2: Use object_initialize_child for correct reference > counting > hw/intc/nvic: Use object_initialize_child for correct reference > counting