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.gnu.org (lists.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 7DFDAC9EC93 for ; Mon, 12 Jan 2026 13:59:41 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vfIRb-0001YC-7q; Mon, 12 Jan 2026 08:58:55 -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 1vfIRX-0001XC-TL for qemu-arm@nongnu.org; Mon, 12 Jan 2026 08:58:52 -0500 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vfIRV-0000mN-Vj for qemu-arm@nongnu.org; Mon, 12 Jan 2026 08:58:51 -0500 Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-43277900fb4so2242130f8f.1 for ; Mon, 12 Jan 2026 05:58:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1768226328; x=1768831128; darn=nongnu.org; h=content-transfer-encoding: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; bh=4byqosr0ep2RNQWBYROObG68Z+mNHbe5DInAQJ2EdLw=; b=pmGlJjMfTuyzXQbrI+eMsanzBBmtn0gj4p8lHrg4+DybxzdMy6nNMgSdJhCOM0DQWT bT9g6dCW+uxtOUcg9Htjxzoaz/C31KU8jBcGjlOT0X3u/gZwCfzK8t1mC9E6clKIDwvv HptgrXuxIrYjdgFexaucPO7fcP127MJ7+vD1X1bQL12Nj53icm30LejrLIe1MyCFF4og z6W14aORI+8O7s9weU5Xhba5TyAngKJmQpE9+nJxaxoO3NSetWCctynO7ZhxT0adiZMl z+KhTe8ZaWrZiSXNY3udQM9/KtbJC5bHdth7GX+5p8PRIax0nE8pT9zkUk+XMq6zWeXt eO2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768226328; x=1768831128; h=content-transfer-encoding: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; bh=4byqosr0ep2RNQWBYROObG68Z+mNHbe5DInAQJ2EdLw=; b=LP34C7Xq/wndeDYx/zlEpkm5sJYyD5Atifl37xr4iqhh9Piv1bvVKQknQlGOWTEOPm 8Cej0w7NawId0/vl0qu3pqC/ALiPGUqRcyK47iJmgILmMfHwzChZQOI1vHpBQHAPCu8r Vcf8LgT9Kg0RtOBp+UiDiEKVBLg9XC5mowSVWVz1o6xFkaIiy+tV3tCK+GVrvdUQ/Swn EzWHqPuvMXDCrZYMe1lNNzQrBMXij4tM0R9X1kRSHnvPO+wxGG0vvAqZ8Lfu2aPJ9yHd YAFOyopg6PcfTo6e+w+kC8yPi/pzHM+36nWMp8ahtus+YUwf57TTJ2q9PkYgVgiv4YKN vKSw== X-Forwarded-Encrypted: i=1; AJvYcCXNfrsQOxRl4UO9e4vb3TVwqpjOtJl1pHnq8XfSmO5YFbVrVND1z5W+LICO5YoAszoexMcT7CNXEw==@nongnu.org X-Gm-Message-State: AOJu0Yz0P21V9/W2dkUZ6sZLvrZI4JgChJHFIn4wp+YzyaVEvr4JW5qh SKO+uBo9SIasrZYRZ2DSoMY0lyE6Pp5pR92Blk7NEG4Tf/Ot/iW4mrVWLbboZ2tfi6g= X-Gm-Gg: AY/fxX5+iQdS3dAjzTBsVkhZ95Uq6GjNNlAiWdYLXZGkQ9l9REqyZ6dUPJ9Xjh9vdkS jnqZCUn2fLMN5byXL0v3lQmAKwwOnkgzRl85hjltRZIG90QcZpz472Ms4E1/Hkfpjuw2ijmuMjk IkPPKkTQcRcXStCBP7s16ShvpkRn4yVXIQQiCA+BpZf1UyGDix9vqdeRDOAWmdKNcSx9ZWGRgLU +NLJc91gMrsZquHGgNWeVnpIsww5ZA4iK5yIV1HoAsVbJ7kQA79/RMVmXllI6CaeK/PwKVnBP+k qh0jCCvUYUCBlQluyZffWx1zyCDceUIT06O3OakIU86NBdntz8aJ7N3oICvRCgZVqyFA3xfzcRJ iUao4X14ch6YwSY9bXuo0uGqcmZXgg1NOanwVwMdhLO1mxBPwIlldHk2ElfFu+FAS6WSY77pHNS enIG+2EUwkFOyy+eCXkrmAikkwjRM0ItMWQX4vP+P4rQ5bK2OZgXmIeg== X-Google-Smtp-Source: AGHT+IGa1PRV11Z4esWNdfi9evwfnp7Z/WfOkFwcS9947/hnHK9tkROuiwhu29es2MtHI+wl/MfOkA== X-Received: by 2002:a05:6000:208a:b0:431:8bf:f08c with SMTP id ffacd0b85a97d-432c376238amr19764899f8f.21.1768226328133; Mon, 12 Jan 2026 05:58:48 -0800 (PST) Received: from [192.168.69.213] (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-432bd5ff319sm39463622f8f.43.2026.01.12.05.58.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 12 Jan 2026 05:58:47 -0800 (PST) Message-ID: <37fb8001-8451-4b80-937b-0b767ae7bdf7@linaro.org> Date: Mon, 12 Jan 2026 14:58:46 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH 01/12] target/sh4: drop cpu_reset from realizefn Content-Language: en-US To: =?UTF-8?Q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Cc: Aurelien Jarno , Jiaxun Yang , Bastian Koppelmann , Marcel Apfelbaum , Zhao Liu , Peter Maydell , Laurent Vivier , qemu-arm@nongnu.org, Yoshinori Sato , Yanan Wang , Aleksandar Rikalo , Thomas Huth , Eduardo Habkost References: <20260108143423.1378674-1-alex.bennee@linaro.org> <20260108143423.1378674-2-alex.bennee@linaro.org> From: =?UTF-8?Q?Philippe_Mathieu-Daud=C3=A9?= In-Reply-To: <20260108143423.1378674-2-alex.bennee@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=philmd@linaro.org; helo=mail-wr1-x42f.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 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 8/1/26 15:34, Alex Bennée wrote: Missing the Why? Queued taking from cover letter: "Shuffle things around to ensure that gdb register creation was done after dependant peripherals had created their cpu interfaces." > Signed-off-by: Alex Bennée > --- > target/sh4/cpu.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/target/sh4/cpu.c b/target/sh4/cpu.c > index 21ccb86df48..1dd21ad9ed6 100644 > --- a/target/sh4/cpu.c > +++ b/target/sh4/cpu.c > @@ -255,7 +255,6 @@ static void superh_cpu_realizefn(DeviceState *dev, Error **errp) > return; > } > > - cpu_reset(cs); > qemu_init_vcpu(cs); > > scc->parent_realize(dev, errp);