From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796044377; b=QYZuLzHMQ9qWRtmwZm2D66IP0r+Jvmv0vGteIc0D/LaJNw2/7hUU+4J+q80l6f0mZBrl Tn4pxK/kQZQH1cBNv4jMsovTiEcF2fujnlKbi2PHP+s9VoTOtXE8u9Bk2oENeY2ioxQKB DgW9B/ltM8VcHwJW9RwZf8Gg/aNbIjQyJcmpJEjQq4Pvn3b/ClitEc5BDAN6ZbdltPTdW TXCrCxMLPQ7m2ypzqSVuv3PhomxTcgzkSOrGDfbSnspTSNGVyPxUgE2vmnfOHI9kwXcnu b/BeSBSoi+zUCXFBmwJJlSzItGpZkGRiOWOTzKFCpWva2PHrYc/mkjy8zQojxmK7xRw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796044377; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=8vRrCzszxZY/iHjIe4nhUscDrSOCzfPWqI/kR3Cy8Jk=; b=TJc+NX+JSGqS8CY+K5H+kxXkuJoOiDmu7+5ApvgSX+QRsa7pMTo5cVfE4yiFL8CPejwq 5ECN0vlzrDb+u3FY+JIfg7GehNB9UUQZGXSiQq/WOVGhwRN042Y3gDnTfo2T4y2NP1Kci jr9wUsaXqPEyaTu1dq730jljlWAvzME7Zc56bFBNHTe5L2zbRV1BoIJ9un7ZRyNw5i1Yy IKdKEQl/MjN9zz2ySmWxqYQPeG9Q3MQnjTudlS9qFjaZBRUyBpCvmZ7/kVsQJF1VkW9xY E13y5VkeQPSH/RH/hVU+OvUYlM4GC/yzdfwuPqgq2a2k75n0jgQPKlsZmU7uBIsOhPw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=XV6FHE7X; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4FAF0606A31C for ; Mon, 30 Nov 2026 13:12:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=XV6FHE7X Received: by smtp.kernel.org (Postfix) with ESMTPSA id CD1CD1F0089A; Mon, 30 Nov 2026 13:12:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796044376; bh=8vRrCzszxZY/iHjIe4nhUscDrSOCzfPWqI/kR3Cy8Jk=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=XV6FHE7XG8fVwsKieZ79GAwqdkURwpgkHKe3AniIWYzSgDg8tkm3U61jDEiPT1oyN gA2t3JRly7io/vtZ1Hm1/N5Kk/eZyfg7PpR8XLBrnCa5kjcDOTuUGFfPn7Q3Tuv4MG iBhHn/USCHxOj8r1B7J+Lod/Kiaqcr2EenFim3Ye4m8qJfVni8JLwHUlTWg1QicOY2 OUCuv9qYyFHrhYIwIo/ozl0h3qr7aaqitnLiZyJErBJ8xfM/Qbwu0J+mFKMuYkfI6D aJC3yY50wolu8odrPp0VH+iTFenxrh3S5GMM7xqMUD1ZDtH1eSnLhUKSW08JD9/mvd mBPDdcpZZ2m5A== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v5 01/19] perf cs-etm: Fix nVHE per-thread decoding Reply-To: sashiko-reviews@lists.linux.dev To: "James Clark" Cc: linux-perf-users@vger.kernel.org In-Reply-To: <20261130-james-cs-unformatted-per-thread-fix-v5-1-f1bcc4d18c9b@linaro.org> References: <20261130-james-cs-unformatted-per-thread-fix-v5-0-f1bcc4d18c9b@linaro.org> <20261130-james-cs-unformatted-per-thread-fix-v5-1-f1bcc4d18c9b@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Mon, 30 Nov 2026 13:12:56 +0000 X-Mailing-List: linux-perf-users@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] perf cs-etm: missing Fixes trailer for nVHE per-thread decoding fix -- commit 7661f95bfcb8545013cb82a7080f3362bfd5869b Author: James Clark > perf cs-etm: Fix nVHE per-thread decoding > > pid_fmt is unset in per-thread mode because we don't need PIDs, so we > can't use it as a hint to determine which EL the host is running at. > That results in falling though to the next part where EL1 is treated as > guest, which is wrong for nVHE. > > Fix it by only returning a guest machine when run from perf kvm where a > guest image would be provided, which matches existing behavior in other > parts of Perf. The exception is when pid_fmt shows that the host is > running at EL2 (VHE). Then EL1 is always a guest, so keep using the guest > machine rather than decoding guest trace with the host kernel maps. > > Reviewed-by: Leo Yan > Tested-by: Leo Yan > Signed-off-by: James Clark [Severity: Low] This fixes a regression in cs_etm__get_machine() where EL1 trace was assumed to belong to a guest whenever pid_fmt was not CS_ETM_PIDFMT_CTXTID. Should this include: Fixes: 8d3031d39fe8 ("perf cs-etm: Track exception level") --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261130-james-cs-u= nformatted-per-thread-fix-v5-0-f1bcc4d18c9b@linaro.org?part=3D1