vmbus: re-enable tasklet
Subsystems (2)
PATCH 1/1 vmbus: re-enable tasklet
This problem shows up in 4.11 when netvsc driver is removed and reloaded. The problem is that the channel is closed during module removal and the tasklet for processing responses is disabled. When module is reloaded the channel is reopened but the tasklet is marked as disabled.
Patch for upstream is pending, but less urgent since problem doesn't happen with network driver in 4.12.
--- drivers/hv/channel.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/hv/channel.c +2 -0
@@ -606,6 +606,8 @@ static int vmbus_close_internal(struct vmbus_channel *channel) get_order(channel->ringbuffer_pagecount * PAGE_SIZE)); out: +/* re-enable tasklet for use on re-open */ +tasklet_enable (&channel->callback_event);return ret; }
Signature · 1 line
2.11.0
Quoted 18 lines · On Thu, 22 Jun 2017 16:16:54 -0700 Stephen Hemminger…
This problem shows up in 4.11 when netvsc driver is removed and reloaded. The problem is that the channel is closed during module removal and the tasklet for processing responses is disabled. When module is reloaded the channel is reopened but the tasklet is marked as disabled.
Patch for upstream is pending, but less urgent since problem doesn't happen with network driver in 4.12.
Signed-off-by Stephen Hemminger <[email protected]>--- drivers/hv/channel.c | 2 ++ 1 file changed, 2 insertions(+)drivers/hv/channel.c +0
-0
drivers/hv/channel.c static int vmbus_close_internal(struct vmbus_channel *channel) · line 613
Quoted 8 lines
drivers/hv/channel.c +2
-0@@ -606,6 +606,8 @@ static int vmbus_close_internal(struct vmbus_channel *channel) get_order(channel->ringbuffer_pagecount * PAGE_SIZE)); out: +/* re-enable tasklet for use on re-open */ +tasklet_enable (&channel->callback_event);return ret; }
Ping.
What is the state of this patch? Why is it not queued for 4.11 stable?
Quoted 45 lines
-----Original Message-----
From: Stephen Hemminger [mailto:[email protected]]
Sent: Thursday, June 29, 2017 4:31 PM
To: KY Srinivasan <[email protected]>; Haiyan Yang <[email protected]>
Cc: [email protected]; [email protected]; Greg KH <[email protected]>
Subject: Re: [PATCH] vmbus: re-enable taskletQuoted 1 line · On Thu, 22 Jun 2017 16:16:54 -0700 Stephen Hemminger…
This problem shows up in 4.11 when netvsc driver is removed and
reloaded.
drivers/hv/channel.c static int vmbus_close_internal(struct
Quoted 17 lines
The problem is that the channel is closed during module removal and the tasklet for processing responses is disabled. When module is reloaded the channel is reopened but the tasklet is marked as disabled.
Patch for upstream is pending, but less urgent since problem doesn't happen with network driver in 4.12.
Signed-off-by Stephen Hemminger <[email protected]>--- drivers/hv/channel.c | 2 ++ 1 file changed, 2 insertions(+)drivers/hv/channel.c +0
-0@@ -606,6 +606,8 @@ static int vmbus_close_internal(struct
vmbus_channel*channel)drivers/hv/channel.c static int vmbus_close_internal(struct vmbus_channel *channel) · line 613
Quoted 8 lines
drivers/hv/channel.c +2
-0get_order(channel->ringbuffer_pagecount * PAGE_SIZE)); out: +/* re-enable tasklet for use on re-open */ +tasklet_enable (&channel->callback_event);return ret; }Ping.
Quoted 1 line
What is the state of this patch? Why is it not queued for 4.11 stable?
I will submit this shortly.
K. Y
Quoted 56 lines
-----Original Message-----
From: devel [mailto:[email protected]] On Behalf Of KY Srinivasan
Sent: Thursday, June 29, 2017 4:36 PM
To: Stephen Hemminger <[email protected]>; Haiyan Yang <[email protected]>
Cc: [email protected]; [email protected]
Subject: RE: [PATCH] vmbus: re-enable taskletQuoted 43 lines
-----Original Message-----
From: Stephen Hemminger [mailto:[email protected]]
Sent: Thursday, June 29, 2017 4:31 PM
To: KY Srinivasan <[email protected]>; Haiyan Yang <[email protected]>
Cc: [email protected]; [email protected]; Greg KH <[email protected]>
Subject: Re: [PATCH] vmbus: re-enable taskletQuoted 1 line · On Thu, 22 Jun 2017 16:16:54 -0700 Stephen Hemminger…
This problem shows up in 4.11 when netvsc driver is removed and
reloaded.
drivers/hv/channel.c static int vmbus_close_internal(struct
Quoted 17 lines
The problem is that the channel is closed during module removal and the tasklet for processing responses is disabled. When module is reloaded the channel is reopened but the tasklet is marked as disabled.
Patch for upstream is pending, but less urgent since problem doesn't happen with network driver in 4.12.
Signed-off-by Stephen Hemminger <[email protected]>--- drivers/hv/channel.c | 2 ++ 1 file changed, 2 insertions(+)drivers/hv/channel.c +0
-0@@ -606,6 +606,8 @@ static int vmbus_close_internal(struct
vmbus_channel*channel)drivers/hv/channel.c static int vmbus_close_internal(struct vmbus_channel *channel) · line 613
Quoted 8 lines
drivers/hv/channel.c +2
-0get_order(channel->ringbuffer_pagecount * PAGE_SIZE)); out: +/* re-enable tasklet for use on re-open */ +tasklet_enable (&channel->callback_event);return ret; }Ping.
Quoted 5 lines
Quoted 1 line
What is the state of this patch? Why is it not queued for 4.11 stable?
I will submit this shortly.
K. Y
Looks like I have already tagged the patch for "stable"
K. Y
Quoted 9 lines
_______________________________________________
devel mailing list
[email protected]
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdriverd
ev.linuxdriverproject.org%2Fmailman%2Flistinfo%2Fdriverdev- devel&data=02%7C01%7Ckys%40microsoft.com%7C13413d4ede084b455e74 08d4bf479602%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636343 761559957369&sdata=aTcCIkpVDcwMIiZIavf2pvYdqdBQLhBuIStgb4%2FI%2FC 4%3D&reserved=0