Re: [XEN PATCH] intel/msr: Fix handling of MSR_RAPL_POWER_UNIT

2025-01-14 Thread Roger Pau Monné
On Tue, Jan 14, 2025 at 10:32:25AM +0100, Roger Pau Monné wrote: > On Mon, Jan 13, 2025 at 06:42:44PM +, Teddy Astie wrote: > > Solaris 11.4 tries to access this MSR on some Intel platforms without > > properly > > setting up a proper #GP handler, which leads to a immediate crash. > > > > Emu

Re: [XEN PATCH] intel/msr: Fix handling of MSR_RAPL_POWER_UNIT

2025-01-14 Thread Andrew Cooper
On 13/01/2025 6:42 pm, Teddy Astie wrote: > Solaris 11.4 tries Is it only Solaris 11.4, or is the simply the one repro you had? Have you reported a bug? > to access this MSR on some Intel platforms without properly > setting up a proper #GP handler, which leads to a immediate crash. Minor gram

Re: [XEN PATCH] intel/msr: Fix handling of MSR_RAPL_POWER_UNIT

2025-01-14 Thread Roger Pau Monné
On Mon, Jan 13, 2025 at 06:42:44PM +, Teddy Astie wrote: > Solaris 11.4 tries to access this MSR on some Intel platforms without properly > setting up a proper #GP handler, which leads to a immediate crash. > > Emulate the access of this MSR by giving it a legal value (all values set to > defa

[XEN PATCH] intel/msr: Fix handling of MSR_RAPL_POWER_UNIT

2025-01-13 Thread Teddy Astie
Solaris 11.4 tries to access this MSR on some Intel platforms without properly setting up a proper #GP handler, which leads to a immediate crash. Emulate the access of this MSR by giving it a legal value (all values set to default, as defined by Intel SDM "RAPL Interfaces"). Fixes: 84e848fd7a1 ('