From patchwork Fri Feb 23 10:25:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 13568844 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 525D1C5478C for ; Fri, 23 Feb 2024 10:26:38 +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:Message-ID:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=cRbHyZBQLo+/ANhr/pe32OLkAQQm5SruTPYLdPzd+Mg=; b=3jxBP7msO3LSnY 5Ccek8lqHmWmEB42VrFgJDnZDa9LsRYUMLUu5OvsoLhidMgLfCETljmG3H8ui2UZTNjqMo7yoB7JE 39lfJycOECf0+G2ZChIyYhCR3Cr4PJLLLenQG+cWlDOEAbFjQfemSvqfTEeCbATS4aBiiZmSsuE+V NTSz3SjHUFo2AW/R0KpFS9Hlfvflf+JdGGXW8RY+T3dkihICxw3z1neTnF3OejnPAHKroOrpb0HnM 2a8bNxUkvewXU8xmChNvqQbUDksPABKd6dTR7TGX7ml2e7OKn6qQBEeoSzgSEf9fuCIpGRPEveFSZ 720EKGfhRQnWbpjL+dUQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rdSkz-00000008tpP-3Rpz; Fri, 23 Feb 2024 10:26:17 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rdSkR-00000008tc2-3efF for linux-arm-kernel@lists.infradead.org; Fri, 23 Feb 2024 10:25:48 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id BE22C633EE; Fri, 23 Feb 2024 10:25:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5BB7FC433C7; Fri, 23 Feb 2024 10:25:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708683937; bh=7yeW9jYEYimEdMiBYK8mFKP1brze9Qc84CjUxoUftoU=; h=Date:From:To:Cc:Subject:From; b=k/oHKXo2MMf8n8BQLJwqGq10e+mBy7XBv4otVvWKeB4RbPtfOFQh7EDAKkeB4JK/t hWetBYs/aHX20fhpHF6Ren5rBjOXHteM4K1TlWLg/tWB8msT0PDhEiX0Pqbp6ESdGR egK4GFrUYgTot0sktIITDRYE73CVlh2Bx1LJkV7fO/wgNGsfqVrWK4uZ8SdDDvBUC8 BcMfSsQ6Sk8B7+EgMuureh6RPFiidUWNjnvavCF/kNS/GB1Jj4pOPK2jjSzfaHcsX5 +rcTxH12B+WiTgcyhLOPaNOVZkysnvFwPqPRKJ7wHrDAtQTrRPhFUhQozj0tPRvkU+ Uh0HSoCMu2HTA== Date: Fri, 23 Feb 2024 10:25:32 +0000 From: Will Deacon To: torvalds@linux-foundation.org Cc: catalin.marinas@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel-team@android.com Subject: [GIT PULL] arm64 fixes for -rc6 Message-ID: <20240223102531.GB10274@willie-the-truck> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240223_022544_125152_041837D4 X-CRM114-Status: GOOD ( 12.38 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Linus, Please pull this weekly batch of arm64 fixes for -rc6. The summary is in the tag, but it's a simple fix to a definition in the CXL PMU driver, a couple of patches to restore SME control registers on the resume path (since Arm's fast model now clears them) and a revert for our jump label asm constraints after Geert noticed they broke the build with GCC 5.5. There was then the ensuing discussion about raising the minimum GCC (and corresponding binutils) versions at [1], but for now we'll keep things working as they were until that goes ahead. Cheers, Will [1] https://lore.kernel.org/lkml/CAMj1kXHh_m=V0QsiTpHrUXpFBXFbFfezdysz8quhPSgUrZg1MA@mail.gmail.com/ --->8 The following changes since commit 2813926261e436d33bc74486b51cce60b76edf78: arm64/sve: Lower the maximum allocation for the SVE ptrace regset (2024-02-15 11:48:00 +0000) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git tags/arm64-fixes for you to fetch changes up to d7b77a0d565b048cb0808fa8a4fb031352b22a01: arm64/sme: Restore SMCR_EL1.EZT0 on exit from suspend (2024-02-20 12:19:16 +0000) ---------------------------------------------------------------- arm64 fixes for -rc6 - Revert fix to jump label asm constraints, as it regresses the build with some GCC 5.5 toolchains. - Restore SME control registers when resuming from suspend - Fix incorrect filter definition in CXL PMU driver ---------------------------------------------------------------- Hojin Nam (1): perf: CXL: fix CPMU filter value mask length Mark Brown (2): arm64/sme: Restore SME registers on exit from suspend arm64/sme: Restore SMCR_EL1.EZT0 on exit from suspend Will Deacon (1): Revert "arm64: jump_label: use constraints "Si" instead of "i"" arch/arm64/include/asm/fpsimd.h | 2 ++ arch/arm64/include/asm/jump_label.h | 12 ++++-------- arch/arm64/kernel/fpsimd.c | 16 ++++++++++++++++ arch/arm64/kernel/suspend.c | 3 +++ drivers/perf/cxl_pmu.c | 10 +++++----- 5 files changed, 30 insertions(+), 13 deletions(-)