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 3CC49CCD1BC for ; Thu, 23 Oct 2025 14:16:26 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vBw4j-0005lk-AN; Thu, 23 Oct 2025 10:13:57 -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 1vBw4i-0005kC-6h for qemu-devel@nongnu.org; Thu, 23 Oct 2025 10:13:56 -0400 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vBw4f-0007N3-Mm for qemu-devel@nongnu.org; Thu, 23 Oct 2025 10:13:55 -0400 Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-42420c7de22so437066f8f.1 for ; Thu, 23 Oct 2025 07:13:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1761228831; x=1761833631; 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=zY05lUWL5hjS7DHXCd+KmMwND4lCTa4Rhsa0suClLwM=; b=rp0XvCetBO0tu0kraSVYqj+hjeIjs4TP1eqhEOH9Jw2OXuQXAGw46CX3U7xm2sNYua KEknV3Fm5uZobVibxQ+4un9OVXC56KYMh7papS/FrSufnSWHYx3Uj5I1kGem3lqe8T9/ hE0wfaUjpXDRMb5fFtUkn70dfYb7FikkwJ+sSf1qIQtlpiKiXnQrhCtLKIt2sFp7K4nz bv9KBYfIkQfpZOxG5GNOu8xk9ZRCddSvQmOl0BCzxYKg8ZklREkWRaPjJT6aP3qChB22 7RCtSjlnkfcFln8tqI1g/4roxXWgSQUIlSxNd1j7USNkDvdWAsM8VPu8dg/aeZa5pozR hqOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761228831; x=1761833631; 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=zY05lUWL5hjS7DHXCd+KmMwND4lCTa4Rhsa0suClLwM=; b=K68CxL5fjkKPhlEkOeshDbiI+K4ZramhmIdKI9kblMDiO2GBRYgHrvyuebQn+Y0A6a eh9zz2x0MgLq29nvz5i6IbBMMhCd40SlGcrJMXtThG3e5NQrPNROkKl51Vv6FNd2cZmZ dmFdG0JvEtZu5GKQBIOspH/LOmxqAhy7YQFK4C42b1agYmn90lZJpgUXtRYeJGjkyOpl pxfWRLlmH88uZle+Wg50cn6jJ0pXTLC2TiynWD37x1oKnjgZwUs3M0T1PgcVOu7tWKlf kZKvvrwUOs4/Oc5xaBeUOD5O5fLmvt8Z7y7HQZonCu4OLLPhaAeebPEfgthoqb2+TjEK EeDg== X-Gm-Message-State: AOJu0Yz4YpQufefCXwvtOMGvwSG0RLNKGNZaM94GPYldpRuWbyfVCBHh loByBGtrN0luTo1kcPbFYx9PFTBm6CO+T5eB/Y1KZ/GpUvBhkB4qhcSfGpfoTFrXMXku9jz95hl UCWeW4Ik= X-Gm-Gg: ASbGnctDPxUmgrqYn/JJ0WALFHXgKGW3DxBvKPRQU8LR9z8k7MCF+y0psXZpVDtFvJJ +i5+A8MN8v9e8NbsKTqeNrmPKPOQ/zsUcLbqh9J9+4U4xydFFO3vzpuw9esH8w1L8YcA/z4itss pNvmjFXF3pIUIbRDlTHNgebvI8USMAb79SkO9haOvn6AGM7vNsK/doMttbkZZgRKt9FPCetisIe /L0gzzqk7aMZx9BDH9tumstM5KkYp+6wNwnHvzBlfbujwLdk83bzSGwRDrgfcgUo8U+0i8H66QT 9p2C+RC5GAJiLOJwblyeE6hND+Y1LZidSIOBikuaRB6Hm1Cf/wojCHG5WpiZqoXX+2KZEOnMevk jTkzD6vSeQFCAGfz7IxmZMPegWE8GQoDgqkA1qu8aIlU+K97wAR1ECOWBInr6HQxu40D03SsZTa w0qvRWEqObv5aV6BMTmiMv72I9aPcQ8AYnwMmDCEvufjbheWo/hA== X-Google-Smtp-Source: AGHT+IHKALC50pEh/jaA/fWPXts/42PDw4MAyTPilvL5xMm7aMDasliC8OltecvOzQmm8C4mc4pS/A== X-Received: by 2002:a05:6000:184e:b0:427:e1bf:13db with SMTP id ffacd0b85a97d-427e1bf1a8emr11593709f8f.54.1761228831549; Thu, 23 Oct 2025 07:13:51 -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-429897f57cesm4405567f8f.17.2025.10.23.07.13.50 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 23 Oct 2025 07:13:50 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Mohamed Mediouni , Peter Maydell , Richard Henderson , Alexander Graf , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Cameron Esfahani , Stefan Hajnoczi , Peter Collingbourne , qemu-arm@nongnu.org, Paolo Bonzini , Phil Dennis-Jordan , Mads Ynddal , Roman Bolshakov Subject: [PATCH v2 12/58] target/arm/hvf: Mention hvf_inject_interrupts() must run on vCPU thread Date: Thu, 23 Oct 2025 16:13:31 +0200 Message-ID: <20251023141339.10143-3-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::42a; envelope-from=philmd@linaro.org; helo=mail-wr1-x42a.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-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 Since hvf_inject_interrupts() calls hv_vcpu_set_pending_interrupt(), 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 ee04943b0f8..0d8ff49ae15 100644 --- a/target/arm/hvf/hvf.c +++ b/target/arm/hvf/hvf.c @@ -1664,6 +1664,7 @@ static int hvf_sysreg_write(CPUState *cpu, uint32_t reg, uint64_t val) return 1; } +/* Must be called by the owning thread */ static int hvf_inject_interrupts(CPUState *cpu) { if (cpu_test_interrupt(cpu, CPU_INTERRUPT_FIQ)) { -- 2.51.0