; alex.william...@redhat.com; jiang@linux.intel.com;
eric.au...@linaro.org; linux-ker...@vger.kernel.org;
io...@lists.linux-foundation.org; kvm@vger.kernel.org
Subject: Re: [v3 23/26] KVM: Update Posted-Interrupts Descriptor when vCPU
is preempted
On Fri, Dec 12, 2014 at 11:14:57PM +0800, Feng Wu
On Fri, Dec 12, 2014 at 11:14:57PM +0800, Feng Wu wrote:
This patch updates the Posted-Interrupts Descriptor when vCPU
is preempted.
sched out:
- Set 'SN' to suppress furture non-urgent interrupts posted for
the vCPU.
What wakes the vcpu in the case of a non-urgent interrupt, then?
I
On 18/12/2014 04:15, Wu, Feng wrote:
Thanks for your comments, Paolo!
If we use u64 new_control, we cannot use new.sn any more.
Maybe we can change the struct pi_desc {} like this:
typedef struct pid_control{
u64 on : 1,
sn : 1,
rsvd_1 : 13,
...@vger.kernel.org; kvm@vger.kernel.org
Subject: Re: [v3 23/26] KVM: Update Posted-Interrupts Descriptor when vCPU
is preempted
On 18/12/2014 04:15, Wu, Feng wrote:
Thanks for your comments, Paolo!
If we use u64 new_control, we cannot use new.sn any more.
Maybe we can change the struct
On 12/12/2014 16:14, Feng Wu wrote:
+ if (irq_remapping_cap(IRQ_POSTING_CAP)) {
+ struct pi_desc *pi_desc = vcpu_to_pi_desc(vcpu);
+ struct pi_desc old, new;
+ unsigned int dest;
+
+ memset(old, 0, sizeof(old));
+ memset(new,
...@8bytes.org; Alex
Williamson; jiang.liu-VuQAYsv1563Yd54FQh9/c...@public.gmane.org
Cc: io...@lists.linux-foundation.org; linux-ker...@vger.kernel.org; KVM list;
Eric Auger
Subject: Re: [v3 23/26] KVM: Update Posted-Interrupts Descriptor when vCPU
is preempted
On 12/12/2014 16:14, Feng Wu wrote