Re: [PATCH 2/4] perf/x86/ibs: Use CPUID region helper

From: Borislav Petkov
Date: Mon Apr 22 2024 - 17:45:35 EST


On Mon, Apr 22, 2024 at 11:30:24PM +0200, Robert Richter wrote:
> I mean the case where the cpuid leaf exists but IBS_CAPS_AVAIL is
> clear. That could be possible with some cpuid override e.g. in virt
> envs.

Until there is a valid use case, I don't care.

> Not on real hardware and if future systems not decide to enable IBS
> feature bit and clear IBS_CAPS_AVAIL, which could be a valid case IMO.

Then they get what they ordered and get to keep the pieces.

We don't support every insane configuration virt comes up with.

--
Regards/Gruss,
Boris.

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