On Tue, 03 Mar 2015 17:08:37 -0800, Andy Lutomirski said:
>
> Are they poking cr4 directly with mov?  Let's see:
>
>     /* Enable the VMX bit in CR4 if necessary. */
>     RTCCUINTREG uCr4 = ASMGetCR4();
>     if (!(uCr4 & X86_CR4_VMXE))
>         ASMSetCR4(uCr4 | X86_CR4_VMXE);
>
> ASMSetCR4 is about what you'd expect.
>
> I deliberately renamed write_cr4 to __write_cr4 to catch this kind of
> thing in anything that uses the asm/ headers, but I can't do anything
> about asm code in out-of-tree modules.

Thanks for the confirmation, I've already updated the tracking bug they
were using for 4.0 issues, and will chase it further with them...

Attachment: pgpieinGiZdx6.pgp
Description: PGP signature

Reply via email to