Re: [Xen-devel] [PATCH v2 01/10] x86/HVM: Introduce struct hvm_pi_ops

2017-01-10 Thread Suravee Suthikulpanit
On 01/10/2017 03:24 PM, Jan Beulich wrote: On 10.01.17 at 07:51, wrote: On 01/05/2017 10:51 PM, Jan Beulich wrote: On 31.12.16 at 06:45, wrote: --- a/xen/include/asm-x86/hvm/domain.h +++ b/xen/include/asm-x86/hvm/domain.h @@ -72,6 +72,67 @@ struct hvm_ioreq_server { bool_t

Re: [Xen-devel] [PATCH v2 01/10] x86/HVM: Introduce struct hvm_pi_ops

2017-01-10 Thread Jan Beulich
>>> On 10.01.17 at 07:51, wrote: > On 01/05/2017 10:51 PM, Jan Beulich wrote: > On 31.12.16 at 06:45, wrote: >>> --- a/xen/include/asm-x86/hvm/domain.h >>> +++ b/xen/include/asm-x86/hvm/domain.h >>> @@ -72,6 +72,67 @@ struct hvm_ioreq_server { >>> bool_t bufioreq_atomic;

Re: [Xen-devel] [PATCH v2 01/10] x86/HVM: Introduce struct hvm_pi_ops

2017-01-09 Thread Suravee Suthikulpanit
Jan, On 01/05/2017 10:51 PM, Jan Beulich wrote: On 31.12.16 at 06:45, wrote: --- a/xen/include/asm-x86/hvm/domain.h +++ b/xen/include/asm-x86/hvm/domain.h @@ -72,6 +72,67 @@ struct hvm_ioreq_server { bool_t bufioreq_atomic; }; +struct hvm_pi_ops { +/* + * To hand

Re: [Xen-devel] [PATCH v2 01/10] x86/HVM: Introduce struct hvm_pi_ops

2017-01-05 Thread Jan Beulich
>>> On 31.12.16 at 06:45, wrote: > --- a/xen/include/asm-x86/hvm/domain.h > +++ b/xen/include/asm-x86/hvm/domain.h > @@ -72,6 +72,67 @@ struct hvm_ioreq_server { > bool_t bufioreq_atomic; > }; > > +struct hvm_pi_ops { > +/* > + * To handle posted interrupts correctl

Re: [Xen-devel] [PATCH v2 01/10] x86/HVM: Introduce struct hvm_pi_ops

2017-01-04 Thread Jan Beulich
>>> On 05.01.17 at 03:54, wrote: >> From: Suravee Suthikulpanit [mailto:suravee.suthikulpa...@amd.com] >> Sent: Saturday, December 31, 2016 1:46 PM >> --- a/xen/arch/x86/hvm/vmx/vmx.c >> +++ b/xen/arch/x86/hvm/vmx/vmx.c >> @@ -204,12 +204,12 @@ void vmx_pi_hooks_assign(struct domain *d) >> i

Re: [Xen-devel] [PATCH v2 01/10] x86/HVM: Introduce struct hvm_pi_ops

2017-01-04 Thread Tian, Kevin
> From: Suravee Suthikulpanit [mailto:suravee.suthikulpa...@amd.com] > Sent: Saturday, December 31, 2016 1:46 PM > > The current function pointers for managing hvm posted interrupt > can be used also by SVM AVIC. Therefore, this patch introduces the > struct hvm_pi_ops in the struct hvm_domain to

[Xen-devel] [PATCH v2 01/10] x86/HVM: Introduce struct hvm_pi_ops

2016-12-30 Thread Suravee Suthikulpanit
The current function pointers for managing hvm posted interrupt can be used also by SVM AVIC. Therefore, this patch introduces the struct hvm_pi_ops in the struct hvm_domain to hold them. Signed-off-by: Suravee Suthikulpanit Reviewed-by: Konrad Rzeszutek Wilk Cc: Boris Ostrovsky Cc: Jun Nakajim