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 08657C4828F for ; Sat, 3 Feb 2024 06:33:48 +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=2Pwu9lCyyW1ckTLd/qL9YyY3OP5KKMeTGUzKkb0MY/k=; b=viX/F4TMaaR/pI da4aFBeYDj1krz6beMDCU8w8xaqR9CPHYNfHdWn+PzDDW/fdQODCyxEyiSndlhwk+ccP+xlNha+yi +ji4oQlJZm5HPqvBE0M3kJ1LdmbvTC9AfHr3P9KcwIiZG8gGZiaQ+4zkS0Fd8Cp+QA+XHIp+VZj/r soCrujskQsWCJGaTWK862PetycfSumOsL9mKFIkQOQCNlH+2rlnFaqDr/VocBZRIiWOi/ArVi4+bl 0DTm/tkE9ZShlXEoi50624CRPQ6O5djLEpkQ4ZDQ/u39QXIvlu4rjGflPmcFF/2YV3StsKTfutaRC FlxbI8Uv5Zp7tgQrZfZQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rW9ar-0000000FdWR-0Zy5; Sat, 03 Feb 2024 06:33:37 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rW7Mh-0000000F1TS-0oxX for linux-arm-kernel@bombadil.infradead.org; Sat, 03 Feb 2024 04:10:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=TmvfkmaRW9CzQVIaRhb+telprq/zGgMeQBzPIYcgr+E=; b=TpGsi+nPqQCqI/Roa3m3BfaZqp hq93I5MM7+qq4d39X7Gvhd5a8uuQAYlNpS/sgDge3eWnKooEOha77odRrrYvUzBZ6wzfh/jb8Vl3p e/spFgh9QmqYIYFYpK/19O0dIbl88GhX3YBupYIzVamOm4ZF+lF1SYeloQuLoHdNleXJxIAmMPX1d KONYqqjlkSAWUqO++w9URRD3TC4+FU3usKpb/mjQQONRKJkRywaQQGkdjD30tdh1x4N9Q+toygUQm 0kg6j48TxOYtc9Btu+eaiEuv5m5CakXG0PeYOhFc3kVq73aX+DiPFvu3r+hhoTdzwS+Is/rdBGxuL pfkq09PA==; Received: from dfw.source.kernel.org ([139.178.84.217]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rW7MO-0000000AYIN-0q8N for linux-arm-kernel@lists.infradead.org; Sat, 03 Feb 2024 04:10:48 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 715C260ABF; Sat, 3 Feb 2024 04:10:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2FCCBC433C7; Sat, 3 Feb 2024 04:10:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1706933430; bh=HzecKn/aA0T9hq4qx12qEF5fAc0vcvF+v3CrLpU3UT4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PTbuidhm3WJuHb1E0SjUE+cABqCJbHfNAmw6jjDFqzfLUR8M3j0Xoou387V3LHfkW JKtcdLkwedhfDFNlM70as0IMy7cSvLzTh9a0Mzv/AlHYX8PVXtcwlxNVP7XGt4DzfI Bm/hAenaw/+vRXYNdQv/Mi6cQnJVxDWudv3rVdcI= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Ian Rogers , James Clark , Leo Yan , John Garry , Mike Leach , Will Deacon , linux-arm-kernel@lists.infradead.org, Arnaldo Carvalho de Melo , Sasha Levin Subject: [PATCH 6.1 158/219] perf cs-etm: Bump minimum OpenCSD version to ensure a bugfix is present Date: Fri, 2 Feb 2024 20:05:31 -0800 Message-ID: <20240203035338.872706817@linuxfoundation.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240203035317.354186483@linuxfoundation.org> References: <20240203035317.354186483@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240203_041034_049875_00FBF767 X-CRM114-Status: GOOD ( 13.81 ) 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 6.1-stable review patch. If anyone has any objections, please let me know. ------------------ 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