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 lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (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 08500C0218D for ; Mon, 27 Jan 2025 00:30:15 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.877382.1287530 (Exim 4.92) (envelope-from ) id 1tcD0f-0006xB-MX; Mon, 27 Jan 2025 00:29:49 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 877382.1287530; Mon, 27 Jan 2025 00:29:49 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1tcD0f-0006x4-IF; Mon, 27 Jan 2025 00:29:49 +0000 Received: by outflank-mailman (input) for mailman id 877382; Mon, 27 Jan 2025 00:29:47 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1tcD0d-0006ww-Lv for xen-devel@lists.xenproject.org; Mon, 27 Jan 2025 00:29:47 +0000 Received: from smtp-fw-80007.amazon.com (smtp-fw-80007.amazon.com [99.78.197.218]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id cdc7fa86-dc45-11ef-99a4-01e77a169b0f; Mon, 27 Jan 2025 01:29:45 +0100 (CET) Received: from pdx4-co-svc-p1-lb2-vlan2.amazon.com (HELO smtpout.prod.us-west-2.prod.farcaster.email.amazon.dev) ([10.25.36.210]) by smtp-border-fw-80007.pdx80.corp.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jan 2025 00:29:41 +0000 Received: from EX19MTAUWA001.ant.amazon.com [10.0.21.151:16822] by smtpin.naws.us-west-2.prod.farcaster.email.amazon.dev [10.0.6.79:2525] with esmtp (Farcaster) id cfa39458-8857-455d-858b-eff9b0664ce4; Mon, 27 Jan 2025 00:29:41 +0000 (UTC) Received: from EX19D020UWC004.ant.amazon.com (10.13.138.149) by EX19MTAUWA001.ant.amazon.com (10.250.64.217) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.1258.39; Mon, 27 Jan 2025 00:29:41 +0000 Received: from [0.0.0.0] (10.253.83.51) by EX19D020UWC004.ant.amazon.com (10.13.138.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.1258.39; Mon, 27 Jan 2025 00:29:33 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: cdc7fa86-dc45-11ef-99a4-01e77a169b0f DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1737937785; x=1769473785; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=1CW7QrQuY535yIxYdxvZyKWa4nCyH6ZLrqRFGNx49Oc=; b=obhHzxUu1ArY1/U6JnUF90YSTjl0EEMiXwtaCsNxC5ydQ167KON2tIBh dA2GEZXRntLNA33lzaiOBxZjZjbbSfNQdqkHhtC12lRyHPa21pI2S4AgC BmwjXXrHUrUMcZ34sp5olw7C6wcT4J+77z/WP/wmvKLzn6qnc2tmyzT24 w=; X-IronPort-AV: E=Sophos;i="6.13,237,1732579200"; d="scan'208";a="372062737" X-Farcaster-Flow-ID: cfa39458-8857-455d-858b-eff9b0664ce4 Message-ID: <890f3e12-a511-40a0-a3c3-d7134b470a1f@amazon.com> Date: Sun, 26 Jan 2025 16:29:29 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/9] hw/sysbus/platform-bus: Introduce TYPE_DYNAMIC_SYS_BUS_DEVICE To: =?UTF-8?Q?Philippe_Mathieu-Daud=C3=A9?= , CC: Yi Liu , Markus Armbruster , Eduardo Habkost , Anthony PERARD , Gustavo Romero , "Jason Wang" , , "Michael S. Tsirkin" , Paolo Bonzini , Richard Henderson , Stefan Berger , Bernhard Beschow , Stefano Stabellini , Gerd Hoffmann , =?UTF-8?Q?Daniel_P=2E_Berrang=C3=A9?= , "Edgar E. Iglesias" , , Marcel Apfelbaum , Alex Williamson , Paul Durrant , =?UTF-8?Q?Cl=C3=A9ment_Mathieu--Drif?= , =?UTF-8?Q?C=C3=A9dric_Le_Goater?= References: <20250125181343.59151-1-philmd@linaro.org> Content-Language: en-US From: Alexander Graf In-Reply-To: <20250125181343.59151-1-philmd@linaro.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.253.83.51] X-ClientProxiedBy: EX19D037UWC004.ant.amazon.com (10.13.139.254) To EX19D020UWC004.ant.amazon.com (10.13.138.149) On 25.01.25 10:13, Philippe Mathieu-Daudé wrote: > Some SysBus devices can optionally be dynamically plugged onto > the sysbus-platform-bus (then virtual guests are aware of > mmio mapping and IRQs via device tree / ACPI rules). > > This series makes these devices explicit by having them implement > the DYNAMIC_SYS_BUS_DEVICE class, which only sets 'user_creatable' > flag to %true but makes the codebase a bit clearer (IMHO, at least > now we can grep for DYNAMIC_SYS_BUS_DEVICE). I love it. Thank you! This is clearly much more readable than the magical hint swizzling I did :). Reviewed-by: Alexander Graf Alex