From nobody Fri Nov 14 19:49:11 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1761220233; cv=none; d=zohomail.com; s=zohoarc; b=Tf//wLit9Z3+CCqaJoVCHNcXaALoYJitWy8sOqv53hOTfAgIU5XhyFF5zQNl/khJ0+z2ejfkRlNweI+crBpwJUGD0qB4wgleHu379PPc/GYjb2ExaQhH1371nYxndoMdM0O5mIsp4qcTr5DDsiQWMC8SSubzgUt9c2YqkzOPx0A= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1761220233; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=JdN40+kSVkstc2XWFNd1L/Cor0bz7CuTliJrlZNlwww=; b=UfOgUHLkLLm1T+vDZj7jNZFBNHmfBxyIgO4w7Bsi+aUW7RllrnSD8a4RoqzBHiUek6N5yGganlTHb6DHkWHDdmMTzHSvSlf/dM9fmwQUU0+/3b6Y7xljXL2Lo5suaW6tPxZtqAkHcy2ViISTuST463mCwHGJ2XBQd4v9SSn6ck4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1761220233739205.4429323309423; Thu, 23 Oct 2025 04:50:33 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vBtmi-000600-Pi; Thu, 23 Oct 2025 07:47:14 -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 1vBtmU-0005CE-FN for qemu-devel@nongnu.org; Thu, 23 Oct 2025 07:47:00 -0400 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vBtmQ-00020h-M5 for qemu-devel@nongnu.org; Thu, 23 Oct 2025 07:46:57 -0400 Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-3f2cf786abeso554193f8f.3 for ; Thu, 23 Oct 2025 04:46:52 -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-429898adc81sm3469526f8f.26.2025.10.23.04.46.49 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 23 Oct 2025 04:46:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1761220010; x=1761824810; 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=JdN40+kSVkstc2XWFNd1L/Cor0bz7CuTliJrlZNlwww=; b=pOkw2yJmhBIxWs45jwvgm0eV7ZQPS7fCbWtBfLI1ymAzGf9wyaQE+3KDiyjYyPTSv9 chfoojAwLtQr3vNcDod9GaG2Vu4LkkLnDp0OGuc0CHaujBCefK7wCOgh9WKkApsjXayZ w850qNeZM8rOoEXdy/dnnz6RSPl5KsX1Uj5qDxXZDM3V11NgxWXSFsECmpnTsxlkEdsd 7pO/Qh97pICilGB3ELq0fYhOfKaZf7tIVeHiBg6jK67KnSDsLc1pGUWndVLPIby0BCk9 wEBQq1oBf1jfWFiT7xO2JVhnkOvafDIn9ARbP3EyKEU75eKR6EHe6K7kbqfyCsJqyoFX Z8Jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761220010; x=1761824810; 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=JdN40+kSVkstc2XWFNd1L/Cor0bz7CuTliJrlZNlwww=; b=pVtz6FkAJ00HpQ3cty6hmV+edr3PcqP5wDXrSR027CX7hoTHzN5Y0rggp3lHap94w2 0ACWazAK/EpKwxdFY2NH+oZDF4OleMeTPWTN5ESBAim0k6VUTcpaoqWJycyfHNZVOspd HftKhc/aGHgS+JtirxC2QKDYcO39IdvsAfkJFavRqoU8wQFEmKDV79/wr8KTs4YpGB8g Ed21gjzPVBeknMtTGwA6YN7lMy0hMr5UD0B2+sOPaLm9eImAZm5xMcvc82IQfgeMW5Js iqJQ+tI89XGLxZ85UahfBaAyY/uXus0q7SaWdUAG2Aglji+FbegyJ+tINayfv7zRrT1R 6jug== X-Gm-Message-State: AOJu0YxYwms35IHMPRZRgA0uRfRpZ4TlWFV7KMF85zDRjxsqEh2SMYNZ djbH8cksQ3zB5TuU4lMKZi58ta2ETqMML5j18pPpsxJRkX21JC5t0eQqzXApCS+ScZN5oRvV3qq w3ehTZIo= X-Gm-Gg: ASbGncu7ZKGISVfxKkiOpCxWNV40hcPkK6YjxkSJF9jkPWO8YAP3A9xUgT7ug3JtIgT 3Xp8Ai/UY+9+I/ey4WLcHlNA1AthVhybGvVaDNyu7UvqU/l3JP95zKm4aYxHL+LQQ8JmR70EGdP IJsoQi4gGiSnFAr0gvGx5d5LJTwBLjo9zs64svRCfP5bWCMk0FC7tPDZMp4xbJa7xCOx0k/kZyF y77FojWmobn8HOb+a9dBlvk8OI7+hlG9PlwIzxLaLoOGDHBYEU3ewLebSYdWkM6wWHBTqjwd2ws ZYIq+M0amSuE7wmv0x4UJV+P/cCyQZ6bFZTkQDkHFdKSwU2RweUebtVwLkby5HbJVPZ8g33Gm42 MWPaumYNjEuGo23GvVXyesCPFIJB5olLpYLARA966xTGcIny7vmwsVvY1kvgMLpmMBDO9BNEgup EzCdiueafZjOGA4zBBTSGSIZtThIXaBysJYufz8FXtlhqoB0DY2pet9EohwkYC X-Google-Smtp-Source: AGHT+IE5R/mZXUmIx8K/yYV3Zr0Thay0aTt+AVwPdgKSSZC6qzNAlISGjo4Zp8UFzA9Dk2KERu/fEA== X-Received: by 2002:a5d:5f94:0:b0:425:856f:70ff with SMTP id ffacd0b85a97d-42704d99cf6mr19031297f8f.45.1761220010399; Thu, 23 Oct 2025 04:46:50 -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 02/58] target/arm/hvf: Trace vCPU KICK events Date: Thu, 23 Oct 2025 13:45:39 +0200 Message-ID: <20251023114638.5667-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: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=philmd@linaro.org; helo=mail-wr1-x42b.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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1761220235968154100 Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Richard Henderson --- target/arm/hvf/hvf.c | 1 + target/arm/hvf/trace-events | 1 + 2 files changed, 2 insertions(+) diff --git a/target/arm/hvf/hvf.c b/target/arm/hvf/hvf.c index 83db1088384..91bbd3a6aae 100644 --- a/target/arm/hvf/hvf.c +++ b/target/arm/hvf/hvf.c @@ -963,6 +963,7 @@ int hvf_arch_init_vcpu(CPUState *cpu) =20 void hvf_kick_vcpu_thread(CPUState *cpu) { + trace_hvf_kick_vcpu_thread(cpu->cpu_index, cpu->stop); cpus_kick_thread(cpu); hv_vcpus_exit(&cpu->accel->fd, 1); } diff --git a/target/arm/hvf/trace-events b/target/arm/hvf/trace-events index b29a995f3d3..538af6e0707 100644 --- a/target/arm/hvf/trace-events +++ b/target/arm/hvf/trace-events @@ -12,3 +12,4 @@ hvf_psci_call(uint64_t x0, uint64_t x1, uint64_t x2, uint= 64_t x3, uint32_t cpuid hvf_vgic_write(const char *name, uint64_t val) "vgic write to %s [val=3D0x= %016"PRIx64"]" hvf_vgic_read(const char *name, uint64_t val) "vgic read from %s [val=3D0x= %016"PRIx64"]" hvf_illegal_guest_state(void) "HV_ILLEGAL_GUEST_STATE" +hvf_kick_vcpu_thread(unsigned cpuidx, bool stop) "cpu:%u stop:%u" --=20 2.51.0