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 761E3C4828D 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=bb4n0Gu5N6PcQ7Lgiha+bN6ud04RJ2fgoXemvwDqWsg=; b=ond8PiL1DGaOwE U1t2E731ByTmP/KUdl41C6r1NQ42x7Tmt3av70TaEwx7fie5BOY6vQPGe2MvHj069tl+c3lA4LpXO NDA2as1240c0TjMelNC2apma4UjLwQx8ehUL+hV+a0KeuCMUn6CvVFNiTdgpdu5oU62a53/2qX5+G 0Ea5iCpRcRJ4Fh/cIKsWJJ/WdvOY+rufJgV1iQSSBoOr97jFfKklVCbVIvfl+FZ8FpY9w9YdajP1l 7fCPrMjou1EvHtWff/64R7giWjulYe3dBvO6dZjdPV4XUtO9Ic2CpTTYlkfs4Tn2dUWh2Ho2sH2JW KAt43+4/Z2w8IziLEyMw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rW9at-0000000FdYi-2pkK; Sat, 03 Feb 2024 06:33:39 +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 1rW7Q4-0000000F2ck-0cL1 for linux-arm-kernel@bombadil.infradead.org; Sat, 03 Feb 2024 04:14:20 +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=Co3oqjG6JsuHZB93Y73RTg2JvLqAmolAcRnhRUjhvQ8=; b=DLb28Iq8HHVVj2UsxJCl4n9C5d HFLPYt5iY1Xu5fez6P/KRGK+GRqaDu8dhOG0dcPca6L+IT18Ukc0Nugp3lvN0jBIJry6usUF6ETnM Z4k3f9gHSkxGXvJ0of6FJ3jHYricqNIAkOjraLJe/6GHf1irT0fu2LcAQNEG5rHu4Eftl4HGjtlEY bkFwbx2G879Rn/tFY3o2q9TWTOh/zzzCSorj8WoL7ZhFc6b7ZF/k7z97EBMZWe2bhowbnIkiXz9MC zpfDRQ+evGYGMmjGAeNz+TMCgaLcWP7IRYT6b+9wAducr43POfl+T14h+vLNZO+lj6Oic9Tm336V/ TGZwFLNA==; Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rW7Pw-0000000AYca-2c1B for linux-arm-kernel@lists.infradead.org; Sat, 03 Feb 2024 04:14:18 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 03590CE2F1C; Sat, 3 Feb 2024 04:14:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 268A2C433C7; Sat, 3 Feb 2024 04:14:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1706933648; bh=yyLIcQo5dnCIiTGEREKIWX3FvcHPBdAg8ldHZPwUB9w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=va8eyJ8GvY8sbWbJC9KDcnxcTakcGniVLX+SFfGAlHlYc4pp1Knu94jnfBFoEOQ0y U84PzjOeEFDAUGyp+XbFQp8C3UiUY/RZsHFl+FGTfM1BCDviUQWxP6ADQK/4ob5LnB EPBBik/ImpsOQWnwm14SDrcFl/ZQ/zH7JGP/P/Jk= 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.6 231/322] perf cs-etm: Bump minimum OpenCSD version to ensure a bugfix is present Date: Fri, 2 Feb 2024 20:05:28 -0800 Message-ID: <20240203035406.665227222@linuxfoundation.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240203035359.041730947@linuxfoundation.org> References: <20240203035359.041730947@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_041415_646149_E206E821 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.6-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