Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 361C235DA7B for ; Thu, 11 Jun 2026 13:45:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781185503; cv=none; b=Ai/PROdiY/rsxUd99qNY5qwjg8RUHczpSfJUGyn0wx5e8IB0FLNrb8F7rF9sTxpxXBlyGVH2aAAAdmo563DPbdtp5ZmbBqiZcSeAzGsJajTeDzQaeac663kh9PqBQQX1wSELaaHPGr9l2NLJyYjNs7sF/t0vboo80YhvlUCgrog= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781185503; c=relaxed/simple; bh=uifnAEoLrCkfPXfUFIz/9guTkwCwoxxlEU8bT35du9k=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=AV96AFL4CyePYDJ7vWLRU9AuxfVHiR9li7RLbzcmFmdF5+5J/QHHfx/xDnyvCerPcMXUWBdWsSgnrRmeF3jRm+MqtUIpgZ/86uYsdy2gDCqetLxou7xhCfjCqoXI315lU17x6WGXVfqhW+AJ3ZUWJ+GyEzy7+j3iykfWohAWxko= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.b=hl1h1dg1; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.b="hl1h1dg1" Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 571161DB5; Thu, 11 Jun 2026 06:44:56 -0700 (PDT) Received: from lakrids.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 685AA3FAF5; Thu, 11 Jun 2026 06:44:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1781185501; bh=uifnAEoLrCkfPXfUFIz/9guTkwCwoxxlEU8bT35du9k=; h=From:To:Cc:Subject:Date:From; b=hl1h1dg1yB8NysnvUeCMD0CcR3DtZmO0LUBgNo+IZMGTKCeKw7cAocILiw2crrorl cV7yWslCZD6xe3dpqwrmysyvYUSS5YQ/klm4HWuwfzWRBVerolj0I0bOGuVRYxbslE bATtL14pwxtEVWNGOw0Mmsa1ygl4W7Yi5lWUQVL8= From: Mark Rutland To: stable@vger.kernel.org Cc: anshuman.khandual@arm.com, catalin.marinas@arm.com, gregkh@linuxfoundation.org, lee@kernel.org, mark.rutland@arm.com, maz@kernel.org, oupton@kernel.org, ryan.roberts@arm.com, will@kernel.org, yuzenghui@huawei.com Subject: [PATCH 6.1.y 0/3] arm64: tlb: Prerequisites for TLBI erratum workaround Date: Thu, 11 Jun 2026 14:44:48 +0100 Message-Id: <20260611134451.1700637-1-mark.rutland@arm.com> X-Mailer: git-send-email 2.30.2 Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This is a v6.1.y-only backport of updates to arm64's ARM64_WORKAROUND_REPEAT_TLBI erratum workaround, which have been upstream since v7.0 and have already been backported to v6.18.y. These are prerequisites for patches to enable the workaround for many more CPUs, which are queued in the arm64 tree targetting v7.2-rc1: https://lore.kernel.org/linux-arm-kernel/20260609101203.1512409-1-mark.rutland@arm.com/ https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git/log/?h=for-next/errata I'm sending backports of these ahead of backports of the not-yet-upstream portion as these have the key logic changes and I'm hoping they could be queued early and see more testing. On their own they serve as an optimization to existing users of the workaround. I've pushed this series to my stable-6.1/arm-4118414/prerequisites branch: https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git/log/?h=stable-6.1/arm-4118414/prerequisites I've pushed a v6.1.y backport of all the not yet upstream patches to my stable-6.1/arm-4118414/backport branch: https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git/log/?h=stable-6.1/arm-4118414/backport ... and once those are merged into mainline I will submit stable backports. Mark. Marc Zyngier (1): KVM: arm64: Remove VPIPT I-cache handling Mark Rutland (2): arm64: tlb: Allow XZR argument to TLBI ops arm64: tlb: Optimize ARM64_WORKAROUND_REPEAT_TLBI arch/arm64/include/asm/kvm_mmu.h | 4 +-- arch/arm64/include/asm/tlbflush.h | 52 +++++++++++++++++++++---------- arch/arm64/kernel/sys_compat.c | 2 +- arch/arm64/kvm/hyp/nvhe/tlb.c | 41 ++---------------------- arch/arm64/kvm/hyp/pgtable.c | 2 +- arch/arm64/kvm/hyp/vhe/tlb.c | 19 ++--------- 6 files changed, 46 insertions(+), 74 deletions(-) -- 2.30.2