From: Borislav Petkov <bp@kernel.org>
To: riel@surriel.com
Cc: Manali.Shukla@amd.com, akpm@linux-foundation.org,
andrew.cooper3@citrix.com, jackmanb@google.com, jannh@google.com,
kernel-team@meta.com, linux-kernel@vger.kernel.org,
linux-mm@kvack.org, mhklinux@outlook.com, nadav.amit@gmail.com,
thomas.lendacky@amd.com, x86@kernel.org,
zhengqi.arch@bytedance.com,
"Borislav Petkov (AMD)" <bp@alien8.de>
Subject: [PATCH v15 00/11] AMD broadcast TLB invalidation
Date: Tue, 4 Mar 2025 14:58:05 +0100 [thread overview]
Message-ID: <20250304135816.12356-1-bp@kernel.org> (raw)
From: "Borislav Petkov (AMD)" <bp@alien8.de>
Hi all,
these are Rik's patches from here:
https://lore.kernel.org/r/20250226030129.530345-1-riel@surriel.com
with a bunch of dhansen's and mine edits ontop.
Some stuff is still in-flight but I'm sending the current state because
a bunch of things have changed and we'll need a good base to discuss the
remaining changes pending.
Preliminary build and boot tests look good but that doesn't say a whole lot.
Thx.
Rik van Riel (11):
x86/mm: Consolidate full flush threshold decision
x86/mm: Add INVLPGB feature and Kconfig entry
x86/mm: Add INVLPGB support code
x86/mm: Use INVLPGB for kernel TLB flushes
x86/mm: Use broadcast TLB flushing in page reclaim
x86/mm: Add global ASID allocation helper functions
x86/mm: Handle global ASID context switch and TLB flush
x86/mm: Add global ASID process exit helpers
x86/mm: Enable broadcast TLB invalidation for multi-threaded processes
x86/mm: Do targeted broadcast flushing from tlbbatch code
x86/mm: Enable AMD translation cache extensions
arch/x86/Kconfig.cpu | 4 +
arch/x86/include/asm/cpufeatures.h | 1 +
arch/x86/include/asm/disabled-features.h | 8 +-
arch/x86/include/asm/mmu.h | 12 +
arch/x86/include/asm/mmu_context.h | 10 +-
arch/x86/include/asm/msr-index.h | 2 +
arch/x86/include/asm/tlb.h | 126 ++++++
arch/x86/include/asm/tlbflush.h | 96 ++++-
arch/x86/kernel/cpu/amd.c | 10 +
arch/x86/mm/tlb.c | 506 +++++++++++++++++++++--
tools/arch/x86/include/asm/msr-index.h | 2 +
11 files changed, 730 insertions(+), 47 deletions(-)
--
2.43.0
next reply other threads:[~2025-03-04 13:58 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-04 13:58 Borislav Petkov [this message]
2025-03-04 13:58 ` [PATCH v15 01/11] x86/mm: Consolidate full flush threshold decision Borislav Petkov
2025-03-04 13:58 ` [PATCH v15 02/11] x86/mm: Add INVLPGB feature and Kconfig entry Borislav Petkov
2025-03-05 12:01 ` Borislav Petkov
2025-03-04 13:58 ` [PATCH v15 03/11] x86/mm: Add INVLPGB support code Borislav Petkov
2025-03-04 13:58 ` [PATCH v15 04/11] x86/mm: Use INVLPGB for kernel TLB flushes Borislav Petkov
2025-03-04 13:58 ` [PATCH v15 05/11] x86/mm: Use broadcast TLB flushing in page reclaim Borislav Petkov
2025-03-04 13:58 ` [PATCH v15 06/11] x86/mm: Add global ASID allocation helper functions Borislav Petkov
2025-03-04 13:58 ` [PATCH v15 07/11] x86/mm: Handle global ASID context switch and TLB flush Borislav Petkov
2025-03-04 13:58 ` [PATCH v15 08/11] x86/mm: Add global ASID process exit helpers Borislav Petkov
2025-03-04 13:58 ` [PATCH v15 09/11] x86/mm: Enable broadcast TLB invalidation for multi-threaded processes Borislav Petkov
2025-03-04 13:58 ` [PATCH v15 10/11] x86/mm: Do targeted broadcast flushing from tlbbatch code Borislav Petkov
2025-03-04 13:58 ` [PATCH v15 11/11] x86/mm: Enable AMD translation cache extensions Borislav Petkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250304135816.12356-1-bp@kernel.org \
--to=bp@kernel.org \
--cc=Manali.Shukla@amd.com \
--cc=akpm@linux-foundation.org \
--cc=andrew.cooper3@citrix.com \
--cc=bp@alien8.de \
--cc=jackmanb@google.com \
--cc=jannh@google.com \
--cc=kernel-team@meta.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mhklinux@outlook.com \
--cc=nadav.amit@gmail.com \
--cc=riel@surriel.com \
--cc=thomas.lendacky@amd.com \
--cc=x86@kernel.org \
--cc=zhengqi.arch@bytedance.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox