From nobody Tue Nov 26 18:48:37 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1706048788; cv=none; d=zohomail.com; s=zohoarc; b=UenMsUpUZsBj/POzRkvS9j3LSw4jPBZcsVL4TP3MsVomfLH5Wtmscx7DXYorG4LwMdTJiQ9sBnAd/jz+/Zw33mWt2ubsbCK7mUBl5MdQqD2hS3ZC3jWdCnvN7aJ/iLBx6mopqV9ceoqW7PTLaaoUdWADzaVgMzuTKHosIh6e5d8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1706048788; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=Cw3bjLOiGxm/gmaq73KAUTSMcDh1pUeA2J6w4VTjYkA=; b=H6w7kR3+Be0m1bjc5hzOF+dVZCjr6rYmoN+miKNlWy3Me7aDwZk5Q4BWVxIcH27WkFTWnaQLDZ7PgZ6LPY1/RIjaintFf0s9AqF0uAIycguxe2s+gGKtSSRJWxuEdjglrD6ktZHCLhOBoKBu41Pmso0+UhDOodldKS9fEzU0V0g= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1706048788153467.19093886583494; Tue, 23 Jan 2024 14:26:28 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rSPD4-0005Oh-9a; Tue, 23 Jan 2024 17:25:34 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rSPD2-0005Mm-K1 for qemu-devel@nongnu.org; Tue, 23 Jan 2024 17:25:32 -0500 Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rSPD1-0000xw-3G for qemu-devel@nongnu.org; Tue, 23 Jan 2024 17:25:32 -0500 Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-a30e445602cso120764566b.0 for ; Tue, 23 Jan 2024 14:25:30 -0800 (PST) Received: from m1x-phil.lan ([176.187.194.78]) by smtp.gmail.com with ESMTPSA id gu25-20020a170906f29900b00a30dc39aac3sm667245ejb.157.2024.01.23.14.25.27 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 23 Jan 2024 14:25:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706048729; x=1706653529; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Cw3bjLOiGxm/gmaq73KAUTSMcDh1pUeA2J6w4VTjYkA=; b=DmqCJt2Ujlz0/008flJ1wr4ShztXRQhmCqLSLaqngWB3dbcJY0Elg9BKvWePZ7Zrkp 3Fub6gDD3Pq2EvKciTwwuGjdBQsNVf6JrWe5awIDlrL/q6ljTp9qIT4vAM2iMNyvBfxa cP7tmp1RuFalCDWwvfIfjRaT68GPlGFWIuZP+78+Bu8dxKO2cafxBGOttQP09f1nS+M4 AK1InynfNo7SJh/6MGIBBRz7et/VtUeIrvOmux4QQQgsUhe8nHJmoOwst1oE34/DnnhC Ot5EN1f05IdOMrNW+4Mhw6NGX6WDtPEbb0E0bhq0aIClPew5KRAEP3deu+eN8gWp4wV+ JRAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706048729; x=1706653529; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Cw3bjLOiGxm/gmaq73KAUTSMcDh1pUeA2J6w4VTjYkA=; b=BJYQme6j5TYgykKlRSkz/k2LZDv0uEJkM/LCEYbfSfqbtbalkIf0Aj+CRngk3l6Spx syGOaFh+IK0unrG+xJpOZ2ZkKC6VzWulzbbbwn+MTsQoAYUgliHmdE8R5ntHKOJFxME8 r4jQk28C7ns3AXu7IhQEg7OAvig7GTNWbrDRFcAHqzKsirhmVOZNMzjC2k02Dd1c/0jM 1mN1umOdQ1AsFJQaAqghIjXP94BYcRitSXEKGKeigqbQuYPjkiCs97QF31Fy+p5nOCyv /htiFMbREBVrLfNfsREvmF12RI7getNscNZASEkQHBoLTuYP2Pfvsjjt9tojqAEn+aIT ru6A== X-Gm-Message-State: AOJu0YxEeddguOie+jWf8m5Wz8VWOfiNGcNTsa++cBjzaXb7e7D8YlXD Fxdhmuvz4xilfaRFD2AO9UHDAVmdjgSPhliX1Zuov5/NZ1MIlVPSfP8C/VmG3VqvWV97mRHJfBm S X-Google-Smtp-Source: AGHT+IGsRnKP5UoMpMQbvANE/EMjJT5o97/XL7m+8TVENxx3MOAeoBstcQnFjSccCElLNWBlPEDM5g== X-Received: by 2002:a17:906:3ca9:b0:a2f:ebb:f200 with SMTP id b9-20020a1709063ca900b00a2f0ebbf200mr196156ejh.9.1706048729352; Tue, 23 Jan 2024 14:25:29 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Peter Maydell , qemu-arm@nongnu.org, Igor Mitsyanko , Rob Herring , Joel Stanley , "Edgar E. Iglesias" , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , Andrew Jeffery , Gavin Shan , Alistair Francis , Igor Mammedov , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH v2 3/6] hw/arm/highbank: Add missing QOM parent for CPU cores Date: Tue, 23 Jan 2024 23:25:05 +0100 Message-ID: <20240123222508.13826-4-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240123222508.13826-1-philmd@linaro.org> References: <20240123222508.13826-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::62e; envelope-from=philmd@linaro.org; helo=mail-ej1-x62e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@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-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1706048788971100007 QDev objects created with qdev_new() need to manually add their parent relationship with object_property_add_child(). Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Gavin Shan Reviewed-by: Richard Henderson --- hw/arm/highbank.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/arm/highbank.c b/hw/arm/highbank.c index e6e27d69af..b8d702c82c 100644 --- a/hw/arm/highbank.c +++ b/hw/arm/highbank.c @@ -209,6 +209,7 @@ static void calxeda_init(MachineState *machine, enum cx= machines machine_id) cpuobj =3D object_new(machine->cpu_type); cpu =3D ARM_CPU(cpuobj); =20 + object_property_add_child(OBJECT(machine), "cpu[*]", cpuobj); object_property_set_int(cpuobj, "psci-conduit", QEMU_PSCI_CONDUIT_= SMC, &error_abort); =20 --=20 2.41.0