[PATCH V2 00/27] Drivers: ccree - align block comments

2017-05-29 Thread Derek Robson
Fixed block comments across whole ccree driver Version #1 has some trailing white space issue in a few patches Derek Robson (27): Drivers: ccree: ssi_sysfs.h - align block comments Drivers: ccree: ssi_sysfs.c - align block comments Drivers: ccree: ssi_request_mgr.h - align block comments

[PATCH V2 01/27] Drivers: ccree: ssi_sysfs.h - align block comments

2017-05-29 Thread Derek Robson
Fixed block comment alignment, Style fix only Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/ccree/ssi_sysfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ccree/ssi_sysfs.h b/drivers/staging/ccree/ssi_sysfs.h index cd456c5dccc4..48

[PATCH V2 02/27] Drivers: ccree: ssi_sysfs.c - align block comments

2017-05-29 Thread Derek Robson
Fixed block comment alignment, Style fix only Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/ccree/ssi_sysfs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/ccree/ssi_sysfs.c b/drivers/staging/ccree/ssi_sysfs.c index 89021c009872..

[PATCH V2 05/27] Drivers: ccree: ssi_pm_ext.h - align block comments

2017-05-29 Thread Derek Robson
Fixed block comment alignment, Style fix only Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/ccree/ssi_pm_ext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ccree/ssi_pm_ext.h b/drivers/staging/ccree/ssi_pm_ext.h index 9049e6ffa8d3.

[PATCH V2 04/27] Drivers: ccree: ssi_request_mgr.c - align block comments

2017-05-29 Thread Derek Robson
Fixed block comment alignment, Style fix only Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/ccree/ssi_request_mgr.c | 37 - 1 file changed, 22 insertions(+), 15 deletions(-) diff --git a/drivers/staging/ccree/ssi_request_mgr.c b/drivers/

[PATCH V2 03/27] Drivers: ccree: ssi_request_mgr.h - align block comments

2017-05-29 Thread Derek Robson
Fixed block comment alignment, Style fix only Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/ccree/ssi_request_mgr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ccree/ssi_request_mgr.h b/drivers/staging/ccree/ssi_request_mgr.h inde

[PATCH V2 06/27] Drivers: ccree: ssi_pm_ext.c - align block comments

2017-05-29 Thread Derek Robson
Fixed block comment alignment, Style fix only Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/ccree/ssi_pm_ext.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/ccree/ssi_pm_ext.c b/drivers/staging/ccree/ssi_pm_ext.c inde

[PATCH V2 08/27] Drivers: ccree: ssi_ivgen.c - align block comments

2017-05-29 Thread Derek Robson
Fixed block comment alignment, Style fix only Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/ccree/ssi_ivgen.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/ccree/ssi_ivgen.c b/drivers/staging/ccree/ssi_ivgen.c index 1bb6f89191

[PATCH V2 09/27] Drivers: ccree: ssi_hash.h - align block comments

2017-05-29 Thread Derek Robson
Fixed block comment alignment, Style fix only Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/ccree/ssi_hash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ccree/ssi_hash.h b/drivers/staging/ccree/ssi_hash.h index b821d0c854b5..7c9466

[PATCH V2 07/27] Drivers: ccree: ssi_pm.h - align block comments

2017-05-29 Thread Derek Robson
Fixed block comment alignment, Style fix only Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/ccree/ssi_pm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ccree/ssi_pm.h b/drivers/staging/ccree/ssi_pm.h index f1fe1777c04a..8b0d8be95199

[PATCH V2 10/27] Drivers: ccree: ssi_hash.c - align block comments

2017-05-29 Thread Derek Robson
Fixed block comment alignment, Style fix only Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/ccree/ssi_hash.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/staging/ccree/ssi_hash.c b/drivers/staging/ccree/ssi_hash.c index 8585f73161b

[PATCH V2 12/27] Drivers: ccree: ssi_fips_ll.c - align block comments

2017-05-29 Thread Derek Robson
Fixed block comment alignment, Style fix only Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/ccree/ssi_fips_ll.c | 21 - 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/drivers/staging/ccree/ssi_fips_ll.c b/drivers/staging/ccree/ssi_fip

[PATCH V2 11/27] Drivers: ccree: ssi_fips_local.c - align block comments

