Re: [PATCH 11/12] x86/mm: enable AMD translation cache extensions

From: Borislav Petkov
Date: Fri Jan 10 2025 - 14:59:27 EST


On Fri, Jan 10, 2025 at 02:45:27PM -0500, Rik van Riel wrote:
> Is this the right location for that code, or
> do I need to move it somewhere else to
> guarantee TCE gets enabled on every CPU?

Didn't I answer this already?

https://lore.kernel.org/r/20250102115237.GGZ3Z-BUqBauHEfB10@fat_crate.local

And you should put it in init_amd() as it runs on every CPU.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette