From patchwork Fri Nov 10 18:00:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Catalin Marinas X-Patchwork-Id: 13452648 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 E1BE2C4332F for ; Fri, 10 Nov 2023 18:01:26 +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=RTy/6pl0blONC14xsD5XWYOFtgSVp1ZYDkPkmFIHObY=; b=GmjjZq8Iat3wMQ HVjp2ebNgk8vfoxOoKTm9WXLBTBmluBA5K+TnDc2mcSi+iBKTr2OAe4dMqBZ2HB5f4V9SHO5kxkVL s7VgkVRNcK6VyclwntxTYkgemt43kljE8IovMYWwgwqU3hSXSO7krHS5cQDx2ls902Yoaq+iFUfAx ron13tD1QvVXf0i0SK7Wjd6JyIo23diBW181gtWxWxTr9Xsf40DCkUkRfRNc8AF2oOP4x7NAhssW5 SHkItEnGIpXfZFo6kYpDBPAcuAiBAgofnPCwQQXnqr1AEyPXr/C1t4rZ1VLPZdzTBgmYTPJQLjZX7 TDDkWsV9xBx2GvDqno/g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r1VoQ-009BLp-2I; Fri, 10 Nov 2023 18:00:58 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r1VoN-009BLS-0S for linux-arm-kernel@lists.infradead.org; Fri, 10 Nov 2023 18:00:56 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by ams.source.kernel.org (Postfix) with ESMTP id 46FD9B821E1; Fri, 10 Nov 2023 18:00:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BA365C4167E; Fri, 10 Nov 2023 18:00:51 +0000 (UTC) Date: Fri, 10 Nov 2023 18:00:49 +0000 From: Catalin Marinas To: Linus Torvalds Cc: Will Deacon , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] arm64 fixes for 6.7-rc1 Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231110_100055_354639_0350BD9E X-CRM114-Status: GOOD ( 11.73 ) 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 the arm64 fixes below based on top of the previous arm64 pull request. It's mostly PMU fixes and a reworking of the pseudo-NMI disabling on broken MediaTek firmware (we didn't have time to do it before the merging window). Thanks. The following changes since commit 14dcf78a6c042dd9421b11485b394c6273568bca: Merge branch 'for-next/cpus_have_const_cap' into for-next/core (2023-10-26 17:10:18 +0100) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux tags/arm64-fixes for you to fetch changes up to f86128050d2d854035bfa461aadf36e6951b2bac: arm64/syscall: Remove duplicate declaration (2023-11-09 17:19:14 +0000) ---------------------------------------------------------------- arm64 fixes: - Move the MediaTek GIC quirk handling from irqchip to core. Before the merging window commit 44bd78dd2b88 ("irqchip/gic-v3: Disable pseudo NMIs on MediaTek devices w/ firmware issues") temporarily addressed this issue. Fixed now at a deeper level in the arch code. - Reject events meant for other PMUs in the CoreSight PMU driver, otherwise some of the core PMU events would disappear. - Fix the Armv8 PMUv3 driver driver to not truncate 64-bit registers, causing some events to be invisible. - Remove duplicate declaration of __arm64_sys##name following the patch to avoid prototype warning for syscalls. - Typos in the elf_hwcap documentation. ---------------------------------------------------------------- Douglas Anderson (2): arm64: Move MediaTek GIC quirk handling from irqchip to core Revert "arm64: smp: avoid NMI IPIs with broken MediaTek FW" Ilkka Koskinen (2): perf: arm_cspmu: Reject events meant for other PMUs arm64/arm: arm_pmuv3: perf: Don't truncate 64-bit registers Kevin Brodsky (1): arm64/syscall: Remove duplicate declaration Marielle Novastrider (1): Documentation/arm64: Fix typos in elf_hwcaps Documentation/arch/arm64/elf_hwcaps.rst | 6 ++-- arch/arm/include/asm/arm_pmuv3.h | 48 +++++++++++++++----------------- arch/arm64/include/asm/arm_pmuv3.h | 25 ++++------------- arch/arm64/include/asm/syscall_wrapper.h | 1 - arch/arm64/kernel/cpufeature.c | 46 ++++++++++++++++++++++++------ arch/arm64/kernel/smp.c | 5 +--- drivers/irqchip/irq-gic-v3.c | 24 ++-------------- drivers/perf/arm_cspmu/arm_cspmu.c | 3 ++ drivers/perf/arm_pmuv3.c | 6 ++-- 9 files changed, 78 insertions(+), 86 deletions(-)