2017-05-29 Thread Derek Robson
Fixed block comment alignment, Style fix only Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/ccree/ssi_fips_local.c | 21 - 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/drivers/staging/ccree/ssi_fips_local.c b/drivers/staging/ccree/s

[PATCH V2 13/27] Drivers: ccree: ssi_fips_ext.c - align block comments

2017-05-29 Thread Derek Robson
Fixed block comment alignment, Style fix only Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/ccree/ssi_fips_ext.c | 46 ++-- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/drivers/staging/ccree/ssi_fips_ext.c b/drivers/sta

Re: [PATCH 2/6] powernv:idle: Decouple Timebase restore & Per-core SPRs restore

2017-05-29 Thread Nicholas Piggin
On Tue, 16 May 2017 14:19:44 +0530 "Gautham R. Shenoy" wrote: > From: "Gautham R. Shenoy" > > On POWER8, in case of >- nap: both timebase and hypervisor state is retained. >- fast-sleep: timebase is lost. But the hypervisor state is retained. >- winkle: timebase and hypervisor st

[PATCH V2 15/27] Drivers: ccree: ssi_fips.h - align block comments

2017-05-29 Thread Derek Robson
Fixed block comment alignment, Style fix only Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/ccree/ssi_fips.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/ccree/ssi_fips.h b/drivers/staging/ccree/ssi_fips.h index 607c64b8c458..

[PATCH V2 14/27] Drivers: ccree: ssi_fips_data.h - align block comments

2017-05-29 Thread Derek Robson
Fixed block comment alignment, Style fix only Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/ccree/ssi_fips_data.h | 93 +-- 1 file changed, 46 insertions(+), 47 deletions(-) diff --git a/drivers/staging/ccree/ssi_fips_data.h b/drivers/st

[PATCH V2 16/27] Drivers: ccree: ssi_fips.c - align block comments

2017-05-29 Thread Derek Robson
Fixed block comment alignment, Style fix only Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/ccree/ssi_fips.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/staging/ccree/ssi_fips.c b/drivers/staging/ccree/ssi_fips.c index 25e

[PATCH V2 17/27] Drivers: ccree: ssi_driver.h - align block comments

2017-05-29 Thread Derek Robson
Fixed block comment alignment, Style fix only Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/ccree/ssi_driver.h | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/drivers/staging/ccree/ssi_driver.h b/drivers/staging/ccree/ssi_driver.h i

[PATCH V2 18/27] Drivers: ccree: ssi_config.h - align block comments

2017-05-29 Thread Derek Robson
Fixed block comment alignment, Style fix only Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/ccree/ssi_config.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/ccree/ssi_config.h b/drivers/staging/ccree/ssi_config.h index 431b518d

[PATCH V2 20/27] Drivers: ccree: ssi_buffer_mgr.h - align block comments

2017-05-29 Thread Derek Robson
Fixed block comment alignment, Style fix only Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/ccree/ssi_buffer_mgr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ccree/ssi_buffer_mgr.h b/drivers/staging/ccree/ssi_buffer_mgr.h index 4

[PATCH V2 19/27] Drivers: ccree: ssi_cipher.h - align block comments

2017-05-29 Thread Derek Robson
Fixed block comment alignment, Style fix only Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/ccree/ssi_cipher.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ccree/ssi_cipher.h b/drivers/staging/ccree/ssi_cipher.h index 7d58b56fc2c7.

[PATCH V2 21/27] Drivers: ccree: ssi_buffer_mgr.c - align block comments

2017-05-29 Thread Derek Robson
Fixed block comment alignment, Style fix only Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/ccree/ssi_buffer_mgr.c | 87 +++--- 1 file changed, 49 insertions(+), 38 deletions(-) diff --git a/drivers/staging/ccree/ssi_buffer_mgr.c b/drivers/s

Re: [PATCH] dmaengine: pl330: Add IOMMU support to slave tranfers

2017-05-29 Thread Vinod Koul
On Fri, May 19, 2017 at 03:06:44PM +0100, Robin Murphy wrote: > Wire up dma_map_resource() for slave transfers, so that we can let the > PL330 use IOMMU-backed DMA mapping ops on systems with an appropriate > IOMMU and RAM above 4GB, to avoid CPU bounce buffering. Applied, thanks -- ~Vinod

[PATCH V2 22/27] Drivers: ccree: ssi_aead.h - align block comments

