From mboxrd@z Thu Jan 1 00:00:00 1970 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 CA484270ED2 for ; Tue, 11 Nov 2025 18:08:03 +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=1762884483; cv=none; b=lFrQUZsHx3TtqdTLsa6HMyzgTJvZLpcfdII9WV9hpWv4CI3ocjuGYyROsRRMq0nb+5TgjT9S1I0quI/vzLDptuwxIUOmMozW1x5ssu4O3JIat2ZS7IE+37sUoCDEPJCaqSBjxuFE7lHxkRaROB5pMTwbbojHuxea+bkSH10LJ+o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762884483; c=relaxed/simple; bh=gO95KTrbpu2fM7hlUMe2sHhsXdeBwVTqIhVla7iPJGM=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=CiwfKQ4Sl1Bv+pIm5Ru1DSLH0q6SLH5jZgbSM1wv/pYjhd4hbQS3aRXh3sjVCAmJcVjGv2rZcrCK4KoWQaaN6tPMjmBhepmgG5DmoikzivYQ+92y9BnIoQ6HUDgY6JfxjzFQj1eDsvag/PYnPfBdfuxVorZ2hUpnYmsfVda0FTg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=QxW2wvhE; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="QxW2wvhE" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 24F0DC4CEFB; Tue, 11 Nov 2025 18:08:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1762884483; bh=gO95KTrbpu2fM7hlUMe2sHhsXdeBwVTqIhVla7iPJGM=; h=Date:From:To:Cc:Subject:From; b=QxW2wvhE4FyjLESZtEIdhk7/Srz0htq1Av1b/YuxPuil2X7uu/ErH5dTH27VFCgjW wz3qG33hC94Lt3yRGrjiJjGGbD2+GVyTTkEbD+4UEof0qaolnKdy5L9xvIvPihJ+G+ VlCf4j3vu0SK9P1n7aBOXxZqGcHpXcbiISf9ElEwoeOcNGQp7gUEruH9ymiFOfvshJ epDgAsjN5QQ5VEJ8FEFTsMzFK2/JItbDmT5KtJPvYWrcsBY0M1I/fenoAP0oCA9Zf0 DDsaKzoEfmHNad2NQddkUV60G8gEB0pflL9izigbGNCF653XLFdtF41sAwOK5wAL0/ u2DPyOIORvfwQ== Date: Tue, 11 Nov 2025 18:07:58 +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: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Hi Linus, Please pull these arm64 fixes for -rc6. There's more here than I would ideally like at this stage, but there's been a steady trickle of fixes and some of them took a few rounds of review. The bulk of the changes are fixing some fallout from the recent BBM level two support which allows the linear map to be split from block to page mappings at runtime, but inadvertently led to sleeping in atomic context on some paths where the linear map was already mapped with page granularity. The fix is simply to avoid splitting in those cases but the implementation of that is a little involved. The other interesting fix is addressing a catastophic performance issue with our per-cpu atomics discovered by Paul in the SRCU locking code but which took some interactions with the hardware folks to resolve. Anyway, summary in the tag. Please pull. Cheers, Will --->8 The following changes since commit b98c94eed4a975e0c80b7e90a649a46967376f58: arm64: mte: Do not warn if the page is already tagged in copy_highpage() (2025-10-23 17:34:58 +0100) 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 8e8ae788964aa2573b4335026db4068540fa6a86: arm64: Reject modules with internal alternative callbacks (2025-11-07 15:00:14 +0000) ---------------------------------------------------------------- arm64 fixes for -rc6 - Avoid sleeping in atomic context when changing linear map permissions for DEBUG_PAGEALLOC or KFENCE. - Rework printing of Spectre mitigation status to avoid hardlockup when enabling per-task mitigations on the context-switch path. - Reject kernel modules when instruction patching fails either due to the DWARF-based SCS patching or because of an alternatives callback residing outside of the core kernel text. - Propagate error when updating kernel memory permissions in kprobes. - Drop pointless, incorrect message when enabling the ACPI SPCR console. - Use value-returning LSE instructions for per-cpu atomics to reduce latency in SRCU locking routines. ---------------------------------------------------------------- Adrian Barnaƛ (2): arm64: Fail module loading if dynamic SCS patching fails arm64: Reject modules with internal alternative callbacks Catalin Marinas (1): arm64: Use load LSE atomics for the non-return per-CPU atomic operations Punit Agrawal (2): Revert "ACPI: Suppress misleading SPCR console message when SPCR table is absent" arm64: acpi: Drop message logging SPCR default console Ryan Roberts (3): arm64: mm: Don't sleep in split_kernel_leaf_mapping() when in atomic context arm64: mm: Optimize range_split_to_ptes() arm64: mm: Tidy up force_pte_mapping() Yang Shi (1): arm64: kprobes: check the return value of set_memory_rox() shechenglong (2): arm64: proton-pack: Drop print when !CONFIG_MITIGATE_SPECTRE_BRANCH_HISTORY arm64: proton-pack: Fix hard lockup due to print in scheduler context arch/arm64/include/asm/alternative.h | 7 ++- arch/arm64/include/asm/kfence.h | 3 +- arch/arm64/include/asm/percpu.h | 15 +++-- arch/arm64/include/asm/scs.h | 2 +- arch/arm64/include/asm/spectre.h | 1 + arch/arm64/kernel/acpi.c | 8 +-- arch/arm64/kernel/alternative.c | 19 +++--- arch/arm64/kernel/cpufeature.c | 6 ++ arch/arm64/kernel/module.c | 21 +++++-- arch/arm64/kernel/pi/map_kernel.c | 2 +- arch/arm64/kernel/pi/patch-scs.c | 10 ++-- arch/arm64/kernel/pi/pi.h | 2 +- arch/arm64/kernel/probes/kprobes.c | 5 +- arch/arm64/kernel/proton-pack.c | 35 +++++------ arch/arm64/mm/mmu.c | 111 +++++++++++++++++++++++++---------- 15 files changed, 165 insertions(+), 82 deletions(-)