Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5AFAEC43458 for ; Mon, 13 Jul 2026 08:25:59 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wjBz0-0002Go-7O; Mon, 13 Jul 2026 04:25:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wjByu-0002Dc-8V for qemu-arm@nongnu.org; Mon, 13 Jul 2026 04:25:40 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wjByr-0001jC-Ra for qemu-arm@nongnu.org; Mon, 13 Jul 2026 04:25:40 -0400 Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 66D6O3Bh732794 for ; Mon, 13 Jul 2026 08:25:36 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= jx86LT6tbVgIC03nsJN+TghsjbPvnRSiKtm4j1ybhGg=; b=NkASd+Nohbb7dnX3 lrWPG/4tbX2oE+yoQVhPaMCUVhiJnaIgTi9by/smH8xfseOeF/sd4LlkmUw7elAP p4Xg9lj7tsTKgPaWvbOoOMPtJoi7nbI5R11WSYm+DaQsilG3p1d8f1RbHlpB1lrD WsZ4bLAtgqfi02SyezjKieBL7lPYAFme6TGdpp/Fn1GTJfTjx63lySqVQ52ktebc ToESb6ouRg83Sh+IiqP1YIRCs6bchuVyeCU2hPG7rxwDv9lfkTCGDSpU9IGBm8bq XN0HLCUktm+q1ttAAKdq+Hy5wJoHH98GenSXLmn+ln+M15RpBOV+sYlQZpwGlifH MRY6ug== Received: from mail-qv1-f72.google.com (mail-qv1-f72.google.com [209.85.219.72]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4fcjn39kvc-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 13 Jul 2026 08:25:35 +0000 (GMT) Received: by mail-qv1-f72.google.com with SMTP id 6a1803df08f44-8f0867a75ecso74985446d6.3 for ; Mon, 13 Jul 2026 01:25:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1783931135; x=1784535935; darn=nongnu.org; h=content-transfer-encoding:content-type:in-reply-to:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to:content-type; bh=jx86LT6tbVgIC03nsJN+TghsjbPvnRSiKtm4j1ybhGg=; b=aVh9qyaC0NmUPpcZcDsU6cqqzyiT0xgBbslUd6GCnbFR/BJv/5Wb8G0BNhEe6N6wXv mvfZWRAikDZ8YGVXbJxZ2bcDFbgKAvoqAMfq1JOQpbUSlVfa/IBUUyxBT5602rdBsq5W R3L2H1ulymn+pPKln99fSvWjnHunrY+W4eAb6xPGbi2dbaWGqZkZAzD4JfIZsqTocuhW egufWXIT8vELcg1r7mCvHFvpMmo3NBUn+5Tk2Hlj82KrmpBaDuuFLS3W5llHUK+w+LV8 C5xOr1r0r0OoltC4jnYKJoD361omMCZzBIBFu5j3o8C0AYE9jI9SO5gmSyhDtq4q/Rgi 737g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783931135; x=1784535935; h=content-transfer-encoding:content-type:in-reply-to:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=jx86LT6tbVgIC03nsJN+TghsjbPvnRSiKtm4j1ybhGg=; b=MFX9gvvOHKMo3wAtoaeDaXqsaYd1UERjCH7iF8/PybaHVzdgoAUpHSXWPtVQTHDvJk MYFB7O2bhp3/4pYvS+fP10TlYQVS+OHglm2O8suAleZpoJLVxpJet2aRyqPHxsFKZCr/ d4RaRJCjoXYOA1xu4PBYaWJenJ8tXuTypw/y/Xr0sKuS6kllgmpkoDb9rHJVwZf01Reo pfB/LNJ/9GwRb4aULbqmEUVhl7SPJaZk6gKi+v9bUoLI5ZBWUD8LZMAMvW66WQD9hiEj 5MVQdLp5NbZQN1amVv9pjeblT3pnlFaaYDysJbn0vW5MvHWgXKkYPeWsF8uLDTC7qGgD TuFg== X-Gm-Message-State: AOJu0YyYAHM4+N9BCJYI//GL9UHag7k6q+5byNYmtnDycduO73To2ptC yV4KXx4LtMecVAM0iYYTbCdt+bQ4p19Lh736G161fGhfWDYjXnb+9BLr5ax9tb/5rUaQKSnuAX5 etQmz4xSAtwLbx9ZQh5bwMSPBEKTPs/Gaw+Gbjs2e767tZ7/wpEXR/QU= X-Gm-Gg: AfdE7clAsd9AfOEd29clng53ySd/qvFRsJ2J0sWO1KU66Op6ixK/cP9yBFWZkFfDRTZ q83DCStqphcboDnN17ZsGlMo0ucGUaCWq4K+GUMRR1GqqaH/su4WGlePe+XeIu468kx62IkfEOp E0Spvc7S5fZkn6Jp96IAsf4k/ZYd8gEmV4Q4xSCs4gTXZsG1GmR/46LJ4wzgh5l69w1rI7K33Jq k/0FPolJFTp64L8UZUzu8Iq7VA9G8jwSpDHBlaqhIkLxWH/ghnCMDeU71tu/w+xbsCN2lNhFeuo OM7JY+/lEm1LIiF9zshUdj4tixyCmK6vMJ4PUT/GzCFUHnTDrK+JiMk1Ho5513jLslQ8MDNwCbe bW6wRg64OlA7+T0Ac7mdoqjqSiWoAYl5SSakIac24j02m//9WFRJoldGMbZKXvA== X-Received: by 2002:a05:6214:5b08:b0:8ee:bb17:7e2d with SMTP id 6a1803df08f44-903ffc615bfmr89512956d6.25.1783931134943; Mon, 13 Jul 2026 01:25:34 -0700 (PDT) X-Received: by 2002:a05:6214:5b08:b0:8ee:bb17:7e2d with SMTP id 6a1803df08f44-903ffc615bfmr89512666d6.25.1783931134594; Mon, 13 Jul 2026 01:25:34 -0700 (PDT) Received: from [192.168.69.219] (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-69bfd7a20e5sm6378413a12.20.2026.07.13.01.25.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 13 Jul 2026 01:25:33 -0700 (PDT) Message-ID: Date: Mon, 13 Jul 2026 10:25:29 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH 010/134] hw/avr: Give onboard devices a QOM parent Content-Language: en-US To: Alexander Graf , qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, qemu-ppc@nongnu.org, qemu-riscv@nongnu.org, qemu-s390x@nongnu.org, Song Gao <17746591750@163.com>, Aditya Gupta , Alexey Kardashevskiy , Farhan Ali , Alistair Francis , Alistair Francis , Antony Pavlov , Markus Armbruster , Artyom Tarasenko , BALATON Zoltan , Felipe Balbi , Christian Borntraeger , Brian Cain , Hendrik Brueckner , Chao Liu , Huacai Chen , =?UTF-8?Q?Cl=C3=A9ment_Chigot?= , =?UTF-8?Q?C=C3=A9dric_Le_Goater?= , Helge Deller , Dorjoy Chowdhury , "Edgar E . Iglesias" , Alexandre Iooss , Eric Farman , Francisco Iglesias , Gaurav Sharma , Gautam Gala , Harsh Prateek Bora , =?UTF-8?Q?Herv=C3=A9_Poussineau?= , Jan Kiszka , Max Filippov , Joel Stanley , Jared Rossi , Tyrone Ting , Frederic Konrad , Laurent Vivier , Manos Pitsidianakis , Bibo Mao , Mark Cave-Ayland , Glenn Miles , Matthew Rosato , Michael Rolnik , "Michael S . Tsirkin" , Niek Linnenbank , Nicholas Piggin , Palmer Dabbelt , Halil Pasic , Paolo Bonzini , Peter Maydell , =?UTF-8?Q?Philippe_Mathieu-Daud=C3=A9?= , Pierrick Bouvier , Richard Henderson , Sai Pavan Boddu , Samuel Tardieu , Bernhard Beschow , Stafford Horne , Sergio Lopez , Subbaraya Sundeep , Thomas Huth , Ran Wang , Hao Wu , =?UTF-8?Q?Daniel_P_=2E_Berrang=C3=A9?= References: <20260711223707.42139-1-graf@amazon.com> <20260711223707.42139-11-graf@amazon.com> From: =?UTF-8?Q?Philippe_Mathieu-Daud=C3=A9?= In-Reply-To: <20260711223707.42139-11-graf@amazon.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNzEzMDA4NyBTYWx0ZWRfXwJgF4UCrYiUw nD62WD16LpR2YGg/Ww0oDUa2xfEjmPj/eayYoKpyE3eZXW1KOYGLha8opoAJg/cwP/jP7DjczXy bfJ7sL8skysqrYc0Lihc+ABqOdRcruL1hN6mm5tt7RnJUZomt1E6mOMvqg9Jb6qQhg/3B2LZuJt b9NnWCwugqm9jMnDdsyG4Nw1VIyjjsulsZ8aHtxjegzRMm450uJAnGFIoE8eEy3GodONvIT07Va fJu8k+5uVTQD+kgg1pZ9t9ms37gNJXrhXOmBWl87TkpwLvx+HdG6sm2QNSGA0DtpoM1/Jajp67w 6sZqNqxSdxoRVryB+kcm+taWkVW4aTQy14mAb+eSgjo8Iz6b0jaN9NFj0N4DkD8NTy7w2qhuzst NCJU3aZWyTVjlO9lNaDfCr2HTcwy3v3PO4gTLAnBsVHKIJwQGG+hcPQL5gy0KLdNS4Csr1LyMLG tmK1Q+ggiBB1yUX1g9w== X-Proofpoint-ORIG-GUID: lyIOx5k1mV84JffTLx5I3hUbQseUZXGV X-Proofpoint-Spam-Info: AW1haW4tMjYwNzEzMDA4NyBTYWx0ZWRfX3BD/EQurOFJy gJUzdzlmh1tqS+euttaWs99DKBqwAFRAs3lp5OGBr6j9QlagWJG5pRLcyICQyxwS3ed9ZiYOmQ9 bNe0MLoej/yVTrVhY+Swub3J8jlysAE= X-Proofpoint-GUID: lyIOx5k1mV84JffTLx5I3hUbQseUZXGV X-Authority-Analysis: v=2.4 cv=aaJRWxot c=1 sm=1 tr=0 ts=6a54a0ff cx=c_pps a=7E5Bxpl4vBhpaufnMqZlrw==:117 a=4s3hRJSeHn4rkQlkrse1kQ==:17 a=IkcTkHD0fZMA:10 a=RAioF0-LDSMA:10 a=M51BFTxLslgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=Um2Pa8k9VHT-vaBCBUpS:22 a=VwQbUJbxAAAA:8 a=ZiMIAIO6AAAA:8 a=vggBfdFIAAAA:8 a=EUspDBNiAAAA:8 a=LfsA7Cq2GQzuzbZ-N0YA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=pJ04lnu7RYOZP9TFuWaZ:22 a=KohFQSMcaiS2QNUyYz07:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-07-13_02,2026-07-10_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 phishscore=0 bulkscore=0 clxscore=1015 lowpriorityscore=0 adultscore=0 malwarescore=0 spamscore=0 suspectscore=0 impostorscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2607130087 Received-SPF: pass client-ip=205.220.168.131; envelope-from=philmd@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-arm@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-arm-bounces+qemu-arm=archiver.kernel.org@nongnu.org Sender: qemu-arm-bounces+qemu-arm=archiver.kernel.org@nongnu.org On 12/7/26 00:35, Alexander Graf wrote: > Convert the *_orphan() device-creation calls in hw/avr to the new > parented API introduced earlier in this series, so every onboard > device gets a stable path in the composition tree instead of landing > in /machine/unattached with an unstable device[N] name. > > The parent for each device is the object that owns its lifetime: the > machine for board-created devices, the containing device for > composite children. Names follow existing QOM conventions. > > Per-site rationale (reviewers: dispute the modeling here): > > file:line | parent | name | rationale > atmega.c:287 | OBJECT(dev) | "io" | unimplemented I/O placeholder is a fixed child of the Atmega SoC; SoC realize() creates it, SoC owns it > > Link: https://lore.kernel.org/qemu-devel/87jyr3w9tc.fsf@pond.sub.org/ > Assisted-by: Kiro > Signed-off-by: Alexander Graf > --- > hw/avr/atmega.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Philippe Mathieu-Daudé