2017-05-29 Thread Derek Robson
Fixed block comment alignment, Style fix only Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/ccree/ssi_aead.h | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/staging/ccree/ssi_aead.h b/drivers/staging/ccree/ssi_aead.h index 654a181729d7.

[PATCH V2 24/27] Drivers: ccree: hash_defs.h - align block comments

2017-05-29 Thread Derek Robson
Fixed block comment alignment, Style fix only Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/ccree/hash_defs.h | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/staging/ccree/hash_defs.h b/drivers/staging/ccree/hash_defs.h index

[PATCH V2 23/27] Drivers: ccree: ssi_aead.c - align block comments

2017-05-29 Thread Derek Robson
Fixed block comment alignment, Style fix only Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/ccree/ssi_aead.c | 45 ++-- 1 file changed, 29 insertions(+), 16 deletions(-) diff --git a/drivers/staging/ccree/ssi_aead.c b/drivers/staging/

[PATCH V2 26/27] Drivers: ccree: cc_hw_queue_defs.h - align block comments

2017-05-29 Thread Derek Robson
Fixed block comment alignment, Style fix only Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/ccree/cc_hw_queue_defs.h | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/staging/ccree/cc_hw_queue_defs.h b/drivers

[PATCH V2 25/27] Drivers: ccree: cc_regs.h - align block comments

2017-05-29 Thread Derek Robson
Fixed block comment alignment, Style fix only Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/ccree/cc_regs.h | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/staging/ccree/cc_regs.h b/drivers/staging/ccree/cc_regs.h index 8b89f0603

Re: [PATCH 3/6] powernv:idle: Restore LPCR on wakeup from deep-stop

2017-05-29 Thread Nicholas Piggin
On Tue, 16 May 2017 14:19:45 +0530 "Gautham R. Shenoy" wrote: > From: "Gautham R. Shenoy" > > On wakeup from a deep stop state which is supposed to lose the > hypervisor state, we don't restore the LPCR to the old value but set > it to a "sane" value via cur_cpu_spec->cpu_restore(). > > The pr

[PATCH V2 27/27] Drivers: ccree: cc_crypto_ctx.h - align block comments

2017-05-29 Thread Derek Robson
Fixed block comment alignment, Style fix only Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/ccree/cc_crypto_ctx.h | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/drivers/staging/ccree/cc_crypto_ctx.h b/drivers/staging/ccree/cc_cryp

Re: [PATCH] rcar-dmac: fixup descriptor pointer for descriptor mode

2017-05-29 Thread Vinod Koul
On Tue, May 23, 2017 at 07:08:43AM +, Kuninori Morimoto wrote: > > From: Kuninori Morimoto > > In descriptor mode, the descriptor running pointer is not maintained > by the interrupt handler, thus, driver finds the running descriptor > from the descriptor pointer field in the CHCRB register.

Re: [PATCH] hwmon: (aspeed-pwm-tacho) Select REGMAP

2017-05-29 Thread Joel Stanley
On Sat, May 27, 2017 at 11:24 PM, Guenter Roeck wrote: > The driver uses regmap and thus has to select it to avoid build > errors such as the following. > > drivers/hwmon/aspeed-pwm-tacho.c:337:21: error: variable > 'aspeed_pwm_tacho_regmap_config' has initializer but incomplete type Whil

[PATCH] ALSA: Adjust structure(snd_timer_tread) members to avoid 8 padding bytes

2017-05-29 Thread Manjeet Pawar
This patch is made to fix below CVE issue where 8 padding bytes are sent to user without being initialized. Structure members are adjusted to avoid 8 padding bytes. CVE-2016-4569/CVE-2016-4578: The stack object tread has a total size of 32 bytes. Its field event and val both contain 4 bytes paddi

Re: fs: use-after-free in path_lookupat

2017-05-29 Thread Al Viro
On Mon, May 29, 2017 at 04:48:17PM +0200, Dmitry Vyukov wrote: > Al, do you want me to mail the patch? > I won't be able to write a super detailed description, but I can do > some format patch. It's been fixed by commit c0eb027e5aef7; if you are still able to trigger it on the current mainline, p

Re: [PATCH] ALSA: Adjust structure(snd_timer_tread) members to avoid 8 padding bytes

2017-05-29 Thread Thomas Gleixner
On Tue, 30 May 2017, Manjeet Pawar wrote: > This patch is made to fix below CVE issue where 8 padding bytes are sent to > user without being initialized. Structure members are adjusted to avoid 8 > padding bytes. > > CVE-2016-4569/CVE-2016-4578: > The stack object tread has a total size of 32 byt

