Drivers: hv: vmbus: Miscellaneous fixes
Subsystems (2)
cover Drivers: hv: vmbus: Miscellaneous fixes
From: "K. Y. Srinivasan" <[email protected]>
Some miscellaneous fixes and adjustments.
Dexuan Cui (2):
Drivers: hv: vmbus: respect what we get from hv_get_synint_state()
Drivers: hv: vmbus: do not mark HV_PCIE as perf_device
Stephen Hemminger (2):
hv: add SPDX license to trace
hv: add SPDX license id to Kconfig
drivers/hv/Kconfig | 2 ++ drivers/hv/channel_mgmt.c | 2 +- drivers/hv/hv.c | 1 - drivers/hv/hv_trace.c | 2 ++ drivers/hv/hv_trace.h | 2 ++ 5 files changed, 7 insertions(+), 2 deletions(-)
Signature · 6 lines
2.15.1 _______________________________________________ devel mailing list [email protected] http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
PATCH 1/4 Drivers: hv: vmbus: respect what we get from hv_get_synint_state()
From: Dexuan Cui <[email protected]>
I didn't really hit a bug, but just happened to notice the redundant line.
--- drivers/hv/hv.c | 1 - 1 file changed, 1 deletion(-)
drivers/hv/hv.c +0 -1
@@ -302,7 +302,6 @@ int hv_synic_init(unsigned int cpu)hv_get_synint_state (HV_X64_MSR_SINT0 +VMBUS_MESSAGE_SINT , shared_sint.as_uint64); - shared_sint.as_uint64 =0 ; shared_sint.vector =HYPERVISOR_CALLBACK_VECTOR ; shared_sint.masked = false;if (ms_hyperv.hints &HV_X64_DEPRECATING_AEOI_RECOMMENDED )
Signature · 6 lines
2.15.1 _______________________________________________ devel mailing list [email protected] http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
PATCH 3/4 hv: add SPDX license to trace
From: Stephen Hemminger <[email protected]>
Missing license on Hyper-V VMBUS tracing files.
--- drivers/hv/hv_trace.c | 2 ++ drivers/hv/hv_trace.h | 2 ++ 2 files changed, 4 insertions(+)
drivers/hv/hv_trace.c +2 -0
@@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0 +#include "hyperv_vmbus.h" #define CREATE_TRACE_POINTS
drivers/hv/hv_trace.h +2 -0
@@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0 +#undef TRACE_SYSTEM#define TRACE_SYSTEM hyperv
Signature · 6 lines
2.15.1 _______________________________________________ devel mailing list [email protected] http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
PATCH 4/4 hv: add SPDX license id to Kconfig
In reply to [email protected]From: Stephen Hemminger <[email protected]>
Missing license on Kconfig file.
--- drivers/hv/Kconfig | 2 ++ 1 file changed, 2 insertions(+)
drivers/hv/Kconfig +2 -0
@@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0 + menu "Microsoft Hyper-V guest support" config HYPERV
Signature · 6 lines
2.15.1 _______________________________________________ devel mailing list [email protected] http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
PATCH 2/4 Drivers: hv: vmbus: do not mark HV_PCIE as perf_device
In reply to [email protected]From: Dexuan Cui <[email protected]>
The pci-hyperv driver's channel callback hv_pci_onchannelcallback() is not really a hot path, so we don't need to mark it as a perf_device, meaning with this patch all HV_PCIE channels' target_cpu will be CPU0.
--- drivers/hv/channel_mgmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hv/channel_mgmt.c +1 -1
@@ -71,7 +71,7 @@ static const struct vmbus_device vmbus_devs[] = {/* PCIE */ { .dev_type = HV_PCIE,HV_PCIE_GUID , - .perf_device = true, + .perf_device = false, },/* Synthetic Frame Buffer */
Signature · 1 line
2.15.1