[PATCH 2/4] x86/fpu: Disable XGETBV1 when no XSAVE

2016-01-06 Thread yu-cheng yu
When "noxsave" is given as a command-line input, the kernel should disable XGETBV1. This issue currently does not cause any actual problems. XGETBV1 is only useful if we have something using the 'init optimization' (i.e. xsaveopt, xsaves). We already clear both of those in

[PATCH 2/4] x86/fpu: Disable XGETBV1 when no XSAVE

2016-01-06 Thread yu-cheng yu
When "noxsave" is given as a command-line input, the kernel should disable XGETBV1. This issue currently does not cause any actual problems. XGETBV1 is only useful if we have something using the 'init optimization' (i.e. xsaveopt, xsaves). We already clear both of those in