* [PATCH 2/4] Drivers: hv: vmbus: do not mark HV_PCIE as perf_device
2018-03-27 22:01 ` [PATCH 1/4] Drivers: hv: vmbus: respect what we get from hv_get_synint_state() kys
@ 2018-03-27 22:01 ` kys
2018-03-27 22:01 ` [PATCH 3/4] hv: add SPDX license to trace kys
2018-03-27 22:01 ` [PATCH 4/4] hv: add SPDX license id to Kconfig kys
2 siblings, 0 replies; 5+ messages in thread
From: kys @ 2018-03-27 22:01 UTC (permalink / raw)
To: gregkh, linux-kernel, devel, olaf, apw, vkuznets, jasowang,
leann.ogasawara, marcelo.cerri, sthemmin
Cc: Dexuan Cui, stable, K . Y . Srinivasan
From: Dexuan Cui <decui@microsoft.com>
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.
Signed-off-by: Dexuan Cui <decui@microsoft.com>
Cc: stable@vger.kernel.org
Cc: Stephen Hemminger <sthemmin@microsoft.com>
Cc: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
---
drivers/hv/channel_mgmt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c
index c6d9d19bc04e..ecc2bd275a73 100644
--- a/drivers/hv/channel_mgmt.c
+++ b/drivers/hv/channel_mgmt.c
@@ -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 */
--
2.15.1
^ permalink raw reply related [flat|nested] 5+ messages in thread* [PATCH 3/4] hv: add SPDX license to trace
2018-03-27 22:01 ` [PATCH 1/4] Drivers: hv: vmbus: respect what we get from hv_get_synint_state() kys
2018-03-27 22:01 ` [PATCH 2/4] Drivers: hv: vmbus: do not mark HV_PCIE as perf_device kys
@ 2018-03-27 22:01 ` kys
2018-03-27 22:01 ` [PATCH 4/4] hv: add SPDX license id to Kconfig kys
2 siblings, 0 replies; 5+ messages in thread
From: kys @ 2018-03-27 22:01 UTC (permalink / raw)
To: gregkh, linux-kernel, devel, olaf, apw, vkuznets, jasowang,
leann.ogasawara, marcelo.cerri, sthemmin
From: Stephen Hemminger <stephen@networkplumber.org>
Missing license on Hyper-V VMBUS tracing files.
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
---
drivers/hv/hv_trace.c | 2 ++
drivers/hv/hv_trace.h | 2 ++
2 files changed, 4 insertions(+)
diff --git a/drivers/hv/hv_trace.c b/drivers/hv/hv_trace.c
index df47acd01a81..38d359cf1e70 100644
--- a/drivers/hv/hv_trace.c
+++ b/drivers/hv/hv_trace.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
#include "hyperv_vmbus.h"
#define CREATE_TRACE_POINTS
diff --git a/drivers/hv/hv_trace.h b/drivers/hv/hv_trace.h
index d635ee95b20d..999f80a63bff 100644
--- a/drivers/hv/hv_trace.h
+++ b/drivers/hv/hv_trace.h
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
#undef TRACE_SYSTEM
#define TRACE_SYSTEM hyperv
--
2.15.1
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 4/4] hv: add SPDX license id to Kconfig
2018-03-27 22:01 ` [PATCH 1/4] Drivers: hv: vmbus: respect what we get from hv_get_synint_state() kys
2018-03-27 22:01 ` [PATCH 2/4] Drivers: hv: vmbus: do not mark HV_PCIE as perf_device kys
2018-03-27 22:01 ` [PATCH 3/4] hv: add SPDX license to trace kys
@ 2018-03-27 22:01 ` kys
2 siblings, 0 replies; 5+ messages in thread
From: kys @ 2018-03-27 22:01 UTC (permalink / raw)
To: gregkh, linux-kernel, devel, olaf, apw, vkuznets, jasowang,
leann.ogasawara, marcelo.cerri, sthemmin
From: Stephen Hemminger <stephen@networkplumber.org>
Missing license on Kconfig file.
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
---
drivers/hv/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/hv/Kconfig b/drivers/hv/Kconfig
index 50b89ea0e60f..97954f575c3f 100644
--- a/drivers/hv/Kconfig
+++ b/drivers/hv/Kconfig
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0
+
menu "Microsoft Hyper-V guest support"
config HYPERV
--
2.15.1
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 5+ messages in thread