Re: [PATCH v5 07/12] PCI/MSI: enable PCI_MSI_IRQ_DOMAIN support for MIPS

2018-09-10 Thread Jim Quinlan
On Thu, Sep 6, 2018 at 5:46 PM Paul Burton wrote: > > Hi Jim, > > On Thu, Sep 06, 2018 at 04:42:56PM -0400, Jim Quinlan wrote: > > Add MIPS as an arch that supports PCI_MSI_IRQ_DOMAIN and add > > generation of msi.h in the MIPS arch. > > I guess the second part of this probably became untrue

[PATCH v2] sched/fair: fix 1 task per CPU

2018-09-10 Thread Vincent Guittot
When CPUs have different capacity because of RT/DL tasks or micro-architecture or max frequency differences, there are situation where the imbalance is not correctly set to migrate waiting task on the idle CPU. The UC uses the force_balance case : if (env->idle != CPU_NOT_IDLE &&

Re: [PATCH] memory_hotplug: fix the panic when memory end is not on the section boundary

2018-09-10 Thread Michal Hocko
On Mon 10-09-18 14:32:16, Pavel Tatashin wrote: > On Mon, Sep 10, 2018 at 10:19 AM Michal Hocko wrote: > > > > On Mon 10-09-18 14:11:45, Pavel Tatashin wrote: > > > Hi Michal, > > > > > > It is tricky, but probably can be done. Either change > > > memmap_init_zone() or its caller to also cover

Re: [PATCH] memory_hotplug: fix the panic when memory end is not on the section boundary

2018-09-10 Thread Michal Hocko
On Mon 10-09-18 14:32:16, Pavel Tatashin wrote: > On Mon, Sep 10, 2018 at 10:19 AM Michal Hocko wrote: > > > > On Mon 10-09-18 14:11:45, Pavel Tatashin wrote: > > > Hi Michal, > > > > > > It is tricky, but probably can be done. Either change > > > memmap_init_zone() or its caller to also cover

loop device: print_req_error - blk_update_request I/O error

2018-09-10 Thread Egerváry Gergely
Hi, I'm mounting an ext4 filesystem residing on an AHCI SATA disk via loop: losetup -o 64424509440 --sizelimit 34359738368 /dev/loop0 /dev/sda mount -t ext4 /dev/loop0 /mnt Works perfectly on <= 4.4.155 (latest version on 4.4.x longterm branch) On 4.9.126 (longterm branch) I get these

loop device: print_req_error - blk_update_request I/O error

2018-09-10 Thread Egerváry Gergely
Hi, I'm mounting an ext4 filesystem residing on an AHCI SATA disk via loop: losetup -o 64424509440 --sizelimit 34359738368 /dev/loop0 /dev/sda mount -t ext4 /dev/loop0 /mnt Works perfectly on <= 4.4.155 (latest version on 4.4.x longterm branch) On 4.9.126 (longterm branch) I get these

Re: mfd: cros_ec: Check for mkbp events on resume only if supported.

2018-09-10 Thread Lee Jones
On Mon, 20 Aug 2018, RaviChandra Sadineni wrote: > Currently on every resume we check for mkbp events and notify the > clients. This helps in identifying the wakeup sources. But on devices > that do not support mkbp protocol, we might end up querying key state of > the keyboard in a loop which

Re: mfd: cros_ec: Check for mkbp events on resume only if supported.

2018-09-10 Thread Lee Jones
On Mon, 20 Aug 2018, RaviChandra Sadineni wrote: > Currently on every resume we check for mkbp events and notify the > clients. This helps in identifying the wakeup sources. But on devices > that do not support mkbp protocol, we might end up querying key state of > the keyboard in a loop which

Re: [PATCH v5 08/12] MIPS: BMIPS: add PCI bindings for 7425, 7435

2018-09-10 Thread Jim Quinlan
On Thu, Sep 6, 2018 at 5:50 PM Paul Burton wrote: > > Hi Jim, > > On Thu, Sep 06, 2018 at 04:42:57PM -0400, Jim Quinlan wrote: > > Adds the PCIe nodes for the Broadcom STB PCIe root complex. > > > > Signed-off-by: Jim Quinlan > > --- > > arch/mips/boot/dts/brcm/bcm7425.dtsi | 28

Re: [PATCH v5 08/12] MIPS: BMIPS: add PCI bindings for 7425, 7435

2018-09-10 Thread Jim Quinlan
On Thu, Sep 6, 2018 at 5:50 PM Paul Burton wrote: > > Hi Jim, > > On Thu, Sep 06, 2018 at 04:42:57PM -0400, Jim Quinlan wrote: > > Adds the PCIe nodes for the Broadcom STB PCIe root complex. > > > > Signed-off-by: Jim Quinlan > > --- > > arch/mips/boot/dts/brcm/bcm7425.dtsi | 28

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

2018-09-10 Thread Dan Murphy
Jacek On 09/08/2018 02:53 PM, Jacek Anaszewski wrote: > Dan, > > On 09/07/2018 03:52 PM, Dan Murphy wrote: > [...] >>> And I think Jacek pointed out that the bindings references in this bindings don't even exist. I am thinking we need to deprecate this MFD driver and

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

2018-09-10 Thread Dan Murphy
Jacek On 09/08/2018 02:53 PM, Jacek Anaszewski wrote: > Dan, > > On 09/07/2018 03:52 PM, Dan Murphy wrote: > [...] >>> And I think Jacek pointed out that the bindings references in this bindings don't even exist. I am thinking we need to deprecate this MFD driver and

Re: [PATCH V2] perf tools: Fix maps__find_symbol_by_name()

2018-09-10 Thread Arnaldo Carvalho de Melo
Em Fri, Sep 07, 2018 at 11:51:16AM +0300, Adrian Hunter escreveu: > Commit 1c5aae7710bb ("perf machine: Create maps for x86 PTI entry > trampolines") revealed a problem with maps__find_symbol_by_name() that Can we have this with a Fixes: 1c5aae7710bb? So that that, combined with the CC: stable,

Re: [PATCH V2] perf tools: Fix maps__find_symbol_by_name()

2018-09-10 Thread Arnaldo Carvalho de Melo
Em Fri, Sep 07, 2018 at 11:51:16AM +0300, Adrian Hunter escreveu: > Commit 1c5aae7710bb ("perf machine: Create maps for x86 PTI entry > trampolines") revealed a problem with maps__find_symbol_by_name() that Can we have this with a Fixes: 1c5aae7710bb? So that that, combined with the CC: stable,

Re: [PATCH] memory_hotplug: fix the panic when memory end is not on the section boundary

2018-09-10 Thread Pasha Tatashin
On Mon, Sep 10, 2018 at 10:19 AM Michal Hocko wrote: > > On Mon 10-09-18 14:11:45, Pavel Tatashin wrote: > > Hi Michal, > > > > It is tricky, but probably can be done. Either change > > memmap_init_zone() or its caller to also cover the ends and starts of > > unaligned sections to initialize and

Re: [PATCH] memory_hotplug: fix the panic when memory end is not on the section boundary

2018-09-10 Thread Pasha Tatashin
On Mon, Sep 10, 2018 at 10:19 AM Michal Hocko wrote: > > On Mon 10-09-18 14:11:45, Pavel Tatashin wrote: > > Hi Michal, > > > > It is tricky, but probably can be done. Either change > > memmap_init_zone() or its caller to also cover the ends and starts of > > unaligned sections to initialize and

Re: [PATCH v2 3/5] irqchip: RISC-V Local Interrupt Controller Driver

2018-09-10 Thread Anup Patel
On Mon, Sep 10, 2018 at 7:19 PM, Christoph Hellwig wrote: > On Mon, Sep 10, 2018 at 03:45:42PM +0200, Thomas Gleixner wrote: >> > He has an irqchip that is called from the RISC-V exception handler >> > when the interrupt flag is set in scause and then dispatches to one >> > of: IPI, timer,

Re: [PATCH v2 3/5] irqchip: RISC-V Local Interrupt Controller Driver

2018-09-10 Thread Anup Patel
On Mon, Sep 10, 2018 at 7:19 PM, Christoph Hellwig wrote: > On Mon, Sep 10, 2018 at 03:45:42PM +0200, Thomas Gleixner wrote: >> > He has an irqchip that is called from the RISC-V exception handler >> > when the interrupt flag is set in scause and then dispatches to one >> > of: IPI, timer,

Re: [PATCH] mm: Use BUG_ON directly instead of a if condition followed by BUG

2018-09-10 Thread Michal Hocko
On Mon 10-09-18 22:03:17, zhong jiang wrote: > The if condition can be removed if we use BUG_ON directly. > The issule is detected with the help of Coccinelle. typo here Is this really worth changing? If anything I would really love to see the BUG_ON going away rather than make a cosmetic

Re: [PATCH] mm: Use BUG_ON directly instead of a if condition followed by BUG

2018-09-10 Thread Michal Hocko
On Mon 10-09-18 22:03:17, zhong jiang wrote: > The if condition can be removed if we use BUG_ON directly. > The issule is detected with the help of Coccinelle. typo here Is this really worth changing? If anything I would really love to see the BUG_ON going away rather than make a cosmetic

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

2018-09-10 Thread dkota
On 2018-09-10 16:56, Mark Brown wrote: On Mon, Sep 10, 2018 at 09:27:09AM +0530, dk...@codeaurora.org wrote: > The thing is, we want it to be 100% reliable, not 99.9% reliable. Is > it somehow wrong to add the spinlock? ...or are you noticing > performance problems with the spinlock there?

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

2018-09-10 Thread dkota
On 2018-09-10 16:56, Mark Brown wrote: On Mon, Sep 10, 2018 at 09:27:09AM +0530, dk...@codeaurora.org wrote: > The thing is, we want it to be 100% reliable, not 99.9% reliable. Is > it somehow wrong to add the spinlock? ...or are you noticing > performance problems with the spinlock there?

Re: [PATCH] sched/fair: fix 1 task per CPU

2018-09-10 Thread Vincent Guittot
On Sat, 8 Sep 2018 at 22:17, Valentin Schneider wrote: > > Hi Vincent, > > On 07/09/18 08:40, Vincent Guittot wrote: > > When CPUs have different capacity because of RT/DL tasks or > > micro-architecture or max frequency differences, there are situation where > > the imbalance is not correctly

Re: [PATCH] sched/fair: fix 1 task per CPU

2018-09-10 Thread Vincent Guittot
On Sat, 8 Sep 2018 at 22:17, Valentin Schneider wrote: > > Hi Vincent, > > On 07/09/18 08:40, Vincent Guittot wrote: > > When CPUs have different capacity because of RT/DL tasks or > > micro-architecture or max frequency differences, there are situation where > > the imbalance is not correctly

Re: [PATCH 1/13] KVM: Add tlb_remote_flush_with_range callback in kvm_x86_ops

2018-09-10 Thread Sean Christopherson
On Mon, 2018-09-10 at 08:38 +, Tianyu Lan wrote: > Add flush range call back in the kvm_x86_ops and platform can use it > to register its associated function. The parameter "kvm_tlb_range" > accepts a single range and flush list which contains a list of ranges. > > Signed-off-by: Lan Tianyu

Re: [PATCH 1/13] KVM: Add tlb_remote_flush_with_range callback in kvm_x86_ops

2018-09-10 Thread Sean Christopherson
On Mon, 2018-09-10 at 08:38 +, Tianyu Lan wrote: > Add flush range call back in the kvm_x86_ops and platform can use it > to register its associated function. The parameter "kvm_tlb_range" > accepts a single range and flush list which contains a list of ranges. > > Signed-off-by: Lan Tianyu

Re: [PATCH 1/2] sound: q6core: Use kmemdup to replace kzalloc + memcpy

2018-09-10 Thread Mark Brown
On Sat, Sep 08, 2018 at 04:36:19PM +0800, zhong jiang wrote: > kmemdup has implemented the function that kzalloc() + memcpy() will > do. and we prefer to use the kmemdup rather than the open coded > implementation. Please submit patches using subject lines reflecting the style for the subsystem.

Re: [PATCH 1/2] sound: q6core: Use kmemdup to replace kzalloc + memcpy

2018-09-10 Thread Mark Brown
On Sat, Sep 08, 2018 at 04:36:19PM +0800, zhong jiang wrote: > kmemdup has implemented the function that kzalloc() + memcpy() will > do. and we prefer to use the kmemdup rather than the open coded > implementation. Please submit patches using subject lines reflecting the style for the subsystem.

Re: [PATCH] memory_hotplug: fix the panic when memory end is not on the section boundary

2018-09-10 Thread Michal Hocko
On Mon 10-09-18 14:11:45, Pavel Tatashin wrote: > Hi Michal, > > It is tricky, but probably can be done. Either change > memmap_init_zone() or its caller to also cover the ends and starts of > unaligned sections to initialize and reserve pages. > > The same thing would also need to be done in

Re: [PATCH] memory_hotplug: fix the panic when memory end is not on the section boundary

2018-09-10 Thread Michal Hocko
On Mon 10-09-18 14:11:45, Pavel Tatashin wrote: > Hi Michal, > > It is tricky, but probably can be done. Either change > memmap_init_zone() or its caller to also cover the ends and starts of > unaligned sections to initialize and reserve pages. > > The same thing would also need to be done in

Re: [PATCH 06/10] OPP: Add dev_pm_opp_{set|put}_required_device() helper

2018-09-10 Thread Ulf Hansson
On 29 June 2018 at 08:19, Viresh Kumar wrote: > Multiple generic power domains for a device are supported with the help > of virtual devices, which are created for each device-genpd pair. These What "device-genpd" pair are you referring to? > are the device structures which are attached to the

Re: [PATCH 06/10] OPP: Add dev_pm_opp_{set|put}_required_device() helper

2018-09-10 Thread Ulf Hansson
On 29 June 2018 at 08:19, Viresh Kumar wrote: > Multiple generic power domains for a device are supported with the help > of virtual devices, which are created for each device-genpd pair. These What "device-genpd" pair are you referring to? > are the device structures which are attached to the

Re: [PATCH] perf test: Add watchpoint test

2018-09-10 Thread Arnaldo Carvalho de Melo
Em Mon, Sep 10, 2018 at 10:47:54AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Mon, Sep 10, 2018 at 12:31:54PM +0200, Jiri Olsa escreveu: > > On Mon, Sep 10, 2018 at 03:28:11PM +0530, Ravi Bangoria wrote: > > > We don't have perf test available to test watchpoint functionality. > > > Add simple

Re: [PATCH] perf test: Add watchpoint test

2018-09-10 Thread Arnaldo Carvalho de Melo
Em Mon, Sep 10, 2018 at 10:47:54AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Mon, Sep 10, 2018 at 12:31:54PM +0200, Jiri Olsa escreveu: > > On Mon, Sep 10, 2018 at 03:28:11PM +0530, Ravi Bangoria wrote: > > > We don't have perf test available to test watchpoint functionality. > > > Add simple

Re: [PATCH v7] Add udmabuf misc device

2018-09-10 Thread Gert Wollny
Am Montag, den 10.09.2018, 15:30 +0200 schrieb Gerd Hoffmann: > On Mon, Sep 10, 2018 at 01:31:08PM +0200, Gert Wollny wrote: > > Am Montag, den 10.09.2018, 12:53 +0200 schrieb Gerd Hoffmann: > > > > > > By default qemu doesn't use memfd for backing storage, you have > > > to > > > explicitly

Re: [PATCH v7] Add udmabuf misc device

2018-09-10 Thread Gert Wollny
Am Montag, den 10.09.2018, 15:30 +0200 schrieb Gerd Hoffmann: > On Mon, Sep 10, 2018 at 01:31:08PM +0200, Gert Wollny wrote: > > Am Montag, den 10.09.2018, 12:53 +0200 schrieb Gerd Hoffmann: > > > > > > By default qemu doesn't use memfd for backing storage, you have > > > to > > > explicitly

Re: next-20180910: boots on thinkpad x60 (32bit machine) but has problems during suspend

2018-09-10 Thread Pavel Machek
Hi! > > Next -0910 seems to boot ok... but when I hit the power button to > > suspend the machine... Full dmesg is in the attachment. > > Is this a next only issue or is this happening on Linus tree as well? I believe this only happens in next. I'm pretty sure v4.19-rc1 was ok. Let me check

Re: next-20180910: boots on thinkpad x60 (32bit machine) but has problems during suspend

2018-09-10 Thread Pavel Machek
Hi! > > Next -0910 seems to boot ok... but when I hit the power button to > > suspend the machine... Full dmesg is in the attachment. > > Is this a next only issue or is this happening on Linus tree as well? I believe this only happens in next. I'm pretty sure v4.19-rc1 was ok. Let me check

[PATCH] mm: Use BUG_ON directly instead of a if condition followed by BUG

2018-09-10 Thread zhong jiang
The if condition can be removed if we use BUG_ON directly. The issule is detected with the help of Coccinelle. Signed-off-by: zhong jiang --- mm/memory_hotplug.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index

[PATCH] mm: Use BUG_ON directly instead of a if condition followed by BUG

2018-09-10 Thread zhong jiang
The if condition can be removed if we use BUG_ON directly. The issule is detected with the help of Coccinelle. Signed-off-by: zhong jiang --- mm/memory_hotplug.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index

Re: [PATCH AUTOSEL 4.14 49/89] ARM: 8783/1: NOMMU: Extend check for VBAR support

2018-09-10 Thread Sasha Levin
On Mon, Sep 10, 2018 at 10:42:05AM +0100, Vladimir Murzin wrote: >On 02/09/18 14:07, Sasha Levin wrote: >> From: Vladimir Murzin >> >> [ Upstream commit c803ce3f18bd93b3b4a15d1da0c5b5ebc60e0b85 ] >> >> ARMv8R adds support for VBAR and updates ID_PFR1 with the new filed >> Sec_frac (bits [23:20]):

Re: [PATCH AUTOSEL 4.14 49/89] ARM: 8783/1: NOMMU: Extend check for VBAR support

2018-09-10 Thread Sasha Levin
On Mon, Sep 10, 2018 at 10:42:05AM +0100, Vladimir Murzin wrote: >On 02/09/18 14:07, Sasha Levin wrote: >> From: Vladimir Murzin >> >> [ Upstream commit c803ce3f18bd93b3b4a15d1da0c5b5ebc60e0b85 ] >> >> ARMv8R adds support for VBAR and updates ID_PFR1 with the new filed >> Sec_frac (bits [23:20]):

Re: [PATCH] sched/fair: Disable LB_BIAS by default

2018-09-10 Thread Peter Zijlstra
On Thu, Aug 09, 2018 at 02:57:53PM +0100, Dietmar Eggemann wrote: > LB_BIAS allows the adjustment on how conservative load should be > balanced. > It is very likely that LB_BIAS' influence on load balancing can be > neglected (see test results below). This is further supported by: > > (1)

Re: [PATCH] sched/fair: Disable LB_BIAS by default

2018-09-10 Thread Peter Zijlstra
On Thu, Aug 09, 2018 at 02:57:53PM +0100, Dietmar Eggemann wrote: > LB_BIAS allows the adjustment on how conservative load should be > balanced. > It is very likely that LB_BIAS' influence on load balancing can be > neglected (see test results below). This is further supported by: > > (1)

Re: [PATCH] memory_hotplug: fix the panic when memory end is not on the section boundary

2018-09-10 Thread Pasha Tatashin
Hi Michal, It is tricky, but probably can be done. Either change memmap_init_zone() or its caller to also cover the ends and starts of unaligned sections to initialize and reserve pages. The same thing would also need to be done in deferred_init_memmap() to cover the deferred init case. For

Re: [PATCH] memory_hotplug: fix the panic when memory end is not on the section boundary

2018-09-10 Thread Pasha Tatashin
Hi Michal, It is tricky, but probably can be done. Either change memmap_init_zone() or its caller to also cover the ends and starts of unaligned sections to initialize and reserve pages. The same thing would also need to be done in deferred_init_memmap() to cover the deferred init case. For

Re: [PATCH] Revert "x86/tsc: Consolidate init code"

2018-09-10 Thread Ville Syrjälä
On Mon, Sep 10, 2018 at 02:48:45PM +0200, Thomas Gleixner wrote: > Ville, > > On Mon, 10 Sep 2018, Ville Syrjala wrote: > > > From: Ville Syrjälä > > > > This reverts commit 608008a45798fe9e2aee04f99b5270ea57c1376f. > > > > It breaks wifi on my pentium 3 Fujitsu-Siemens Lifebook S6010 > >

Re: [PATCH] Revert "x86/tsc: Consolidate init code"

2018-09-10 Thread Ville Syrjälä
On Mon, Sep 10, 2018 at 02:48:45PM +0200, Thomas Gleixner wrote: > Ville, > > On Mon, 10 Sep 2018, Ville Syrjala wrote: > > > From: Ville Syrjälä > > > > This reverts commit 608008a45798fe9e2aee04f99b5270ea57c1376f. > > > > It breaks wifi on my pentium 3 Fujitsu-Siemens Lifebook S6010 > >

Re: [PATCH] Drivers: hv: vmbus: include header for get_irq_regs()

2018-09-10 Thread Sebastian Andrzej Siewior
On 2018-08-30 09:55:03 [+0200], To K. Y. Srinivasan wrote: > On !RT the header file get_irq_regs() gets pulled in via other header files. > On > RT it does not and the build fails: > > drivers/hv/vmbus_drv.c:975 implicit declaration of function > ‘get_irq_regs’

Re: [PATCH] Drivers: hv: vmbus: include header for get_irq_regs()

2018-09-10 Thread Sebastian Andrzej Siewior
On 2018-08-30 09:55:03 [+0200], To K. Y. Srinivasan wrote: > On !RT the header file get_irq_regs() gets pulled in via other header files. > On > RT it does not and the build fails: > > drivers/hv/vmbus_drv.c:975 implicit declaration of function > ‘get_irq_regs’

Re: [RESEND PATCH] mfd: stmpe: honor gpio interrupt probe deferral

2018-09-10 Thread Lee Jones
On Tue, 14 Aug 2018, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > Actually honor probe deferral in trying to get the GPIO interrupt as > of_get_named_gpio_flags() in stmpe_of_probe() may as well just do so. > > Signed-off-by: Marcel Ziswiler > > --- > > drivers/mfd/stmpe.c | 2 ++ >

Re: [RESEND PATCH] mfd: stmpe: honor gpio interrupt probe deferral

2018-09-10 Thread Lee Jones
On Tue, 14 Aug 2018, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > Actually honor probe deferral in trying to get the GPIO interrupt as > of_get_named_gpio_flags() in stmpe_of_probe() may as well just do so. > > Signed-off-by: Marcel Ziswiler > > --- > > drivers/mfd/stmpe.c | 2 ++ >

Re: [PATCH] mfd: omap-usb-host: Fix dts probe of children

2018-09-10 Thread Tony Lindgren
* Lee Jones [180910 11:18]: > On Thu, 30 Aug 2018, Tony Lindgren wrote: > > > Lee, > > > > * Tony Lindgren [180425 07:31]: > > > It currently only works if the parent bus uses "simple-bus". We > > > currently try to probe children with non-existing compatible values. > > > And we're missing

Re: [PATCH] mfd: omap-usb-host: Fix dts probe of children

2018-09-10 Thread Tony Lindgren
* Lee Jones [180910 11:18]: > On Thu, 30 Aug 2018, Tony Lindgren wrote: > > > Lee, > > > > * Tony Lindgren [180425 07:31]: > > > It currently only works if the parent bus uses "simple-bus". We > > > currently try to probe children with non-existing compatible values. > > > And we're missing

Re: [PATCH] memory_hotplug: fix the panic when memory end is not on the section boundary

2018-09-10 Thread Michal Hocko
On Mon 10-09-18 13:46:45, Pavel Tatashin wrote: > > > On 9/10/18 9:17 AM, Michal Hocko wrote: > > [Cc Pavel] > > > > On Mon 10-09-18 14:35:27, Mikhail Zaslonko wrote: > >> If memory end is not aligned with the linux memory section boundary, such > >> a section is only partly initialized. This

Re: [PATCH] memory_hotplug: fix the panic when memory end is not on the section boundary

2018-09-10 Thread Michal Hocko
On Mon 10-09-18 13:46:45, Pavel Tatashin wrote: > > > On 9/10/18 9:17 AM, Michal Hocko wrote: > > [Cc Pavel] > > > > On Mon 10-09-18 14:35:27, Mikhail Zaslonko wrote: > >> If memory end is not aligned with the linux memory section boundary, such > >> a section is only partly initialized. This

Re: [PATCH v8 0/3]: perf: reduce data loss when profiling highly parallel CPU bound workloads

2018-09-10 Thread Arnaldo Carvalho de Melo
Em Mon, Sep 10, 2018 at 02:06:43PM +0200, Ingo Molnar escreveu: > * Alexey Budankov wrote: > > On 10.09.2018 12:18, Ingo Molnar wrote: > > > * Alexey Budankov wrote: > > >> Currently in record mode the tool implements trace writing serially. > > >> The algorithm loops over mapped per-cpu data

Re: [PATCH 7/7] drivers: mfd: adp5520: Update MODULE AUTHOR email address

2018-09-10 Thread Lee Jones
On Tue, 14 Aug 2018, michael.henner...@analog.com wrote: > From: Michael Hennerich > > no functional changes > > Signed-off-by: Michael Hennerich > --- > drivers/mfd/adp5520.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks. -- Lee Jones [李琼斯] Linaro Services

Re: [PATCH v8 0/3]: perf: reduce data loss when profiling highly parallel CPU bound workloads

2018-09-10 Thread Arnaldo Carvalho de Melo
Em Mon, Sep 10, 2018 at 02:06:43PM +0200, Ingo Molnar escreveu: > * Alexey Budankov wrote: > > On 10.09.2018 12:18, Ingo Molnar wrote: > > > * Alexey Budankov wrote: > > >> Currently in record mode the tool implements trace writing serially. > > >> The algorithm loops over mapped per-cpu data

Re: [PATCH 7/7] drivers: mfd: adp5520: Update MODULE AUTHOR email address

2018-09-10 Thread Lee Jones
On Tue, 14 Aug 2018, michael.henner...@analog.com wrote: > From: Michael Hennerich > > no functional changes > > Signed-off-by: Michael Hennerich > --- > drivers/mfd/adp5520.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks. -- Lee Jones [李琼斯] Linaro Services

Re: [PATCH] arm64: dts: rockchip: add i2s and spdif endpoint of rk3328

2018-09-10 Thread Heiko Stuebner
Hi, Am Donnerstag, 6. September 2018, 18:39:56 CEST schrieb Katsuhiro Suzuki: > This patch adds port and endpoint of i2s and spdif nodes for rk3328. > Because to use modern sound card interface such as audio-graph-card. > > Signed-off-by: Katsuhiro Suzuki > --- >

Re: [PATCH] arm64: dts: rockchip: add i2s and spdif endpoint of rk3328

2018-09-10 Thread Heiko Stuebner
Hi, Am Donnerstag, 6. September 2018, 18:39:56 CEST schrieb Katsuhiro Suzuki: > This patch adds port and endpoint of i2s and spdif nodes for rk3328. > Because to use modern sound card interface such as audio-graph-card. > > Signed-off-by: Katsuhiro Suzuki > --- >

Re: [PATCH V2] kernel: locking: rtmutex: Fix a possible sleep-in-atomic-context bug in rt_mutex_handle_deadlock()

2018-09-10 Thread Peter Zijlstra
On Sat, Aug 11, 2018 at 11:00:37AM +0800, Jia-Ju Bai wrote: You forgot to Cc the person who wrote this code... > kernel/locking/rtmutex.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/kernel/locking/rtmutex.c b/kernel/locking/rtmutex.c > index

Re: [PATCH V2] kernel: locking: rtmutex: Fix a possible sleep-in-atomic-context bug in rt_mutex_handle_deadlock()

2018-09-10 Thread Peter Zijlstra
On Sat, Aug 11, 2018 at 11:00:37AM +0800, Jia-Ju Bai wrote: You forgot to Cc the person who wrote this code... > kernel/locking/rtmutex.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/kernel/locking/rtmutex.c b/kernel/locking/rtmutex.c > index

[PATCH] rcu: Use cpus_read_lock() while looking at cpu_online_mask

2018-09-10 Thread Sebastian Andrzej Siewior
It was possible that sync_rcu_exp_select_cpus() enqueued something on CPU0 while CPU0 was offline. Such a work item wouldn't be processed until CPU0 gets back online. This problem was addressed in commit fcc6354365015 ("rcu: Make expedited GPs handle CPU 0 being offline"). I don't think the issue

[PATCH] rcu: Use cpus_read_lock() while looking at cpu_online_mask

2018-09-10 Thread Sebastian Andrzej Siewior
It was possible that sync_rcu_exp_select_cpus() enqueued something on CPU0 while CPU0 was offline. Such a work item wouldn't be processed until CPU0 gets back online. This problem was addressed in commit fcc6354365015 ("rcu: Make expedited GPs handle CPU 0 being offline"). I don't think the issue

Re: [PATCH] irqchip: Convert to using %pOFn instead of device_node.name

2018-09-10 Thread Rob Herring
On Sat, Sep 8, 2018 at 7:15 AM Thomas Gleixner wrote: > > On Mon, 27 Aug 2018, Rob Herring wrote: > > > In preparation to remove the node name pointer from struct device_node, > > convert printf users to use the %pOFn format specifier. > > > > Cc: Thomas Gleixner > > Cc: Jason Cooper > > Cc:

Re: [PATCH] irqchip: Convert to using %pOFn instead of device_node.name

2018-09-10 Thread Rob Herring
On Sat, Sep 8, 2018 at 7:15 AM Thomas Gleixner wrote: > > On Mon, 27 Aug 2018, Rob Herring wrote: > > > In preparation to remove the node name pointer from struct device_node, > > convert printf users to use the %pOFn format specifier. > > > > Cc: Thomas Gleixner > > Cc: Jason Cooper > > Cc:

Re: [PATCH 14/21] riscv: use for_each_of_cpu_node iterator

2018-09-10 Thread Rob Herring
On Mon, Sep 10, 2018 at 8:38 AM Christoph Hellwig wrote: > > On Wed, Sep 05, 2018 at 02:37:31PM -0500, Rob Herring wrote: > > Use the for_each_of_cpu_node iterator to iterate over cpu nodes. This > > has the side effect of defaulting to iterating using "cpu" node names in > > preference to the

Re: [PATCH 14/21] riscv: use for_each_of_cpu_node iterator

2018-09-10 Thread Rob Herring
On Mon, Sep 10, 2018 at 8:38 AM Christoph Hellwig wrote: > > On Wed, Sep 05, 2018 at 02:37:31PM -0500, Rob Herring wrote: > > Use the for_each_of_cpu_node iterator to iterate over cpu nodes. This > > has the side effect of defaulting to iterating using "cpu" node names in > > preference to the

RE: [PATCH] x86/mce: Fix set_mce_nospec() to avoid #GP fault

2018-09-10 Thread David Laight
From: Linus Torvalds > ... > You could literally do something like > > /* Make it canonical in case we flipped the high bit */ > addr = (long)(addr<<1)>>1; Isn't it safer to use a mask and let the compiler decide if two shifts are a good implementation? addr &= ~HIGH_MAGIC_BIT;

RE: [PATCH] x86/mce: Fix set_mce_nospec() to avoid #GP fault

2018-09-10 Thread David Laight
From: Linus Torvalds > ... > You could literally do something like > > /* Make it canonical in case we flipped the high bit */ > addr = (long)(addr<<1)>>1; Isn't it safer to use a mask and let the compiler decide if two shifts are a good implementation? addr &= ~HIGH_MAGIC_BIT;

Re: [PATCH] iio: remove unnecessary condition judgment in am2315_trigger_handler

2018-09-10 Thread zhong jiang
On 2018/9/8 22:17, Jonathan Cameron wrote: > On Sat, 8 Sep 2018 17:59:13 +0530 > Himanshu Jha wrote: > >> On Sat, Sep 08, 2018 at 06:57:36PM +0800, zhong jiang wrote: >>> The iterator in for_each_set_bit is never null, therefore, remove >>> the redundant conditional judgment. >>> >>>

Re: [PATCH v2 3/5] irqchip: RISC-V Local Interrupt Controller Driver

2018-09-10 Thread Christoph Hellwig
On Mon, Sep 10, 2018 at 03:45:42PM +0200, Thomas Gleixner wrote: > > He has an irqchip that is called from the RISC-V exception handler > > when the interrupt flag is set in scause and then dispatches to one > > of: IPI, timer, actual irqchip. > > So the per cpu timer is the only per cpu

Re: [PATCH] iio: remove unnecessary condition judgment in am2315_trigger_handler

2018-09-10 Thread zhong jiang
On 2018/9/8 22:17, Jonathan Cameron wrote: > On Sat, 8 Sep 2018 17:59:13 +0530 > Himanshu Jha wrote: > >> On Sat, Sep 08, 2018 at 06:57:36PM +0800, zhong jiang wrote: >>> The iterator in for_each_set_bit is never null, therefore, remove >>> the redundant conditional judgment. >>> >>>

Re: [PATCH v2 3/5] irqchip: RISC-V Local Interrupt Controller Driver

2018-09-10 Thread Christoph Hellwig
On Mon, Sep 10, 2018 at 03:45:42PM +0200, Thomas Gleixner wrote: > > He has an irqchip that is called from the RISC-V exception handler > > when the interrupt flag is set in scause and then dispatches to one > > of: IPI, timer, actual irqchip. > > So the per cpu timer is the only per cpu

Re: [PATCH] arm64: add NUMA emulation support

2018-09-10 Thread Michal Hocko
On Fri 07-09-18 16:30:59, Shuah Khan wrote: > On 09/07/2018 02:34 AM, Michal Hocko wrote: > > On Thu 06-09-18 15:53:34, Shuah Khan wrote: > > [...] > >> A few critical allocations could be satisfied and root cgroup prevails. It > >> is not the > >> intent to have exclusivity at the expense of the

Re: [PATCH] arm64: add NUMA emulation support

2018-09-10 Thread Michal Hocko
On Fri 07-09-18 16:30:59, Shuah Khan wrote: > On 09/07/2018 02:34 AM, Michal Hocko wrote: > > On Thu 06-09-18 15:53:34, Shuah Khan wrote: > > [...] > >> A few critical allocations could be satisfied and root cgroup prevails. It > >> is not the > >> intent to have exclusivity at the expense of the

Re: [PATCH] perf test: Add watchpoint test

2018-09-10 Thread Arnaldo Carvalho de Melo
Em Mon, Sep 10, 2018 at 12:31:54PM +0200, Jiri Olsa escreveu: > On Mon, Sep 10, 2018 at 03:28:11PM +0530, Ravi Bangoria wrote: > > We don't have perf test available to test watchpoint functionality. > > Add simple set of tests: > > - Read only watchpoint > > - Write only watchpoint > > - Read

Re: [PATCH] perf test: Add watchpoint test

2018-09-10 Thread Arnaldo Carvalho de Melo
Em Mon, Sep 10, 2018 at 12:31:54PM +0200, Jiri Olsa escreveu: > On Mon, Sep 10, 2018 at 03:28:11PM +0530, Ravi Bangoria wrote: > > We don't have perf test available to test watchpoint functionality. > > Add simple set of tests: > > - Read only watchpoint > > - Write only watchpoint > > - Read

Re: [PATCH 2/2] mfd: cros_ec: Fix and improve kerneldoc comments.

2018-09-10 Thread Lee Jones
On Mon, 10 Sep 2018, Benson Leung wrote: > On Mon, Sep 10, 2018 at 5:12 PM Lee Jones wrote: > > > > On Fri, 07 Sep 2018, Benson Leung wrote: > > > > > Hi Enric, > > > > > > On Wed, Jul 18, 2018 at 06:09:56PM +0200, Enric Balletbo i Serra wrote: > > > > cros-ec includes inside the MFD subsystem,

Re: [PATCH 2/2] mfd: cros_ec: Fix and improve kerneldoc comments.

2018-09-10 Thread Lee Jones
On Mon, 10 Sep 2018, Benson Leung wrote: > On Mon, Sep 10, 2018 at 5:12 PM Lee Jones wrote: > > > > On Fri, 07 Sep 2018, Benson Leung wrote: > > > > > Hi Enric, > > > > > > On Wed, Jul 18, 2018 at 06:09:56PM +0200, Enric Balletbo i Serra wrote: > > > > cros-ec includes inside the MFD subsystem,

Re: [PATCH v2] of: __of_update_property_sysfs only call __of_sysfs_remove_bin_file if of_node_is_attached

2018-09-10 Thread Rob Herring
On Mon, Sep 10, 2018 at 4:51 AM Andre Kalb wrote: > > Hi Frank, > > > -Ursprüngliche Nachricht- > > Von: Frank Rowand [mailto:frowand.l...@gmail.com] > > Gesendet: Freitag, 7. September 2018 22:01 > > An: Andre Kalb; robh...@kernel.org; devicet...@vger.kernel.org; linux- > >

Re: [PATCH] RISC-V: Show IPI stats

2018-09-10 Thread Christoph Hellwig
On Fri, Sep 07, 2018 at 06:14:29PM +0530, Anup Patel wrote: > This patch provides arch_show_interrupts() implementation to > show IPI stats via /proc/interrupts. > > Now the contents of /proc/interrupts" will look like below: >CPU0 CPU1 CPU2 CPU3 > 8: 17

Re: [PATCH v2] of: __of_update_property_sysfs only call __of_sysfs_remove_bin_file if of_node_is_attached

2018-09-10 Thread Rob Herring
On Mon, Sep 10, 2018 at 4:51 AM Andre Kalb wrote: > > Hi Frank, > > > -Ursprüngliche Nachricht- > > Von: Frank Rowand [mailto:frowand.l...@gmail.com] > > Gesendet: Freitag, 7. September 2018 22:01 > > An: Andre Kalb; robh...@kernel.org; devicet...@vger.kernel.org; linux- > >

Re: [PATCH] RISC-V: Show IPI stats

2018-09-10 Thread Christoph Hellwig
On Fri, Sep 07, 2018 at 06:14:29PM +0530, Anup Patel wrote: > This patch provides arch_show_interrupts() implementation to > show IPI stats via /proc/interrupts. > > Now the contents of /proc/interrupts" will look like below: >CPU0 CPU1 CPU2 CPU3 > 8: 17

Re: [PATCH] memory_hotplug: fix the panic when memory end is not on the section boundary

2018-09-10 Thread Pasha Tatashin
On 9/10/18 9:17 AM, Michal Hocko wrote: > [Cc Pavel] > > On Mon 10-09-18 14:35:27, Mikhail Zaslonko wrote: >> If memory end is not aligned with the linux memory section boundary, such >> a section is only partly initialized. This may lead to VM_BUG_ON due to >> uninitialized struct pages access

Re: [PATCH] memory_hotplug: fix the panic when memory end is not on the section boundary

2018-09-10 Thread Pasha Tatashin
On 9/10/18 9:17 AM, Michal Hocko wrote: > [Cc Pavel] > > On Mon 10-09-18 14:35:27, Mikhail Zaslonko wrote: >> If memory end is not aligned with the linux memory section boundary, such >> a section is only partly initialized. This may lead to VM_BUG_ON due to >> uninitialized struct pages access

Re: [PATCH v2 3/5] irqchip: RISC-V Local Interrupt Controller Driver

2018-09-10 Thread Thomas Gleixner
On Mon, 10 Sep 2018, Christoph Hellwig wrote: > On Mon, Sep 10, 2018 at 03:37:31PM +0200, Thomas Gleixner wrote: > > > > Just a few weeks ago you said the contrary: > > > > > > > > http://lists.infradead.org/pipermail/linux-riscv/2018-August/000943.html > > > > > > Sigh. Yes. Now that you remind

Re: [PATCH v2 3/5] irqchip: RISC-V Local Interrupt Controller Driver

2018-09-10 Thread Thomas Gleixner
On Mon, 10 Sep 2018, Christoph Hellwig wrote: > On Mon, Sep 10, 2018 at 03:37:31PM +0200, Thomas Gleixner wrote: > > > > Just a few weeks ago you said the contrary: > > > > > > > > http://lists.infradead.org/pipermail/linux-riscv/2018-August/000943.html > > > > > > Sigh. Yes. Now that you remind

Re: [PATCH v12 0/6] Driver for at91 usart in spi mode

2018-09-10 Thread Lee Jones
On Mon, 10 Sep 2018, Nicolas Ferre wrote: > Hi Lee, > > On 10/09/2018 at 11:48, Lee Jones wrote: > > On Tue, 04 Sep 2018, Radu Pirea wrote: > > > Well, this is the 12th version of this patch series. > > > In this version I fixed a warning from kbuild-robot and I have no idea > > > how I forgot

Re: [PATCH v12 0/6] Driver for at91 usart in spi mode

2018-09-10 Thread Lee Jones
On Mon, 10 Sep 2018, Nicolas Ferre wrote: > Hi Lee, > > On 10/09/2018 at 11:48, Lee Jones wrote: > > On Tue, 04 Sep 2018, Radu Pirea wrote: > > > Well, this is the 12th version of this patch series. > > > In this version I fixed a warning from kbuild-robot and I have no idea > > > how I forgot

Re: [PATCH v2 3/3] mm: Add build time sanity chcek for struct page size

2018-09-10 Thread kbuild test robot
/commits/Baoquan-He/x86-mm-KASLR-Fix-the-wrong-calculation-of-kalsr-region-initial-size/20180910-205421 config: i386-randconfig-x077-201836 (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=i386 All error

Re: [PATCH v2 3/3] mm: Add build time sanity chcek for struct page size

2018-09-10 Thread kbuild test robot
/commits/Baoquan-He/x86-mm-KASLR-Fix-the-wrong-calculation-of-kalsr-region-initial-size/20180910-205421 config: i386-randconfig-x077-201836 (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=i386 All error

Re: [PATCH v2 3/5] irqchip: RISC-V Local Interrupt Controller Driver

2018-09-10 Thread Christoph Hellwig
On Mon, Sep 10, 2018 at 03:37:31PM +0200, Thomas Gleixner wrote: > > > Just a few weeks ago you said the contrary: > > > > > > http://lists.infradead.org/pipermail/linux-riscv/2018-August/000943.html > > > > Sigh. Yes. Now that you remind me. > > Just for clarification. I had the impression

Re: [PATCH v2 3/5] irqchip: RISC-V Local Interrupt Controller Driver

2018-09-10 Thread Christoph Hellwig
On Mon, Sep 10, 2018 at 03:37:31PM +0200, Thomas Gleixner wrote: > > > Just a few weeks ago you said the contrary: > > > > > > http://lists.infradead.org/pipermail/linux-riscv/2018-August/000943.html > > > > Sigh. Yes. Now that you remind me. > > Just for clarification. I had the impression

Re: [PATCH v9 09/22] s390: vfio-ap: register matrix device with VFIO mdev framework

2018-09-10 Thread Tony Krowiak
On 09/06/2018 04:49 AM, Pierre Morel wrote: On 13/08/2018 23:48, Tony Krowiak wrote: From: Tony Krowiak Registers the matrix device created by the VFIO AP device driver with the VFIO mediated device framework. Registering the matrix device will create the sysfs structures needed to create

Re: [PATCH v2 0/3] powerpc/pseries: use H_BLOCK_REMOVE

2018-09-10 Thread Laurent Dufour
Hi Michael, Do you plan to pull it for 4.20 ? Cheers, Laurent. On 20/08/2018 16:29, Laurent Dufour wrote: > On very large system we could see soft lockup fired when a process is > exiting > > watchdog: BUG: soft lockup - CPU#851 stuck for 21s! [forkoff:215523] > Modules linked in: pseries_rng

Re: [PATCH v9 09/22] s390: vfio-ap: register matrix device with VFIO mdev framework

2018-09-10 Thread Tony Krowiak
On 09/06/2018 04:49 AM, Pierre Morel wrote: On 13/08/2018 23:48, Tony Krowiak wrote: From: Tony Krowiak Registers the matrix device created by the VFIO AP device driver with the VFIO mediated device framework. Registering the matrix device will create the sysfs structures needed to create

Re: [PATCH v2 0/3] powerpc/pseries: use H_BLOCK_REMOVE

2018-09-10 Thread Laurent Dufour
Hi Michael, Do you plan to pull it for 4.20 ? Cheers, Laurent. On 20/08/2018 16:29, Laurent Dufour wrote: > On very large system we could see soft lockup fired when a process is > exiting > > watchdog: BUG: soft lockup - CPU#851 stuck for 21s! [forkoff:215523] > Modules linked in: pseries_rng

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