Skip to content

Staging: hv: Driver cleanup

K. Y. Srinivasan lkml virtualization 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest49 patches 19 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/49Staging: hv: vmbus: In vmbus_child_driver_unregister() don't set the bus field to NULLdrivers/staging/hv/vmbus_drv.c+0 -10 replies
2/49Staging: hv: storvsc: Cleanup the exit function in storvsc_drv.cdrivers/staging/hv/storvsc_drv.c+2 -70 replies
3/49Staging: hv: storvsc: Cleanup the module init function in storvsc_drv.cdrivers/staging/hv/storvsc_drv.c+2 -110 replies
4/49Staging: hv: storvsc: Fix a bug in the storvsc_remove() functiondrivers/staging/hv/storvsc_drv.c+5 -70 replies
5/49Staging: hv: storvsc: Cleanup some dated/unnecessary commentsdrivers/staging/hv/storvsc_drv.c+1 -130 replies
6/49Staging: hv: stor: Get rid of unnecessary DPRINTs in stor vsc_drv.cdrivers/staging/hv/storvsc_drv.c+0 -190 replies
7/49Staging: hv: stor: Rename the vriable gStorVscDeviceType in storvsc_drv.cdrivers/staging/hv/storvsc_drv.c+2 -20 replies
8/49Staging: hv: stor: Get rid of the unused initialization of the name fielddrivers/staging/hv/storvsc_drv.c+0 -10 replies
9/49Staging: hv: blk: Get rid of the unused initialization of the name fielddrivers/staging/hv/blkvsc_drv.c+0 -10 replies
10/49Staging: hv: mouse: Get rid of the unused initialization of the name fielddrivers/staging/hv/hv_mouse.c+0 -10 replies
11/49Staging: hv: vmbus: Don't free the channel when the channel is closeddrivers/staging/hv/channel.c+0 -140 replies
12/49Staging: hv: storvsc: Add a DMI signature to support auto-loadingdrivers/staging/hv/storvsc_drv.c+22 -07 replies
13/49Staging: hv: vmbus: Change the signature of vmbus_bus_init()drivers/staging/hv/vmbus_drv.c+7 -70 replies
14/49Staging: hv: vmbus: Use the DSDT specified irq for vmbusdrivers/staging/hv/vmbus_drv.c+3 -120 replies
15/49Staging: hv: vmbus: Make vmbus an acpi bus driverdrivers/staging/hv/vmbus_drv.c+9 -471 reply
16/49Staging: hv: vmbus: Get rid of vmbus_acpi_init() by inlining the codedrivers/staging/hv/vmbus_drv.c+2 -130 replies
17/49Staging: hv: vmbus: Get rid of vmbus_acpi_exit() by inlining the codedrivers/staging/hv/vmbus_drv.c+1 -90 replies
18/49Staging: hv: vmbus: Add the DSDT _HID name as welldrivers/staging/hv/vmbus_drv.c+1 -00 replies
19/49Staging: hv: blkvsc: Fix bugs in the module unload pathdrivers/staging/hv/blkvsc_drv.c+23 -170 replies
20/49Staging: hv: blkvsc: We don't support removable media; get rid of unnecessary statedrivers/staging/hv/blkvsc_drv.c+0 -10 replies
21/49Staging: hv: vmbus: Get rid of the timer based handling of channel eventsdrivers/staging/hv/channel.c+0 -10 replies
22/49Staging: hv: vmbus: Get rid of the call to dump channel state in channel event handlerdrivers/staging/hv/channel.c+0 -10 replies
23/49Staging: hv: vmbus: Directly invoke the channel callbackdrivers/staging/hv/connection.c+1 -10 replies
24/49Staging: hv: vmbus: Get rid of the unused wrapper - vmbus_onchannel_event()drivers/staging/hv/channel.c drivers/staging/hv/hyperv.h+0 -115 replies
25/49Staging: hv: vmbus: Get rid of unneeded calls to dump_vmbus_channeldrivers/staging/hv/channel.c+0 -130 replies
26/49Staging: hv: vmbus: Get rid of the poll timer in the channel statedrivers/staging/hv/channel.c drivers/staging/hv/channel_mgmt.c drivers/staging/hv/hyperv.h+0 -71 reply
27/49Staging: hv: vmbus: Fix the memory barrier in hv_ringbuffer_read()drivers/staging/hv/ring_buffer.c+1 -10 replies
28/49Staging: hv: vmbus: Introduce read dependency in hv_get_ringbuffer_availbytes()drivers/staging/hv/ring_buffer.c+2 -00 replies
29/49Staging: hv: vmbus: Change the memory barrier in hv_ringbuffer_write()drivers/staging/hv/ring_buffer.c+1 -10 replies
30/49Staging: hv: vmbus: Get rid of the unused function vmbus_ontimer()drivers/staging/hv/channel.c+0 -120 replies
31/49Staging: hv: vmbus: Get rid of some dated comments in channel.cdrivers/staging/hv/channel.c+0 -30 replies
32/49Staging: hv: vmbus: Correct some dated comments in channel.cdrivers/staging/hv/channel.c+4 -70 replies
33/49Staging: hv: vmbus: Move the definition of struct vmbus_channeldrivers/staging/hv/hyperv.h+38 -390 replies
34/49Staging: hv: vmbus: Embed the state needed to close the channeldrivers/staging/hv/hyperv.h+7 -00 replies
35/49Staging: hv: vmbus: Use the newly introduced state in closing the channeldrivers/staging/hv/channel.c+1 -90 replies
36/49Staging: hv: vmbus: Get rid of a dated comment in vmbus_drv.cdrivers/staging/hv/vmbus_drv.c+0 -10 replies
37/49Staging: hv: vmbus: Get rid of an unused function in connection.cdrivers/staging/hv/connection.c drivers/staging/hv/hyperv_vmbus.h+0 -400 replies
38/49Staging: hv: vmbus: Get rid of a dated comment in channel_mgmt.cdrivers/staging/hv/channel_mgmt.c+0 -10 replies
39/49Staging: hv: vmbus: Fix a memory barrier call in vmbus_drv.cdrivers/staging/hv/vmbus_drv.c+1 -10 replies
40/49Staging: hv: vmbus: Rename local variables in vmbus_drv.cdrivers/staging/hv/vmbus_drv.c+6 -60 replies
41/49Staging: hv: vmbus: Increase the timeout for some critical callsdrivers/staging/hv/channel.c+2 -20 replies
42/49Staging: hv: vmbus: Properly handle memory allocation failure in channel.cdrivers/staging/hv/channel.c+17 -20 replies
43/49Staging: hv: vmbus: Cleanup some error codes in vmbus_drv.cdrivers/staging/hv/vmbus_drv.c+2 -20 replies
44/49Staging: hv: vmbus: Cleanup error handling in vmbus_bus_init()drivers/staging/hv/vmbus_drv.c+6 -100 replies
45/49Staging: hv: vmbus: Cleanup error codes in hv.cdrivers/staging/hv/hv.c+2 -20 replies
46/49Staging: hv: vmbus: Cleanup error codes in connection.cdrivers/staging/hv/connection.c+5 -50 replies
47/49Staging: hv: vmbus: Cleanup some error values in channel.cdrivers/staging/hv/channel.c+1 -10 replies
48/49Staging: hv: vmbus: Change Cleanup to cleanup in channel.cdrivers/staging/hv/channel.c+5 -50 replies
49/49Staging: hv: vmbus: Increase the timeout value in vmbus_request_offers()drivers/staging/hv/channel_mgmt.c+1 -14 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/49] Staging: hv: Driver cleanup

Further cleanup of the hv drivers:

1) Continue to cleanup our drivers to conform to the Linux Driver Model.

2) Fix some long standing bugs with regards to unloading and reloading the drivers - block, net and stor.

3) VMBUS is an ACPI enumerated device; make VMBUS an ACPI bus driver.

4) Get rid of channel polling code; instead the channel receive paths will be purely interrupt drive.

5) Cleanup error return values in the vmbus driver and general cleanup.

6) Fix memory barrier calls in the ring buffer code.

7) Increase the timeout values for some critical guest to host calls.

Regads,

K. Y