Re: [PATCH v15 10/13] tsc: Upgrade TSC clocksource rating

From: Borislav Petkov
Date: Fri Jan 03 2025 - 07:07:05 EST


On Fri, Jan 03, 2025 at 03:39:56PM +0530, Nikunj A. Dadhania wrote:
> Right, let me limit this only to virtualized environments as part of
> CONFIG_PARAVIRT.

That's not what you do below - you check whether you're running as a guest.

And that's not sufficient as I just said. I think the only somewhat reliable
thing you can do is when you're running as a STSC guest.

--
Regards/Gruss,
Boris.

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