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 Latest20 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/20Staging: hv: vmbus: Introduce a utility function to match hv_vmbus_device_iddrivers/staging/hv/vmbus_drv.c+18 -50 replies
2/20Staging: hv: vmbus: Change the signature of struct hv_driver probe functiondrivers/staging/hv/hv_mouse.c drivers/staging/hv/hv_util.c drivers/staging/hv/hyperv.h +3 more+12 -60 replies
3/20Staging: hv: storvsc: Use the driver_data to identify idedrivers/staging/hv/storvsc_drv.c+10 -120 replies
4/20Staging: hv: vmbus: Introduce functions for setting and getting driver datadrivers/staging/hv/hyperv.h+9 -00 replies
5/20Staging: hv: util: Perform some service specific init/deinit in probe/removedrivers/staging/hv/hv_kvp.c drivers/staging/hv/hv_kvp.h drivers/staging/hv/hv_util.c +1 more+76 -421 reply
6/20Staging: hv: util: Properly handle util services in the util driverdrivers/staging/hv/channel_mgmt.c drivers/staging/hv/hv_kvp.c drivers/staging/hv/hv_util.c+25 -774 replies
7/20Staging: hv: vmbus: Get rid of hv_cb_utils[] and other unneeded codedrivers/staging/hv/channel_mgmt.c drivers/staging/hv/hyperv.h+0 -1070 replies
8/20Staging: hv: vmbus: Cleanup vmbus_remove()drivers/staging/hv/vmbus_drv.c+6 -140 replies
9/20Staging: hv: storvsc: Get rid of storvsc_dev_add() by inlining the codedrivers/staging/hv/storvsc_drv.c+14 -442 replies
10/20Staging: hv: storvsc: Get rid of alloc_stor_device() by inlining the codedrivers/staging/hv/storvsc_drv.c+6 -180 replies
11/20Staging: hv: storvsc: Get rid of some unnecessary state and definitionsdrivers/staging/hv/storvsc_drv.c+0 -90 replies
12/20Staging: hv: storvsc: Eliminate the usage of ext field in struct hv_devicedrivers/staging/hv/storvsc_drv.c+10 -100 replies
13/20Staging: hv: netvsc: Get rid of the usage of the ext field in struct hv_devicedrivers/staging/hv/hyperv_net.h drivers/staging/hv/netvsc.c drivers/staging/hv/netvsc_drv.c +1 more+83 -570 replies
14/20Staging: hv: mousevsc: Get rid of the usage of the ext field in struct hv_devicedrivers/staging/hv/hv_mouse.c+9 -90 replies
15/20Staging: hv: vmbus: Get rid of the ext field in struct hv_devicedrivers/staging/hv/hyperv.h+0 -30 replies
16/20Staging: hv: vmbus: Do not allocate struct hv_device_info on the stackdrivers/staging/hv/vmbus_drv.c+69 -651 reply
17/20Staging: hv: vmbus: Get rid of the module dependencydrivers/staging/hv/Kconfig+1 -10 replies
18/20Staging: hv: netvsc: Rename netDevice as net_devicedrivers/staging/hv/netvsc.c drivers/staging/hv/rndis_filter.c+11 -80 replies
19/20Staging: hv: netvsc: Rename rndisDevice to rndis_devicedrivers/staging/hv/rndis_filter.c+12 -120 replies
20/20Staging: hv: netvsc: Rename deviceInfo as device_infodrivers/staging/hv/rndis_filter.c+4 -42 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0000/0020] Staging: hv: Driver cleanup

Address Greg's VmBus audit comments:

1) Leverage driver_data field in struct hv_vmbus_device_id to simplify driver code.

2) Make the util driver conform to the Linux Driver Model.

3) Get rid of the ext field in struct hv_device by using the driver specific data functionality.

4) Implement vmbus specific wrapper functions for setting and getting driver specific data..

5) Other general cleanup.

Regards,

K. Y