Chen Gang | 4 Jul 23:35 2015
Picon

[PATCH] staging: board: Kconfig: Let STAGING_BOARD depend on CLKDEV_LOOKUP

It needs clk_add_alias() from clk drivers, which is implemented in
"drivers/clk/clkdev.c" which depends on CLKDEV_LOOKUP.

Normally, archs and clk driver its own will decide whether select
CLKDEV_LOOKUP, and common drivers will decide whether depend on it.

The related error (with allmodconfig under cris for next-20150702):

  drivers/built-in.o: In function `board_staging_register_clock':
  drivers/staging/board/board.c:131: undefined reference to `clk_add_alias'

Signed-off-by: Chen Gang <gang.chen.5i5j <at> gmail.com>
---
 drivers/staging/board/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/board/Kconfig b/drivers/staging/board/Kconfig
index b8ee818..4ff5a79 100644
--- a/drivers/staging/board/Kconfig
+++ b/drivers/staging/board/Kconfig
 <at>  <at>  -1,6 +1,6  <at>  <at> 
 config STAGING_BOARD
 	bool "Staging Board Support"
-	depends on OF_ADDRESS
+	depends on OF_ADDRESS && CLKDEV_LOOKUP
 	help
 	  Select to enable per-board staging support code.

--

-- 
1.9.3
(Continue reading)

K. Y. Srinivasan | 4 Jul 01:37 2015
Picon

[PATCH 1/1] x86: Hyper-V: Mark the Hyper-V clocksource as being high resolution

From: Vivek yadav <vyadav <at> microsoft.com>

By design, alternative clock sources listed are based on the resolution of
current clock source. Once you set a  high resolution clock,
only high resolution sources are returned.
Mark Hyper-V clock source as a high resolution clock source.

Signed-off-by: Vivek yadav <vyadav <at> microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys <at> microsoft.com>
---
 arch/x86/kernel/cpu/mshyperv.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/cpu/mshyperv.c b/arch/x86/kernel/cpu/mshyperv.c
index 9b5d7b5..0e507a0 100644
--- a/arch/x86/kernel/cpu/mshyperv.c
+++ b/arch/x86/kernel/cpu/mshyperv.c
 <at>  <at>  -151,7 +151,8  <at>  <at>  static struct clocksource hyperv_cs = {
 	.rating		= 400, /* use this when running on Hyperv*/
 	.read		= read_hv_clock,
 	.mask		= CLOCKSOURCE_MASK(64),
-	.flags		= CLOCK_SOURCE_IS_CONTINUOUS,
+	.flags		= CLOCK_SOURCE_IS_CONTINUOUS |
+			  CLOCK_SOURCE_VALID_FOR_HRES,
 };

 static void __init ms_hyperv_init_platform(void)
--

-- 
1.7.4.1
(Continue reading)

K. Y. Srinivasan | 4 Jul 01:30 2015
Picon

[PATCH 0/5] Drivers: hv: Some miscellaneous fixes

Some miscellaneous fixes.

Dan Carpenter (1):
  hv: util: checking the wrong variable

Denis V. Lunev (1):
  mshyperv: fix recognition of Hyper-V guest crash MSR's

K. Y. Srinivasan (1):
  Drivers: hv: vmbus: Consider ND NIC in binding channels to CPUs

Nik Nyby (1):
  Drivers: hv: vmbus: fix typo in hv_port_info struct

Vitaly Kuznetsov (1):
  Drivers: hv: vmbus: don't send CHANNELMSG_UNLOAD on pre-Win2012R2
    hosts

 arch/x86/include/asm/mshyperv.h |    1 +
 arch/x86/kernel/cpu/mshyperv.c  |    1 +
 drivers/hv/channel_mgmt.c       |    5 +++++
 drivers/hv/hv_utils_transport.c |    2 +-
 drivers/hv/hyperv_vmbus.h       |    2 +-
 drivers/hv/vmbus_drv.c          |    4 ++--
 6 files changed, 11 insertions(+), 4 deletions(-)

--

-- 
1.7.4.1
Jason North | 3 Jul 19:45 2015
Picon

Is your business slow? We can help

Hey,

Is business slow? We can help
You are receiving this email because we wish you to use our target email
marketing service.
We specialize in providing target email marketing services to a number of
businesses all over the world!
We can generate you more business and leads from our email marketing
solutions.

We would like to be your marketing partners and help your business reach
the new level.
Let's increase your business sales 2-4 times than now.

Please contact us today so I can go over options for you.

Thanks,
Jason North
Contact: partingyin <at> sina.com
Maninder Singh | 3 Jul 07:45 2015

[PATCH 1/1] drivers: hv: hv_utils_transport: Fixing validation of correct pointer

cn_msg should be validated instead of msg after memory allocation.

Signed-off-by: Maninder Singh <maninder1.s <at> samsung.com>
Reviewed-by: Akhilesh Kumar <akhilesh.k <at> samsung.com>
---
 drivers/hv/hv_utils_transport.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/hv/hv_utils_transport.c b/drivers/hv/hv_utils_transport.c
index ea7ba5e..6a9d80a 100644
--- a/drivers/hv/hv_utils_transport.c
+++ b/drivers/hv/hv_utils_transport.c
 <at>  <at>  -186,7 +186,7  <at>  <at>  int hvutil_transport_send(struct hvutil_transport *hvt, void *msg, int len)
 		return -EINVAL;
 	} else if (hvt->mode == HVUTIL_TRANSPORT_NETLINK) {
 		cn_msg = kzalloc(sizeof(*cn_msg) + len, GFP_ATOMIC);
-		if (!msg)
+		if (!cn_msg)
 			return -ENOMEM;
 		cn_msg->id.idx = hvt->cn_id.idx;
 		cn_msg->id.val = hvt->cn_id.val;
--

-- 
1.7.9.5
Haiyang Zhang | 2 Jul 22:17 2015
Picon

[PATCH net-next] hv_netvsc: Add support to set MTU reservation from guest side

When packet encapsulation is in use, the MTU needs to be reduced for
headroom reservation.
The existing code takes the updated MTU value only from the host side.
But vSwitch extensions, such as Open vSwitch, require the flexibility
to change the MTU to different values from within a guest during the
lifecycle of a vNIC, when the encapsulation protocol is changed. The
patch supports this kind of MTU changes.

Signed-off-by: Haiyang Zhang <haiyangz <at> microsoft.com>
Reviewed-by: K. Y. Srinivasan <kys <at> microsoft.com>
---
 drivers/net/hyperv/netvsc_drv.c   |    3 +--
 drivers/net/hyperv/rndis_filter.c |    2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/net/hyperv/netvsc_drv.c b/drivers/net/hyperv/netvsc_drv.c
index 358475e..68e7ece 100644
--- a/drivers/net/hyperv/netvsc_drv.c
+++ b/drivers/net/hyperv/netvsc_drv.c
 <at>  <at>  -743,8 +743,7  <at>  <at>  static int netvsc_change_mtu(struct net_device *ndev, int mtu)
 	if (nvdev->nvsp_version >= NVSP_PROTOCOL_VERSION_2)
 		limit = NETVSC_MTU - ETH_HLEN;

-	/* Hyper-V hosts don't support MTU < ETH_DATA_LEN (1500) */
-	if (mtu < ETH_DATA_LEN || mtu > limit)
+	if (mtu < 68 || mtu > limit)
 		return -EINVAL;

 	nvdev->start_remove = true;
diff --git a/drivers/net/hyperv/rndis_filter.c b/drivers/net/hyperv/rndis_filter.c
(Continue reading)

Gary | 2 Jul 18:54 2015
Picon

do you need email marketing?

Hello,

Hope you are doing well!
Did you receive my email from last week?
We can generate you more business and leads from our email marketing
solutions.

Please contact us so I can go over options for you.
Looking forward to your response.

Thanks,
Gary
Contact: partingyin <at> sina.com
Dmitry Kalinkin | 2 Jul 16:11 2015
Picon

[PATCH 0/3] VME bus error handling overhaul

This moves tsi148 error handling into VME subsystem so it can be shared with
the other bridge driver.  Then there is a change to close a fixme on separating
errors by address space.  And finally a fix for memory leak problem that was
introduced with support of mmap's. 

The next logical step in this direction would be to add error handling support
to ca91cx42 and make it unconditional for tsi148. It also makes much sense to
add synchronization to error-related list operations (spinlocks, rcu).

Dmitry Kalinkin (3):
  vme: move tsi148 error handling into VME subsystem
  vme: include address space in error filtering
  vme: change bus error handling scheme

 drivers/vme/bridges/vme_ca91cx42.c |   3 +-
 drivers/vme/bridges/vme_tsi148.c   | 170 ++++++++++---------------------------
 drivers/vme/vme.c                  |  83 ++++++++++++++++++
 drivers/vme/vme_bridge.h           |  21 +++--
 4 files changed, 147 insertions(+), 130 deletions(-)

--

-- 
1.8.3.1
Denis V. Lunev | 2 Jul 12:17 2015

[RFC PATCH 1/1] mshyperv: fix recognition of Hyper-V guest crash MSR's

From: Andrey Smetanin <asmetanin <at> virtuozzo.com>

Hypervisor Top Level Functional Specification v3.1/4.0 notes that cpuid
(0x40000003) EDX's 10th bit should be used to check that Hyper-V guest
crash MSR's functionality available.

This patch should fix this recognition. Currently the code checks EAX
register instead of EDX.

Signed-off-by: Andrey Smetanin <asmetanin <at> virtuozzo.com>
Signed-off-by: Denis V. Lunev <den <at> openvz.org>
CC: Nick Meier <nmeier <at> microsoft.com>
CC: K. Y. Srinivasan <kys <at> microsoft.com>
CC: Haiyang Zhang <haiyangz <at> microsoft.com>
---
 arch/x86/include/asm/mshyperv.h | 1 +
 arch/x86/kernel/cpu/mshyperv.c  | 1 +
 drivers/hv/vmbus_drv.c          | 4 ++--
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/arch/x86/include/asm/mshyperv.h b/arch/x86/include/asm/mshyperv.h
index c163215..eebe433 100644
--- a/arch/x86/include/asm/mshyperv.h
+++ b/arch/x86/include/asm/mshyperv.h
 <at>  <at>  -7,6 +7,7  <at>  <at> 

 struct ms_hyperv_info {
 	u32 features;
+	u32 misc_features;
 	u32 hints;
(Continue reading)

Leung Timothy Chi King | 1 Jul 17:55 2015
Picon

[PATCH] Code cleanup - else is not generally useful after a break or return

Ran checkpatch.pl on driver/staging/rts5208/sd.c and foudn a WARNING
'else is not generally useful after a break or return' on line 3523. I
removed the else without affecting the logic and the WARNING is gone. I
had compiled and modprobe rts5208 to double check as well.

Regards,
Tim

Signed-off-by: Leung Timothy Chi King <contact <at> timothyleung.co>
---
 drivers/staging/rts5208/sd.c | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/drivers/staging/rts5208/sd.c b/drivers/staging/rts5208/sd.c
index a8d657b..cb41579 100644
--- a/drivers/staging/rts5208/sd.c
+++ b/drivers/staging/rts5208/sd.c
 <at>  <at>  -3520,12 +3520,11  <at>  <at>  int reset_sd_card(struct rtsx_chip *chip)
 			if (chip->sd_io) {
 				rtsx_trace(chip);
 				return STATUS_FAIL;
-			} else {
-				retval = reset_mmc(chip);
-				if (retval != STATUS_SUCCESS) {
-					rtsx_trace(chip);
-					return STATUS_FAIL;
-				}
+			}
+			retval = reset_mmc(chip);
+			if (retval != STATUS_SUCCESS) {
(Continue reading)

Leung Timothy Chi King | 1 Jul 18:44 2015
Picon

[PATCH] Staging: rts5208: Fix checkpatch warning: else is not generally useful

The following checkpatch warning was fixed:

WARNING: else is not generally useful after a break or return

Signed-off-by: Leung Timothy Chi King <contact <at> timothyleung.co>
---
 drivers/staging/rts5208/sd.c | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/drivers/staging/rts5208/sd.c b/drivers/staging/rts5208/sd.c
index a8d657b..cb41579 100644
--- a/drivers/staging/rts5208/sd.c
+++ b/drivers/staging/rts5208/sd.c
 <at>  <at>  -3520,12 +3520,11  <at>  <at>  int reset_sd_card(struct rtsx_chip *chip)
 			if (chip->sd_io) {
 				rtsx_trace(chip);
 				return STATUS_FAIL;
-			} else {
-				retval = reset_mmc(chip);
-				if (retval != STATUS_SUCCESS) {
-					rtsx_trace(chip);
-					return STATUS_FAIL;
-				}
+			}
+			retval = reset_mmc(chip);
+			if (retval != STATUS_SUCCESS) {
+				rtsx_trace(chip);
+				return STATUS_FAIL;
 			}
 		}
(Continue reading)


Gmane