From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.alien8.de (mail.alien8.de [65.109.113.108]) (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 5F950190051 for ; Thu, 2 Jan 2025 11:53:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=65.109.113.108 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735818786; cv=none; b=OzzsxNsBVvYYDZf2aebh8QruXxJNRJQEftET0c9YpyF/NBTT5vbzClLzT6UWYx593/00SpSA/ED7GVLeI48H3R/sw1bB0tIriKVa9SlsMzhIfVKWPNp0NAdUMB5gMBiUDvNKVZR9rQar7/tllP5hIriNhwfJAUC4K8QkCh5Zvtg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735818786; c=relaxed/simple; bh=/rFhznjRt2MCR6vF8bAMBBvodu1xK3fGOJVJP4TfodA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=YRfEy18nsou2YNcEgFBGuLiO1iCi86fesmcBcp/MJFoQLbPIDD1nFWUPJGQgjiwUhpQvbBcG0FW8mw0Leg09hHyGMEdGlGPNpNqzqVlg5ruWkuxCFZzt0QqqHUj++9EIx6vARNT0ELGjrmMC52OYsBuTMQcRaVVXCqg2S8vxmPw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de; spf=pass smtp.mailfrom=alien8.de; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b=NpYoZ+e3; arc=none smtp.client-ip=65.109.113.108 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alien8.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b="NpYoZ+e3" Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id D24A040E0289; Thu, 2 Jan 2025 11:53:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Authentication-Results: mail.alien8.de (amavisd-new); dkim=pass (4096-bit key) header.d=alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id yG1mNsMjFJTF; Thu, 2 Jan 2025 11:52:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1735818778; bh=qVnxhj/FkrQmVx84O+fOubXVy2+o/cwziBAt5sC23wg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NpYoZ+e3UOtpmGDj/s5hUr/kSI300xG2L+vz3+HhX8VT7thdM0sKwgNC2eDVgb1Wk sqGjYb/FN8swMvlR1OPNlY+O7kOdzEc+sELxyYgSqeRxk9cRQkJO1WXeqvRI8FRfww Prw0uAVLPLKI32kt9EZZ3ur3S+RBeIYSSiT7Wo0PwKEtpsoMO8Bv97KntMoYjVRKil BzzBkWhvIFPD3pS1E8F/bm2wUWtXoDW284HJ63Z4ap9hU1Pu15vlgplWxb8cPyx0Nv 77NHaY7ta2pxpp3fAdxMEgEbOxmYMaLAaWCtpJQSnuttko8MLp89VXPsU3wO96MQoR JCjDCUGUu/TivH9WXUbEqNN1fEAko1VUL7gMoJwddIe7TgljvlTxXZEn8uBNcd+CO9 8Dm8qnQhgOeh/xl9q5fXdXdU5PtGlh53gHqEbCXeVff1ljLCbUg3zyroIifWlPn9f/ /4CU5zbAZtaUYaSuj/0QuPk92dCKdQRXFSqOwUb1MwBq9F5eOpueQkPXM9PeJbtWDY ihc5n9BuzPwxdVcat+yJsBhVqetq7LODeilQHH6Jdlt+mf6L8UYDlnsg49DSBOcsNE Xz8sIxdjps9FNMnnIM8EWjEuOJyiwIj5+6plQfkIZ5dDKkcMAeH1pXjna0+2j3RdQj E/H1e0YW+d+U/qppFVFNX5LI= Received: from zn.tnic (p200300EA971f9374329C23fFfEA6A903.dip0.t-ipconnect.de [IPv6:2003:ea:971f:9374:329c:23ff:fea6:a903]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 7C39840E02BF; Thu, 2 Jan 2025 11:52:44 +0000 (UTC) Date: Thu, 2 Jan 2025 12:52:37 +0100 From: Borislav Petkov To: Rik van Riel Cc: x86@kernel.org, linux-kernel@vger.kernel.org, kernel-team@meta.com, dave.hansen@linux.intel.com, luto@kernel.org, peterz@infradead.org, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, akpm@linux-foundation.org, nadav.amit@gmail.com, zhengqi.arch@bytedance.com, linux-mm@kvack.org Subject: Re: [PATCH 01/12] x86/mm: make MMU_GATHER_RCU_TABLE_FREE unconditional Message-ID: <20250102115237.GGZ3Z-BUqBauHEfB10@fat_crate.local> References: <20241230175550.4046587-1-riel@surriel.com> <20241230175550.4046587-2-riel@surriel.com> <20241230184118.GMZ3LpTn3dHvu_bq-p@fat_crate.local> <20241231161931.GFZ3QZk8kSgiImE90y@fat_crate.local> <8aa196d4c781444cf55993faea56161b926cb311.camel@surriel.com> 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=utf-8 Content-Disposition: inline In-Reply-To: <8aa196d4c781444cf55993faea56161b926cb311.camel@surriel.com> On Tue, Dec 31, 2024 at 11:30:48AM -0500, Rik van Riel wrote: > I'll wait for you to finish making your way > through before coming up with a v4 :) Thanks! > It looks like with this patch the translation cache > extensions get enabled (when I read back the MSR), > but the AMD manual suggests I may need to enable > EFER.TCE separately on every CPU? Yes, you do. EFER is a per-thread MSR. cpu/amd.c is where we usually do enable features. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette