Re: [Xen-devel] [PATCH 3/8] x86/SVM: Add AVIC vmexit handlers

2018-04-30 Thread Andrew Cooper
On 30/04/2018 22:23, Natarajan, Janakarajan wrote: >>> +static int avic_ldr_write(struct vcpu *v, u8 g_phy_id, u32 ldr, >>> bool valid) >>> +{ >>> +    struct avic_logical_id_entry *entry, new_entry; >>> +    u32 dfr = vlapic_read_aligned(vcpu_vlapic(v), APIC_DFR); >>> + >>> +    entry = avic_get_l

Re: [Xen-devel] [PATCH 3/8] x86/SVM: Add AVIC vmexit handlers

2018-04-30 Thread Natarajan, Janakarajan
On 4/13/2018 12:48 PM, Andrew Cooper wrote: On 04/04/18 00:01, Janakarajan Natarajan wrote: From: Suravee Suthikulpanit AVIC introduces two new #vmexit handlers: VMEXIT_INCOMP_IPI: This occurs when an IPI could not be delivered to all targeted guest virtual processors because at least one g

Re: [Xen-devel] [PATCH 3/8] x86/SVM: Add AVIC vmexit handlers

2018-04-23 Thread Jan Beulich
>>> On 20.04.18 at 22:02, wrote: > On 4/17/2018 7:58 AM, Jan Beulich wrote: > On 04.04.18 at 01:01, wrote: >>> --- a/xen/include/asm-x86/hvm/vlapic.h >>> +++ b/xen/include/asm-x86/hvm/vlapic.h >>> @@ -137,6 +137,10 @@ void vlapic_ipi(struct vlapic *vlapic, uint32_t > icr_low, >>> uint32_t ic

Re: [Xen-devel] [PATCH 3/8] x86/SVM: Add AVIC vmexit handlers

2018-04-20 Thread Natarajan, Janakarajan
On 4/17/2018 7:58 AM, Jan Beulich wrote: On 04.04.18 at 01:01, wrote: --- a/xen/include/asm-x86/hvm/vlapic.h +++ b/xen/include/asm-x86/hvm/vlapic.h @@ -137,6 +137,10 @@ void vlapic_ipi(struct vlapic *vlapic, uint32_t icr_low, uint32_t icr_high); int vlapic_apicv_write(struct vcpu *v, unsig

Re: [Xen-devel] [PATCH 3/8] x86/SVM: Add AVIC vmexit handlers

2018-04-19 Thread Natarajan, Janakarajan
On 4/17/2018 7:58 AM, Jan Beulich wrote: On 04.04.18 at 01:01, wrote: --- a/xen/include/asm-x86/hvm/vlapic.h +++ b/xen/include/asm-x86/hvm/vlapic.h @@ -137,6 +137,10 @@ void vlapic_ipi(struct vlapic *vlapic, uint32_t icr_low, uint32_t icr_high); int vlapic_apicv_write(struct vcpu *v, unsig

Re: [Xen-devel] [PATCH 3/8] x86/SVM: Add AVIC vmexit handlers

2018-04-17 Thread Jan Beulich
>>> On 04.04.18 at 01:01, wrote: > --- a/xen/include/asm-x86/hvm/vlapic.h > +++ b/xen/include/asm-x86/hvm/vlapic.h > @@ -137,6 +137,10 @@ void vlapic_ipi(struct vlapic *vlapic, uint32_t icr_low, > uint32_t icr_high); > > int vlapic_apicv_write(struct vcpu *v, unsigned int offset); > > +void

Re: [Xen-devel] [PATCH 3/8] x86/SVM: Add AVIC vmexit handlers

2018-04-13 Thread Andrew Cooper
On 04/04/18 00:01, Janakarajan Natarajan wrote: > From: Suravee Suthikulpanit > > AVIC introduces two new #vmexit handlers: > > VMEXIT_INCOMP_IPI: > This occurs when an IPI could not be delivered to all targeted guest > virtual processors because at least one guest virtual processor > was not allo

[Xen-devel] [PATCH 3/8] x86/SVM: Add AVIC vmexit handlers

2018-04-03 Thread Janakarajan Natarajan
From: Suravee Suthikulpanit AVIC introduces two new #vmexit handlers: VMEXIT_INCOMP_IPI: This occurs when an IPI could not be delivered to all targeted guest virtual processors because at least one guest virtual processor was not allocated to a physical core at the time. In this case, Xen would