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: 205285 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp493981dyb; Fri, 23 Feb 2024 02:25:54 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWCIZEIwEYFwvLhWE8xV3FJ08WBITLPZmCrpckMlxOV2Vf+ETwx7qbwV0g8jaTuYyBE5Y2IZcOm3B+g3ypiycRAoS9KaA== X-Google-Smtp-Source: AGHT+IH+mzaifK0rvUjhsHEafshJwBo3wI4670ahgdeBDJ0rCjmdDsCb9eKaYy7tLx38v3Qd8mg8 X-Received: by 2002:a17:906:1455:b0:a3e:beba:9dae with SMTP id q21-20020a170906145500b00a3ebeba9daemr961546ejc.7.1708683954377; Fri, 23 Feb 2024 02:25:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708683954; cv=pass; d=google.com; s=arc-20160816; b=o/uExb5SUAZzXbGAlMoiqouf9hI9JqXjhSq/l+p5RPqQQFgJLwuoqJDOPHk3Fjgcky akKPsh+l8rFUqr3dVnklMY/SHzNdJ6TOvZYjX46/g9McNlA4dfs5a9iKFWf+VPum/O/N VZlEe92YJl5mLjYy6ACpYhFnlME550rj/ILQMP55vMgVyMnC17QlbWmVqlFHQVJ7+TCB 1PReXHTuFA67JW5GnITYMyQl9IJX9rHFsc7sIJSNK+uTHj2gX28y0rDD9FDX1LS83d+S JmtTwLayEkQBN/dh3yOtQaAeo/3xkXXLgo28xrqFy4G0aTqX6pUjUpvtqWHk+11dpiNN K8kw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:subject:cc:to:from :date:dkim-signature; bh=XuljBR731LGL6HFKYX5lGFr8NNnuMpHSa/gk3CBVHMQ=; fh=L6V9qEdkPu+iq5y3zjaDGrlzk+LOToC9LUobg7R9gIE=; b=JIID8Bl8mA1NTmnAMTgxmtat+zdTTgMK/mMC7m1Qpdibf2+cUK9fyZJ0rL1yZQTbN/ hBX9oGyxxkomKIO9xvTZJkJAE/suApQFBYkCTsLDGoBCDEgHFOuNgKAt25zswnLEws3p SJ6lfSqAJeygXfbz8d8yQEPX2Z1LAPs3uyNFkWyjQUHnLqlcqUqN6h+ij90kiE9IOa5e 5244mtMucb6/wBeDU2Vf9XQ45mjbzpWZ5rqIeyTvR/4t010i8rzXnC7hbHaIqQjqiRxq bK3agV5uNByMgx3D2Nkqbug5pRlNo/kQCZsIQHyPNVKahYojq7nGSgVn9EPPC82pUR85 wX/Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="k/oHKXo2"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78121-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78121-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id yr9-20020a170907334900b00a3e8f7cc025si4735624ejb.995.2024.02.23.02.25.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 02:25:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78121-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="k/oHKXo2"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78121-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78121-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 00A7E1F25EFD for ; Fri, 23 Feb 2024 10:25:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7889B5D493; Fri, 23 Feb 2024 10:25:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="k/oHKXo2" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D7F495CDD5 for ; Fri, 23 Feb 2024 10:25:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708683937; cv=none; b=LiSDnekWVaU2g1LL1n+Z8fGGW74jUqFh3T+IZJbPSMLSFh/M/oHPsiE7SpUkP/ud4vPuwHdCIQ0ZS/j9d9aZnAiRXcXlOeifbMaxqfNwhF5bKx/NID2VmuWo4nyRoXXQCYo2B0Mvf1GdG7a8Bx+Z5vS7Hit47emN514MApgG5jY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708683937; c=relaxed/simple; bh=7yeW9jYEYimEdMiBYK8mFKP1brze9Qc84CjUxoUftoU=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=jvXffTxMt4hDF8h7g+bVHVScQRFfxtKSZo/UPCl4VGSFVH+yOCaN68CGgpnCvSuA7aUA8MxeVlWiV/5/1K/BkmYGxehZOP3RYKVENDkyO+oZk1mWrYz9iU0uuRz7G0fktrPCcOS0b+HtmjoIu98BvJEZrtvSZEOf7G/ZeRpKyCQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=k/oHKXo2; arc=none smtp.client-ip=10.30.226.201 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791684986159249677 X-GMAIL-MSGID: 1791684986159249677 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(-)