Re: net: use-after-free in __ns_get_path

2017-05-29 Thread Al Viro
On Mon, May 29, 2017 at 04:46:23PM +0200, Dmitry Vyukov wrote: > Al, ping. See commit 073c516ff735. Can you still trigger that on the current mainline?

[PATCH] microblaze: mm: Flush TLB to ensure correct mapping when higmem ON

2017-05-29 Thread Michal Simek
MMU contains invalid mapping which wasn't flushed and new mapping is using the same addresses as previous one. That's why TLB miss is not happening to get new correct TLB entry and MMU points to incorrect area. This is replicatable when large files(256MB and more) are copied and checked. Signed-o

Re: [PATCH 5/6] powernv:idle: Use Requested Level for restoring state on P9 DD1

2017-05-29 Thread Nicholas Piggin
On Tue, 16 May 2017 14:19:47 +0530 "Gautham R. Shenoy" wrote: > From: "Gautham R. Shenoy" > > On Power9 DD1 due to a hardware bug the Power-Saving Level Status > field (PLS) of the PSSCR for a thread waking up from a deep state can > under-report if some other thread in the core is in a shallow

Re: [PATCH v5 01/10] drm: Add drm_{crtc/encoder/connector}_mode_valid()

2017-05-29 Thread Daniel Vetter
On Thu, May 25, 2017 at 03:19:13PM +0100, Jose Abreu wrote: > Add a new helper to call crtc->mode_valid, connector->mode_valid > and encoder->mode_valid callbacks. > > Suggested-by: Ville Syrjälä > Signed-off-by: Jose Abreu > Reviewed-by: Daniel Vetter > Reviewed-by: Andrzej Hajda > Cc: Carlos

Re: [linux-sunxi] [PATCH 1/3] ARM: dts: sun7i-a20: Rename bananapi as bananapi m1

2017-05-29 Thread Maxime Ripard
On Tue, May 30, 2017 at 08:22:44AM +0200, Karsten Merker wrote: > On Tue, May 30, 2017 at 10:00:49AM +0530, Jagan Teki wrote: > > On Tue, May 30, 2017 at 3:15 AM, Karsten Merker wrote: > > > On Mon, May 29, 2017 at 07:30:26PM +, Jagan Teki wrote: > > >> From: Jagan Teki > > >> > > >> from BPI

Re: [PATCH v2 1/5] mmc: sdhci-esdhc-imx: Fix some English mistakes and typos

2017-05-29 Thread Adrian Hunter
On 29/05/17 16:54, Benoît Thébaudeau wrote: > Fix various English mistakes and typos in comments and in printed > strings. > > Signed-off-by: Benoît Thébaudeau There are 2 more I noted below. Otherwise: Acked-by: Adrian Hunter > --- > Changes v1 -> v2: new patch. > --- > drivers/mmc/host/sd

Re: [PATCH V2 00/27] Drivers: ccree - align block comments

2017-05-29 Thread Antoine Tenart
Hello Derek, On Tue, May 30, 2017 at 06:09:37PM +1200, Derek Robson wrote: > Fixed block comments across whole ccree driver Since all these commits are doing the same logical change across a single driver, you could probably squash them all into a single one. Thanks! Antoine -- Antoine Ténart,

[PATCH] Lower the log level of debug outputs

2017-05-29 Thread Hirokazu Honda
Some debug output whose log level is set 1 flooded the log. Their log level is lowered to find the important log easily. Signed-off-by: Hirokazu Honda --- drivers/media/v4l2-core/videobuf2-core.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/media/v4l2-co

Re: [PATCH v7 16/34] [media] add Omnivision OV5640 sensor driver

2017-05-29 Thread Sakari Ailus
Hi Steve, On Mon, May 29, 2017 at 02:50:34PM -0700, Steve Longerbeam wrote: > > > > > >>+ > >>+static int ov5640_s_ctrl(struct v4l2_ctrl *ctrl) > >>+{ > >>+ struct v4l2_subdev *sd = ctrl_to_sd(ctrl); > >>+ struct ov5640_dev *sensor = to_ov5640_dev(sd); > >>+ int ret = 0; > >>+ > >>+ mutex_

<    2   3   4   5   6   7