K. Y. Srinivasan | 27 Mar 17:09 2015
Picon

[PATCH 0/7] Drivers: hv: Miscellaneous cleanups and bug fixes

Some miscellaneous cleanup and bug fixes.

 Dexuan Cui (3):
  hv: run non-blocking message handlers in the dispatch tasklet
  hv: don't schedule new works in
    vmbus_onoffer()/vmbus_onoffer_rescind()
  hv: remove the per-channel workqueue

Haiyang Zhang (1):
  hv_vmbus: Add gradually increased delay for retries in
    vmbus_post_msg()

Vitaly Kuznetsov (3):
  Drivers: hv: hv_balloon: do not online pages in offline blocks
  Drivers: hv: hv_balloon: eliminate jumps in piecewiese linear floor
    function
  Drivers: hv: hv_balloon: survive ballooning request with num_pages=0

 drivers/hv/channel_mgmt.c |  228 +++++++++-----------------------------------
 drivers/hv/connection.c   |   13 +--
 drivers/hv/hv_balloon.c   |   39 ++++----
 drivers/hv/hyperv_vmbus.h |   19 ++++-
 drivers/hv/vmbus_drv.c    |   21 ++++-
 include/linux/hyperv.h    |    3 -
 6 files changed, 110 insertions(+), 213 deletions(-)

--

-- 
1.7.4.1
Sudip Mukherjee | 27 Mar 10:56 2015
Picon

[PATCH v2 1/3] staging: unisys: unregister chardev on error

after registering the major numbers if the cdev_add fails then we were
not releasing the major numbers. now we are doing that.

Signed-off-by: Sudip Mukherjee <sudip <at> vectorindia.org>
---

v2: removed extra space

 drivers/staging/unisys/visorchipset/file.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/unisys/visorchipset/file.c b/drivers/staging/unisys/visorchipset/file.c
index 39b19af..074c285 100644
--- a/drivers/staging/unisys/visorchipset/file.c
+++ b/drivers/staging/unisys/visorchipset/file.c
 <at>  <at>  -65,8 +65,10  <at>  <at>  visorchipset_file_init(dev_t major_dev, struct visorchannel **controlvm_channel)
 			return -1;
 	}
 	rc = cdev_add(&file_cdev, MKDEV(MAJOR(major_dev), 0), 1);
-	if (rc  < 0)
+	if (rc < 0) {
+		unregister_chrdev_region(major_dev, 1);
 		return -1;
+	}
 	return 0;
 }

--

-- 
1.8.1.2
(Continue reading)

Sudip Mukherjee | 27 Mar 09:30 2015
Picon

[PATCH 1/3] staging: unisys: unregister chardev on error

after registering the major numbers if the cdev_add fails then we were
not releasing the major numbers. now we are doing that.

Signed-off-by: Sudip Mukherjee <sudip <at> vectorindia.org>
---
 drivers/staging/unisys/visorchipset/file.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/unisys/visorchipset/file.c b/drivers/staging/unisys/visorchipset/file.c
index 39b19af..074c285 100644
--- a/drivers/staging/unisys/visorchipset/file.c
+++ b/drivers/staging/unisys/visorchipset/file.c
 <at>  <at>  -65,8 +65,10  <at>  <at>  visorchipset_file_init(dev_t major_dev, struct visorchannel **controlvm_channel)
 			return -1;
 	}
 	rc = cdev_add(&file_cdev, MKDEV(MAJOR(major_dev), 0), 1);
-	if (rc  < 0)
+	if (rc  < 0) {
+		unregister_chrdev_region(major_dev, 1);
 		return -1;
+	}
 	return 0;
 }

--

-- 
1.8.1.2
Martin Kepplinger | 27 Mar 08:38 2015
Picon

[PATCH v6] add support for Freescale's MMA8653FC 10 bit accelerometer

From: Martin Kepplinger <martin.kepplinger <at> theobroma-systems.com>

The MMA8653FC is a low-power, three-axis, capacitive micromachined
accelerometer with 10 bits of resolution with flexible user-programmable
options.

Embedded interrupt functions enable overall power savings, by relieving the
host processor from continuously polling data, for example using the poll()
system call.

The device can be configured to generate wake-up interrupt signals from any
combination of the configurable embedded functions, enabling the MMA8653FC
to monitor events while remaining in a low-power mode during periods of
inactivity.

This driver provides devicetree properties to program the device's behaviour
and a simple, tested and documented sysfs interface. The data sheet and more
information is available on Freescale's website.

Signed-off-by: Martin Kepplinger <martin.kepplinger <at> theobroma-systems.com>
Signed-off-by: Christoph Muellner <christoph.muellner <at> theobroma-systems.com>
---

patch revision history
......................
v6 fix staging integration, base it on next-20150326 and change recipients
v5 clean up (suggested by Varka Bhadram) and move the driver to staging
v4 changes DT propery names, adds a missing interrupt source and removes
   the DT option to set interrupt line active high due to unsuccesful testing
v3 moves the driver from drivers/input/misc to drivers/misc
(Continue reading)

K. Y. Srinivasan | 27 Mar 08:26 2015
Picon

[PATCH V2 0/7] scsi: storvsc: Miscellaneous enhancements and fixes

This patch-set addresses perf issues discovered on the Azure storage stack.
These patches also fix a couple of bugs.

As in the first version of this patch-set, some of the patches are simply a resend.
I have bumped up the version number of all patches though. In this version, I have
addressed issues raised by Olaf Hering <olaf <at> aepfle.de>,
Long Li <longli <at> microsoft.com> and Venkatesh Srinivas <venkateshs <at> google.com>

K. Y. Srinivasan (7):
  scsi: storvsc: Increase the ring buffer size
  scsi: storvsc: Size the queue depth based on the ringbuffer size
  scsi: storvsc: Always send on the selected outgoing channel
  scsi: storvsc: Retrieve information about the capability of the
    target
  scsi: storvsc: Fix a bug in copy_from_bounce_buffer()
  scsi: storvsc: Don't assume that the scatterlist is not chained
  scsi: storvsc: Set the tablesize based on the information given by
    the host

 drivers/scsi/storvsc_drv.c |  232 ++++++++++++++++++++++++++++----------------
 1 files changed, 149 insertions(+), 83 deletions(-)

--

-- 
1.7.4.1
Boran Car | 26 Mar 23:19 2015
Picon

[PATCH] staging: media: lirc: Separate authors into own MODULE_AUTHOR

Fixes quoted string split accross lines checkpatch.pl warning.

Signed-off-by: Boran Car <boran.car <at> gmail.com>
---
 drivers/staging/media/lirc/lirc_zilog.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/media/lirc/lirc_zilog.c b/drivers/staging/media/lirc/lirc_zilog.c
index 261e27d..586ab43 100644
--- a/drivers/staging/media/lirc/lirc_zilog.c
+++ b/drivers/staging/media/lirc/lirc_zilog.c
 <at>  <at>  -1680,9 +1680,14  <at>  <at>  module_init(zilog_init);
 module_exit(zilog_exit);

 MODULE_DESCRIPTION("Zilog/Hauppauge infrared transmitter driver (i2c stack)");
-MODULE_AUTHOR("Gerd Knorr, Michal Kochanowicz, Christoph Bartelmus, "
-	      "Ulrich Mueller, Stefan Jahn, Jerome Brock, Mark Weaver, "
-	      "Andy Walls");
+MODULE_AUTHOR("Gerd Knorr");
+MODULE_AUTHOR("Michal Kochanowicz");
+MODULE_AUTHOR("Christoph Bartelmus");
+MODULE_AUTHOR("Ulrich Mueller");
+MODULE_AUTHOR("Stefan Jahn");
+MODULE_AUTHOR("Jerome Brock");
+MODULE_AUTHOR("Mark Weaver");
+MODULE_AUTHOR("Andy Walls");
 MODULE_LICENSE("GPL");
 /* for compat with old name, which isn't all that accurate anymore */
 MODULE_ALIAS("lirc_pvr150");
--

-- 
(Continue reading)

Vitaly Kuznetsov | 26 Mar 17:07 2015
Picon

[PATCH] Drivers: hv: hv_balloon: survive ballooning request with num_pages=0

... and simplify alloc_balloon_pages() interface by removing redundant
alloc_error from it.

If we happen to enter balloon_up() with balloon_wrk.num_pages = 0 we will enter
infinite 'while (!done)' loop as alloc_balloon_pages() will be always returning
0 and not setting alloc_error. We will also be sending a meaningless message to
the host on every iteration.

The 'alloc_unit == 1 && alloc_error -> num_ballooned == 0' change and
alloc_error elimination requires a special comment. We do alloc_balloon_pages()
with 2 different alloc_unit values and there are 4 different
alloc_balloon_pages() results, let's check them all.

alloc_unit = 512:
1) num_ballooned = 0, alloc_error = 0: we do 'alloc_unit=1' and retry pre- and
  post-patch.
2) num_ballooned > 0, alloc_error = 0: we check 'num_ballooned == num_pages'
  and act accordingly,  pre- and post-patch.
3) num_ballooned > 0, alloc_error > 0: we report this chunk and remain within
  the loop, no changes here.
4) num_ballooned = 0, alloc_error > 0: we do 'alloc_unit=1' and retry pre- and
  post-patch.

