[PATCH] drivers/hv: remove obsolete TODO and fix misleading typo in comment

2020-12-06 Thread Stefan Eschenbacher
Removes an obsolete TODO in the VMBus module and fixes a misleading typo in the comment for the macro MAX_NUM_CHANNELS, where two digits have been twisted. Signed-off-by: Stefan Eschenbacher Co-developed-by: Max Stolze Signed-off-by: Max Stolze --- drivers/hv/hyperv_vmbus.h | 3 +-- 1 file

[PATCH 1/3] drivers/hv: make max_num_channels_supported configurable

2020-12-05 Thread Stefan Eschenbacher
in two locations. During module initialization sanity checks are applied which will result in EINVAL or ERANGE if the given value is no multiple of 32 or larger than MAX_NUM_CHANNELS. Signed-off-by: Stefan Eschenbacher Co-developed-by: Max Stolze Signed-off-by: Max Stolze --- drivers/hv

[PATCH 3/3] drivers/hv: add default number of vmbus channels to Kconfig

2020-12-05 Thread Stefan Eschenbacher
The default number of vmbus channels (macro MAX_NUM_CHANNELS_SUPPORTED_DEFAULT) is made configurable through the new Kconfig option HYPERV_VMBUS_DEFAULT_CHANNELS. Signed-off-by: Stefan Eschenbacher Co-developed-by: Max Stolze Signed-off-by: Max Stolze --- drivers/hv/Kconfig| 13

[PATCH 2/3] drivers/hv: fix misleading typo in comment

2020-12-05 Thread Stefan Eschenbacher
Fixes a misleading typo in the comment for the macro MAX_NUM_CHANNELS, where two digits have been twisted. Signed-off-by: Stefan Eschenbacher Co-developed-by: Max Stolze Signed-off-by: Max Stolze --- drivers/hv/hyperv_vmbus.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 0/3] drivers/hv: make max_num_channels_supported configurable

2020-12-05 Thread Stefan Eschenbacher
. So if you'd like us to fix that we'd be happy for some input on how to settle it with Kconfig. Signed-off-by: Stefan Eschenbacher Co-developed-by: Max Stolze Signed-off-by: Max Stolze Stefan Eschenbacher (3): drivers/hv: make max_num_channels_supported configurable drivers/hv: fix