From patchwork Mon Jan 29 15:18:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 767385 Delivered-To: patch@linaro.org Received: by 2002:adf:ee41:0:b0:33a:e5bd:fedd with SMTP id w1csp937853wro; Mon, 29 Jan 2024 07:19:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IGNX5xuqSh2iodEPrTXjaWNSF8a0mgOmnCcV9lsJ8jlPu1k/O0JxIxrQIMhNo/pwRNUEtVY X-Received: by 2002:ac8:5e4a:0:b0:42a:9b10:2813 with SMTP id i10-20020ac85e4a000000b0042a9b102813mr3877897qtx.16.1706541572099; Mon, 29 Jan 2024 07:19:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1706541572; cv=none; d=google.com; s=arc-20160816; b=OFJAJPG4Di2qtdk+D2RH2nE0t9mivTAT0XPAOWWiPe7jhJBtN/1QNfrF6xDW3Q2sYF z+ftdra8QdUPJ2zdWFsDAP9nMU7FfHYOJQU+ZtY0cyqt46vjdBcMDZ51zuLUTXJ/ua66 KNKPZag314MNs1aIKGvzkoFkpjT9X4mMdv6WMialb43fU6R7JM+70nOmJSNHRtlaDfwN MhvWIOvLRssIcuy1CphAZTHUrZ7BiuVFKncOmSOZ8wwR0RTxvttgSZ5YGvpk+3nbT0eN xybl2bnsMZHTJIDurozOX0xaaojiT51cWWBV+9wEMKvGlvgAPfRkoRp5pPmKjLR+xmmd QunA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=xiohzvoKQkqdcbtLDUjaO0ftHSX88xmuo15mOgH42V4=; fh=36wJ/nYrPLZmRQQgalgeL37C59AM5Zbikh1oCIbsvWY=; b=FL4x8PVuWDqAVGkv06V8uLfczbYJuxLkDBCrai+D/7sa244tvAXd7TMdYs8CY9GYs6 THN98j5rYE6qqCvIsIwlfoQTZ8Sv5x8z86+f04f+sRGUWywDvvF/nivlT+M09MbKqCUA /hHe0vZlxguCMwZA18eUALuN6eLDbq4pfDqG6C0id5QMfScEq9c4BMJ2kLklmB2/195I 3dIe5bS7IxakUXKyo7Giz5DvgxT2EBeNld8bToqeBI94VfazkBNufexC6RjJFCgwky4J 0nCrPzTlmR3Ok87YQ9hXc85FuRD0we8CYMjtCD7/9YZNf/WY5yJJWQBa8RWy0scnn46j qdmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GV1Thag2; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id l13-20020a05622a050d00b0042a98c2228fsi4300790qtx.302.2024.01.29.07.19.31 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 29 Jan 2024 07:19:32 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GV1Thag2; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rUTPK-0007HR-CR; Mon, 29 Jan 2024 10:18:46 -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 1rUTPG-00074d-6j for qemu-devel@nongnu.org; Mon, 29 Jan 2024 10:18:42 -0500 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rUTPD-0007QQ-JF for qemu-devel@nongnu.org; Mon, 29 Jan 2024 10:18:41 -0500 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-40efcb37373so855215e9.2 for ; Mon, 29 Jan 2024 07:18:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706541518; x=1707146318; 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=xiohzvoKQkqdcbtLDUjaO0ftHSX88xmuo15mOgH42V4=; b=GV1Thag2jowJxNoR0Ucdjqkn6n5HzSZ461t5w2PRS1UF83J170gzO87dzjKLdlGmYj BetKva+mwTJVvzWUV+JKcz2CalxWfjoHbUAvxRnpgOLaVKNEne/q88DLefUDmc5UYZFz XS+Lwkogir2QeTgJecYb93tfOdy41P71Qf1UfE8nAmGmAA5lem+ihJKxZALqax6Q6Tyg AijzGNJTZV8Mfr96TsodzkodScsgq+l0+x+kIBjL85juXHRi74qmSluCopUXL/6m3saM TOQM36VVh+8DnH15xMbHRw9nrGlr2yP3HzV0QHlMcBaDFoE+kzaqSFs07cCHVwLyD180 h3hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706541518; x=1707146318; 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=xiohzvoKQkqdcbtLDUjaO0ftHSX88xmuo15mOgH42V4=; b=Rlwonbu+tRW7BpVeqsMGFDOvhHW99LtXNaITmqSkPDVZIDl2MgAAUuLuf0/8pdaIG0 cNMnQhwzQqIoVxf1lo10HnkltJaH+sc+fHIjHEnuIccOqPl7GnpfsRKPUbY9znv4uSoq eEcPpBeyNMuoTWPq7l+IQDHWNAAt+fTwRwHRhUwSsJfubpDFUWrz3HuKS1rh7YWAu9Ql QTgzTQix17jylUQAafb3Ron1UGeERLnd5kcJMfTaXsiD4Pp7HvXXC47sirjkmcFqbFjR NksWr7wZVLEx2lx4B4SOrMEXtXwixpuZnurQPCGZTILgzAltrUP3a1Cn6wJj0rrAZcYq FeLw== X-Gm-Message-State: AOJu0Yz3PpGC8GrYKZm6a81BywrjW5kW18wOyu6uuJXMZomcjhJK6TMX +R62yfU8vlpTWhgXYFaUaXMWsAqo+x7nazjSn2hFDItaKayq7O5CBHNjQB+ZqsBEDyqC0ZDPVzD B X-Received: by 2002:a5d:49d1:0:b0:33a:e756:bd21 with SMTP id t17-20020a5d49d1000000b0033ae756bd21mr3058604wrs.43.1706541517878; Mon, 29 Jan 2024 07:18:37 -0800 (PST) Received: from m1x-phil.lan ([176.187.219.39]) by smtp.gmail.com with ESMTPSA id ba1-20020a0560001c0100b0033ae593e830sm5764355wrb.23.2024.01.29.07.18.36 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 29 Jan 2024 07:18:37 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, Tyrone Ting , Subbaraya Sundeep , Alistair Francis , Igor Mitsyanko , Hao Wu , "Edgar E. Iglesias" , Peter Maydell , Rob Herring , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Richard Henderson , Gavin Shan Subject: [PATCH v3 1/9] hw/arm/exynos: Add missing QOM parent for CPU cores Date: Mon, 29 Jan 2024 16:18:20 +0100 Message-ID: <20240129151828.59544-2-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240129151828.59544-1-philmd@linaro.org> References: <20240129151828.59544-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=philmd@linaro.org; helo=mail-wm1-x336.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=unavailable 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org QDev objects created with qdev_new() need to manually add their parent relationship with object_property_add_child(). Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Reviewed-by: Gavin Shan --- hw/arm/exynos4210.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/arm/exynos4210.c b/hw/arm/exynos4210.c index 6c428d8eeb..57c77b140c 100644 --- a/hw/arm/exynos4210.c +++ b/hw/arm/exynos4210.c @@ -556,6 +556,7 @@ static void exynos4210_realize(DeviceState *socdev, Error **errp) for (n = 0; n < EXYNOS4210_NCPUS; n++) { Object *cpuobj = object_new(ARM_CPU_TYPE_NAME("cortex-a9")); + object_property_add_child(OBJECT(s), "cpu[*]", cpuobj); /* By default A9 CPUs have EL3 enabled. This board does not currently * support EL3 so the CPU EL3 property is disabled before realization. */