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 6198838B7D6 for ; Fri, 27 Feb 2026 21:20:31 +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=1772227231; cv=none; b=Xlt1DyBad3MpQUrHCItpdcTmPvhMa46Rn6/hlp4C0q0l4u15B+Cm9OPYgEthoIxuw021irMMVFqb2O2d1qd+QyNR20gTJIoHZmsgv5ULUR2ZdkuJHqUXqf2ZJwtm6aYOtEe2DuhdruJUqj8+TFphUtu3jnV63+ErbygOBz+MMbc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772227231; c=relaxed/simple; bh=TNqxRiX5fJGv1YfKVaxqgghtCHWX9+he4UxxuNIYStc=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=e9W975ihEaWRvZj2ZvaAnaPPJBIIAmXH7IG24Px1AFsIIiC5atdUMqFIaIpZPe2W0zu4ALcoh9yqT5cbHbEwH9Nc6fn7DWNYpl4Mk5+1YyeIa6jHj2IEVBSYosGnvbSpXa+ha88ou90H/Abpfz+YwxHh1FrWXYLecrnM9mOQeW8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=YXyvnwlZ; 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="YXyvnwlZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 21842C19423; Fri, 27 Feb 2026 21:20:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772227231; bh=TNqxRiX5fJGv1YfKVaxqgghtCHWX9+he4UxxuNIYStc=; h=Date:From:To:Cc:Subject:From; b=YXyvnwlZBfGI2tITrltKdLFIV8rm8GeA4E/mYjUe9QJcarC7ocC5GD3s4Y6zyidJC yuxBF2z9htFgX9CQ4FJmHdLKsOwSx+n/XIoY33BXDkqKAs7bGPDUpWo9E/labwIxU7 1aojmbw6PNmReei8zCIvdGW9kB0mpoBXEnvc96rXVFY3XwNjie+O6MFEWVaPYgLF2G 4OBULr7gZDUIFeMfSxFCva32SaGn2cfTyCYqlrWXO6CldpXKXqDmWEmp461hrjr9KW f3CA9sIWDuPQdpiObHi7RK+b65QejZFUzy/6ODSd5Faq+mSing7ipPIOr2zfFxoW5T yBpsJthJGPDdw== Date: Fri, 27 Feb 2026 21:20:26 +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 -rc2 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=us-ascii Content-Disposition: inline Hi Linus, Please pull this batch of arm64 fixes for -rc2. The summary is in the tag but the diffstat is dominated by changes to our TLB invalidation errata handling and the introduction of a new GCS selftest to catch one of the issues that is fixed here relating to PROT_NONE mappings. There are still a few other issues being worked on, so you can expect another batch of fixes next week. Cheers, Will --->8 The following changes since commit 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f: Linux 7.0-rc1 (2026-02-22 13:18:59 -0800) 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 df6e4ab654dc482c1d45776257a62ac10e14086c: arm64: topology: Fix false warning in counters_read_on_cpu() for same-CPU reads (2026-02-26 18:27:15 +0000) ---------------------------------------------------------------- arm64 fixes for -rc2 - Fix cpufreq warning due to attempting a cross-call with interrupts masked when reading local AMU counters. - Fix DEBUG_PREEMPT warning from the delay loop when it tries to access per-cpu errata workaround state for the virtual counter. - Re-jig and optimise our TLB invalidation errata workarounds in preparation for more hardware brokenness. - Fix GCS mappings to interact properly with PROT_NONE and to avoid corrupting the pte on CPUs with FEAT_LPA2. - Fix ioremap_prot() to extract only the memory attributes from the user pte and ignore all the other 'prot' bits. ---------------------------------------------------------------- Catalin Marinas (3): arm64: gcs: Do not set PTE_SHARED on GCS mappings if FEAT_LPA2 is enabled arm64: gcs: Honour mprotect(PROT_NONE) on shadow stack mappings kselftest: arm64: Check access to GCS after mprotect(PROT_NONE) Marc Zyngier (1): arm64: Fix sampling the "stable" virtual counter in preemptible section Mark Rutland (2): arm64: tlb: Allow XZR argument to TLBI ops arm64: tlb: Optimize ARM64_WORKAROUND_REPEAT_TLBI Sumit Gupta (1): arm64: topology: Fix false warning in counters_read_on_cpu() for same-CPU reads Will Deacon (2): arm64: io: Rename ioremap_prot() to __ioremap_prot() arm64: io: Extract user memory type in ioremap_prot() arch/arm64/include/asm/io.h | 26 ++++++-- arch/arm64/include/asm/pgtable-prot.h | 3 - arch/arm64/include/asm/tlbflush.h | 63 ++++++++++-------- arch/arm64/kernel/acpi.c | 2 +- arch/arm64/kernel/sys_compat.c | 2 +- arch/arm64/kernel/topology.c | 21 ++++-- arch/arm64/kvm/hyp/nvhe/mm.c | 2 +- arch/arm64/kvm/hyp/nvhe/tlb.c | 8 +-- arch/arm64/kvm/hyp/pgtable.c | 2 +- arch/arm64/kvm/hyp/vhe/tlb.c | 10 +-- arch/arm64/lib/delay.c | 6 +- arch/arm64/mm/ioremap.c | 6 +- arch/arm64/mm/mmap.c | 12 +++- .../arm64/signal/testcases/gcs_prot_none_fault.c | 76 ++++++++++++++++++++++ 14 files changed, 179 insertions(+), 60 deletions(-) create mode 100644 tools/testing/selftests/arm64/signal/testcases/gcs_prot_none_fault.c