Re: [PATCH 2/2] PCI: meson: add the Amlogic Meson PCIe phy driver

2018-08-17 Thread Hanjie Lin
On 2018/8/17 16:09, Jerome Brunet wrote: > On Fri, 2018-08-17 at 14:12 +0800, Hanjie Lin wrote: >> >> On 2018/8/16 16:33, Jerome Brunet wrote: >>> On Thu, 2018-08-16 at 11:05 +0800, Hanjie Lin wrote: On 2018/8/14 18:41, Jerome Brunet wrote: > On Tue, 2018-08-14 at 02:12 -0400, Hanj

Re: [PATCH v2] spi: dw: support 4-16 bits per word

2018-08-17 Thread Andy Shevchenko
On Fri, Aug 17, 2018 at 10:01 AM, Simon Goldschmidt wrote: > The spi-dw driver currently only supports 8 or 16 bits per word. > > Since the hardware supports 4-16 bits per word, adapt the driver > to also support this. > > Tested on socfpga cyclone5 with a 9-bit SPI display. > LGTM, Reviewed-by:

[GIT PULL REQUEST] watchdog - v4.19 Merge window

2018-08-17 Thread Wim Van Sebroeck
Hi Linus, Please pull the watchdog changes for the v4.19 release cycle. This series contains: * MEN 16z069 IP-Core: Add driver * renesas-wdt: Add support for the R8A77990 wdt * stm32_iwdg: Add stm32mp1 support and pclk feature * sp805_wdt, orion_wdt, sprd_wdt: add several improvements * imx2_wdt,

Re: [PATCH] platform/x86: acer-wmi: Silence "unsupported" message a bit

2018-08-17 Thread Benjamin Herrenschmidt
On Fri, 2018-08-17 at 14:09 +0300, Andy Shevchenko wrote: > On Fri, Aug 17, 2018 at 2:07 PM, Andy Shevchenko > wrote: > > On Thu, Aug 16, 2018 at 2:27 AM, Benjamin Herrenschmidt > > wrote: > > > This driver prints that "Unsupported machine..." message on every boot on > > > ThinkPad X1 Carbon lap

Re: how to fix acpi_pci_root_remap_iospace?

2018-08-17 Thread Lorenzo Pieralisi
On Thu, Aug 16, 2018 at 01:45:07PM -0700, Luck, Tony wrote: > Bjorn, > > Back in commit: > > 0a70abb38062 ("PCI/ACPI: Support I/O resources when parsing host bridge > resources") > > we added acpi_pci_root_remap_iospace(). On ia64 this was a no-op because ia64 > didn't define PCI_IOBASE, so

Re: [PATCH] platform/x86: acer-wmi: Silence "unsupported" message a bit

2018-08-17 Thread Andy Shevchenko
On Fri, Aug 17, 2018 at 2:22 PM, Benjamin Herrenschmidt wrote: > On Fri, 2018-08-17 at 14:09 +0300, Andy Shevchenko wrote: >> On Fri, Aug 17, 2018 at 2:07 PM, Andy Shevchenko >> wrote: >> > On Thu, Aug 16, 2018 at 2:27 AM, Benjamin Herrenschmidt >> > wrote: >> > > This driver prints that "Unsupp

[PATCH 0/2] perf tools: Fix pyrf_evlist__read_on_cpu interface

2018-08-17 Thread Jiri Olsa
hi, Jaroslav reported errors from valgrind over perf python script, which led us to discover serious issue with python interface. It affects tuned daemon, which depends on this interface, and makes it hang. thanks, jirka --- Jiri Olsa (2): perf tools: Store real cpu number in the struct p

[PATCH 2/2] perf python: Fix pyrf_evlist__read_on_cpu interface

2018-08-17 Thread Jiri Olsa
Jaroslav reported errors from valgrind over perf python script: # echo 0 > /sys/devices/system/cpu/cpu4/online # valgrind ./test.py ==7524== Memcheck, a memory error detector ... ==7524== Command: ./test.py ==7524== pid 7526 exited ==7524== Invalid read of size 8 ==7524==at 0

[PATCH 1/2] perf tools: Store real cpu number in the struct perf_mmap

2018-08-17 Thread Jiri Olsa
Storing the real cpu number in the struct perf_mmap, which be used by python interface that allows user to read particular memory map for given cpu. Link: http://lkml.kernel.org/n/tip-a2h9hjs7abv42yiagxiz2...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/evlist.c | 2 +- tools/perf

Re: [PATCHv3 0/5] perf/hw_breakpoint: Fix breakpoint modify

2018-08-17 Thread Jiri Olsa
On Fri, Aug 10, 2018 at 12:47:25PM +0200, Jiri Olsa wrote: > hi, > Milind reported that modify_user_hw_breakpoint wouldn't > allow the breakpoint changing if the new attr had 'disabled' > set to true. > > I found a case where it actualy prevents ptrace user interface > to change the breakpoint. It

[no subject]

2018-08-17 Thread Financial Loans Service
Apply for a loan at 3% reply to this Email for more Info

[PATCH] kbuild: make sorting initramfs contents independent of locale

2018-08-17 Thread Andrzej Pietrasiewicz
Some LANG values (e.g. pl_PL.UTF-8) cause the sort command to output files before their parent directories, which makes them inaccessible for the kernel. In other words, when the kernel populates the rootfs, it is unable to create files whose parent directories have not been yet created. This patc

[RESEND PATCH] x86/vdso: Handle clock_gettime(CLOCK_TAI) in vDSO

