From mboxrd@z Thu Jan 1 00:00:00 1970 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 AC50BE71D58 for ; Fri, 29 Sep 2023 21:21:52 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qmKvj-0002b5-75; Fri, 29 Sep 2023 17:21:47 -0400 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 1qmKvh-0002au-NC for qemu-devel@nongnu.org; Fri, 29 Sep 2023 17:21:45 -0400 Received: from mail-pg1-x531.google.com ([2607:f8b0:4864:20::531]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qmKvf-0005KR-AB for qemu-devel@nongnu.org; Fri, 29 Sep 2023 17:21:45 -0400 Received: by mail-pg1-x531.google.com with SMTP id 41be03b00d2f7-578a62c088cso848569a12.1 for ; Fri, 29 Sep 2023 14:21:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696022499; x=1696627299; darn=nongnu.org; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Z8WcT4KMSKxn8nW/zCSKFRW8WhXzO+eFt3Y5uzjDZ8E=; b=ieNvnK2EcGt2tcwdRC2F/ttwxhED2D0jELB2BMCSCrPzLjLQrFUDEWXdqvoht65Ivm UO5K4RfaHFGTgbSJMnZ//zRAGRAV+Npd6NZ7WtDgQo7XPp2GCWUVSSeajcJddmVKEaF/ uqSmHtJzkpHI0biUkg7CfEFuLX0mHVC/62bH2wK2IsyNRTPneki95DX0MZh8ih1FxtxJ mmt6D8OJs/pqLSMZg/TTXSKnuODE7vBvdAdoqZlgRcoNFZ7G4ag4ZG0Vv369Yuxw9qBL tzlLgwVFDap3wPJEXDtzYqaNOKUq6+g1rN7fA7LU47yV9ZPxwJFQE1DqaySELpJd7j1E R/kA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696022499; x=1696627299; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Z8WcT4KMSKxn8nW/zCSKFRW8WhXzO+eFt3Y5uzjDZ8E=; b=h+2ZsusaY3DhjnsyvvryTb/vcXT53APDb4pP6afByOFIDYHeYAiTnWJpZ6RqLksis1 8rQ9sQGbtsJGCgU0f/HA4ig3m62OWQiKOgrkxox6k4+tcgRNUTEaG03frANsyPVmZVnF lmziQ4WT1Z/+hyAqzvVn0eenRagxmVxGpdbAyk8nWYLvHaYuuM+eEL94DVqPkgonlWWS Tj7lOqACwe/lsCz2S+jMsXVvKJigmn26RFIHFkwUI4hrXrYFuduAlx89mBCA9INUtahb AXIHmjOyzCvtvx7H2Ygm4e6mjgEYvkrbliSDLQJdRR8bgAuD+tUrXrFBMhhI564qiNUI gBZQ== X-Gm-Message-State: AOJu0YyV4K4mr8lHUPECJAwK18b5OLI0oeg+p6HhrBf0C9pWZzddJzK2 VVrhgwqh6ojpjRWIeZRUYCe3NmOqGi9fcKn0jSI= X-Google-Smtp-Source: AGHT+IFNRkIRi0LhzcZEEhjmTURPJF85CIzLG9E1DOiDEs1Ee09hv1LaLr26kDuvBYxMl6LEtQKBuQ== X-Received: by 2002:a17:90a:d14a:b0:268:2af6:e48c with SMTP id t10-20020a17090ad14a00b002682af6e48cmr8447317pjw.4.1696022499411; Fri, 29 Sep 2023 14:21:39 -0700 (PDT) Received: from [192.168.0.4] ([71.212.149.95]) by smtp.gmail.com with ESMTPSA id a15-20020a17090abe0f00b00256b67208b1sm1892103pjs.56.2023.09.29.14.21.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 29 Sep 2023 14:21:38 -0700 (PDT) Message-ID: Date: Fri, 29 Sep 2023 14:21:36 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH 14/22] target/sparc: Init CPU environment *after* accelerator vCPU is realized Content-Language: en-US To: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , qemu-devel@nongnu.org References: <20230918160257.30127-1-philmd@linaro.org> <20230918160257.30127-15-philmd@linaro.org> From: Richard Henderson In-Reply-To: <20230918160257.30127-15-philmd@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::531; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x531.google.com X-Spam_score_int: -53 X-Spam_score: -5.4 X-Spam_bar: ----- X-Spam_report: (-5.4 / 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, NICE_REPLY_A=-3.295, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org On 9/18/23 09:02, Philippe Mathieu-Daudé wrote: > These fields from the environment don't affect how accelerators > create their vCPU thread. We can safely reorder them*after* the > cpu_exec_realizefn() call. Doing so allows further generic API > simplification (in the next commit). > > Signed-off-by: Philippe Mathieu-Daudé > --- > target/sparc/cpu.c | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) Reviewed-by: Richard Henderson r~