[PATCH 02/22] IB/mad: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
The workqueue "ib_nl" queues work items _nl_timed_work and _agent_priv->local_work. It has been identity converted. WQ_MEM_RECLAIM has been set to ensure forward progress under memory pressure. Signed-off-by: Bhaktipriya Shridhar --- drivers/infiniband/core/mad.c | 2

[PATCH 02/22] IB/mad: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
The workqueue "ib_nl" queues work items _nl_timed_work and _agent_priv->local_work. It has been identity converted. WQ_MEM_RECLAIM has been set to ensure forward progress under memory pressure. Signed-off-by: Bhaktipriya Shridhar --- drivers/infiniband/core/mad.c | 2 +- 1 file changed, 1

[PATCH 03/22] IB/multicast: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "mcast_wq" queues work item >work. It has been identity converted. WQ_MEM_RECLAIM has been set to ensure forward progress under memory pressure.

[PATCH] gpio: wcove-gpio: add get_direction method

2016-08-15 Thread Bin Gao
This patch adds .get_direction method for the gpio_chip structure of the wcove_gpio driver. Signed-off-by: Bin Gao --- drivers/gpio/gpio-wcove.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/gpio/gpio-wcove.c b/drivers/gpio/gpio-wcove.c index

[PATCH 00/22] Remove deprecated create_workqueue instances

2016-08-15 Thread Bhaktipriya Shridhar
This patch set removes the instances of deprecated create_singlethread_workqueue (scheduled for removal) in drivers/infiniband by making the appropriate conversions. Bhaktipriya Shridhar (22): IB/sa : Remove deprecated create_singlethread_workqueue IB/mad: Remove deprecated

[PATCH 03/22] IB/multicast: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "mcast_wq" queues work item >work. It has been identity converted. WQ_MEM_RECLAIM has been set to ensure forward progress under memory pressure.

[PATCH] gpio: wcove-gpio: add get_direction method

2016-08-15 Thread Bin Gao
This patch adds .get_direction method for the gpio_chip structure of the wcove_gpio driver. Signed-off-by: Bin Gao --- drivers/gpio/gpio-wcove.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/gpio/gpio-wcove.c b/drivers/gpio/gpio-wcove.c index f5c88df..e11d6a3

[PATCH 00/22] Remove deprecated create_workqueue instances

2016-08-15 Thread Bhaktipriya Shridhar
This patch set removes the instances of deprecated create_singlethread_workqueue (scheduled for removal) in drivers/infiniband by making the appropriate conversions. Bhaktipriya Shridhar (22): IB/sa : Remove deprecated create_singlethread_workqueue IB/mad: Remove deprecated

[PATCH 00/23] Remove deprecated create_workqueue instances

2016-08-15 Thread Bhaktipriya Shridhar
This patch set removes the instances of deprecated create_singlethread_workqueue (scheduled for removal) in drivers/infiniband by making the appropriate conversions. Bhaktipriya Shridhar (23): drm/ttm: Remove deprecated create_singlethread_workqueue IB/sa : Remove deprecated

[PATCH 00/23] Remove deprecated create_workqueue instances

2016-08-15 Thread Bhaktipriya Shridhar
This patch set removes the instances of deprecated create_singlethread_workqueue (scheduled for removal) in drivers/infiniband by making the appropriate conversions. Bhaktipriya Shridhar (23): drm/ttm: Remove deprecated create_singlethread_workqueue IB/sa : Remove deprecated

Re: [PATCH 00/23] Remove deprecated create_workqueue instances

2016-08-15 Thread Bhaktipriya Shridhar
Please ignore this mail. Bhaktipriya On Mon, Aug 15, 2016 at 11:23 PM, Bhaktipriya Shridhar wrote: > This patch set removes the instances of deprecated > create_singlethread_workqueue (scheduled for removal) in drivers/infiniband > by making the appropriate conversions.

Re: [PATCH 00/23] Remove deprecated create_workqueue instances

2016-08-15 Thread Bhaktipriya Shridhar
Please ignore this mail. Bhaktipriya On Mon, Aug 15, 2016 at 11:23 PM, Bhaktipriya Shridhar wrote: > This patch set removes the instances of deprecated > create_singlethread_workqueue (scheduled for removal) in drivers/infiniband > by making the appropriate conversions. > > Bhaktipriya Shridhar

Re: [PATCH v2 2/2] iio: accel: Add support for Domintech DMARD06 accelerometer

2016-08-15 Thread Jonathan Cameron
On 27/07/16 15:57, Rob Herring wrote: > On Mon, Jul 25, 2016 at 06:21:18PM +0300, Aleksei Mamlin wrote: >> This patch add support for Domintech DMARD05, DMARD06 and DMARD07 >> accelerometers. >> >> Signed-off-by: Aleksei Mamlin >> --- >>

Re: [PATCH v2 2/2] iio: accel: Add support for Domintech DMARD06 accelerometer

2016-08-15 Thread Jonathan Cameron
On 27/07/16 15:57, Rob Herring wrote: > On Mon, Jul 25, 2016 at 06:21:18PM +0300, Aleksei Mamlin wrote: >> This patch add support for Domintech DMARD05, DMARD06 and DMARD07 >> accelerometers. >> >> Signed-off-by: Aleksei Mamlin >> --- >> .../devicetree/bindings/iio/accel/dmard06.txt | 19

Re: [PATCH v2 1/2] devicetree: bindings: Add vendor prefix for Domintech Co., Ltd.

2016-08-15 Thread Jonathan Cameron
On 25/07/16 16:21, Aleksei Mamlin wrote: > Add vendor-prefix for Domintech Co., Ltd. > > Signed-off-by: Aleksei Mamlin > Acked-by: Rob Herring Applied to the togreg branch of iio.git Thanks Jonathan > --- >

Re: [PATCH v2 1/2] devicetree: bindings: Add vendor prefix for Domintech Co., Ltd.

2016-08-15 Thread Jonathan Cameron
On 25/07/16 16:21, Aleksei Mamlin wrote: > Add vendor-prefix for Domintech Co., Ltd. > > Signed-off-by: Aleksei Mamlin > Acked-by: Rob Herring Applied to the togreg branch of iio.git Thanks Jonathan > --- > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + > 1 file changed, 1

Re: Build regressions/improvements in v4.8-rc2

2016-08-15 Thread Geert Uytterhoeven
On Mon, Aug 15, 2016 at 7:53 PM, Geert Uytterhoeven wrote: > JFYI, when comparing v4.8-rc2[1] to v4.8-rc1[3], the summaries are: > - build errors: +6/-3 + error: zynq-fpga.c: undefined reference to `clk_round_rate': => .text+0x3234c0), .text+0x350bd4), .text+0x17f780),

Re: Build regressions/improvements in v4.8-rc2

2016-08-15 Thread Geert Uytterhoeven
On Mon, Aug 15, 2016 at 7:53 PM, Geert Uytterhoeven wrote: > JFYI, when comparing v4.8-rc2[1] to v4.8-rc1[3], the summaries are: > - build errors: +6/-3 + error: zynq-fpga.c: undefined reference to `clk_round_rate': => .text+0x3234c0), .text+0x350bd4), .text+0x17f780), .text+0x350d44),

[PATCH] libnvdimm: Fix nvdimm_probe error on NVDIMM-N

2016-08-15 Thread Toshi Kani
'ndctl list --buses --dimms' does not list any NVDIMM-Ns since they are considered as idle. ndctl checks if any driver is attached to nmem device. nvdimm_probe() always fails in nvdimm_init_nsarea() since NVDIMM-Ns do not implement optinal ND_CMD_GET_CONFIG_DATA command. Change nvdimm_probe()

[PATCH] libnvdimm: Fix nvdimm_probe error on NVDIMM-N

2016-08-15 Thread Toshi Kani
'ndctl list --buses --dimms' does not list any NVDIMM-Ns since they are considered as idle. ndctl checks if any driver is attached to nmem device. nvdimm_probe() always fails in nvdimm_init_nsarea() since NVDIMM-Ns do not implement optinal ND_CMD_GET_CONFIG_DATA command. Change nvdimm_probe()

Re: [PATCH] MAINTAINERS: Switch to kernel.org account for Krzysztof Kozlowski

2016-08-15 Thread Joe Perches
On Mon, 2016-08-15 at 19:46 +0200, Krzysztof Kozlowski wrote: > On Mon, Aug 15, 2016 at 10:36:45AM -0700, Joe Perches wrote: > > > > On Mon, 2016-08-15 at 19:17 +0200, Krzysztof Kozlowski wrote: > > > > > > Change my email address to kernel.org account instead of Samsung one. > > > Also switch

Re: [PATCH] MAINTAINERS: Switch to kernel.org account for Krzysztof Kozlowski

2016-08-15 Thread Joe Perches
On Mon, 2016-08-15 at 19:46 +0200, Krzysztof Kozlowski wrote: > On Mon, Aug 15, 2016 at 10:36:45AM -0700, Joe Perches wrote: > > > > On Mon, 2016-08-15 at 19:17 +0200, Krzysztof Kozlowski wrote: > > > > > > Change my email address to kernel.org account instead of Samsung one. > > > Also switch

[ANN] oldworld-deb: Debian Installer boot floppy for OldWorld PowerMacs

2016-08-15 Thread Ondrej Zary
Hello, I've just released oldworld-deb - a boot floppy that can boot Debian Installer from the CD on OldWorld PowerMacs, such as Power Macintosh 8200. It's based on miBoot, Linux kernel, kexec-tools, uClibc and a simple init program written in C. You can get the source and also a pre-built

[ANN] oldworld-deb: Debian Installer boot floppy for OldWorld PowerMacs

2016-08-15 Thread Ondrej Zary
Hello, I've just released oldworld-deb - a boot floppy that can boot Debian Installer from the CD on OldWorld PowerMacs, such as Power Macintosh 8200. It's based on miBoot, Linux kernel, kexec-tools, uClibc and a simple init program written in C. You can get the source and also a pre-built

Re: [PATCH] MAINTAINERS: Switch to kernel.org account for Krzysztof Kozlowski

2016-08-15 Thread Krzysztof Kozlowski
On Mon, Aug 15, 2016 at 10:36:45AM -0700, Joe Perches wrote: > On Mon, 2016-08-15 at 19:17 +0200, Krzysztof Kozlowski wrote: > > Change my email address to kernel.org account instead of Samsung one. > > Also switch Maxim MUIC charger drivers from supported to maintained > > mode. > > You should

Re: [PATCH] MAINTAINERS: Switch to kernel.org account for Krzysztof Kozlowski

2016-08-15 Thread Krzysztof Kozlowski
On Mon, Aug 15, 2016 at 10:36:45AM -0700, Joe Perches wrote: > On Mon, 2016-08-15 at 19:17 +0200, Krzysztof Kozlowski wrote: > > Change my email address to kernel.org account instead of Samsung one. > > Also switch Maxim MUIC charger drivers from supported to maintained > > mode. > > You should

Re: [PATCH] arm64: Introduce execute-only page access permissions

2016-08-15 Thread Kees Cook
On Mon, Aug 15, 2016 at 3:47 AM, Catalin Marinas wrote: > On Fri, Aug 12, 2016 at 11:23:03AM -0700, Kees Cook wrote: >> On Thu, Aug 11, 2016 at 10:44 AM, Catalin Marinas >> wrote: >> > The ARMv8 architecture allows execute-only user permissions

Re: [PATCH] arm64: Introduce execute-only page access permissions

2016-08-15 Thread Kees Cook
On Mon, Aug 15, 2016 at 3:47 AM, Catalin Marinas wrote: > On Fri, Aug 12, 2016 at 11:23:03AM -0700, Kees Cook wrote: >> On Thu, Aug 11, 2016 at 10:44 AM, Catalin Marinas >> wrote: >> > The ARMv8 architecture allows execute-only user permissions by clearing >> > the PTE_UXN and PTE_USER bits.

Re: [PATCH v3 1/4] iio: adc: rockchip_saradc: reset saradc controller before programming it

2016-08-15 Thread Jonathan Cameron
On 15/08/16 18:41, Jonathan Cameron wrote: > On 27/07/16 15:24, Caesar Wang wrote: >> SARADC controller needs to be reset before programming it, otherwise >> it will not function properly. >> >> Signed-off-by: Caesar Wang >> Cc: Jonathan Cameron >> Cc:

Re: [PATCH v3 1/4] iio: adc: rockchip_saradc: reset saradc controller before programming it

2016-08-15 Thread Jonathan Cameron
On 15/08/16 18:41, Jonathan Cameron wrote: > On 27/07/16 15:24, Caesar Wang wrote: >> SARADC controller needs to be reset before programming it, otherwise >> it will not function properly. >> >> Signed-off-by: Caesar Wang >> Cc: Jonathan Cameron >> Cc: Heiko Stuebner >> Cc: Rob Herring >> Cc:

[RFC PATCH 04/16] DM: Ensure that the read request is within the device range.

2016-08-15 Thread Ram Pai
If a read request is not within the device range return error. Signed-off-by: Ram Pai --- drivers/md/dm-inplace-compress.c | 10 +- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/drivers/md/dm-inplace-compress.c b/drivers/md/dm-inplace-compress.c

[RFC PATCH 08/16] DM: Tag a magicmarker at the end of each compressed segment.

2016-08-15 Thread Ram Pai
We store the size of the compressed segment, on the sector boundary. And later use that location to determine the size of the compressed segment. However if that location is corrupted for any reason we would'nt know. Hence add a magicmarker to catch for such corruptions. Signed-off-by: Ram Pai

[RFC PATCH 10/16] DM: Try to use the bio buffer for decompression instead of allocating one.

2016-08-15 Thread Ram Pai
The read path allocates a temporary buffer to hold decompressed data, which is than copied into the caller's bio buffer. Instead of allocating a temporary buffer to hold the decompressed data, decompress the data in the caller's bio buffer. This can be done only if the destination in the

[RFC PATCH 03/16] DM: Error if enough space is not available.

2016-08-15 Thread Ram Pai
if enough space is not available to create a block of the specified size error out. Signed-off-by: Ram Pai --- drivers/md/dm-inplace-compress.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/md/dm-inplace-compress.c

[RFC PATCH 10/16] DM: Try to use the bio buffer for decompression instead of allocating one.

2016-08-15 Thread Ram Pai
The read path allocates a temporary buffer to hold decompressed data, which is than copied into the caller's bio buffer. Instead of allocating a temporary buffer to hold the decompressed data, decompress the data in the caller's bio buffer. This can be done only if the destination in the

[RFC PATCH 03/16] DM: Error if enough space is not available.

2016-08-15 Thread Ram Pai
if enough space is not available to create a block of the specified size error out. Signed-off-by: Ram Pai --- drivers/md/dm-inplace-compress.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/md/dm-inplace-compress.c b/drivers/md/dm-inplace-compress.c index

[RFC PATCH 04/16] DM: Ensure that the read request is within the device range.

2016-08-15 Thread Ram Pai
If a read request is not within the device range return error. Signed-off-by: Ram Pai --- drivers/md/dm-inplace-compress.c | 10 +- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/drivers/md/dm-inplace-compress.c b/drivers/md/dm-inplace-compress.c index 17221a1..bf18028

[RFC PATCH 08/16] DM: Tag a magicmarker at the end of each compressed segment.

2016-08-15 Thread Ram Pai
We store the size of the compressed segment, on the sector boundary. And later use that location to determine the size of the compressed segment. However if that location is corrupted for any reason we would'nt know. Hence add a magicmarker to catch for such corruptions. Signed-off-by: Ram Pai

Re: [PATCH v3 1/4] iio: adc: rockchip_saradc: reset saradc controller before programming it

2016-08-15 Thread Jonathan Cameron
On 27/07/16 15:24, Caesar Wang wrote: > SARADC controller needs to be reset before programming it, otherwise > it will not function properly. > > Signed-off-by: Caesar Wang > Cc: Jonathan Cameron > Cc: Heiko Stuebner > Cc: Rob Herring

RE: [PATCH v2 1/4] net: ethernet: ti: davinci_cpdma: split descs num between all channels

2016-08-15 Thread Yuval Mintz
> Currently the tx channels share same pool of descriptors. Thus one channel can > block another if pool is emptied by one. But, the shaper should decide which > channel is allowed to send packets. To avoid such impact of one channel on > another, let every channel to have its own peace of pool.

Re: [PATCH v3 1/4] iio: adc: rockchip_saradc: reset saradc controller before programming it

2016-08-15 Thread Jonathan Cameron
On 27/07/16 15:24, Caesar Wang wrote: > SARADC controller needs to be reset before programming it, otherwise > it will not function properly. > > Signed-off-by: Caesar Wang > Cc: Jonathan Cameron > Cc: Heiko Stuebner > Cc: Rob Herring > Cc: linux-...@vger.kernel.org > Cc:

RE: [PATCH v2 1/4] net: ethernet: ti: davinci_cpdma: split descs num between all channels

2016-08-15 Thread Yuval Mintz
> Currently the tx channels share same pool of descriptors. Thus one channel can > block another if pool is emptied by one. But, the shaper should decide which > channel is allowed to send packets. To avoid such impact of one channel on > another, let every channel to have its own peace of pool.

[RFC PATCH 05/16] DM: allocation/free helper routines.

2016-08-15 Thread Ram Pai
Helper functions to allocate/reallocate and free memory. Signed-off-by: Ram Pai --- drivers/md/dm-inplace-compress.c | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/drivers/md/dm-inplace-compress.c b/drivers/md/dm-inplace-compress.c

[RFC PATCH 01/16] DM: dm-inplace-compress: an inplace compressed DM target

2016-08-15 Thread Ram Pai
From: Shaohua Li This is a simple DM target supporting inplace compression. Its best suited for SSD. The underlying disk must support 512B sector size, the target only supports 4k sector size. Disk layout: |super|...meta...|..data...| Store unit is 4k (a block). Super is 1

[RFC PATCH 05/16] DM: allocation/free helper routines.

2016-08-15 Thread Ram Pai
Helper functions to allocate/reallocate and free memory. Signed-off-by: Ram Pai --- drivers/md/dm-inplace-compress.c | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/drivers/md/dm-inplace-compress.c b/drivers/md/dm-inplace-compress.c index

[RFC PATCH 01/16] DM: dm-inplace-compress: an inplace compressed DM target

2016-08-15 Thread Ram Pai
From: Shaohua Li This is a simple DM target supporting inplace compression. Its best suited for SSD. The underlying disk must support 512B sector size, the target only supports 4k sector size. Disk layout: |super|...meta...|..data...| Store unit is 4k (a block). Super is 1 block, which stores

[RFC PATCH 07/16] DM: Optimize memory allocated to hold compressed buffer.

2016-08-15 Thread Ram Pai
On an average the compressed size is less than 50% of the original buffer. Use this knowledge to optimize the amount of space allocated to hold the compressed buffer. If the allocated size is determined to be insufficient than reallocate the required size. Signed-off-by: Ram Pai

[RFC PATCH 07/16] DM: Optimize memory allocated to hold compressed buffer.

2016-08-15 Thread Ram Pai
On an average the compressed size is less than 50% of the original buffer. Use this knowledge to optimize the amount of space allocated to hold the compressed buffer. If the allocated size is determined to be insufficient than reallocate the required size. Signed-off-by: Ram Pai ---

[RFC PATCH 13/16] DM: macros to set and get the state of the request.

2016-08-15 Thread Ram Pai
Consolidate code to set and get the state of a request. Signed-off-by: Ram Pai --- drivers/md/dm-inplace-compress.c | 31 +-- 1 files changed, 17 insertions(+), 14 deletions(-) diff --git a/drivers/md/dm-inplace-compress.c

[PATCH] MIPS: pci-mt7620: Delete unnecessary assignment for the field "owner"

2016-08-15 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 15 Aug 2016 19:29:09 +0200 The field "owner" is set by the core. Thus delete an unneeded initialisation. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Markus Elfring

[RFC PATCH 09/16] DM: Delay allocation of decompression buffer during read.

2016-08-15 Thread Ram Pai
The read path allocates a temporary buffer each to hold compressed data and decompressed data. The buffer to hold the decompressed data is not needed till the compressed data is read from the device and is uncompressed. Hence delay the allocation of decompress buffer till it is really needed.

[RFC PATCH 14/16] DM: Wasted bio copy.

2016-08-15 Thread Ram Pai
No point doing it. Signed-off-by: Ram Pai --- drivers/md/dm-inplace-compress.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/md/dm-inplace-compress.c b/drivers/md/dm-inplace-compress.c index 55a515b..31b144b 100644 ---

[RFC PATCH 13/16] DM: macros to set and get the state of the request.

2016-08-15 Thread Ram Pai
Consolidate code to set and get the state of a request. Signed-off-by: Ram Pai --- drivers/md/dm-inplace-compress.c | 31 +-- 1 files changed, 17 insertions(+), 14 deletions(-) diff --git a/drivers/md/dm-inplace-compress.c b/drivers/md/dm-inplace-compress.c index

[PATCH] MIPS: pci-mt7620: Delete unnecessary assignment for the field "owner"

2016-08-15 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 15 Aug 2016 19:29:09 +0200 The field "owner" is set by the core. Thus delete an unneeded initialisation. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Markus Elfring --- arch/mips/pci/pci-mt7620.c | 1 - 1 file changed, 1

[RFC PATCH 09/16] DM: Delay allocation of decompression buffer during read.

2016-08-15 Thread Ram Pai
The read path allocates a temporary buffer each to hold compressed data and decompressed data. The buffer to hold the decompressed data is not needed till the compressed data is read from the device and is uncompressed. Hence delay the allocation of decompress buffer till it is really needed.

[RFC PATCH 14/16] DM: Wasted bio copy.

2016-08-15 Thread Ram Pai
No point doing it. Signed-off-by: Ram Pai --- drivers/md/dm-inplace-compress.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/md/dm-inplace-compress.c b/drivers/md/dm-inplace-compress.c index 55a515b..31b144b 100644 --- a/drivers/md/dm-inplace-compress.c +++

[RFC PATCH 11/16] DM: Try to avoid temporary buffer allocation to hold compressed data.

2016-08-15 Thread Ram Pai
The read path a) allocates a temporary buffer to hold the compressed data. b) reads the compressed data into the temporary buffer. c) decompresses the compressed data into the caller's bio-buffer. We know that the caller's bio-buffer will be atleast as large as the compressed data. So we could

[RFC PATCH 15/16] DM: Add sysfs parameters to track total memory saved and allocated.

2016-08-15 Thread Ram Pai
Add parameters to monitor the memory efficiency of the module. dm_icomp_total_alloc_size: total memory currently in use. dm_icomp_total_bio_save: total memory allocation saved by the optimizations. Signed-off-by: Ram Pai --- drivers/md/dm-inplace-compress.c | 36

[RFC PATCH 11/16] DM: Try to avoid temporary buffer allocation to hold compressed data.

2016-08-15 Thread Ram Pai
The read path a) allocates a temporary buffer to hold the compressed data. b) reads the compressed data into the temporary buffer. c) decompresses the compressed data into the caller's bio-buffer. We know that the caller's bio-buffer will be atleast as large as the compressed data. So we could

[RFC PATCH 15/16] DM: Add sysfs parameters to track total memory saved and allocated.

2016-08-15 Thread Ram Pai
Add parameters to monitor the memory efficiency of the module. dm_icomp_total_alloc_size: total memory currently in use. dm_icomp_total_bio_save: total memory allocation saved by the optimizations. Signed-off-by: Ram Pai --- drivers/md/dm-inplace-compress.c | 36

[RFC PATCH 16/16] DM: add documentation for dm-inplace-compress.

2016-08-15 Thread Ram Pai
Signed-off-by: Ram Pai --- .../device-mapper/dm-inplace-compress.text | 138 1 files changed, 138 insertions(+), 0 deletions(-) create mode 100644 Documentation/device-mapper/dm-inplace-compress.text diff --git

[RFC PATCH 16/16] DM: add documentation for dm-inplace-compress.

2016-08-15 Thread Ram Pai
Signed-off-by: Ram Pai --- .../device-mapper/dm-inplace-compress.text | 138 1 files changed, 138 insertions(+), 0 deletions(-) create mode 100644 Documentation/device-mapper/dm-inplace-compress.text diff --git

[RFC PATCH 12/16] DM: release unneeded buffer as soon as possible.

2016-08-15 Thread Ram Pai
Done to conserve as much free space as possible. Waiting to release till the bio is done will unneccesarily hog up memory. Signed-off-by: Ram Pai --- drivers/md/dm-inplace-compress.c | 14 +++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git

[RFC PATCH 12/16] DM: release unneeded buffer as soon as possible.

2016-08-15 Thread Ram Pai
Done to conserve as much free space as possible. Waiting to release till the bio is done will unneccesarily hog up memory. Signed-off-by: Ram Pai --- drivers/md/dm-inplace-compress.c | 14 +++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git

[RFC PATCH 06/16] DM: separate out compression and decompression routines.

2016-08-15 Thread Ram Pai
Simplify the code by separating out the compression and decompression routines. Signed-off-by: Ram Pai --- drivers/md/dm-inplace-compress.c | 127 +- 1 files changed, 71 insertions(+), 56 deletions(-) diff --git

[RFC PATCH 00/16] dm-inplace-compression block device

2016-08-15 Thread Ram Pai
This patch series provides a generic device-mapper inplace compression device. Originally written by Shaohua Li. https://www.redhat.com/archives/dm-devel/2013-December/msg00143.html I have optimized the code and used it as a compressed swap device supporting exterme levels of swap traffic using a

[RFC PATCH 00/16] dm-inplace-compression block device

2016-08-15 Thread Ram Pai
This patch series provides a generic device-mapper inplace compression device. Originally written by Shaohua Li. https://www.redhat.com/archives/dm-devel/2013-December/msg00143.html I have optimized the code and used it as a compressed swap device supporting exterme levels of swap traffic using a

[RFC PATCH 06/16] DM: separate out compression and decompression routines.

2016-08-15 Thread Ram Pai
Simplify the code by separating out the compression and decompression routines. Signed-off-by: Ram Pai --- drivers/md/dm-inplace-compress.c | 127 +- 1 files changed, 71 insertions(+), 56 deletions(-) diff --git a/drivers/md/dm-inplace-compress.c

[RFC PATCH 02/16] DM: Ability to choose the compressor.

2016-08-15 Thread Ram Pai
Ability to create a block device with a compression algorithm of the users choice. Currently lzo and nx842 compressors are supported. If the compressor algorithm is not specified the default setting in /sys/modules/dm-inplace-compress/parameters/compress is used. Signed-off-by: Ram Pai

[RFC PATCH 02/16] DM: Ability to choose the compressor.

2016-08-15 Thread Ram Pai
Ability to create a block device with a compression algorithm of the users choice. Currently lzo and nx842 compressors are supported. If the compressor algorithm is not specified the default setting in /sys/modules/dm-inplace-compress/parameters/compress is used. Signed-off-by: Ram Pai ---

Re: [PATCH] MAINTAINERS: Switch to kernel.org account for Krzysztof Kozlowski

2016-08-15 Thread Joe Perches
On Mon, 2016-08-15 at 19:17 +0200, Krzysztof Kozlowski wrote: > Change my email address to kernel.org account instead of Samsung one. > Also switch Maxim MUIC charger drivers from supported to maintained > mode. You should probably add a .mailmap entry too Krzysztof Kozlowski  

Re: [PATCH] MAINTAINERS: Switch to kernel.org account for Krzysztof Kozlowski

2016-08-15 Thread Joe Perches
On Mon, 2016-08-15 at 19:17 +0200, Krzysztof Kozlowski wrote: > Change my email address to kernel.org account instead of Samsung one. > Also switch Maxim MUIC charger drivers from supported to maintained > mode. You should probably add a .mailmap entry too Krzysztof Kozlowski  

[PATCH] builddeb: Skip gcc-plugins when not configured

2016-08-15 Thread Kees Cook
When attempting to build a Debian kernel package, the "scripts/gcc-plugins" directory does not exist in the output tree unless CONFIG_GCC_PLUGINS=y. To avoid errors when not defined, this wraps the failing "find" in a config test. Reported-by: Frank Paulsen Tested-by:

[PATCH] builddeb: Skip gcc-plugins when not configured

2016-08-15 Thread Kees Cook
When attempting to build a Debian kernel package, the "scripts/gcc-plugins" directory does not exist in the output tree unless CONFIG_GCC_PLUGINS=y. To avoid errors when not defined, this wraps the failing "find" in a config test. Reported-by: Frank Paulsen Tested-by: Christian Kujau

[PATCH 1/1 linux-next RESEND] ARM: multi_v7_defconfig: update XILINX_VDMA

2016-08-15 Thread Fabian Frederick
Commit fde57a7c4474 ("dmaengine: xilinx: Rename driver and config") renamed config XILINX_VDMA to config XILINX_DMA Update defconfig accordingly. Signed-off-by: Fabian Frederick --- Sending to arm-soc (suggested by Shawn Guo) arch/arm/configs/multi_v7_defconfig | 2 +- 1 file

[PATCH 1/1 linux-next RESEND] ARM: multi_v7_defconfig: update XILINX_VDMA

2016-08-15 Thread Fabian Frederick
Commit fde57a7c4474 ("dmaengine: xilinx: Rename driver and config") renamed config XILINX_VDMA to config XILINX_DMA Update defconfig accordingly. Signed-off-by: Fabian Frederick --- Sending to arm-soc (suggested by Shawn Guo) arch/arm/configs/multi_v7_defconfig | 2 +- 1 file changed, 1

Re: [PATCH V4 1/1] iio: as6200: add AS6200 temperature sensor driver from ams AG

2016-08-15 Thread Jonathan Cameron
On 04/08/16 09:35, Florian Lobmaier wrote: > Hello Peter, > > Thanks again for your valuable feedback. We use now IIO_EV_THRESH to > set high and low limits for temperature. Also removed all the custom > ABI as this are mainly settings which will be set one-time only. For > the removed custom ABI

Re: [PATCH V4 1/1] iio: as6200: add AS6200 temperature sensor driver from ams AG

2016-08-15 Thread Jonathan Cameron
On 04/08/16 09:35, Florian Lobmaier wrote: > Hello Peter, > > Thanks again for your valuable feedback. We use now IIO_EV_THRESH to > set high and low limits for temperature. Also removed all the custom > ABI as this are mainly settings which will be set one-time only. For > the removed custom ABI

[PATCH] MAINTAINERS: atmel-isc: add entry for Atmel ISC

2016-08-15 Thread Nicolas Ferre
Add the MAINTAINERS' entry for Microchip / Atmel Image Sensor Controller. Signed-off-by: Nicolas Ferre Cc: Songjun Wu --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH] MAINTAINERS: atmel-isc: add entry for Atmel ISC

2016-08-15 Thread Nicolas Ferre
Add the MAINTAINERS' entry for Microchip / Atmel Image Sensor Controller. Signed-off-by: Nicolas Ferre Cc: Songjun Wu --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 45c98485c3f0..84786643ba4c 100644 --- a/MAINTAINERS +++

Re: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression

2016-08-15 Thread Huang, Ying
Hi, Chinner, Dave Chinner writes: > On Wed, Aug 10, 2016 at 06:00:24PM -0700, Linus Torvalds wrote: >> On Wed, Aug 10, 2016 at 5:33 PM, Huang, Ying wrote: >> > >> > Here it is, >> >> Thanks. >> >> Appended is a munged "after" list, with the "before"

Re: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression

2016-08-15 Thread Huang, Ying
Hi, Chinner, Dave Chinner writes: > On Wed, Aug 10, 2016 at 06:00:24PM -0700, Linus Torvalds wrote: >> On Wed, Aug 10, 2016 at 5:33 PM, Huang, Ying wrote: >> > >> > Here it is, >> >> Thanks. >> >> Appended is a munged "after" list, with the "before" values in >> parenthesis. It actually

Re: [PATCH v3 09/51] x86/dumpstack: fix x86_32 kernel_stack_pointer() previous stack access

2016-08-15 Thread Josh Poimboeuf
On Mon, Aug 15, 2016 at 10:05:58AM -0500, Josh Poimboeuf wrote: > On Sun, Aug 14, 2016 at 12:26:29AM -0700, Andy Lutomirski wrote: > > On Fri, Aug 12, 2016 at 7:28 AM, Josh Poimboeuf wrote: > > > On x86_32, when an interrupt happens from kernel space, SS and SP aren't > > >

Re: [PATCH v3 09/51] x86/dumpstack: fix x86_32 kernel_stack_pointer() previous stack access

2016-08-15 Thread Josh Poimboeuf
On Mon, Aug 15, 2016 at 10:05:58AM -0500, Josh Poimboeuf wrote: > On Sun, Aug 14, 2016 at 12:26:29AM -0700, Andy Lutomirski wrote: > > On Fri, Aug 12, 2016 at 7:28 AM, Josh Poimboeuf wrote: > > > On x86_32, when an interrupt happens from kernel space, SS and SP aren't > > > pushed and the

[PATCH] MAINTAINERS: Switch to kernel.org account for Krzysztof Kozlowski

2016-08-15 Thread Krzysztof Kozlowski
Change my email address to kernel.org account instead of Samsung one. Also switch Maxim MUIC charger drivers from supported to maintained mode. Signed-off-by: Krzysztof Kozlowski Cc: Kukjin Kim Cc: linux-samsung-...@vger.kernel.org --- Affected

[PATCH] MAINTAINERS: Switch to kernel.org account for Krzysztof Kozlowski

2016-08-15 Thread Krzysztof Kozlowski
Change my email address to kernel.org account instead of Samsung one. Also switch Maxim MUIC charger drivers from supported to maintained mode. Signed-off-by: Krzysztof Kozlowski Cc: Kukjin Kim Cc: linux-samsung-...@vger.kernel.org --- Affected drivers/subsystems: 1. arch/arm, 2. mfd, 3.

[PATCH] ARM: zx: Delete unnecessary assignment for the field "owner"

2016-08-15 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 15 Aug 2016 19:09:41 +0200 The field "owner" is set by the core. Thus delete an unneeded initialisation. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Markus Elfring

[PATCH] ARM: zx: Delete unnecessary assignment for the field "owner"

2016-08-15 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 15 Aug 2016 19:09:41 +0200 The field "owner" is set by the core. Thus delete an unneeded initialisation. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Markus Elfring --- arch/arm/mach-zx/zx296702-pm-domain.c | 1 - 1 file

Re: [PATCH v2 1/3] sas: provide stub implementations for scsi_is_sas_phy and sas_get_address

2016-08-15 Thread James Bottomley
On Mon, 2016-08-15 at 17:12 +0200, Johannes Thumshirn wrote: > +static inline u64 sas_get_address(struct scsi_device *sdev) > +{ > + return 0; > +} To be honest, we don't want this. We do want the code to fail to compile if you ever use sas_get_address where you shouldn't because the code

Re: [PATCH v2 1/3] sas: provide stub implementations for scsi_is_sas_phy and sas_get_address

2016-08-15 Thread James Bottomley
On Mon, 2016-08-15 at 17:12 +0200, Johannes Thumshirn wrote: > +static inline u64 sas_get_address(struct scsi_device *sdev) > +{ > + return 0; > +} To be honest, we don't want this. We do want the code to fail to compile if you ever use sas_get_address where you shouldn't because the code

Re: [PATCH v3 1/4] hwmon: iio_hwmon: delay probing with late_initcall

2016-08-15 Thread Guenter Roeck
On Mon, Aug 15, 2016 at 04:40:21PM +0100, Jonathan Cameron wrote: > On 26/07/16 17:04, Guenter Roeck wrote: > > On Tue, Jul 26, 2016 at 12:00:33PM +0200, Alexander Stein wrote: > >> On Tuesday 26 July 2016 11:33:59, Quentin Schulz wrote: > >>> On 26/07/2016 11:05, Alexander Stein wrote: > On

Re: [PATCH v3 1/4] hwmon: iio_hwmon: delay probing with late_initcall

2016-08-15 Thread Guenter Roeck
On Mon, Aug 15, 2016 at 04:40:21PM +0100, Jonathan Cameron wrote: > On 26/07/16 17:04, Guenter Roeck wrote: > > On Tue, Jul 26, 2016 at 12:00:33PM +0200, Alexander Stein wrote: > >> On Tuesday 26 July 2016 11:33:59, Quentin Schulz wrote: > >>> On 26/07/2016 11:05, Alexander Stein wrote: > On

Re: [V4 PATCH 2/2] mips/panic: Replace smp_send_stop() with kdump friendly version in panic path

2016-08-15 Thread Corey Minyard
On 08/15/2016 06:35 AM, 河合英宏 / KAWAI,HIDEHIRO wrote: Hi Corey, From: Corey Minyard [mailto:cminy...@mvista.com] Sent: Friday, August 12, 2016 10:56 PM I'll try to test this, but I have one comment inline... Thank you very much! On 08/11/2016 10:17 PM, Dave Young wrote: On 08/10/16 at

Re: [V4 PATCH 2/2] mips/panic: Replace smp_send_stop() with kdump friendly version in panic path

2016-08-15 Thread Corey Minyard
On 08/15/2016 06:35 AM, 河合英宏 / KAWAI,HIDEHIRO wrote: Hi Corey, From: Corey Minyard [mailto:cminy...@mvista.com] Sent: Friday, August 12, 2016 10:56 PM I'll try to test this, but I have one comment inline... Thank you very much! On 08/11/2016 10:17 PM, Dave Young wrote: On 08/10/16 at

Re: [PATCH v4 2/4] iio: adc: mxs-lradc: Add support for adc driver

2016-08-15 Thread Jonathan Cameron
On 04/08/16 14:29, Ksenija Stanojevic wrote: > Add support for sixteen-channel 12-bit resolution ADC and its functions, > which include general-purpose ADC readings, battery voltage measurement, > and die temperature measurement. > > Signed-off-by: Ksenija Stanojevic

Re: [PATCH v4 2/4] iio: adc: mxs-lradc: Add support for adc driver

2016-08-15 Thread Jonathan Cameron
On 04/08/16 14:29, Ksenija Stanojevic wrote: > Add support for sixteen-channel 12-bit resolution ADC and its functions, > which include general-purpose ADC readings, battery voltage measurement, > and die temperature measurement. > > Signed-off-by: Ksenija Stanojevic Acked-by: Jonathan Cameron

Re: [PATCH 01/15 RESEND] staging: dgnc: remove redundant NULL checks in

2016-08-15 Thread Greg KH
On Wed, Jul 06, 2016 at 03:11:13PM +0900, Daeseok Youn wrote: > The dgnc_block_til_ready() is only used in dgnc_tty_open(). > The unit data(struct un_t) was stored into tty->driver_data in > dgnc_tty_open(). > And also tty and un were tested about NULL so these variables doesn't > need to check

Re: [PATCH 01/15 RESEND] staging: dgnc: remove redundant NULL checks in

2016-08-15 Thread Greg KH
On Wed, Jul 06, 2016 at 03:11:13PM +0900, Daeseok Youn wrote: > The dgnc_block_til_ready() is only used in dgnc_tty_open(). > The unit data(struct un_t) was stored into tty->driver_data in > dgnc_tty_open(). > And also tty and un were tested about NULL so these variables doesn't > need to check

Re: [PATCH 1/1 linux-next] hwrng: update Freescale i.MX RNGA Random Number Generator

2016-08-15 Thread Fabian Frederick
> On 15 August 2016 at 17:05 Arnd Bergmann wrote: > > > On Friday 12 August 2016, Fabian Frederick wrote: > > We can directly depend on SOC_IMX31 since > > commit c9ee94965dce > > ("ARM: imx: deconstruct mxc_rnga initialization") > > > > Signed-off-by: Fabian Frederick

Re: [PATCH 1/1 linux-next] hwrng: update Freescale i.MX RNGA Random Number Generator

2016-08-15 Thread Fabian Frederick
> On 15 August 2016 at 17:05 Arnd Bergmann wrote: > > > On Friday 12 August 2016, Fabian Frederick wrote: > > We can directly depend on SOC_IMX31 since > > commit c9ee94965dce > > ("ARM: imx: deconstruct mxc_rnga initialization") > > > > Signed-off-by: Fabian Frederick > > Did I cause a

<    4   5   6   7   8   9   10   11   12   13   >