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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 28DDCC47DA9 for ; Sun, 28 Jan 2024 16:14:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=cPm/kxOoRKjYvFxP72RlF3NtrI31t9zE60Dsj1PnaxA=; b=l3Hyk571YlEy7/ ut2JWdzao7e3FGS1WdEVv5bPGML2I+f/Oj336TXLPpv4kKcBx06UpDqU8Uq6qsWbfv/maRCr1Zgzd FTjwELqCLyZwlyvPD+ji1r79JwzEXf+7fgzmwUUrT3k7lmmMmP7JHnq9FKDQc526iPw68CsixfnZ7 AePlOxqGl6nhmgiynyBTEKlKO3N8BD207Lv85XWVFLqixoE7dbsZTQtS1+OZtMHJgtpdBJENG8HFv EMP8GAPIj0/hrKzpdJcGF6N6D5tFdvZdRErq+K8UzTpdd/bmoydP/Q2ebaoNHM9H+F/IBVGAJ83d0 uC0JY4yhKFSoUfiXPehg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rU7nr-00000009qbe-0PWP; Sun, 28 Jan 2024 16:14:39 +0000 Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rU7nl-00000009qXT-3CE4 for linux-arm-kernel@lists.infradead.org; Sun, 28 Jan 2024 16:14:35 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 4BC86CE0C6F; Sun, 28 Jan 2024 16:14:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 60DA7C433C7; Sun, 28 Jan 2024 16:14:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706458470; bh=Fqc/uo6ExpDJaHd6Xd6fzWxlrwxDk6ABwIiIkzcrpsM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pi6wEuskSvG4s50/iqWO13j8sFKz/7IZkQEsODE3RVVGVxNQTRLX4bLx2uTRa1cQP QSuip+4gF1Rn5Z3Pw2vxDA9UhSnkXidgTZQN7+oaqJ8mJHjYn7OD07tetEK1SkXbyf Ep+snUrRpokBBj0hQa4Z9JrrO56ysmJ8uhUFS9lzK43DAA3vWF7bcBUrjdsDqJgFWE +3hF3dTLCIRHqa56kGZbujiOOjRFVSdUmNDMPq/bVs1ta4rPDafsPrfeGQt7J7xCG4 cQeeF3tjJ8cr0FZmCtiUpV6e0uYBhNgBlOEOBJhvT2+pqJZLyysLHZ90cSfSu/XBLV 8Q9t4/0l1flnA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: James Clark , Ian Rogers , Leo Yan , John Garry , Mike Leach , Will Deacon , linux-arm-kernel@lists.infradead.org, Arnaldo Carvalho de Melo , Sasha Levin Subject: [PATCH AUTOSEL 6.1 03/27] perf cs-etm: Bump minimum OpenCSD version to ensure a bugfix is present Date: Sun, 28 Jan 2024 11:13:48 -0500 Message-ID: <20240128161424.203600-3-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240128161424.203600-1-sashal@kernel.org> References: <20240128161424.203600-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.1.75 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240128_081434_014152_1F01F70C X-CRM114-Status: GOOD ( 12.62 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: James Clark [ Upstream commit 2dbba30fd69b604802a9535b74bddb5bcca23793 ] Since commit d927ef5004ef ("perf cs-etm: Add exception level consistency check"), the exception that was added to Perf will be triggered unless the following bugfix from OpenCSD is present: - _Version 1.2.1_: - __Bugfix__: ETM4x / ETE - output of context elements to client can in some circumstances be delayed until after subsequent atoms have been processed leading to incorrect memory decode access via the client callbacks. Fixed to flush context elements immediately they are committed. Rather than remove the assert and silently fail, just increase the minimum version requirement to avoid hard to debug issues and regressions. Reviewed-by: Ian Rogers Signed-off-by: James Clark Tested-by: Leo Yan Cc: John Garry Cc: Mike Leach Cc: Will Deacon Cc: linux-arm-kernel@lists.infradead.org Link: https://lore.kernel.org/r/20230901133716.677499-1-james.clark@arm.com Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Sasha Levin --- tools/build/feature/test-libopencsd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/build/feature/test-libopencsd.c b/tools/build/feature/test-libopencsd.c index eb6303ff446e..4cfcef9da3e4 100644 --- a/tools/build/feature/test-libopencsd.c +++ b/tools/build/feature/test-libopencsd.c @@ -4,9 +4,9 @@ /* * Check OpenCSD library version is sufficient to provide required features */ -#define OCSD_MIN_VER ((1 << 16) | (1 << 8) | (1)) +#define OCSD_MIN_VER ((1 << 16) | (2 << 8) | (1)) #if !defined(OCSD_VER_NUM) || (OCSD_VER_NUM < OCSD_MIN_VER) -#error "OpenCSD >= 1.1.1 is required" +#error "OpenCSD >= 1.2.1 is required" #endif int main(void) -- 2.43.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel