Re: [PATCH v1 00/11] mm/kasan: support per-page shadow memory to reduce memory consumption

2017-05-23 Thread Dmitry Vyukov
On Tue, May 16, 2017 at 10:49 PM, Dmitry Vyukov wrote: > On Mon, May 15, 2017 at 11:23 PM, Joonsoo Kim wrote: >>> > >>> > Hello, all. >>> > >>> > This is an attempt to recude memory consumption of KASAN. Please see >>> > following description to get the more information. >>> > >>> > 1. What is pe

[PATCH] tools/include: Sync kernel ABI headers with tooling headers

2017-05-23 Thread Ingo Molnar
Sync (copy) the following v4.12 kernel headers to the tooling headers: arch/x86/include/asm/disabled-features.h: arch/x86/include/uapi/asm/kvm.h: arch/powerpc/include/uapi/asm/kvm.h: arch/s390/include/uapi/asm/kvm.h: arch/arm/include/uapi/asm/kvm.h: arch/arm64/include/uapi/asm/kvm.h:

Re: [PATCH 4.4 000/103] 4.4.70-stable review

2017-05-23 Thread Greg Kroah-Hartman
On Wed, May 24, 2017 at 08:50:39AM +0200, Greg Kroah-Hartman wrote: > On Tue, May 23, 2017 at 09:01:05PM -0700, Guenter Roeck wrote: > > On 05/23/2017 01:08 PM, Greg Kroah-Hartman wrote: > > > This is the start of the stable review cycle for the 4.4.70 release. > > > There are 103 patches in this s

Re: [GIT PULL 0/7] perf/urgent callchain fixes

2017-05-23 Thread Ingo Molnar
* Namhyung Kim wrote: > Hi Ingo, > > Please consider pulling the perf tooling changes below. Build tested > on Ubuntu, Fedora and Archlinux. I found a problem during `perf test` > but it seems unrelated to this series. Will take a look it later. > > Thanks, > Namhyung > > > The following

Re: [lkp-robot] [sched/core] 1c3c5eab17: BUG:using_smp_processor_id()in_preemptible

2017-05-23 Thread Peter Zijlstra
On Wed, May 24, 2017 at 01:25:45PM +0800, kernel test robot wrote: > [ 15.697784] BUG: using smp_processor_id() in preemptible [] code: > swapper/0/1 > [ 15.698793] caller is debug_smp_processor_id+0x1c/0x1e > [ 15.699461] CPU: 0 PID: 1 Comm: swapper/0 Not tainted > 4.12.0-rc2-0010

Re: [PATCH 4.4 000/103] 4.4.70-stable review

2017-05-23 Thread Greg Kroah-Hartman
On Tue, May 23, 2017 at 09:01:05PM -0700, Guenter Roeck wrote: > On 05/23/2017 01:08 PM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.4.70 release. > > There are 103 patches in this series, all will be posted as a response > > to this one. If anyone has any

[PATCH 1/2] watchdog: uniphier: add UniPhier watchdog driver

2017-05-23 Thread Keiji Hayashibara
Add a watchdog driver for Socionext UniPhier series SoC. Note that the timeout value for this device must be a power of 2 because of the specification. Signed-off-by: Keiji Hayashibara --- .../devicetree/bindings/watchdog/uniphier-wdt.txt | 20 ++ Documentation/watchdog/watchdog-parameters.txt

[PATCH 2/2] arm64: dts: uniphier: add watchdog node for LD11 and LD20

2017-05-23 Thread Keiji Hayashibara
Add nodes of watchdog timer for UniPhier LD11 and LD20 SoC. The watchdog timer is included in sysctrl. Signed-off-by: Keiji Hayashibara --- arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi | 4 arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 4 2 files changed, 8 insertions(+) diff

[PATCH 0/2] add UniPhier watchdog support

2017-05-23 Thread Keiji Hayashibara
This series adds support for watchdog timer implemented on UniPhier LD11 and LD20 SoCs. This driver supports watchdog and system reset for SoCs. Keiji Hayashibara (2): watchdog: uniphier: add UniPhier watchdog driver arm64: dts: uniphier: add watchdog node for LD11 and LD20 .../devicetree/bi

Re: [PATCH] mm: Define KB, MB, GB, TB in core VM

2017-05-23 Thread Anshuman Khandual
On 05/23/2017 04:49 PM, Anshuman Khandual wrote: > On 05/23/2017 02:08 PM, Vlastimil Babka wrote: >> On 05/23/2017 09:02 AM, Christoph Hellwig wrote: >>> On Mon, May 22, 2017 at 02:11:49PM -0700, Andrew Morton wrote: On Mon, 22 May 2017 16:47:42 +0530 Anshuman Khandual wrote: >

Re: [PATCH 4/7] perf script: Add --inline option

2017-05-23 Thread Ingo Molnar
* Namhyung Kim wrote: > The --inline option is to show inlined functions in callchains. > > For example, > > $ perf script > a.out 5644 11611.467597: 309961 cycles:u: > 790 main (/home/namhyung/tmp/perf/a.out) >20511 __libc_start_main (/usr/lib

Re: CHIPPro NAND issue with 4.12 rc1

2017-05-23 Thread Maxime Ripard
On Tue, May 23, 2017 at 10:05:14PM -0600, Angus Ainslie wrote: > On 2017-05-23 13:52, Maxime Ripard wrote: > > > > Ok, good. > > > > If you unrevert those patches, and add clk_ignore_unused to the kernel > > command line, is it still broken? > > > > Maxime > > > If I use the clk_ignore_unused

[PATCH] KVM: x86: dynamically allocate large struct in em_fxrstor

2017-05-23 Thread Nick Desaulniers
Fixes the warning: arch/x86/kvm/emulate.c:4018:12: warning: stack frame size of 1080 bytes in function 'em_fxrstor' [-Wframe-larger-than=] static int em_fxrstor(struct x86_emulate_ctxt *ctxt) ^ Found with CONFIG_FRAME_WARN set to 1024. Signed-off-by: Nick Desaulniers --- arch/

Re: [GIT PULL] x86/mm changes for v4.12

2017-05-23 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > On Mon, May 01, 2017 at 02:00:53PM +0200, Ingo Molnar wrote: > > - Continued Intel 5-level paging enablement: in particular the conversion > >of x86 GUP to the generic GUP code. (Kirill A. Shutemov) > > > ... > > > > I'd like to draw special attention to thi

[PATCH 1/7] perf report: don't crash on invalid maps in `-g srcline` mode

2017-05-23 Thread Namhyung Kim
From: Milian Wolff I just hit a segfault when doing `perf report -g srcline`. Valgrind pointed me at this code as the culprit: ==8359== Invalid read of size 8 ==8359==at 0x3096D9: map__rip_2objdump (map.c:430) ==8359==by 0x2FC1A3: match_chain_srcline (callchain.c:645) ==8359==by 0x2F

[PATCH 6/7] perf report: do not drop last inlined frame

2017-05-23 Thread Namhyung Kim
From: Milian Wolff The very last inlined frame, i.e. the one furthest away from the non-inlined frame, was silently dropped. This is apparent when comparing the output of `perf script` and `addr2line`: ~~ $ perf script --inline ... a.out 26722 80836.309329: 72425 cycles:

[PATCH 7/7] perf tools: Fix to put caller above callee in children mode

2017-05-23 Thread Namhyung Kim
The __hpp__sort_acc() sorts entries using callchain depth in order to put callers above in children mode. But it assumed the callchain order was callee-first. Now default (for children) is caller-first so the order of entries is reverted. For example, consider following case. $ perf report --

[PATCH 4/7] perf script: Add --inline option

2017-05-23 Thread Namhyung Kim
The --inline option is to show inlined functions in callchains. For example, $ perf script a.out 5644 11611.467597: 309961 cycles:u: 790 main (/home/namhyung/tmp/perf/a.out) 20511 __libc_start_main (/usr/lib/libc-2.25.so) 8ba _

[PATCH 3/7] perf report: fix off-by-one for non-activation frames

2017-05-23 Thread Namhyung Kim
From: Milian Wolff As the documentation for dwfl_frame_pc says, frames that are no activation frames need to have their program counter decremented by one to properly find the function of the caller. This fixes many cases where perf report currently attributes the cost to the next line. I.e. I h

[PATCH 2/7] perf report: fix memory leak in addr2line when called by addr2inlines

2017-05-23 Thread Namhyung Kim
From: Milian Wolff When a filename was found in addr2line it was duplicated via strdup but never freed. Now we pass NULL and handle this gracefully in addr2line. Detected by Valgrind: ==16331== 1,680 bytes in 21 blocks are definitely lost in loss record 148 of 220 ==16331==at 0x4C2AF1F: mal

[GIT PULL 0/7] perf/urgent callchain fixes

2017-05-23 Thread Namhyung Kim
Hi Ingo, Please consider pulling the perf tooling changes below. Build tested on Ubuntu, Fedora and Archlinux. I found a problem during `perf test` but it seems unrelated to this series. Will take a look it later. Thanks, Namhyung The following changes since commit 88b0193d9418c00340e45e0a91

[PATCH 5/7] perf report: always honor callchain order for inlined nodes

2017-05-23 Thread Namhyung Kim
From: Milian Wolff So far, the inlined nodes where only reversed when we built perf against libbfd. If that was not available, the addr2line fallback code path was missing the inline_list__reverse call. Now we always add the nodes in the correct order within inline_list__append. This removes the

Re: [Ocfs2-devel] [PATCH v2] ocfs2: fix a static checker warning

2017-05-23 Thread Eric Ren
On 05/23/2017 01:17 PM, Gang He wrote: This patch will fix a static code checker warning, which looks like below, fs/ocfs2/inode.c:179 ocfs2_iget() warn: passing zero to 'ERR_PTR' this warning was caused by the commit d56a8f32e4c6 ("ocfs2: check/fix inode block for online file check"). after app

Re: [WARNING] x86/mm: Found insecure W+X mapping at address ..

2017-05-23 Thread Thomas Gleixner
On Tue, 23 May 2017, Steven Rostedt wrote: > On Tue, 23 May 2017 22:48:19 +0200 (CEST) > Thomas Gleixner wrote: > > > > It's not KPROBES, it's the new fangled ftrace trampoline code. I > > added a few printks. All the leaked W+X mappings are allocated via > > this callchain: > > The trampoline

Re: [PATCH v1 00/11] mm/kasan: support per-page shadow memory to reduce memory consumption

2017-05-23 Thread Joonsoo Kim
On Mon, May 22, 2017 at 05:00:29PM +0300, Andrey Ryabinin wrote: > > > On 05/19/2017 04:53 AM, Joonsoo Kim wrote: > > On Wed, May 17, 2017 at 03:17:13PM +0300, Andrey Ryabinin wrote: > >> On 05/16/2017 04:16 AM, js1...@gmail.com wrote: > >>> From: Joonsoo Kim > >>> > >>> Hello, all. > >>> > >>>

[PATCH v3] ARM: dts: mvebu: add support for Linksys WRT3200ACM (Rango)

2017-05-23 Thread Ralph Sennhauser
The Linksys WRT3200ACM (Rango) is the lates Armada-385 based router in the Linksys WRT AC Series which got released in October 2016. Key differences to the earlier Armada-385 based devices in the series is a bigger flash chip, next generation wireless modules (Marvell 88W8964) in the mini pcie slo

Re: [PATCH v2] ARM: dts: mvebu: add support for Linksys WRT3200ACM (Rango)

2017-05-23 Thread Ralph Sennhauser
On Wed, 24 May 2017 03:37:53 +0200 Andrew Lunn wrote: > Hi Ralph > > > Changes since v1: > > > > - Use non-removable with the sdhci node > > .. > > > + > > +&sdhci { > > + pinctrl-names = "default"; > > + pinctrl-0 = <&sdhci_pins>; > > + no-1-8-v; > > + broken-cd; > > + wp-inver

RE: [PATCH 1/2] net: phy: Update get_phy_c45_ids for Cortina PHYs

2017-05-23 Thread Bogdan Purcareata
> -Original Message- > From: Florian Fainelli [mailto:f.faine...@gmail.com] > Sent: Tuesday, May 23, 2017 9:12 PM > To: Andrew Lunn ; Bogdan Purcareata > > Cc: net...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH 1/2] net: phy: Update get_phy_c45_ids for Cortina PHYs

Re: [PATCH v1 00/11] mm/kasan: support per-page shadow memory to reduce memory consumption

2017-05-23 Thread Joonsoo Kim
On Mon, May 22, 2017 at 08:02:36AM +0200, Dmitry Vyukov wrote: > On Fri, May 19, 2017 at 3:53 AM, Joonsoo Kim wrote: > > On Wed, May 17, 2017 at 03:17:13PM +0300, Andrey Ryabinin wrote: > >> On 05/16/2017 04:16 AM, js1...@gmail.com wrote: > >> > From: Joonsoo Kim > >> > > >> > Hello, all. > >> >

[PATCH v2 1/1] printk: add __printf attributes to internal functions

2017-05-23 Thread Nicolas Iooss
When compiling with -Wsuggest-attribute=format, gcc complains that some functions in kernel/printk/printk_safe.c transmit their argument to printf-like functions without having a printf attribute. Silence these warnings by adding relevant __printf attributes. Signed-off-by: Nicolas Iooss Acked-by

[PATCH] mm/zsmalloc: fix -Wunneeded-internal-declaration warning

2017-05-23 Thread Nick Desaulniers
is_first_page() is only called from the macro VM_BUG_ON_PAGE() which is only compiled in as a runtime check when CONFIG_DEBUG_VM is set, otherwise is checked at compile time and not actually compiled in. Fixes the following warning, found with Clang: mm/zsmalloc.c:472:12: warning: function 'is_fi

Re: [PATCH 2/2] spi: use gpio_desc instead of numeric gpio

2017-05-23 Thread Chris Packham
On 24/05/17 08:43, Chris Packham wrote: > Hi Andy, > > On 24/05/17 06:28, Andy Shevchenko wrote: >> On Tue, May 23, 2017 at 7:03 AM, Chris Packham >> wrote: >>> By using a gpio_desc and gpiod_set_value() instead of a numeric gpio and >>> gpio_set_value() the gpio flags are taken into account. Thi

Re: [linux-sunxi] [RFC PATCH 10/11] ARM: sun8i: h3: add display engine pipeline for TVE

2017-05-23 Thread Icenowy Zheng
于 2017年5月24日 GMT+08:00 下午1:34:58, Chen-Yu Tsai 写到: >On Wed, May 24, 2017 at 1:28 PM, Icenowy Zheng wrote: >> >> >> 于 2017年5月24日 GMT+08:00 下午1:24:29, Chen-Yu Tsai 写到: >>>On Thu, May 18, 2017 at 12:43 AM, Icenowy Zheng >>>wrote: As we have already the support for the TV encoder on Allwinne

Re: [linux-sunxi] [RFC PATCH 10/11] ARM: sun8i: h3: add display engine pipeline for TVE

2017-05-23 Thread Chen-Yu Tsai
On Wed, May 24, 2017 at 1:28 PM, Icenowy Zheng wrote: > > > 于 2017年5月24日 GMT+08:00 下午1:24:29, Chen-Yu Tsai 写到: >>On Thu, May 18, 2017 at 12:43 AM, Icenowy Zheng >>wrote: >>> As we have already the support for the TV encoder on Allwinner H3, >>add >>> the display engine pipeline device tree nodes

[PATCH 6/6] sched: cpufreq: Optimize cpufreq_update_this_cpu() a bit

2017-05-23 Thread Viresh Kumar
smp_processor_id() can result in a function call if CONFIG_DEBUG_PREEMPT is enabled. It would be much straight forward to use this_rq() macro instead. Signed-off-by: Viresh Kumar --- kernel/sched/sched.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/sched.h b/k

[PATCH 5/6] sched: fair: Drop always true parameter of update_cfs_rq_load_avg()

2017-05-23 Thread Viresh Kumar
update_freq is always true and there is no need to pass it to update_cfs_rq_load_avg(). Remove it. Signed-off-by: Viresh Kumar --- kernel/sched/fair.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index e519f6c03fe9.

[PATCH 3/6] sched: fair: Pass rq to weighted_cpuload()

2017-05-23 Thread Viresh Kumar
weighted_cpuload() uses the cpu number passed to it get pointer to the runqueue. Almost all callers of weighted_cpuload() already have the rq pointer with them and can send that directly to weighted_cpuload(). In some cases the callers actually get the CPU number by doing cpu_of(rq). It would be s

[PATCH 4/6] sched: fair: Avoid checking cfs_rq->nr_running twice

2017-05-23 Thread Viresh Kumar
Rearrange pick_next_task_fair() a bit to avoid checking cfs_rq->nr_running twice for the case where FAIR_GROUP_SCHED is enabled and the previous task doesn't belong to the fair class. Signed-off-by: Viresh Kumar --- kernel/sched/fair.c | 16 +--- 1 file changed, 9 insertions(+), 7 de

[PATCH 2/6] sched: Reuse put_prev_task()

2017-05-23 Thread Viresh Kumar
Reuse put_prev_task() instead of copying its implementation. Signed-off-by: Viresh Kumar --- kernel/sched/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index a8366cfebd31..8ddebb068585 100644 --- a/kernel/sched/core.c +++ b/k

[PATCH 0/6] sched: Minor fixes and cleanups

2017-05-23 Thread Viresh Kumar
Hi, The first patch fixes a potential regression we may observe on the UP systems and the others are doing minor optimizations in the scheduler core. They are all tested on ARM 32 (exynos) and 64 (hikey) bit platforms. -- viresh Viresh Kumar (6): sched: fair: Call cpufreq update util handlers

[PATCH 1/6] sched: fair: Call cpufreq update util handlers less frequently on UP

2017-05-23 Thread Viresh Kumar
For SMP systems, update_load_avg() calls the cpufreq update util handlers only for the top level cfs_rq (i.e. rq->cfs). But that is not the case for UP systems. update_load_avg() calls util handler for any cfs_rq for which it is called. This would result in way too many calls from the scheduler to

Re: [linux-sunxi] [RFC PATCH 10/11] ARM: sun8i: h3: add display engine pipeline for TVE

2017-05-23 Thread Icenowy Zheng
于 2017年5月24日 GMT+08:00 下午1:24:29, Chen-Yu Tsai 写到: >On Thu, May 18, 2017 at 12:43 AM, Icenowy Zheng >wrote: >> As we have already the support for the TV encoder on Allwinner H3, >add >> the display engine pipeline device tree nodes to its DTSI file. >> >> The H5 pipeline has some differences an

[lkp-robot] [sched/core] 1c3c5eab17: BUG:using_smp_processor_id()in_preemptible

2017-05-23 Thread kernel test robot
FYI, we noticed the following commit: commit: 1c3c5eab171590f86edd8d31389d61dd1efe3037 ("sched/core: Enable might_sleep() and smp_processor_id() checks early") https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git sched/core in testcase: boot on test machine: qemu-system-x86_64 -enable-kvm

Re: [linux-sunxi] [RFC PATCH 10/11] ARM: sun8i: h3: add display engine pipeline for TVE

2017-05-23 Thread Chen-Yu Tsai
On Thu, May 18, 2017 at 12:43 AM, Icenowy Zheng wrote: > As we have already the support for the TV encoder on Allwinner H3, add > the display engine pipeline device tree nodes to its DTSI file. > > The H5 pipeline has some differences and will be enabled later. > > The currently-unused mixer0 and

Re: [PATCH 0/3] add fallback reason strings to DAX PMD path

2017-05-23 Thread Masayoshi Mizuma
Hi Ross, On Tue, 23 May 2017 15:25:57 -0600 Ross Zwisler wrote: > One of the primary motivations for adding tracepoints to the DAX PMD path > was to allow the user to diagnose whether their system was actually using > PMDs, and if not to help them understand why. For me at least this has > worked

[PATCH] powerpc: dts: use #include "..." to include local DT

2017-05-23 Thread Masahiro Yamada
Most of DT files in PowerPC use #include "..." to make pre-processor include DT in the same directory, but we have 3 exceptional files that use #include <...> for that. Fix them to remove -I$(srctree)/arch/$(SRCARCH)/boot/dts path from dtc_cpp_flags. Signed-off-by: Masahiro Yamada --- arch/pow

[PATCH] ARM: dts: versatile: use #include "..." to include local DT

2017-05-23 Thread Masahiro Yamada
Most of DT files in ARM use #include "..." to make pre-processor include DT in the same directory, but this is one of the exceptional files that use #include <...> for that. Fix it to remove -I$(srctree)/arch/$(SRCARCH)/boot/dts path from dtc_cpp_flags. ARM: dts: versatile: use #include "..." to

Re: [PATCH 2/5] ARM: dts: use #include "..." to include DT in the same directory

2017-05-23 Thread Masahiro Yamada
Hi Shawn, 2017-05-15 22:10 GMT+09:00 Shawn Guo : > Hi Masahiro, > > On Mon, May 15, 2017 at 08:14:45PM +0900, Masahiro Yamada wrote: >> Most of DT files in ARM use #include "..." to make pre-processor >> include DT in the same directory, but we have 3 exceptional files >> that use #include <...> f

[PATCH] ARM: dts: imx6: use #include "..." to include local DT

2017-05-23 Thread Masahiro Yamada
Most of DT files in ARM use #include "..." to make pre-processor include DT in the same directory, but we have some exceptional files that use #include <...> for that. Fix them to remove -I$(srctree)/arch/$(SRCARCH)/boot/dts path from dtc_cpp_flags. Signed-off-by: Masahiro Yamada --- arch/arm/

[PATCH] serial: 8250_of: Add reset support

2017-05-23 Thread Joel Stanley
This adds the hooks for an optional reset controller in the 8250 device tree node. Signed-off-by: Joel Stanley --- Documentation/devicetree/bindings/serial/8250.txt | 1 + drivers/tty/serial/8250/8250_of.c | 16 2 files changed, 17 insertions(+) diff --git a/Do

Re: [DT Question] "simple-mfd" DT binding

2017-05-23 Thread Masahiro Yamada
Hi Lee, 2017-05-23 16:05 GMT+09:00 Lee Jones : > On Tue, 23 May 2017, Masahiro Yamada wrote: > >> Hi Lee, Linus, >> >> Thanks for your comments! >> >> 2017-05-22 17:43 GMT+09:00 Linus Walleij : >> > On Mon, May 22, 2017 at 3:29 AM, Masahiro Yamada >> > wrote: >> > >> >> Because "simple-bus" indic

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

2017-05-23 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

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

2017-05-23 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 25/27] Drivers: ccree: cc_regs.h - align block comments

2017-05-23 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

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

2017-05-23 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 23/27] Drivers: ccree: ssi_aead.c - align block comments

2017-05-23 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 22/27] Drivers: ccree: ssi_aead.h - align block comments

2017-05-23 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 21/27] Drivers: ccree: ssi_buffer_mgr.c - align block comments

2017-05-23 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

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

2017-05-23 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 18/27] Drivers: ccree: ssi_config.h - align block comments

2017-05-23 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 19/27] Drivers: ccree: ssi_cipher.h - align block comments

2017-05-23 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 17/27] Drivers: ccree: ssi_driver.h - align block comments

2017-05-23 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 16/27] Drivers: ccree: ssi_fips.c - align block comments

2017-05-23 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 15/27] Drivers: ccree: ssi_fips.h - align block comments

2017-05-23 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 14/27] Drivers: ccree: ssi_fips_data.h - align block comments

2017-05-23 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 13/27] Drivers: ccree: ssi_fips_ext.c - align block comments

2017-05-23 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

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

2017-05-23 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 10/27] Drivers: ccree: ssi_hash.c - align block comments

2017-05-23 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 162d17dee2c

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

2017-05-23 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 09/27] Drivers: ccree: ssi_hash.h - align block comments

2017-05-23 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 08/27] Drivers: ccree: ssi_ivgen.c - align block comments

2017-05-23 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 07/27] Drivers: ccree: ssi_pm.h - align block comments

2017-05-23 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 06/27] Drivers: ccree: ssi_pm_ext.c - align block comments

2017-05-23 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 04/27] Drivers: ccree: ssi_request_mgr.c - align block comments

2017-05-23 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 05/27] Drivers: ccree: ssi_pm_ext.h - align block comments

2017-05-23 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 03/27] Drivers: ccree: ssi_request_mgr.h - align block comments

2017-05-23 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 00/27] Drivers: ccree - align block comments

2017-05-23 Thread Derek Robson
Fixed block comments across whole ccree driver 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 Drivers: ccree: ssi_request_mgr.c - align block comments Drive

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

2017-05-23 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..

Re: mm, we use rcu access task_struct in mm_match_cgroup(), but not use rcu free in free_task_struct()

2017-05-23 Thread Xishi Qiu
On 2017/5/24 9:40, Xishi Qiu wrote: > Hi, I find we use rcu access task_struct in mm_match_cgroup(), but not use > rcu free in free_task_struct(), is it right? > > Here is the backtrace. > > PID: 2133 TASK: 881fe3353300 CPU: 2 COMMAND: "CPU 15/KVM" > #0 [881fe276b528] machine_kexec

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

2017-05-23 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

Re: [PATCH v1] dmaengine: DW DMAC: Handle return value of clk_prepare_enable

2017-05-23 Thread Vinod Koul
On Mon, May 22, 2017 at 04:01:48PM +0530, Arvind Yadav wrote: > clk_prepare_enable() can fail here and we must check its return value. Applied, thanks -- ~Vinod

Re: CHIPPro NAND issue with 4.12 rc1

2017-05-23 Thread Angus Ainslie
On 2017-05-23 13:52, Maxime Ripard wrote: Ok, good. If you unrevert those patches, and add clk_ignore_unused to the kernel command line, is it still broken? Maxime If I use the clk_ignore_unused flag with the patches below then the kernel can boot and mount the nand. diff --git a/drivers

Re: [PATCH V4 00/17] thermal: cpu_cooling: improve interaction with cpufreq core

2017-05-23 Thread Eduardo Valentin
Viresh, On Wed, May 24, 2017 at 09:23:52AM +0530, Viresh Kumar wrote: > On 23-05-17, 19:41, Eduardo Valentin wrote: > > Hey, > > > > On Tue, Apr 25, 2017 at 03:57:07PM +0530, Viresh Kumar wrote: > > > Hi Guys, > > > > > > The cpu_cooling driver is designed to use CPU frequency scaling to avoid >