alloc_unit = 1:
1) num_ballooned = 0, alloc_error = 0: this can happen in two cases: when we
  passed 'num_pages=0' to alloc_balloon_pages() or when there was no space in
  bl_resp to place a single response. The second option is not possible as
  bl_resp is of PAGE_SIZE size and single response 'union dm_mem_page_range' is
  8 bytes, but the first one is (in theory, I think that Hyper-V host never
  places such requests). Pre-patch code loops forever, post-patch code sends
(Continue reading)

Harry | 26 Mar 16:12 2015
Picon

need photo cutting out?

How are you doing today?

We have not heard from you yet. Are you still interested in our photo
retouching services?
We mainly do: ecommerce products photo editing, jewelry photos retouching,
beauty/skin retouching,
wedding photo editing, and photo cutting out, clipping path

You may choose to send us a sample photo for our free testing which you can
check our quality.

Best regards,
Harry
Email: markedit <at> tom.com
Vitaly Kuznetsov | 26 Mar 11:26 2015
Picon

[PATCH] Drivers: hv: hv_balloon: eliminate jumps in piecewiese linear floor function

Commit 79208c57da53 ("Drivers: hv: hv_balloon: Make adjustments in computing
the floor") was inacurate as it introduced a jump in our piecewiese linear
'floor' function:

At 2048MB we have:
Left limit:
104 + 2048/8 = 360
Right limit:
256 + 2048/16 = 384 (so the right value is 232)

We now have to make an adjustment at 8192 boundary:
232 + 8192/16 = 744
512 + 8192/32 = 768 (so the right value is 488)

Suggested-by: Laszlo Ersek <lersek <at> redhat.com>
Signed-off-by: Vitaly Kuznetsov <vkuznets <at> redhat.com>
---
 drivers/hv/hv_balloon.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/hv/hv_balloon.c b/drivers/hv/hv_balloon.c
index 014256a..16d52da 100644
--- a/drivers/hv/hv_balloon.c
+++ b/drivers/hv/hv_balloon.c
 <at>  <at>  -966,8 +966,8  <at>  <at>  static unsigned long compute_balloon_floor(void)
 	 *     128        72    (1/2)
 	 *     512       168    (1/4)
 	 *    2048       360    (1/8)
-	 *    8192       768    (1/16)
-	 *   32768      1536	(1/32)
(Continue reading)

Eddie Kovsky | 26 Mar 05:16 2015

[PATCH] Staging: rtl8192 Clean up function definition

Change function definition to match its prototype declaration. This
fixes the following warning generated by sparse:

drivers/staging/rtl8192u/r8192U_core.c:1970:6: warning: symbol
'rtl8192_update_ratr_table' was not declared. Should it be static?

Signed-off-by: Eddie Kovsky <ewk <at> edkovsky.org>
---
 drivers/staging/rtl8192u/r8192U_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8192u/r8192U_core.c b/drivers/staging/rtl8192u/r8192U_core.c
index 8834c23d67fc..a4795afeeb9c 100644
--- a/drivers/staging/rtl8192u/r8192U_core.c
+++ b/drivers/staging/rtl8192u/r8192U_core.c
 <at>  <at>  -1967,7 +1967,7  <at>  <at>  static int rtl8192_handle_assoc_response(struct net_device *dev,
 }

 
-void rtl8192_update_ratr_table(struct net_device *dev)
+static void rtl8192_update_ratr_table(struct net_device *dev)
 {
 	struct r8192_priv *priv = ieee80211_priv(dev);
 	struct ieee80211_device *ieee = priv->ieee80211;
--

-- 
2.3.4
green | 26 Mar 02:53 2015
Picon

[PATCH 00/10] Lustre fixes

From: Oleg Drokin <green <at> linuxhacker.ru>

A number of lustre fixes.

Andriy Skulysh (1):
  staging/lustre/ptlrpc: fix import state during replay

Bobi Jam (2):
  staging/lustre/osc: shorten IO calling path
  staging/lustre/mgc: detach MGC dev on error

Christopher J. Morrone (1):
  staging/lustre/mdc: Handle empty but non-zero acl xattr

Hongchao Zhang (1):
  staging/lustre/mgc: check the import stat for lprocfs

Lai Siyao (1):
  staging/lustre/xattr: xattr data may be gone with lock held

Li Dongyang (1):
  staging/lustre/llite: glimpse the inode before doing fiemap

Liang Zhen (1):
  staging/lustre/ptlrpc: false alarm in AT network latency measuring

Niu Yawei (1):
  staging/lustre: update timestamps after buiding rpc

Yang Sheng (1):
(Continue reading)


Gmane