2018-08-17 Thread Matt Rickard
Process clock_gettime(CLOCK_TAI) in vDSO. This makes the call about as fast as CLOCK_REALTIME instead of taking about four times as long. Signed-off-by: Matt Rickard --- 0 files changed

[RESEND PATCH] x86/vdso: Handle clock_gettime(CLOCK_TAI) in vDSO

2018-08-17 Thread Matt Rickard
Process clock_gettime(CLOCK_TAI) in vDSO. This makes the call about as fast as CLOCK_REALTIME instead of taking about four times as long. Signed-off-by: Matt Rickard --- arch/x86/entry/vdso/vclock_gettime.c| 25 + arch/x86/entry/vsyscall/vsyscall_gtod.c | 2 ++ arch/

Re: [PATCH] media: NULL check is meaningless before debugfs_remove_recursive

2018-08-17 Thread zhong jiang
On 2018/8/17 17:18, Laurent Pinchart wrote: > Hi Zhong, > > Thank you for the patch. > > On Friday, 17 August 2018 06:37:26 EEST zhong jiang wrote: >> debugfs_remove_recursive has taken null pointer into account. so >> remove the unneeded check. >> >> Signed-off-by: zhong jiang > I already have a

Re: [PATCH v3 08/14] sched/core: uclamp: extend cpu's cgroup controller

2018-08-17 Thread Dietmar Eggemann
On 08/06/2018 06:39 PM, Patrick Bellasi wrote: [...] Give the above mechanisms, it is now possible to extend the cpu controller to specify what is the minimum (or maximum) utilization which a task is expected (or allowed) to generate. Constraints on minimum and maximum utilization allowed for t

[RFC PATCH 0/2] phy: cadence: Add driver and dt-bindings for Sierra PHY

2018-08-17 Thread Alan Douglas
The Sierra PHY supports a number of different protocol. This series adds a driver with support for USB3 and PCIe modes. Two phy-cells are required in device tree bindings, one to specify the protocol to be supported, and the second to specify the number of lanes. Only one clock frequency is curr

[RFC PATCH 1/2] dt-bindings: phy: Document cadence Sierra PHY bindings

2018-08-17 Thread Alan Douglas
Add DT binding documentation for Sierra PHY. The PHY supports a number of different protocols, including PCIe and USB. The number of lanes can also be configured. Signed-off-by: Alan Douglas --- .../devicetree/bindings/phy/cdns-sierra-phy.txt| 29 ++ 1 file changed, 29

[RFC PATCH 2/2] phy: cadence: Add driver for Sierra PHY

2018-08-17 Thread Alan Douglas
Add a Sierra PHY driver with PCIe and USB support. There are two resets to the PHY, one to enable the APB interface for programming registers, and another to enable the PHY itself. The sequence of operation on startup is to enable the APB bus, write the PHY registers and then enable the PHY. On p

[PATCH] thunderbolt: remove a meaningless null pointer check before dma_pool_destroy

2018-08-17 Thread zhong jiang
dma_pool_destroy has taken the null pointer into account. so just remove the null pointer check. Signed-off-by: zhong jiang --- drivers/thunderbolt/ctl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/thunderbolt/ctl.c b/drivers/thunderbolt/ctl.c index 37a7f4c..e54

Re: [BUG]smt sysfs dir missing on 4.4.148 and 4.14.63

2018-08-17 Thread Jinpu Wang
On Thu, Aug 16, 2018 at 6:48 PM Jinpu Wang wrote: > > On Thu, Aug 16, 2018 at 6:39 PM Greg Kroah-Hartman > wrote: > > > > On Thu, Aug 16, 2018 at 06:28:59PM +0200, Jinpu Wang wrote: > > > On Thu, Aug 16, 2018 at 5:51 PM Greg Kroah-Hartman > > > wrote: > > > > > > > > On Thu, Aug 16, 2018 at 05:4

[for-next][PATCH 8/8] tracing: Fix SPDX format headers to use C++ style comments

2018-08-17 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" The Linux kernel adopted the SPDX License format headers to ease license compliance management, and uses the C++ '//' style comments for the SPDX header tags. Some files in the tracing directory used the C style /* */ comments for them. To be consistent across all

[for-next][PATCH 7/8] tracing: Add SPDX License format tags to tracing files

2018-08-17 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" Add the SPDX License header to ease license compliance management. Signed-off-by: Steven Rostedt (VMware) --- kernel/trace/ftrace.c| 1 + kernel/trace/ring_buffer.c | 1 + kernel/trace/ring_buffer_benchmark.c | 1 + kernel/trace/trac

[for-next][PATCH 6/8] tracing: Add SPDX License format to bpf_trace.c

2018-08-17 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" Add the SPDX License header to ease license compliance management. Acked-by: Alexei Starovoitov Acked-by: Daniel Borkmann Signed-off-by: Steven Rostedt (VMware) --- kernel/trace/bpf_trace.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git

[for-next][PATCH 4/8] s390/ftrace: Add -mfentry and -mnop-mcount support

2018-08-17 Thread Steven Rostedt
From: Vasily Gorbik Utilize -mfentry and -mnop-mcount gcc options together with -mrecord-mcount to get compiler generated calls to the profiling functions as nops which are compatible with current -mhotpatch=0,3 approach. At the same time -mrecord-mcount enables __mcount_loc section generation b

[for-next][PATCH 1/8] tracing: Handle CC_FLAGS_FTRACE more accurately

