From nobody Tue Dec 2 01:26:24 2025 Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (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 44E172E7F25 for ; Fri, 21 Nov 2025 18:55:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=96.67.55.147 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763751342; cv=none; b=thm6dLJwPBNzqJx8Jl8p8UTzgsAR8TPuEQwsRjPRZr6sjj/LlJzFgBB8wcJoVVSZH6VkFr4Uq412iPr8Gq2oYQUgeHiz3r3x39B5RmV68RNq6kzk0VMR0v7ZxdjjuoIFrVmj1sP9i7w6ECgpZqSNma5emc8YM7h+qvp2Ty0DCC8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763751342; c=relaxed/simple; bh=2LlKtg5OTutcR7CXG/S2Vdj8byB0vmlyWX5md2K/2us=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ky1gr+rvkH7EGvJTLoq+dtybNSWX+WaWselBSZvHNeNL7BJ3slXBRHSnLU7586SNNWR42KyuK4IVIENh80gO5MB1JBXbM0hJgRf7mOXdYoxBj+nheCCCOcRYX/PviLDFkZRLcSq+ZlPnFl/9C6zne8B3uLUnUkJem0h1o3ebF3A= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=surriel.com; spf=pass smtp.mailfrom=surriel.com; dkim=pass (2048-bit key) header.d=surriel.com header.i=@surriel.com header.b=N0xVb90S; arc=none smtp.client-ip=96.67.55.147 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=surriel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=surriel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=surriel.com header.i=@surriel.com header.b="N0xVb90S" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=surriel.com ; s=mail; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=zLEh+v4goIHofpOxJTSOvne0xnDbCpiZkI74Ux8pr/s=; b=N0xVb90SQDRvyVlM14+IH8E9tu rx9eVc+ScW921gqJ9dMnmurdZsW09ksnJb4S0c0zQGeUCV+T96XA9U1V7EX4nSlLEWs6k01PPdLui 9NRDp8yu1/eS5g2Z3wf17OUbwMCvSF4JePhIGL/eV1cO3WysK2xsGCZmW56E2zTjTOq5CUoR+sQv+ tmISLBQQZ4PPSWzLVCwdlIYjGU0CvS/543klKnDAwdydsBt3QtLCxPnuewFd+TWTJU78fLQ1pzlay pjAqlL4udIHeAx2do/XIj+CTx6LMWVWMvp2lozHyVoEjppiQ/ktuRcMx2FCKj6fmGlD9waMW+fapY PHkHY2ow==; Received: from fangorn.home.surriel.com ([10.0.13.7]) by shelob.surriel.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1vMWI9-000000003i4-1Kky; Fri, 21 Nov 2025 13:55:34 -0500 From: Rik van Riel To: linux-kernel@vger.kernel.org Cc: linux-mm@kvack.org, x86@kernel.org, dave.hansen@linux.intel.com, peterz@infradead.org, kernel-team@meta.com, bp@alien8.de, Rik van Riel , Rik van Riel Subject: [RFC v5 2/8] x86/mm: enable BROADCAST_TLB_FLUSH on Intel, too Date: Fri, 21 Nov 2025 13:54:23 -0500 Message-ID: <20251121185530.21876-3-riel@surriel.com> X-Mailer: git-send-email 2.51.1 In-Reply-To: <20251121185530.21876-1-riel@surriel.com> References: <20251121185530.21876-1-riel@surriel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Rik van Riel 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 --- 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 =20 config BROADCAST_TLB_FLUSH def_bool y - depends on CPU_SUP_AMD && 64BIT + depends on (CPU_SUP_AMD || CPU_SUP_INTEL) && 64BIT && SMP =20 config CPU_SUP_INTEL default y --=20 2.51.1