Re: [Xen-devel] PROBLEM: kernel panic xsave_init

From: Jan Beulich
Date: Tue Oct 20 2015 - 10:41:18 EST


>>> On 20.10.15 at 16:27, <boris.ostrovsky@xxxxxxxxxx> wrote:
> On 10/20/2015 09:43 AM, Jan Beulich wrote:
>>>>> On 20.10.15 at 15:22, <boris.ostrovsky@xxxxxxxxxx> wrote:
>>> The reason I think its this commit is that RAX, RDX and RCX look very
>>> much like arguments to xsetbv (which xstate_enable_boot_cpu() executes)
>>> and RAX value is 0x1f, which has two new bits that this commit defined.
>> That would be the two MPX related bits, yet us (luckily) white listing
>> leaf 7 in pv_cpuid(), it is quite easy to validate that we don't expose
>> this feature to PV(H) guests.
>
> Oh, so something like
>
> cpuid=['0x7:ebx=xxxxxxxxxxxxxxxxx0xxxxxxxxxxxxxx']
>
> (bit 14 as zero) for John to try then.

He might try it, but as per what I've said this shouldn't make a
difference for PV(H) guests.

Jan

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/