Re: [PATCH] vmbus: fix missed ring events on boot

2017-03-18 Thread Stephen Hemminger
On Sat, 18 Mar 2017 07:46:21 + Dexuan Cui wrote: > > From: devel [mailto:driverdev-devel-boun...@linuxdriverproject.org] On > > Behalf Of Stephen Hemminger > > @@ -609,7 +609,15 @@ static int vmbus_close_internal(struct > > @@ -480,20 +492,12 @@ static void vmbus_process_offer(struct > > H

RE: [PATCH] vmbus: fix missed ring events on boot

2017-03-18 Thread Dexuan Cui
> From: devel [mailto:driverdev-devel-boun...@linuxdriverproject.org] On > Behalf Of Stephen Hemminger > @@ -609,7 +609,15 @@ static int vmbus_close_internal(struct > @@ -480,20 +492,12 @@ static void vmbus_process_offer(struct Hi Stephen, Thanks for the patch! hv_event_tasklet_enable() is called

[PATCH] vmbus: fix missed ring events on boot

2017-03-17 Thread Stephen Hemminger
During initialization, the channel initialization code schedules the tasklet to scan the VMBUS receive event page (i.e. simulates an interrupt). The problem was that it invokes the tasklet on a different CPU from where it normally runs and therefore if an event is present, it will clear the bit but