Re: [6.5.0-rc1] unchecked MSR access error: RDMSR from 0xe2 at rIP: 0xffffffff87090227 (native_read_msr+0x7/0x40) (intel_idle_init_cstates_icpu)

From: Arjan van de Ven
Date: Fri Jul 14 2023 - 17:47:38 EST


On 7/14/2023 2:11 PM, Peter Zijlstra wrote:
On Tue, Jul 11, 2023 at 11:39:53AM -0700, Arjan van de Ven wrote:
On
I think you mean "revert"?

That can be done, but maybe it can be fixed instead?

this specific issue I will fix shortly (together with the RDMSR thing)

I still don't know why this needs to be in intel_idle.

we can do a seperate idle driver; it'll still be x86 specific (since idle really is arch specific)...
and then the umwait parts of this will be Intel specific.. as well any future idle methods ..
and I'm not sure the AMD folks would even want it used .... at which point it ends up Intel
specific fully and we now have 2 Intel idle drivers.
I don't see how that makes sense.