Re: [RFC PATCH v4 2/8] x86/mm: enable BROADCAST_TLB_FLUSH on Intel, too
From: Kirill A. Shutemov
Date: Thu Jun 26 2025 - 09:08:47 EST
On Thu, Jun 19, 2025 at 04:03:54PM -0400, Rik van Riel wrote:
> From: Rik van Riel <riel@xxxxxx>
>
> Much of the code for Intel RAR and AMD INVLPGB is shared.
>
> Place both under the same config option.
>
> Signed-off-by: Rik van Riel <riel@xxxxxxxxxxx>
> ---
> arch/x86/Kconfig.cpu | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/x86/Kconfig.cpu b/arch/x86/Kconfig.cpu
> index f928cf6e3252..ab763f69f54d 100644
> --- a/arch/x86/Kconfig.cpu
> +++ b/arch/x86/Kconfig.cpu
> @@ -360,7 +360,7 @@ menuconfig PROCESSOR_SELECT
>
> config BROADCAST_TLB_FLUSH
> def_bool y
> - depends on CPU_SUP_AMD && 64BIT
> + depends on (CPU_SUP_AMD || CPU_SUP_INTEL) && 64BIT && SMP
Maybe split it into few "depends on"?
depends on 64BIT
depends on SMP
depends on CPU_SUP_AMD || CPU_SUP_INTEL
--
Kiryl Shutsemau / Kirill A. Shutemov