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 300A0CCD1BE for ; Thu, 23 Oct 2025 11:51:32 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vBtnL-0007aT-WD; Thu, 23 Oct 2025 07:47:52 -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 1vBtn0-0006Yh-Ou for qemu-arm@nongnu.org; Thu, 23 Oct 2025 07:47:34 -0400 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vBtmx-00023y-KF for qemu-arm@nongnu.org; Thu, 23 Oct 2025 07:47:30 -0400 Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-4270a3464caso330090f8f.1 for ; Thu, 23 Oct 2025 04:47:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1761220045; x=1761824845; 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=h63K7KJw7fL2qe3qT9jwFp5KsLmsyTaO/eJCwYKGslM=; b=wHcW0hHyPxQOfE1uS8EoAiOzB70GBDFhtjp55TCqSYmyW+bOO1216e3jY48cR3hk9S pOmKvObeCdAwGA2WlrPIbooFa4hGaOAZkFbkAvWIlYjMXj39iOIF/yLRm7F3HA1oHJ5y CJT4B7rQgo3W557dohw20PY7fKEB8E8zSzlRdXw2PfHEzDJQ2iqDKfGDAFPoN+eGSZsJ Va6b4vDqEHvVD8GzUSRBLxmYAncTbBuZJ18y35g1HkhRDED/hbUVWv82kRofNsG+CP2u QfkBlHkabKLCO3tJ/1WrJ5/fbgAC+vyvH3BeWDynzH/H9+5V8AKmbUl1NvJ5tSeXAiIL A23Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761220045; x=1761824845; 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=h63K7KJw7fL2qe3qT9jwFp5KsLmsyTaO/eJCwYKGslM=; b=IhJtnPgfBmX+cE4Q3UruXA0iwJ2iQ6KSqj1eu1OtlGi+MXf3OY9YtXqhQDG3SG7pRI W5+s4icRxGqazCRqhFIzijgz+ff1HHrDB9Y4cBh8VywH00BR5YcB1mbK9LrhGZDHCjYO Kcy15svONS776VF+jhUp8B7Waid1CYBY3uCvZnc6JKfDnExX4j3BWqFoQ5OtNUmKOZna WpwvlkdeV2+cZlFHmaNf8uN+1zVERV3f+SY+JJD0ZVscUCU81KMBDf9fl6CwQ8cfjyPY jGS6/OBxb7FgvvNV8G9/PxwBea7b1kS4gaQ3+LksG/Pt/0CKam6B7T3JjWm5wwsNcQfB Y9Gg== X-Forwarded-Encrypted: i=1; AJvYcCUOj4r5wE71+uuF22UZ/e0pcUkZnuyvJyF9w07YbReSc/2/1FwymvrcO3l7DzEO3YZ6FE55VF5xsg==@nongnu.org X-Gm-Message-State: AOJu0YzjKk7HLmdH18Nf+ebSQzzw+UX28kzOp9poHJswp6haVI+CyVrn ycmn//X+ynY2JKHBvMtr5b8oi3kty0fXNfp2wqpb5wGkMF9Fzb67Vi/LbNndJppKYE4= X-Gm-Gg: ASbGncs5vQM7QWkGKH/o95LtoLwLWMQd0S7c5+cM9p0LQD5Y16azfKwJoiqy607w7Hk twgD/wAeDJdmSKuCr9Ir4CxHdx7DYW3CBXUOfR2G598jF+c33xy81q5FLMwK0xA/fLBdh/xysJh ppFavdh32syWw038ERc6Kxuzq7prjP6cPB0BGW/Wn30F2VkVPxyS4CmzyBxW4Sed7fVFqDPI927 x+JGLpMO1HFEYyqex5PFz9V6qC+U9bMl0W1VkVQgIAq+3iw9dEV/wwEZF5AzC3Sb2z+JGCtps9q HelTgEU4FUyiDCWZmqv340fTgtykp4pb6KQDuhcOXcbIhMeMqJkhV/7x/aPquDRLSQEdZCNx6ib t0xx8VvysSvKalzVCo11xOOz/2R7SuIlW066Ql2dueHS71idYanNzLiZH+URsjpjVsljhel+aye A8qiDfDg3Y2cOyNntYfXHw+IJKPN3VVdpXf42vCyk6NZuZwMIekmUT5ELXYkSr X-Google-Smtp-Source: AGHT+IH0JlxvZ9Ihmy0v6t2EA57oaNt6DUR1PpvSghdctPnkjO4L4AcRnlPzRxr4t9cbHTlxQ0VS2A== X-Received: by 2002:a05:6000:2409:b0:428:5673:11c5 with SMTP id ffacd0b85a97d-4298a0e94b0mr1607432f8f.61.1761220045357; Thu, 23 Oct 2025 04:47:25 -0700 (PDT) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-429898eb549sm3504059f8f.41.2025.10.23.04.47.24 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 23 Oct 2025 04:47:24 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Cameron Esfahani , Peter Maydell , Stefan Hajnoczi , Richard Henderson , Roman Bolshakov , Mohamed Mediouni , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Alexander Graf , Paolo Bonzini , Mads Ynddal , qemu-arm@nongnu.org, Peter Collingbourne , Phil Dennis-Jordan Subject: [PATCH v2 09/58] target/arm/hvf: Mention hvf_sync_vtimer() must run on vCPU thread Date: Thu, 23 Oct 2025 13:45:46 +0200 Message-ID: <20251023114638.5667-10-philmd@linaro.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251023114638.5667-1-philmd@linaro.org> References: <20251023114638.5667-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::433; envelope-from=philmd@linaro.org; helo=mail-wr1-x433.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 Since hvf_sync_vtimer() calls hv_vcpu_get_sys_reg(), which must run on a vCPU, it also must. Mention it. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Mads Ynddal --- target/arm/hvf/hvf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/target/arm/hvf/hvf.c b/target/arm/hvf/hvf.c index 8095cb0805a..bfccf5e9a2a 100644 --- a/target/arm/hvf/hvf.c +++ b/target/arm/hvf/hvf.c @@ -1764,6 +1764,7 @@ static void hvf_wfi(CPUState *cpu) hvf_wait_for_ipi(cpu, &ts); } +/* Must be called by the owning thread */ static void hvf_sync_vtimer(CPUState *cpu) { ARMCPU *arm_cpu = ARM_CPU(cpu); -- 2.51.0