Re: [Xen-devel] [PATCH] x86: consolidate legacy FPU state loading

2018-07-03 Thread Jan Beulich
>>> On 03.07.18 at 12:48, wrote: > On Tue, Jun 26, 2018 at 01:51:47AM -0600, Jan Beulich wrote: >> First of all introduce a helper function instead of replicating almost >> the same code for PV and HVM. The differences between the two pieces of >> code actually points out an issue (which is also a

Re: [Xen-devel] [PATCH] x86: consolidate legacy FPU state loading

2018-07-03 Thread Wei Liu
On Tue, Jun 26, 2018 at 01:51:47AM -0600, Jan Beulich wrote: > First of all introduce a helper function instead of replicating almost > the same code for PV and HVM. The differences between the two pieces of > code actually points out an issue (which is also addressed here): In > the HVM case FCW w

[Xen-devel] [PATCH] x86: consolidate legacy FPU state loading

2018-06-26 Thread Jan Beulich
First of all introduce a helper function instead of replicating almost the same code for PV and HVM. The differences between the two pieces of code actually points out an issue (which is also addressed here): In the HVM case FCW would not have been set to FCW_RESET in certain cases (note for exampl