Re: [PATCH 4.4 000/103] 4.4.70-stable review

2017-05-23 Thread Guenter Roeck
On 05/23/2017 01:08 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.4.70 release. There are 103 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be m

Re: [PATCH 4.9 000/164] 4.9.30-stable review

2017-05-23 Thread Guenter Roeck
On 05/23/2017 01:06 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.30 release. There are 164 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be m

Re: [PATCH V4 00/17] thermal: cpu_cooling: improve interaction with cpufreq core

2017-05-23 Thread Viresh Kumar
On 23-05-17, 19:41, Eduardo Valentin wrote: > Hey, > > On Tue, Apr 25, 2017 at 03:57:07PM +0530, Viresh Kumar wrote: > > Hi Guys, > > > > The cpu_cooling driver is designed to use CPU frequency scaling to avoid > > high thermal states for a platform. But it wasn't glued really well with > > cpufr

Re: [PATCH] thermal: cpu_cooling: Replace kmalloc with kmalloc_array

2017-05-23 Thread Viresh Kumar
On 23-05-17, 19:27, Eduardo Valentin wrote: > Hello, > > On Tue, May 23, 2017 at 12:33:06PM +0530, Viresh Kumar wrote: > > Checkpatch reports following: > > > > WARNING: Prefer kmalloc_array over kmalloc with multiply > > + cpufreq_cdev->freq_table = kmalloc(sizeof(*cpufreq_cdev->freq_table) *

Re: [RESEND PATCH] vhost/scsi: Don't reinvent the wheel but use existing llist API

2017-05-23 Thread Nicholas A. Bellinger
On Fri, 2017-05-12 at 09:42 +0900, Byungchul Park wrote: > Although llist provides proper APIs, they are not used. Make them used. > > Signed-off-by: Byungchul Park > Acked-by: Nicholas Bellinger > --- > drivers/vhost/scsi.c | 11 +++ > 1 file changed, 3 insertions(+), 8 deletions(-) >

Re: [PATCH] target: remove dead code

2017-05-23 Thread Nicholas A. Bellinger
On Thu, 2017-05-11 at 13:39 -0700, Tyrel Datwyler wrote: > On 05/09/2017 02:46 PM, Gustavo A. R. Silva wrote: > > Local variable _ret_ is assigned to a constant value and it is never > > updated again. Remove this variable and the dead code it guards. > > > > Addresses-Coverity-ID: 140761 > > Sign

Re: linux-next: build failure after merge of the spi tree

2017-05-23 Thread Jiada Wang
e1c618e6b5 ("spi: imx: only allow dynamic burst in PIO mode") from a separate topic branch and not fixing it up in the merge. Although that second commit could never have built anyway on its own :-( I have used the spi tree from next-20170523 for today.

Re: [PATCH 1/1] xilinx ps uart: Adding a kernel parameter for the number of xilinx ps uarts

2017-05-23 Thread Sam Povilus
On Mon, May 22, 2017 at 07:26:36PM +0100, Alan Cox wrote: > > We have in soc vendor tree similar patch but the reason is different. > > > > tty: serial: Added a CONFIG_SERIAL_XILINX_NR_UARTS option. > > > > This patch Adds CONFIG_SERIAL_XILINX_NR_UARTS option to allow > > the user to

Re: [PATCH v2 0/2] module: Add module name to modinfo

2017-05-23 Thread Jessica Yu
+++ Kees Cook [25/04/17 21:43 -0700]: On Tue, Apr 25, 2017 at 7:32 PM, Jessica Yu wrote: +++ Kees Cook [21/04/17 15:35 -0700]: The mod structure is accessed for the "name" field prior to validating sanity in check_modstruct_version(). This becomes very obvious once struct layout randomization

linux-next: Tree for May 24

2017-05-23 Thread Stephen Rothwell
Hi all, Changes since 20170523: The spi tree gained a build failure so I used the version from next-20170523. Non-merge commits (relative to Linus' tree): 2264 2585 files changed, 85073 insertions(+), 52432 dele

[PATCH] reset: ti_syscon: Rename TI_SYSCON_RESET to RESET_TI_SYSCON

2017-05-23 Thread Suman Anna
Rename the current Kconfig name used for the TI SYSCON Reset driver from TI_SYSCON_RESET to RESET_TI_SYSCON to match the convention used for all the reset drivers present at the base reset folder. Signed-off-by: Suman Anna --- drivers/reset/Kconfig | 2 +- drivers/reset/Makefile | 2 +- 2 files

Re: [PATCH 2/3] Documentation: add sprd clock bindings

2017-05-23 Thread Chunyan Zhang
Hi Stephen, On 19 May 2017 at 10:12, Stephen Boyd wrote: > On 05/18, Chunyan Zhang wrote: >> On 18 May 2017 at 03:43, Arnd Bergmann wrote: >> > On Mon, May 15, 2017 at 10:35 AM, Chunyan Zhang >> > wrote: >> >> diff --git >> >> a/Documentation/devicetree/bindings/clock/sprd/sprd,adjustable-pll-

Re: [PATCH V4 00/17] thermal: cpu_cooling: improve interaction with cpufreq core

2017-05-23 Thread Eduardo Valentin
Hey, On Tue, Apr 25, 2017 at 03:57:07PM +0530, Viresh Kumar wrote: > Hi Guys, > > The cpu_cooling driver is designed to use CPU frequency scaling to avoid > high thermal states for a platform. But it wasn't glued really well with > cpufreq core. For example clipped-cpus is copied from the policy

Re: [PATCH v2] usb: typec: Add a sysfs node to manage port type

2017-05-23 Thread Guenter Roeck
On 05/23/2017 06:28 PM, Badhri Jagan Sridharan wrote: User space applications in some cases have the need to enforce a specific port type(DFP/UFP/DRP). This change allows userspace to attempt setting the desired port type. Low level drivers can however reject the request if the specific port type

Re: [PATCH] lpfc: nvmet_fc: fix format string

2017-05-23 Thread Martin K. Petersen
Arnd, > The lpfc_nvmeio_data() tracing helper always takes a format string and > three additional arguments. The latest caller has a format string with > only two integer arguments, causing this harmless warning: James? -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] qla2xxx: don't disable a not previously enabled PCI device

2017-05-23 Thread Martin K. Petersen
Johannes, > When pci_enable_device() or pci_enable_device_mem() fail in > qla2x00_probe_one() we bail out but do a call to > pci_disable_device(). This causes the dev_WARN_ON() in > pci_disable_device() to trigger, as the device wasn't enabled > previously. > > So instead of taking the 'probe_out

Re: [PATCH 05/12] arm64: dts: Add I2C nodes for Hi3660

2017-05-23 Thread zhangfei
Hi, Jarkko Would you mind give some suggestion? On 2017年05月23日 20:48, Rob Herring wrote: + compatible = "snps,designware-i2c"; These should have an SoC specific compatible. We directly use drivers/i2c/busses/i2c-designware-platdrv.c, do we still an soc specific compati

  1   2   3   4   5   6   7   8   9   10   >