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 CB07BC48291 for ; Sat, 3 Feb 2024 06:33:50 +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=pUJpl7QU65rX0U6qGLTf/LjTK2T2hzQVhk8tJehL9Sk=; b=3EK8kgHUQJ625X /YvROxMD1bXGwSs0tZE3QDvMzbx27pPgEQyAi3ixd+yVOqkmtL1ZR8KGzGlUSvIEv3fPP8ZQj0vdy H5V8pbrCBfIhDauINSBPN5nead0MWmSO7P1wIs3NtFCf/fPFiCfc15btMYthh4OtTlSkGWSVy/dcA 6j1e6bEoJuTe9WAEYbBqzahJe//8oqQfmdc7Em5PN0XGgZB1txnDQLqR1azgCO+O5ahMgCSsi4jVN VtNYwhJvErPfUh4oOuVKJVVic1AW90Dvt2Y4efBHd30bt3RPDpr8xzvYy8RZtAT5VfDM/LjEfjxMX O4XjhTfWr5mYw6N1e78w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rW9av-0000000FdaQ-3Dno; Sat, 03 Feb 2024 06:33:41 +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 1rW7U7-0000000F40F-2crb for linux-arm-kernel@bombadil.infradead.org; Sat, 03 Feb 2024 04:18:31 +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=3IVgbvsM20np2eRxDm5+H833+F2LhGH1VyfZfsWIjlE=; b=Dbx/bAxRDRS67sp0S505v8ipdw ytnVGKY2bWAHi6FGiGLQCo8DO/0UeGQCWi6bzYPt52q1e7tecWfmDmhghJ5SGznPRAlwsMR5z4lYu cdiSleZHFwgAq3OpFI1LAszr15wkxwh9OcFACZK871skVyeBT1FH8HcWlpfnpczuS1d8efbzqzCoT aVK5AOs+XIKD+dAD+3Nsq05r2QC2CzuZxZPid4I+7tOlJFzk2r546w34aSgP5lmTH2qh1JS1Zy2K1 2keHllYScHndEfcnXAvKDw7DMpkjejUa/AXQVA360nVlILDXTvv2dOwf8zDox/1exhPSA8OjKYB3a 6V3ODUKg==; Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rW7U2-0000000AYv1-0lNS for linux-arm-kernel@lists.infradead.org; Sat, 03 Feb 2024 04:18:30 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 0BAAD608C0; Sat, 3 Feb 2024 04:18:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A0098C433F1; Sat, 3 Feb 2024 04:18:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1706933903; bh=g9lWkjE4t+2X5brtia5P4AknTEcblOsQIHw0Y3BHsWg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ANVWai02Q+bVMb02E2G5A+Zd8P2+rACPc1ms0JwX7Jxbn60MrJsKppKpqw8xGM6n8 zlLPnCw5DIhhWih21CPX2BwNS4VcSJmH+MffYQbxYJQconK/jBjQn3NCgtyU+0PamB 2RJvIgfx1H3MIxtbkIaHSVwkXGTm24/MI8sJ3W+E= 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.7 252/353] perf cs-etm: Bump minimum OpenCSD version to ensure a bugfix is present Date: Fri, 2 Feb 2024 20:06:10 -0800 Message-ID: <20240203035411.706914415@linuxfoundation.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240203035403.657508530@linuxfoundation.org> References: <20240203035403.657508530@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_041828_430774_CA6235F5 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.7-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