2018-08-17 Thread Steven Rostedt
From: Vasily Gorbik CC_FLAGS_FTRACE is exported and later used to remove ftrace relevant build flags from files which should be built without ftrace support. For that reason add -mfentry to CC_FLAGS_FTRACE as well. That fixes a problem with vdso32 build on s390, where -mfentry could not be used t

[for-next][PATCH 3/8] tracing: Add -mcount-nop option support

2018-08-17 Thread Steven Rostedt
From: Vasily Gorbik -mcount-nop gcc option generates the calls to the profiling functions as nops which allows to avoid patching mcount jump with NOP instructions initially. -mcount-nop gcc option will be activated if platform selects HAVE_NOP_MCOUNT and gcc actually supports it. In addition to

[for-next][PATCH 2/8] tracing: Avoid calling cc-option -mrecord-mcount for every Makefile

2018-08-17 Thread Steven Rostedt
From: Vasily Gorbik Currently if CONFIG_FTRACE_MCOUNT_RECORD is enabled -mrecord-mcount compiler flag support is tested for every Makefile. Top 4 cc-option usages: 511 -mrecord-mcount 11 -fno-stack-protector 9 -Wno-override-init 2 -fsched-pressure To address that move cc-o

[for-next][PATCH 5/8] blktrace: Add SPDX License format header

2018-08-17 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" Add the SPDX License header to ease license compliance management. Acked-by: Jens Axboe Signed-off-by: Steven Rostedt (VMware) --- kernel/trace/blktrace.c | 14 +- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/kernel/trace/blktrace.c

[for-next][PATCH 0/8] tracing: Some last minute updates for 4.19

2018-08-17 Thread Steven Rostedt
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next Head SHA1: bb730b5833b5bddf5cb226865e5f4496770d00b0 Steven Rostedt (VMware) (4): blktrace: Add SPDX License format header tracing: Add SPDX License format to bpf_trace.c tracing: Add SPDX License f

Re: [PATCH] platform/x86: acer-wmi: Silence "unsupported" message a bit

2018-08-17 Thread Benjamin Herrenschmidt
On Fri, 2018-08-17 at 14:27 +0300, Andy Shevchenko wrote: > On Fri, Aug 17, 2018 at 2:22 PM, Benjamin Herrenschmidt > wrote: > > On Fri, 2018-08-17 at 14:09 +0300, Andy Shevchenko wrote: > > > On Fri, Aug 17, 2018 at 2:07 PM, Andy Shevchenko > > > wrote: > > > > On Thu, Aug 16, 2018 at 2:27 AM, B

[PATCH resend] irqchip/tango: Set irq handler and data in one go

2018-08-17 Thread Martin Kaiser
Replace the two separate calls for setting the irq handler and data with a single irq_set_chained_handler_and_data() call. Signed-off-by: Martin Kaiser --- Resending this, it seems this got lost along the way. Not a major change, of course. But should also be simple to review. Thanks & Best rega

Re: [PATCH v2] console: Add console=auto option

2018-08-17 Thread Petr Mladek
On Fri 2018-08-17 07:06:56, Prarit Bhargava wrote: > On 08/17/2018 06:50 AM, Sergey Senozhatsky wrote: > >> Like I mentioned to Petr, I'd like to know if you (or anyone else) has > >> strong > >> feelings about changing the behaviour of earlycon on x86? I could make it > >> so > >> that specifyi

Re: Query on shrink list

2018-08-17 Thread Al Viro
On Fri, Aug 17, 2018 at 03:39:22PM +0530, Mukesh Ojha wrote: > Hi Al Viro, > > Is there is reason we have kept data->found++, if the dentry already there > in shrink list ? > > static enum d_walk_ret select_collect( > ... >     if (dentry->d_flags & DCACHE_SHRINK_LIST) { >     dat

Re: [PATCH] sched/fair: Avoid divide by zero when rebalancing domains

2018-08-17 Thread Valentin Schneider
Hi, On 17/08/18 11:27, Matt Fleming wrote: > On Thu, 05 Jul, at 05:54:02PM, Valentin Schneider wrote: >> On 05/07/18 14:27, Matt Fleming wrote: >>> On Thu, 05 Jul, at 11:10:42AM, Valentin Schneider wrote: Hi, On 04/07/18 15:24, Matt Fleming wrote: > It's possible that the CPU do

[PATCH 2/3] dmaengine: mv_xor: move spin_lock_bh to spin_lock in tasklet

2018-08-17 Thread Barry Song
as you are already in a tasklet, it is unnecessary to call spin_lock_bh. Signed-off-by: Barry Song <21cn...@gmail.com> --- drivers/dma/mv_xor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dma/mv_xor.c b/drivers/dma/mv_xor.c index 969534c..7f59535 100644 --- a/d

[PATCH 3/3] dmaengine: at_xdmac: move spin_lock_bh to spin_lock in tasklet

2018-08-17 Thread Barry Song
as you are already in a tasklet, it is unnecessary to call spin_lock_bh. Signed-off-by: Barry Song <21cn...@gmail.com> --- drivers/dma/at_xdmac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dma/at_xdmac.c b/drivers/dma/at_xdmac.c index 4bf7256..4e55768 100644 -

Re: [PATCH v8 0/2] Directed kmem charging

2018-08-17 Thread Johannes Weiner
On Wed, Aug 15, 2018 at 03:25:11PM -0700, Andrew Morton wrote: > On Wed, 27 Jun 2018 12:12:48 -0700 Shakeel Butt wrote: > > > The Linux kernel's memory cgroup allows limiting the memory usage of > > the jobs running on the system to provide isolation between the jobs. > > All the kernel memory al

WICHTIGE MITTEILUNG

2018-08-17 Thread ines_valdiviezo
Lieber Freund, Ich bin Herr Richard Wahl der Mega-Gewinner von $ 533M In Mega Millions Jackpot spende ich an 5 zufällige Personen, wenn Sie diese E-Mail erhalten, dann wurde Ihre E-Mail nach einem Spinball ausgewählt. Ich habe den größten Teil meines Vermögens auf eine Reihe von Wohltätigkeits

[GIT PULL]: dmaengine updates for v4.19-rc1

2018-08-17 Thread Vinod
Hi Linus, Please pull to receive dmaengine contributions for v4.19-rc1. The following changes since commit ce397d215ccd07b8ae3f71db689aedb85d56ab40: Linux 4.18-rc1 (2018-06-17 08:04:49 +0900) are available in the Git repository at: git://git.infradead.org/users/vkoul/slave-dma.git tags/dma

Re: [RESEND PATCH] x86/vdso: Handle clock_gettime(CLOCK_TAI) in vDSO

2018-08-17 Thread kbuild test robot
Hi Matt, Thank you for the patch! Yet something to improve: [auto build test ERROR on tip/x86/vdso] [also build test ERROR on v4.18 next-20180817] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux

Re: [PATCH] EDAC: Add missing MEM_LRDDR4 entry in edac_mem_types[]

2018-08-17 Thread Borislav Petkov
On Fri, Aug 10, 2018 at 04:14:26PM +0200, Takashi Iwai wrote: > The edac_mem_types[] array misses MEM_LRDDR4 entry, and it leads to > NULL dereference when accessed via sysfs or such. > > Fixes: 1e8096bb2031 ("EDAC: Add LRDDR4 DRAM type") > Cc: > Signed-off-by: Takashi Iwai > --- > drivers/edac

Re: [RFC PATCH v2 2/2] mtd: rawnand: meson: add support for Amlogic NAND flash controller

2018-08-17 Thread Liang Yang
Hi Boris, On 2018/8/2 5:50, Boris Brezillon wrote: Hi Yixun, On Thu, 19 Jul 2018 17:46:12 +0800 Yixun Lan wrote: I haven't finished reviewing the driver yet (I'll try to do that later this week), but I already pointed a few things to fix/improve. + +static int meson_nfc_exec_op(struct nand_

Re: [PATCH v9 04/22] s390/zcrypt: Integrate ap_asm.h into include/asm/ap.h.

2018-08-17 Thread Tony Krowiak
On 08/14/2018 04:43 AM, Cornelia Huck wrote: On Mon, 13 Aug 2018 17:48:01 -0400 Tony Krowiak wrote: From: Harald Freudenberger Move all the inline functions from the ap bus header file ap_asm.h into the in-kernel api header file arch/s390/include/asm/ap.h so that KVM can make use of all the

[LINUX PATCH v10 1/2] dt-bindings: mtd: arasan: Add device tree binding documentation

2018-08-17 Thread Naga Sureshkumar Relli
This patch adds the dts binding document for arasan nand flash controller. Signed-off-by: Naga Sureshkumar Relli --- Changes in v10: - None Changes in v9: - None Changes in v8: - Updated compatible and clock-names as per Boris comments Changes in v7: - Corrected the acronyms those should be in ca

[LINUX PATCH v10 0/2] Add support for Arasan NAND Flash controller

2018-08-17 Thread Naga Sureshkumar Relli
This patch series adds the basic driver support for Arasan NAND Flash controller. We are reinitiating the patch series by fixing the comments given by Miquel and Boris. Major changes are exec_op() implementation related. Rebased to 4.19 nand tree. Tested MT29F32G08ABCDBJ4. Naga Sureshkumar Relli (

Re: [PATCH v9 10/22] s390: vfio-ap: sysfs interfaces to configure adapters

2018-08-17 Thread Tony Krowiak
On 08/16/2018 03:30 AM, Cornelia Huck wrote: On Wed, 15 Aug 2018 12:59:35 -0400 Tony Krowiak wrote: On 08/15/2018 05:52 AM, Cornelia Huck wrote: On Mon, 13 Aug 2018 17:48:07 -0400 Tony Krowiak wrote: +/** + * unassign_adapter_store + * + * @dev: the matrix device + * @attr: a mediated matri

[PATCH] kernel: Add spaces around '=' operator

2018-08-17 Thread Bhaskar Singh
This patch fixes the checkpatch.pl ERROR: ERROR: spaces required around that '==' (ctx:VxV) Signed-off-by: Bhaskar Singh --- kernel/acct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/acct.c b/kernel/acct.c index addf7732fb56..6dc0a55b575c 100644 --- a/kernel/acct.

Re: [RESEND PATCH] x86/vdso: Handle clock_gettime(CLOCK_TAI) in vDSO

2018-08-17 Thread kbuild test robot
Hi Matt, Thank you for the patch! Yet something to improve: [auto build test ERROR on tip/x86/vdso] [also build test ERROR on v4.18 next-20180817] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux

Re: [PATCH v9 04/22] s390/zcrypt: Integrate ap_asm.h into include/asm/ap.h.

2018-08-17 Thread Cornelia Huck
On Fri, 17 Aug 2018 09:18:51 -0400 Tony Krowiak wrote: > On 08/14/2018 04:43 AM, Cornelia Huck wrote: > > On Mon, 13 Aug 2018 17:48:01 -0400 > > Tony Krowiak wrote: > > > >> From: Harald Freudenberger > >> > >> Move all the inline functions from the ap bus header > >> file ap_asm.h into the i

Re: [PATCH] proc: fixup PDE allocation bloat

2018-08-17 Thread Alexey Dobriyan
On Thu, Jul 19, 2018 at 05:06:55PM -0700, Shakeel Butt wrote: > On Sun, Jun 17, 2018 at 2:57 PM Alexey Dobriyan wrote: > > > > commit 24074a35c5c975c94cd9691ae962855333aac47f > > ("proc: Make inline name size calculation automatic") > > started to put PDE allocations into kmalloc-256 which is unne

[PATCH] ide: Use NULL to compare with pointer-typed value rather than 0

2018-08-17 Thread zhong jiang
We should use NULL to compare with pointer-typed value rather than 0. The issue is detected with the help of Coccinelle. Signed-off-by: zhong jiang --- drivers/ide/pmac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ide/pmac.c b/drivers/ide/pmac.c index c5b902b..67

[LINUX PATCH v10 2/2] mtd: rawnand: arasan: Add support for Arasan NAND Flash Controller

2018-08-17 Thread Naga Sureshkumar Relli
Add the basic driver for Arasan NAND Flash Controller used in Zynq UltraScale+ MPSoC. It supports HW ECC and upto 24bit correction. Signed-off-by: Naga Sureshkumar Relli --- Changes in v10: - Implemented ->exec_op() interface. - Converted the driver to nand_scan(). Changes in v9: - Added the S

Re: [PATCH v3 09/14] sched/core: uclamp: propagate parent clamps

2018-08-17 Thread Dietmar Eggemann
On 08/06/2018 06:39 PM, Patrick Bellasi wrote: In order to properly support hierarchical resources control, the cgroup delegation model requires that attribute writes from a child group never fail but still are (potentially) constrained based on parent's assigned resources. This requires to prope

Re: [PATCH resend] irqchip/tango: Set irq handler and data in one go

2018-08-17 Thread Marc Zyngier
On 17/08/18 13:10, Martin Kaiser wrote: > Replace the two separate calls for setting the irq handler and data with > a single irq_set_chained_handler_and_data() call. > > Signed-off-by: Martin Kaiser > --- > Resending this, it seems this got lost along the way. Not a major change, > of course. Bu

Re: [RFC PATCH v2 2/2] mtd: rawnand: meson: add support for Amlogic NAND flash controller

2018-08-17 Thread Boris Brezillon
On Fri, 17 Aug 2018 21:03:59 +0800 Liang Yang wrote: > Hi Boris, > On 2018/8/2 5:50, Boris Brezillon wrote: > > > Hi Yixun, > > > > On Thu, 19 Jul 2018 17:46:12 +0800 > > Yixun Lan wrote: > > > > I haven't finished reviewing the driver yet (I'll try to do that later > > this week), but I alread

Re: [PATCH 3.18 00/15] 3.18.119-stable review

2018-08-17 Thread Harsh 'Shandilya
On 17 August 2018 12:11:37 AM IST, Greg Kroah-Hartman wrote: >This is the start of the stable review cycle for the 3.18.119 release. >There are 15 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. > >Res

[PATCH v5 0/5] Add i.MX8MQ clock driver

2018-08-17 Thread Abel Vesa
Fourth version can be found here: https://lore.kernel.org/patchwork/cover/974998/ Changes since v4: * Implemented divider ops and used clk-composite as suggested by Sascha Hauer. Changes since v3: * Added a composite clock type to get rid of some complexity from clk-imx8mq. This new comp

[PATCH v5 1/5] dt-bindings: add binding for i.MX8MQ CCM

2018-08-17 Thread Abel Vesa
From: Lucas Stach This adds the binding for the i.MX8MQ Clock Controller Module. Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Rob Herring --- .../devicetree/bindings/clock/imx8mq-clock.txt | 20 + include/dt-bindings/clock/imx8mq-clock.h | 410 +

[PATCH v5 2/5] clk: imx: add fractional PLL output clock

2018-08-17 Thread Abel Vesa
From: Lucas Stach This is a new clock type introduced on i.MX8. Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa --- drivers/clk/imx/Makefile | 1 + drivers/clk/imx/clk-frac-pll.c | 230 + drivers/clk/imx/clk.h | 3 + 3 files chang

[PATCH v5 4/5] clk: imx: add imx composite clock

2018-08-17 Thread Abel Vesa
Since a lot of clocks on imx8 are formed by a mux, gate, predivider and divider, the idea here is to combine all of those into one more complex clock type, therefore moving the complexity inside the composite clock and outside of the SoC specific clock driver. Signed-off-by: Abel Vesa Suggested-b

[PATCH v5 3/5] clk: imx: add SCCG PLL type

2018-08-17 Thread Abel Vesa
From: Lucas Stach The SCCG is a new PLL type introduced on i.MX8. Add support for this. The driver currently misses the PLL lock check, as the preliminary documentation mentions lock configurations, but is quiet about where to find the actual lock status signal. Signed-off-by: Lucas Stach Signe

[PATCH v5 5/5] clk: imx: add clock driver for i.MX8MQ CCM

2018-08-17 Thread Abel Vesa
From: Lucas Stach Add driver for the Clock Control Module found on i.MX8MQ. This is largely based on the downstream driver from Anson Huang and Bai Ping at NXP, with only some small adaptions to mainline from me. Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa --- drivers/clk/imx/Makefil

Re: [PATCH] sched: idle: Avoid retaining the tick when it has been stopped

2018-08-17 Thread Frederic Weisbecker
On Fri, Aug 17, 2018 at 11:32:07AM +0200, Rafael J. Wysocki wrote: > On Thursday, August 16, 2018 3:27:24 PM CEST Frederic Weisbecker wrote: > > On Thu, Aug 09, 2018 at 07:08:34PM +0200, Rafael J. Wysocki wrote: > > > From: Rafael J. Wysocki > > > > > > If the tick has been stopped already, but t

Re: [PATCH v3 08/14] sched/core: uclamp: extend cpu's cgroup controller

2018-08-17 Thread Patrick Bellasi
On 17-Aug 14:21, Dietmar Eggemann wrote: > On 08/06/2018 06:39 PM, Patrick Bellasi wrote: > > [...] > > >Give the above mechanisms, it is now possible to extend the cpu > >controller to specify what is the minimum (or maximum) utilization which > >a task is expected (or allowed) to generate. > >C

Re: [PATCH] fix vibrations on Droid 4

2018-08-17 Thread Tony Lindgren
* Sebastian Reichel [180802 10:59]: > Hi, > > On Wed, Aug 01, 2018 at 10:28:21PM +0200, Pavel Machek wrote: > > Vibration GPIOs don't have anything to do with wakeup. Move it to > > normal section; this fixes vibrations on Droid 4. > > > > Signed-off-by: Pavel Machek > > > > diff --git a/a

Re: [PATCH 2/5] perf/hw_breakpoint: Modify breakpoint even if the new attr has disabled set

2018-08-17 Thread Frederic Weisbecker
On Fri, Aug 10, 2018 at 12:47:27PM +0200, Jiri Olsa wrote: > We need to change the breakpoint even if the attr with > new fields has disabled set to true. > > Current code prevents following user code to change > the breakpoint address: > > ptrace(PTRACE_POKEUSER, child, offsetof(struct user, u

Re: [PATCH] arm: dts: am4372: setup rtc as system-power-controller

2018-08-17 Thread Tony Lindgren
* Keerthy [180808 09:11]: > > > On Wednesday 08 August 2018 02:36 PM, Tony Lindgren wrote: > > * Keerthy [180725 05:59]: > >> RTC alarm2 is connected to pmic_en line and hence can be used to control > >> the pmic enabling/disabling. Hence add the system-power-controller for rtc > >> node. > >>

Re: [LINUX PATCH v10 2/2] mtd: rawnand: arasan: Add support for Arasan NAND Flash Controller

2018-08-17 Thread Miquel Raynal
Hi Naga, A user of Xilinx BSP reported a problem with lockdep that I can see is not yet fixed in this code: Naga Sureshkumar Relli wrote on Fri, 17 Aug 2018 18:49:24 +0530: > +static int anfc_probe(struct platform_device *pdev) > +{ > + struct anfc_nand_controller *nfc; > + struct anfc_

Re: Query on shrink list

2018-08-17 Thread Mukesh Ojha
On 8/17/2018 6:28 PM, Al Viro wrote: On Fri, Aug 17, 2018 at 03:39:22PM +0530, Mukesh Ojha wrote: Hi Al Viro, Is there is reason we have kept data->found++, if the dentry already there in shrink list ? static enum d_walk_ret select_collect( ...     if (dentry->d_flags & DCACHE_SHRINK_L

Re: [PATCH] x86/speculation/l1tf: Exempt zeroed PTEs from XOR conversion

2018-08-17 Thread Andi Kleen
On Thu, Aug 16, 2018 at 01:46:38PM -0700, Sean Christopherson wrote: > clear_page() does not undergo the XOR logic to invert the address > bits, i.e. PTE, PMD and PUD entries that have not been individually > written will have val=0 and so will trigger __pte_needs_invert(). > As a result, {pte,pmd,

Re: [PATCH v3 09/14] sched/core: uclamp: propagate parent clamps

2018-08-17 Thread Patrick Bellasi
On 17-Aug 15:43, Dietmar Eggemann wrote: > On 08/06/2018 06:39 PM, Patrick Bellasi wrote: > >In order to properly support hierarchical resources control, the cgroup > >delegation model requires that attribute writes from a child group never > >fail but still are (potentially) constrained based on p

Re: [PATCH 3/5] perf/hw_breakpoint: Remove superfluous bp->attr.disabled = 0

2018-08-17 Thread Frederic Weisbecker
On Fri, Aug 10, 2018 at 12:47:28PM +0200, Jiri Olsa wrote: > Once the breakpoint was succesfully modified, the attr->disabled > value is in bp->attr.disabled. So there's no reason to set it > again, removing that. > > Acked-by: Oleg Nesterov > Link: http://lkml.kernel.org/n/tip-v5oaellzsmyszv3rfu

Re: [PATCH 4/5] perf/hw_breakpoint: Enable breakpoint in modify_user_hw_breakpoint

2018-08-17 Thread Frederic Weisbecker
On Fri, Aug 10, 2018 at 12:47:29PM +0200, Jiri Olsa wrote: > Currently we enable the breakpoint back only if the breakpoint > modification was successful. If it fails we can leave the > breakpoint in disabled state with attr->disabled == 0. > > We can safely enable the breakpoint back for both the

Re: [RESEND PATCH v10 1/6] arm: arm64: introduce CONFIG_HAVE_MEMBLOCK_PFN_VALID

2018-08-17 Thread Catalin Marinas
On Fri, Jul 06, 2018 at 05:01:10PM +0800, Jia He wrote: > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig > index 42c090c..26d75f4 100644 > --- a/arch/arm64/Kconfig > +++ b/arch/arm64/Kconfig > @@ -778,6 +778,10 @@ config ARCH_SELECT_MEMORY_MODEL > config HAVE_ARCH_PFN_VALID > def_bool

Re: [PATCH 00/13] perf tools: Use plain debug files for compressed objects

2018-08-17 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 17, 2018 at 11:48:00AM +0200, Jiri Olsa escreveu: > hi, > currently we don't allow to open plain debug files for > compressed kernel module objects, ending up with following > warning: > > $ perf report --stdio > lzma: failed The input is not in the .xz format > lzma: failed The

Re: [PATCH v10 00/10] livepatch: Atomic replace feature

2018-08-17 Thread Petr Mladek
On Fri 2018-08-17 13:17:27, Evgenii Shatokhin wrote: > Hi, > > On 07.03.2018 11:20, Petr Mladek wrote: > > The atomic replace allows to create cumulative patches. They > > are useful when you maintain many livepatches and want to remove > > one that is lower on the stack. In addition it is very us

Re: [PATCH] Fix kexec forbidding kernels signed with custom platform keys to boot

2018-08-17 Thread James Bottomley
On Fri, 2018-08-17 at 09:24 +0100, David Howells wrote: > James Bottomley wrote: > > > > > As a step by step process, I agree.  However, I think we can > > > > automate it to the point where you install a package and it > > > > says "insert your yubikey" every time you upgrade the kernel > > > >

Re: [PATCH] spi: spi-geni-qcom: Add SPI driver support for GENI based QUP

2018-08-17 Thread Mark Brown
On Fri, Aug 17, 2018 at 04:06:06PM +0530, dk...@codeaurora.org wrote: > Could you please clarify on below query. I'm not seeing any further questions in your e-mail? signature.asc Description: PGP signature

Re: [PATCH 0/2] perf tools: Fix pyrf_evlist__read_on_cpu interface

2018-08-17 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 17, 2018 at 01:45:54PM +0200, Jiri Olsa escreveu: > hi, > Jaroslav reported errors from valgrind over perf python script, > which led us to discover serious issue with python interface. > > It affects tuned daemon, which depends on this interface, > and makes it hang. Thanks, applied.

Re: [PATCH v12 14/14] cpufreq: qcom: Add support for krait based socs

2018-08-17 Thread Rob Herring
Hi, this email is from Rob's (experimental) review bot. I found a couple of common problems with your patch. Please see below. On Tue, 14 Aug 2018 17:42:33 +0530, Sricharan R wrote: > In Certain QCOM SoCs like ipq8064, apq8064, msm8960, msm8974 > that has KRAIT processors the voltage/current value

Re: [PATCH v12 13/14] cpufreq: qcom: Re-organise kryo cpufreq to use it for other nvmem based qcom socs

2018-08-17 Thread Rob Herring
Hi, this email is from Rob's (experimental) review bot. I found a couple of common problems with your patch. Please see below. On Tue, 14 Aug 2018 17:42:32 +0530, Sricharan R wrote: > The kryo cpufreq driver reads the nvmem cell and uses that data to > populate the opps. There are other qcom cpufr

Re: [PATCH 7/7] Documentation: devicetree: Add Xilinx R5 rproc binding

2018-08-17 Thread Rob Herring
Hi, this email is from Rob's (experimental) review bot. I found a couple of common problems with your patch. Please see below. On Thu, 16 Aug 2018 00:06:30 -0700, Wendy Liang wrote: > Add device tree binding for Xilinx Cortex-r5 remoteproc. > > Signed-off-by: Wendy Liang The preferred subject p

Re: [PATCH v4 4/7] i2c: designware: document MSCC Ocelot bindings

2018-08-17 Thread Rob Herring
Hi, this email is from Rob's (experimental) review bot. I found a couple of common problems with your patch. Please see below. On Thu, 16 Aug 2018 10:45:18 +0200, Alexandre Belloni wrote: > Document bindings for the Microsemi Ocelot integration of the Designware > I2C controller. > > Cc: Rob Herr

Re: [PATCH 5/7] pinctrl: ingenic: Add support for the JZ4725B

2018-08-17 Thread Rob Herring
Hi, this email is from Rob's (experimental) review bot. I found a couple of common problems with your patch. Please see below. On Thu, 16 Aug 2018 18:35:42 +0200, Paul Cercueil wrote: > Add support for the JZ4725B and compatible SoCs from Ingenic. > > Signed-off-by: Paul Cercueil The preferred

Re: [PATCH V2 2/3] Documentation: devicetree: input: new binding for da7280

2018-08-17 Thread Rob Herring
Hi, this email is from Rob's (experimental) review bot. I found a couple of common problems with your patch. Please see below. On Fri, 17 Aug 2018 10:07:04 +0900, Roy Im wrote: > > from: Roy Im > > Add device tree binding information for DA7280 haptic driver. > Example bindings for DA7280 are a

Re: [PATCH] gpio: 74x164: add lines-initial-states property

2018-08-17 Thread Rob Herring
Hi, this email is from Rob's (experimental) review bot. I found a couple of common problems with your patch. Please see below. On Wed, 15 Aug 2018 22:18:54 +0200, David Bauer wrote: > This adds the ability to define the initial state of each output line on > device probe. > > Signed-off-by: David

Re: [PATCH 7/7] gpio: ingenic: Remove driver

2018-08-17 Thread Rob Herring
Hi, this email is from Rob's (experimental) review bot. I found a couple of common problems with your patch. Please see below. On Thu, 16 Aug 2018 18:35:44 +0200, Paul Cercueil wrote: > The pinctrl-ingenic driver is now handling the GPIO chips directly. > > Signed-off-by: Paul Cercueil The pref

Re: [PATCH 3/7] pinctrl: ingenic: Merge GPIO functionality

2018-08-17 Thread Rob Herring
Hi, this email is from Rob's (experimental) review bot. I found a couple of common problems with your patch. Please see below. On Thu, 16 Aug 2018 18:35:40 +0200, Paul Cercueil wrote: > Merge the code of the gpio-ingenic driver into the pinctrl-ingenic > driver. > > The reason behind this, is tha

[PATCH v5 2/2] leds: lm3697: Introduce the lm3697 driver

2018-08-17 Thread Dan Murphy
Introduce the lm3697 LED driver for backlighting and display. Datasheet location: http://www.ti.com/lit/ds/symlink/lm3697.pdf Signed-off-by: Dan Murphy --- v5 - Fix nitpick issues with code - https://lore.kernel.org/patchwork/patch/975061/ v4 - Made modifications to the control bank routine t

[PATCH v5 1/2] dt-bindings: leds: Add bindings for lm3697 driver

2018-08-17 Thread Dan Murphy
Add the device tree bindings for the lm3697 LED driver for backlighting and display. Signed-off-by: Dan Murphy --- v5 - Fix the comment for the example - https://lore.kernel.org/patchwork/patch/975060/ v4 - Removed HVLED definition in favor of HVLED place definition - https://lore.kernel.org/

Re: [LINUX PATCH v10 2/2] mtd: rawnand: arasan: Add support for Arasan NAND Flash Controller

2018-08-17 Thread kbuild test robot
Hi Naga, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on mtd/nand/next] [also build test WARNING on next-20180817] [cannot apply to v4.18] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https

Re: [PATCH] pinctrl: lpc18xx: mark expected switch fall-throughs

2018-08-17 Thread Vladimir Zapolskiy
On 08/15/2018 08:10 PM, Gustavo A. R. Silva wrote: > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > Addresses-Coverity-ID: 1292308 ("Missing break in switch") > Addresses-Coverity-ID: 1292309 ("Missing break in switch") > Addresse

Re: [PATCH v10 00/10] livepatch: Atomic replace feature

2018-08-17 Thread Evgenii Shatokhin
On 17.08.2018 17:53, Petr Mladek wrote: On Fri 2018-08-17 13:17:27, Evgenii Shatokhin wrote: Hi, On 07.03.2018 11:20, Petr Mladek wrote: The atomic replace allows to create cumulative patches. They are useful when you maintain many livepatches and want to remove one that is lower on the stack.

[PATCH] ASoC: core: Don't schedule DAPM work if already in target state

2018-08-17 Thread Jon Hunter
When dapm_power_widgets() is called, the dapm_pre_sequence_async() and dapm_post_sequence_async() functions are scheduled for all DAPM contexts (apart from the card DAPM context) regardless of whether the DAPM context is already in the desired state. The overhead of this is not insignificant and th

Current LTS and their EOL

2018-08-17 Thread Rodrigo Vivi
Hi Greg, Ben, and all Is https://www.kernel.org/category/releases.html updated in terms of EOL? Some news out of Linaro conference [2] generated a lot of doubts and questions around. Specially because on the way it was stated by the news 3.16 wouldn't be active anymore. So I'm not sure about the

[RFC v2 1/2] mm/memory_hotplug: Add nid parameter to arch_remove_memory

2018-08-17 Thread Oscar Salvador
From: Oscar Salvador This patch is only a preparation for the following-up patches. The idea of passing the nid is that will allow us to get rid of the zone parameter in the patches that follow. Signed-off-by: Oscar Salvador --- arch/ia64/mm/init.c| 2 +- arch/powerpc/mm/mem.c

[RFC v2 2/2] mm/memory_hotplug: Shrink spanned pages when offlining memory

2018-08-17 Thread Oscar Salvador
From: Oscar Salvador Currently, we decrement zone/node spanned_pages when we remove memory and not when we offline it. This, besides of not being consistent with the current code, implies that we can access steal pages if we never get to online that memory. In order to prevent that, we have to

[RFC v2 0/2] Do not touch pages in remove_memory path

2018-08-17 Thread Oscar Salvador
From: Oscar Salvador This patchset moves all zone/page handling from the remove_memory path back to the offline_pages stage. This has be done for two reasons: 1) We can access steal pages if we remove memory that was never online [1] 2) Code consistency Currently, when we online memory, online_

Re: [PATCH] Fix kexec forbidding kernels signed with custom platform keys to boot

2018-08-17 Thread Justin Forbes
On Fri, Aug 17, 2018 at 9:58 AM, James Bottomley wrote: > On Fri, 2018-08-17 at 09:24 +0100, David Howells wrote: >> James Bottomley wrote: >> >> > > > As a step by step process, I agree. However, I think we can >> > > > automate it to the point where you install a package and it >> > > > says "

<    1   2   3   4   >