Re: [PATCH v2 1/4] KVM: x86: Move FPU register accessors into fpu.h

2021-04-13 Thread Siddharth Chandrasekaran
On Tue, Apr 13, 2021 at 03:40:56PM +0200, Vitaly Kuznetsov wrote: > Siddharth Chandrasekaran writes: > > @@ -0,0 +1,140 @@ > > +/* SPDX-License-Identifier: GPL-2.0 */ > > + > > +#ifndef __KVM_FPU_H_ > > +#define __KVM_FPU_H_ > > + > > +#include > > + > > +typedef u32

Re: [PATCH v2 1/4] KVM: x86: Move FPU register accessors into fpu.h

2021-04-13 Thread Vitaly Kuznetsov
Siddharth Chandrasekaran writes: > Hyper-v XMM fast hypercalls use XMM registers to pass input/output > parameters. To access these, hyperv.c can reuse some FPU register > accessors defined in emulator.c. Move them to a common location so both > can access them. > > While at it, reorder the