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 Latest77 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/77Staging: hv: vmbus: Increase the timeout value in the vmbus driverdrivers/staging/hv/channel.c drivers/staging/hv/channel_mgmt.c drivers/staging/hv/connection.c+3 -30 replies
2/77Staging: hv: netvsc: Increase the timeout value in the netvsc driverdrivers/staging/hv/netvsc.c drivers/staging/hv/rndis_filter.c+5 -50 replies
3/77Staging: hv: storvsc: Increase the timeout value in the storvsc driverdrivers/staging/hv/storvsc.c drivers/staging/hv/storvsc_drv.c+5 -50 replies
4/77Staging: hv: netvsc: Fix a bug in accounting transmit slotsdrivers/staging/hv/netvsc_drv.c+9 -70 replies
5/77Staging: hv: vmbus: Properly handle the error in hv_acpi_init()drivers/staging/hv/vmbus_drv.c+4 -10 replies
6/77Staging: hv: vmbus: VMBUS is an ACPI enumerated device, get rid of the PCI signaturedrivers/staging/hv/vmbus_drv.c+0 -130 replies
7/77Staging: hv: vmbus: Introduce a function to map the dev_type guid to a namedrivers/staging/hv/channel_mgmt.c drivers/staging/hv/hyperv.h+37 -11 reply
8/77Staging: hv: vmbus: Introduce vmbus ID space in struct hv_driverdrivers/staging/hv/hyperv.h+5 -00 replies
9/77Staging: hv: blkvsc: Use the newly introduced vmbus ID in the blockvsc driverdrivers/staging/hv/blkvsc_drv.c+5 -01 reply
10/77Staging: hv: storvsc: Use the newly introduced vmbus ID in storvsc driverdrivers/staging/hv/storvsc_drv.c+5 -00 replies
11/77Staging: hv: netvsc: Use the newly introduced vmbus ID in netvsc driverdrivers/staging/hv/netvsc_drv.c+6 -00 replies
12/77Staging: hv: mousevsc: Use the newly introduced vmbus ID in mouse driverdrivers/staging/hv/hv_mouse.c+5 -00 replies
13/77Staging: hv: vmbus: Introduce a human readable device type field to struct hv_devicedrivers/staging/hv/hyperv.h drivers/staging/hv/vmbus_drv.c+5 -00 replies
14/77Staging: hv: util: Make hv_utils a vmbus device driverdrivers/staging/hv/hv_util.c+33 -10 replies
15/77Staging: hv: blkvsc: Add the appropriate MODULE_ALIAS() linedrivers/staging/hv/blkvsc_drv.c+1 -08 replies
16/77Staging: hv: storvsc: Add the appropriate MODULE_ALIAS() linedrivers/staging/hv/storvsc_drv.c+1 -00 replies
17/77Staging: hv: netvsc: Add the appropriate MODULE_ALIAS() linedrivers/staging/hv/netvsc_drv.c+1 -00 replies
18/77Staging: hv: mousevsc: Add the appropriate MODULE_ALIAS() linedrivers/staging/hv/hv_mouse.c+1 -00 replies
19/77Staging: hv: util: Add the appropriate MODULE_ALIAS() linedrivers/staging/hv/hv_util.c+1 -00 replies
20/77Staging: hv: vmbus: Cleanup the vmbus_uevent() codedrivers/staging/hv/vmbus_drv.c+1 -470 replies
21/77Staging: hv: vmbus: Get rid of an unnecessary include line in vmbus_drv.cdrivers/staging/hv/vmbus_drv.c+0 -10 replies
22/77Staging: hv: storvsc: Get rid of the DMI signaturedrivers/staging/hv/storvsc_drv.c+0 -220 replies
23/77Staging: hv: netvsc: Get rid of the PCI signaturedrivers/staging/hv/netvsc_drv.c+0 -80 replies
24/77Staging: hv: netvsc: Get rid of the DMI signature in netvsc_drv.cdrivers/staging/hv/netvsc_drv.c+0 -190 replies
25/77Staging: hv: util: Get rid of the DMI signature in hv_util.cdrivers/staging/hv/hv_util.c+0 -200 replies
26/77Staging: hv: util: Get rid of the PCI signature in hv_util.cdrivers/staging/hv/hv_util.c+0 -80 replies
27/77Staging: hv: vmbus: Cleanup vmbus_match() functiondrivers/staging/hv/vmbus_drv.c+6 -60 replies
28/77Staging: hv: blkvsc: Get rid of the dev_type guid from blkvsc_drv.cdrivers/staging/hv/blkvsc_drv.c+0 -80 replies
29/77Staging: hv: storvsc: Get rid of the device type guid from storvsc_drv.cdrivers/staging/hv/storvsc_drv.c+0 -100 replies
30/77Staging: hv: netvsc: Get rid of the dev_type guid from netvsc.cdrivers/staging/hv/netvsc.c+0 -100 replies
31/77Staging: hv: netvsc: Initialize the driver name directlydrivers/staging/hv/netvsc_drv.c+3 -10 replies
32/77Staging: hv: netvsc: Get rid of the driver name initialization in netvsc.cdrivers/staging/hv/netvsc.c+0 -50 replies
33/77Staging: hv: netvsc: Get rid of the empty function netvsc_initialize()drivers/staging/hv/hyperv_net.h drivers/staging/hv/netvsc.c drivers/staging/hv/netvsc_drv.c+0 -130 replies
34/77Staging: hv: vmbus: Get rid of the unused name field in struct hv_driverdrivers/staging/hv/hyperv.h+0 -20 replies
35/77Staging: hv: mouse: Get rid of the dev_type guid in hv_mouse.cdrivers/staging/hv/hv_mouse.c+0 -90 replies
36/77Staging: hv: vmbus: Cleanup the code displaying class_iddrivers/staging/hv/vmbus_drv.c+1 -180 replies
37/77Staging: hv: vmbus: Do not initialize dev_type guid in vmbus_child_device_create()drivers/staging/hv/vmbus_drv.c+0 -10 replies
38/77Staging: hv: vmbus: Get rid of the unused dev_type field in hv_device and hv_driverdrivers/staging/hv/hyperv.h+0 -20 replies
39/77Staging: hv: vmbus: Get rid of the device_id attributedrivers/staging/hv/vmbus_drv.c+0 -200 replies
40/77Staging: hv: vmbus: Get rid of some unnecessary commentsdrivers/staging/hv/vmbus_drv.c+0 -20 replies
41/77Staging: hv: vmbus: Cleanup unnecessary comments in hv.cdrivers/staging/hv/hv.c+0 -80 replies
42/77Staging: hv: vmbus: Cleanup error handling in hv_init()drivers/staging/hv/hv.c+2 -20 replies
43/77Staging: hv: vmbus: Get rid of unnecessay comments in connection.cdrivers/staging/hv/connection.c+0 -20 replies
44/77Staging: hv: vmbus: Get rid of the function dump_gpadl_body()drivers/staging/hv/channel.c+0 -200 replies
45/77Staging: hv: vmbus: Get rid of the function dump_gpadl_header()drivers/staging/hv/channel.c+0 -280 replies
46/77Staging: hv: vmbus: Rename openMsg to open_msg in channel.cdrivers/staging/hv/channel.c+10 -100 replies
47/77Staging: hv: vmbus: Get rid of unnecessary comments in channel.cdrivers/staging/hv/channel.c+0 -40 replies
48/77Staging: hv: vmbus: Change the variable name openInfo to open_info in channel.cdrivers/staging/hv/channel.c+12 -120 replies
49/77Staging: hv: vmbus: Cleanup error values in ringbuffer.cdrivers/staging/hv/blkvsc_drv.c drivers/staging/hv/netvsc.c drivers/staging/hv/ring_buffer.c +1 more+6 -60 replies
50/77Staging: hv: vmbus: Cleanup the error return value in vmbus_recvpacket_raw()drivers/staging/hv/channel.c drivers/staging/hv/hv_mouse.c drivers/staging/hv/netvsc.c+3 -30 replies
51/77Staging: hv: netvsc: Get rid of an unnecessary print statement in netvsc_probe()drivers/staging/hv/netvsc_drv.c+0 -20 replies
52/77Staging: hv: vmbus: Retry vmbus_post_msg() before giving uparch/x86/include/asm/hyperv.h drivers/staging/hv/connection.c+18 -10 replies
53/77Staging: hv: storvsc: Cleanup error handling in storvsc_dev_add()drivers/staging/hv/storvsc.c+6 -60 replies
54/77Staging: hv: storvsc: Cleanup error handling in storvsc_channel_init()drivers/staging/hv/storvsc.c+1 -10 replies
55/77Staging: hv: storvsc: Cleanup error handling in storvsc_connect_to_vsp()drivers/staging/hv/storvsc.c+1 -10 replies
56/77Staging: hv: storvsc: Cleanup error handling in storvsc_do_io()drivers/staging/hv/storvsc.c+1 -10 replies
57/77Storage: hv: storvsc: Get rid of some unnecessary DPRINTs from storvsc.cdrivers/staging/hv/storvsc.c+0 -160 replies
58/77Staging: hv: storvsc: Fix/cleanup some dated comments in storvsc.cdrivers/staging/hv/storvsc.c+3 -50 replies
59/77Staging: hv: storvsc: Cleanup returned error code in storvsc_host_reset()drivers/staging/hv/storvsc_drv.c+1 -10 replies
60/77Staging: hv: storvsc: Cleanup error code returned in storvsc_probe()drivers/staging/hv/storvsc_drv.c+2 -20 replies
61/77Staging: hv: storvsc: Cleanup returned error code in storvsc_drv_init()drivers/staging/hv/storvsc_drv.c+1 -10 replies
62/77Staging: hv: netvsc: Cleanup the returned error code in netvsc_probe()drivers/staging/hv/netvsc_drv.c+1 -10 replies
63/77Staging: hv: netvsc: Cleanup error return codes in netvsc_destroy_recv_buf()drivers/staging/hv/netvsc.c+2 -20 replies
64/77Staging: hv: netvsc: Cleanup error return values in netvsc_init_recv_buf()drivers/staging/hv/netvsc.c+5 -50 replies
65/77Staging: hv: netvsc: Cleanup error returns in netvsc_connect_vsp()drivers/staging/hv/netvsc.c+4 -60 replies
66/77Staging: hv: netvsc: Cleanup error return values in netvsc_send()drivers/staging/hv/netvsc.c+2 -20 replies
67/77Staging: hv: netvsc: Cleanup error return codes in netvsc_device_add()drivers/staging/hv/netvsc.c+1 -30 replies
68/77Staging: hv: netvsc: Cleanup error codes in rndis_filter_receive()drivers/staging/hv/rndis_filter.c+2 -20 replies
69/77Staging: hv: netvsc: Cleanup error code in rndis_filter_query_device()drivers/staging/hv/rndis_filter.c+1 -10 replies
70/77Staging: hv: netvsc: Cleanup error return values in rndis_filter_set_packet_filter()drivers/staging/hv/rndis_filter.c+1 -40 replies
71/77Staging: hv: netvsc: Cleanup error returns in rndis_filter_init_device()drivers/staging/hv/rndis_filter.c+2 -20 replies
72/77Staging: hv: netvsc: Cleanup error code in rndis_filter_device_add()drivers/staging/hv/rndis_filter.c+1 -10 replies
73/77Staging: hv: mouse: Change the jump label Cleanup to cleanupdrivers/staging/hv/hv_mouse.c+11 -110 replies
74/77Staging: hv: mouse: Get rid of the unused PCI signaturedrivers/staging/hv/hv_mouse.c+0 -160 replies
75/77Staging: hv: mouse: Disable auto-loading of the mouse driverdrivers/staging/hv/hv_mouse.c+1 -13 replies
76/77Staging: hv: netvsc: Change the jump label Cleanup to cleanupdrivers/staging/hv/rndis_filter.c+14 -140 replies
77/77Staging: hv: netvsc: Change the jump lable Exit to exitdrivers/staging/hv/rndis_filter.c+2 -20 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/77] Staging: hv: Driver cleanup

Further cleanup of the hv drivers:

1) On some loaded hosts, we have discovered that the host does not respond to the guest within the specified interval - currently one second. Increase the timeout value in the guest.

2) Implement code for autoloading the vmbus drivers without using PCI or DMI signatures.

3) Cleanup error handling across the board and use standard Linux error codes.

4) General cleanup

5) Some bug fixes.

Regads,

K. Y