Re: [PATCH 09/13] Move bp_type_idx to kernel/event/hw_breakpoint.c

2015-11-04 Thread Peter Zijlstra
On Tue, Nov 03, 2015 at 11:46:30AM -0800, Palmer Dabbelt wrote: > This has a "#ifdef CONFIG_*" that used to be exposed to userspace. > > The names in here are so generic that I don't think it's a good idea > to expose them to userspace (or even the rest of the kernel). Since > there's only one ke

Re: [PATCH v2 3/3] ibmvscsi: Allow to configure maximum LUN

2015-11-04 Thread Laurent Vivier
On 04/11/2015 12:16, Hannes Reinecke wrote: > On 11/04/2015 11:20 AM, Laurent Vivier wrote: >> QEMU allows until 32 LUNs. >> >> Signed-off-by: Laurent Vivier >> --- >> drivers/scsi/ibmvscsi/ibmvscsi.c | 5 - >> 1 file changed, 4 insertions(+), 1 deletion(-) >> >> diff --git a/drivers/scsi/i

Re: timer code oops when calling mod_delayed_work

2015-11-04 Thread Jeff Layton
On Tue, 3 Nov 2015 19:06:58 -0500 Tejun Heo wrote: > Hello, Jeff. > > Can you please verify whether the following patch fixes the issue? > > Thanks. > > diff --git a/kernel/time/timer.c b/kernel/time/timer.c > index 84190f0..566a282 100644 > --- a/kernel/time/timer.c > +++ b/kernel/time/timer.

Re: [GIT PULL] locking changes for v4.4

2015-11-04 Thread Ingo Molnar
* Linus Torvalds wrote: > On Tue, Nov 3, 2015 at 3:58 PM, Linus Torvalds > wrote: > > > > I think I'll pull this, but then just make a separate commit to remove Thanks! > > all the bogus games with "control" dependencies that seem to have no basis > > is > > reality. > > So the attached is

[GIT PULL] Samsung Thermal for v4.4-rc1

2015-11-04 Thread Lukasz Majewski
Dear Eduardo, Please find my pull request for Samsung Thermal development code (v4.4-rc1): The following changes since commit 8fb2b9ac2aadd6d87f89071c2c85f8c12b41c943: thermal: underflow bug in imx_set_trip_temp() (2015-10-30 11:35:50 -0700) are available in the git repository at: https:

Re: [PATCH v2] ipc/msg: Implement lockless pipelined wakeups

2015-11-04 Thread Peter Zijlstra
On Tue, Nov 03, 2015 at 04:03:29PM +0100, Sebastian Andrzej Siewior wrote: > - struct msg_msg *volatile r_msg; > + struct msg_msg *r_msg; > + wake_q_add(wake_q, msr->r_tsk); > msr->r_msg = msg; > +

[tip:x86/urgent] x86/AMD: Fix last level cache topology for AMD Fam17h systems

2015-11-04 Thread tip-bot for Aravind Gopalakrishnan
Commit-ID: e5e84a26ef2909964d964224b805236293fb4c63 Gitweb: http://git.kernel.org/tip/e5e84a26ef2909964d964224b805236293fb4c63 Author: Aravind Gopalakrishnan AuthorDate: Wed, 4 Nov 2015 12:49:42 +0100 Committer: Thomas Gleixner CommitDate: Wed, 4 Nov 2015 12:52:06 +0100 x86/AMD: Fix la

Re: [PATCH] Arc: fix entry point calculation for locales other than english

2015-11-04 Thread Vineet Gupta
On Tuesday 03 November 2015 11:04 PM, Lada Trimasova wrote: > The problem was detected while making uImage. > To find the line with entry point address in the result > of the "readelf -h vmlinux" command "grep ENTRY POINT" is used. > > But if the operating system locale is not english, > command r

Re: RFC rdma cgroup

2015-11-04 Thread Haggai Eran
On 03/11/2015 21:11, Parav Pandit wrote: > So it looks like below, > #cat rdma.resources.verbs.list > Output: > mlx4_0 uctx ah pd cq mr mw srq qp flow > mlx4_1 uctx ah pd cq mr mw srq qp flow rss_wq What happens if you set a limit of rss_wq to mlx4_0 in this example? Would it fail? I think it would

Re: [PATCH v2] ipc/msg: Implement lockless pipelined wakeups

2015-11-04 Thread Peter Zijlstra
On Tue, Nov 03, 2015 at 04:03:29PM +0100, Sebastian Andrzej Siewior wrote: > @@ -932,58 +924,26 @@ long do_msgrcv(int msqid, void __user *buf, size_t > bufsz, long msgtyp, int msgfl > rcu_read_lock(); > > /* Lockless receive, part 2: This is a broken comment style, p

Linux 4.4 MW: Boot under Xen fails with CONFIG_DEBUG_WX enabled: RIP: ptdump_walk_pgd_level_core

2015-11-04 Thread Sander Eikelenboom
to handle kernel paging request at 88055c883000 [ 18.459943] IP: [] ptdump_walk_pgd_level_core+0x20e/0x440 [ 18.465847] PGD 2212067 PUD 0 [ 18.471564] Oops: [#1] SMP [ 18.477248] Modules linked in: [ 18.482918] CPU: 2 PID: 1 Comm: swapper/0 Not tainted 4.3.0-mw-20151104-linus

Re: [PATCH v3 1/4] wait.[ch]: Introduce the simple waitqueue (swait) implementation

2015-11-04 Thread Daniel Wagner
On 11/04/2015 11:33 AM, Thomas Gleixner wrote: > On Tue, 20 Oct 2015, Daniel Wagner wrote: >> + >> +extern void swake_up(struct swait_queue_head *q); >> +extern void swake_up_all(struct swait_queue_head *q); >> +extern void swake_up_locked(struct swait_queue_head *q); > > I intentionally named the

[PATCH v2] ARM: meson: Add status LED for Odroid-C1

2015-11-04 Thread Edward Cragg
Add the blue status LED to the Hardkernel Odroid C1 board DTS. Signed-off-by: --- Changes in v2: - Remove additional copyright arch/arm/boot/dts/meson8b-odroidc1.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/meson8b-odroidc1.dts b/arch/arm/boot/dt

[PATCH v6 1/8] dt-bindings: add documentation of rk3036 clock controller

2015-11-04 Thread Xing Zheng
Add the devicetree binding for the cru on the rk3036 which quite similar structured as previous clock controllers. Signed-off-by: Xing Zheng Reviewed-by: Heiko Stuebner --- Changes in v6: None .../bindings/clock/rockchip,rk3036-cru.txt | 56 1 file changed, 56 i

[PATCH v6 2/8] clk: rockchip: add dt-binding header for rk3036

2015-11-04 Thread Xing Zheng
Add the dt-bindings header for the rk3036, that gets shared between the clock controller and the clock references in the dts. Signed-off-by: Xing Zheng Reviewed-by: Heiko Stuebner --- Changes in v6: None include/dt-bindings/clock/rk3036-cru.h | 193 1 file ch

[PATCH v6 4/8] clk: rockchip: add clock controller for rk3036

2015-11-04 Thread Xing Zheng
Add the clock tree definition for the new rk3036 SoC. Signed-off-by: Xing Zheng Reviewed-by: Heiko Stuebner --- Changes in v6: None drivers/clk/rockchip/Makefile |1 + drivers/clk/rockchip/clk-rk3036.c | 478 + 2 files changed, 479 insertions(+) c

[PATCH v6 0/8] Build and support rk3036 SoC platform

2015-11-04 Thread Xing Zheng
Hi, We need to support rk3036 soc platform via upstream, there are some primary parts for the initial release of minimum system: dts, clk-pll, smp, and clock tree for rk3036, and additional, we can use these startup and run to init processs. Thanks. Changed in v6: - add hardware timer in dtsi

[PATCH v6 3/8] clk: rockchip: add new pll-type for rk3036 and similar socs

2015-11-04 Thread Xing Zheng
The rk3036's pll and clock are different with base on the rk3066(rk3188, rk3288, rk3368 use it), there are different adjust foctors and control registers, so these should be independent and separate from the series of rk3066s. Signed-off-by: Xing Zheng Reviewed-by: Heiko Stuebner --- Changes in

Re: [PATCH v2 0/3] let Marvell Berlin SoCs make use of the best delay timer

2015-11-04 Thread Arnd Bergmann
On Wednesday 04 November 2015 12:19:57 Daniel Lezcano wrote: > On 11/04/2015 11:30 AM, Arnd Bergmann wrote: > > On Wednesday 04 November 2015 10:46:49 Daniel Lezcano wrote: > >> On 11/03/2015 03:28 PM, Jisheng Zhang wrote: > >>> In case there are several possible delay timers, we purely base the >

Re: [PATCH 09/13] Move bp_type_idx to kernel/event/hw_breakpoint.c

2015-11-04 Thread Peter Zijlstra
On Wed, Nov 04, 2015 at 12:41:06PM +0100, Peter Zijlstra wrote: > On Tue, Nov 03, 2015 at 11:46:30AM -0800, Palmer Dabbelt wrote: > > This has a "#ifdef CONFIG_*" that used to be exposed to userspace. > > > > The names in here are so generic that I don't think it's a good idea > > to expose them t

[PATCH v6 5/8] ARM: dts: rockchip: add core rk3036 dts

2015-11-04 Thread Xing Zheng
Initial release for rk3036, node definitions rk3036 sdk board. Signed-off-by: Xing Zheng Reviewed-by: Heiko Stuebner --- Changes in v6: None arch/arm/boot/dts/Makefile |1 + arch/arm/boot/dts/rk3036-evb.dts | 64 + arch/arm/boot/dts/rk3036.dtsi| 547 ++

[PATCH v6 6/8] ARM: rockchip: add support smp for rk3036

2015-11-04 Thread Xing Zheng
From: Heiko Stuebner The dual-core Cortex A7 rk3036 is a bit special in that it does not allow to control the actual powerdomain of the cpu cores, while the rest of the smp-bringup like reset control and entry address handling stays the same. Its bigger sibling, the quad-core rk3128 again allows

[PATCH v6 7/8] ARM: dts: enable smp for rk3036

2015-11-04 Thread Xing Zheng
Enable smp for rk3036, and add the smp sram name for adapting. Signed-off-by: Xing Zheng Reviewed-by: Heiko Stuebner --- Changes in v6: None arch/arm/boot/dts/rk3036.dtsi |5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/rk3036.dtsi b/arch/arm/boot/dts/rk3036.dtsi

[PATCH v6 8/8] rockchip: make sure timer5 is enabled on rk3036 platforms

2015-11-04 Thread Xing Zheng
The timer5 supplies the architected timer and thus as has to run when the system clocksource and clockevents drivers are registered. --- Changes in v6: Signed-off-by: Xing Zheng Reviewed-by: Heiko Stuebner arch/arm/mach-rockchip/rockchip.c | 44 +++-- 1 file

Re: perf top segfaults on current git

2015-11-04 Thread Jiri Olsa
On Wed, Nov 04, 2015 at 11:49:30AM +0100, Markus Trippelsdorf wrote: > On 2015.11.04 at 11:15 +0100, Markus Trippelsdorf wrote: > > On 2015.11.03 at 11:02 +0100, Ingo Molnar wrote: > > > > > > Please pull the latest perf-core-for-linus git tree from: > > > > Since the current merge "perf top" seg

[PATCH] gpio: 104-idio-16: Use lowercase symbol names for const variables

2015-11-04 Thread William Breathitt Gray
To prevent confusion and to match existing coding style used in other gpio drivers symbol names within the 104-idio-16 gpio driver should be lowercase. Signed-off-by: William Breathitt Gray --- drivers/gpio/gpio-104-idio-16.c | 31 +++ 1 file changed, 15 insertions(+)

RE: [PATCH v7] PCI: Xilinx-NWL-PCIe: Added support for Xilinx NWL PCIe Host Controller

2015-11-04 Thread Bharat Kumar Gogada
> > >> Also, you still lack support for MSI-X (which would come for free...). > > > > We don't support MSI-X in root port mode. > > I don't believe you. If you support single MSI, you support MSI-X (because > that's mostly a property of the endpoint). In our architecture specification MSI-X is u

Re: [RFC] vfs: don't bother clearing close_on_exec bit for unused fds

2015-11-04 Thread Eric Dumazet
On Wed, 2015-11-04 at 11:59 +0100, Rasmus Villemoes wrote: > @@ -667,10 +665,9 @@ void do_close_on_exec(struct files_struct *files) > fdt = files_fdtable(files); > if (fd >= fdt->max_fds) > break; > - set = fdt->close_on_exec[i]; > +

Re: [PATCH] powerpc: on crash, kexec'ed kernel needs all CPUs are online

2015-11-04 Thread Hari Bathini
On 10/16/2015 12:30 AM, Laurent Vivier wrote: On kexec, all secondary offline CPUs are onlined before starting the new kernel, this is not done in the case of kdump. If kdump is configured and a kernel crash occurs whereas some secondaries CPUs are offline (SMT=off), the new kernel is not able t

Re: [PATCH] arm64: Increase the max granular size

2015-11-04 Thread Catalin Marinas
(+ linux-mm) On Tue, Nov 03, 2015 at 05:33:25PM -0600, Christoph Lameter wrote: > On Tue, 3 Nov 2015, Catalin Marinas wrote: > > (cc'ing Jonsoo and Christoph; summary: slab failure with L1_CACHE_BYTES > > of 128 and sizeof(kmem_cache_node) of 152) > > Hmmm... Yes that would mean use the 196 sized

RE: [PATCH v1 11/20] ARC: [plat-eznps] Add eznps platform

2015-11-04 Thread Noam Camus
>From: Vineet Gupta [mailto:vineet.gup...@synopsys.com] >Sent: Monday, November 02, 2015 12:57 PM >When trying to build with 2015.06 BE tools, >../arch/arc/plat-eznps/entry.S: Assembler messages: >../arch/arc/plat-eznps/entry.S:51: Error: bad instruction `sr >(1<<28),[(0xF800+0x024)]' >mak

[PATCH] PCI: altera: use fwnode API for pci_msi_create_irq_domain

2015-11-04 Thread Arnd Bergmann
There is a new conflict between Thomas Gleixner's IRQ tree that contains a patch from Marc Zyngier to change the prototype for pci_msi_create_irq_domain, and Bjorn Helgaas' PCI tree that contains a new driver for the Altera PCI MSI host, with the old interface, as gcc now warns in linux-next: driv

Re: perf top segfaults on current git

2015-11-04 Thread Markus Trippelsdorf
On 2015.11.04 at 13:27 +0100, Jiri Olsa wrote: > On Wed, Nov 04, 2015 at 11:49:30AM +0100, Markus Trippelsdorf wrote: > > On 2015.11.04 at 11:15 +0100, Markus Trippelsdorf wrote: > > > On 2015.11.03 at 11:02 +0100, Ingo Molnar wrote: > > > > > > > > Please pull the latest perf-core-for-linus git t

Re: Improve spinlock performance by moving work to one core

2015-11-04 Thread Ling Ma
Hi All, (send again for linux-kernel@vger.kernel.org) Spinlock caused cache line ping-pong between cores, we have to spend lots of time to get serialized execution. However if we present the serialized work to one core, it will help us save much time. In the attachment we changed code based on q

[PATCH] KVM: x86: merge handle_mmio_page_fault and handle_mmio_page_fault_common

2015-11-04 Thread Paolo Bonzini
They are exactly the same, except that handle_mmio_page_fault has an unused argument and a call to WARN_ON. Remove the unused argument from the callers, and move the warning to (the former) handle_mmio_page_fault_common. --- arch/x86/kvm/mmu.c | 20 +--- arch/x86/kvm/mmu.h

Re: [PATCH] PCI: altera: use fwnode API for pci_msi_create_irq_domain

2015-11-04 Thread Thomas Gleixner
On Wed, 4 Nov 2015, Arnd Bergmann wrote: > There is a new conflict between Thomas Gleixner's IRQ tree that contains > a patch from Marc Zyngier to change the prototype for > pci_msi_create_irq_domain, and Bjorn Helgaas' PCI tree that contains > a new driver for the Altera PCI MSI host, with the old

[RESEND PATCH v2] thp: Remove unused vma parameter from khugepaged_alloc_page

2015-11-04 Thread Aaron Tomlin
Resending due to incomplete subject. Changes since v2: - Fixed incorrect commit message The "vma" parameter to khugepaged_alloc_page() is unused. It has to remain unused or the drop read lock 'map_sem' optimisation introduce by commit 8b1645685acf ("mm, THP: don't hold mmap_sem in khugepaged wh

Re: [RFC] arm64: perf: associate LL with L2 cache accesses and refills

2015-11-04 Thread Claudio Fontana
On 04.11.2015 12:39, Mark Rutland wrote: > On Wed, Nov 04, 2015 at 12:24:13PM +0100, hw.clau...@gmail.com wrote: >> From: Claudio Fontana >> >> Signed-off-by: Claudio Fontana >> Cc: Ammar Saeed >> --- >> >> Hello, > > Hi, > >> as part of some experiments with the Juno ARM64 board, we needed t

[PATCH] vfio: Fix bug in vfio_device_get_from_name()

2015-11-04 Thread Joerg Roedel
From: Joerg Roedel The vfio_device_get_from_name() function might return a non-NULL pointer, when called with a device name that is not found in the list. This causes undefined behavior, in my case calling an invalid function pointer later on: kernel tried to execute NX-protected page - exploit

[PATCH] VSOCK: call sk->sk_data_ready() on accept()

2015-11-04 Thread Stefan Hajnoczi
When a listen socket enqueues a connection for userspace to accept(), the sk->sk_data_ready() callback should be invoked. In-kernel socket users rely on this callback to detect when incoming connections are available. Currently the sk->sk_state_change() callback is invoked by vmci_transport.c. T

Re: [PATCH v2 3/3] ibmvscsi: Allow to configure maximum LUN

2015-11-04 Thread Hannes Reinecke
On 11/04/2015 12:46 PM, Laurent Vivier wrote: > > > On 04/11/2015 12:16, Hannes Reinecke wrote: >> On 11/04/2015 11:20 AM, Laurent Vivier wrote: >>> QEMU allows until 32 LUNs. >>> >>> Signed-off-by: Laurent Vivier >>> --- >>> drivers/scsi/ibmvscsi/ibmvscsi.c | 5 - >>> 1 file changed, 4 ins

Re: [PATCH 4/4] locking: Introduce smp_cond_acquire()

2015-11-04 Thread Paul E. McKenney
On Tue, Nov 03, 2015 at 08:43:22PM -0800, Linus Torvalds wrote: > On Tue, Nov 3, 2015 at 7:57 PM, Paul E. McKenney > wrote: > > > > Thank you, and yes, it clearly states that read-to-write dependencies > > are ordered. > > Well, I wouldn't say that it's exactly "clear". > > The fact that they ex

Re: [PATCH v2 1/3] keys, trusted: select the hash algorithm

2015-11-04 Thread Jarkko Sakkinen
On Tue, Nov 03, 2015 at 06:12:17PM +0200, Jarkko Sakkinen wrote: > On Tue, Nov 03, 2015 at 10:39:11AM -0500, Mimi Zohar wrote: > > On Tue, 2015-11-03 at 09:39 +0200, Jarkko Sakkinen wrote: > > > On Mon, Nov 02, 2015 at 07:16:49AM -0500, Mimi Zohar wrote: > > > > On Fri, 2015-10-30 at 13:35 +0200, J

Re: [PATCH v6 1/3] percpu: remove PERCPU_ENOUGH_ROOM which is stale definition

2015-11-04 Thread Jungseok Lee
On Nov 4, 2015, at 7:07 AM, Tejun Heo wrote: > Hello, Hello, > On Tue, Nov 03, 2015 at 11:12:51PM +0900, Jungseok Lee wrote: >> On Nov 3, 2015, at 4:10 AM, Tejun Heo wrote: >> >> Dear Tejun, >> >>> On Sun, Nov 01, 2015 at 07:46:15AM +, Jungseok Lee wrote: As pure cleanup, this patch re

Re: perf top segfaults on current git

2015-11-04 Thread Arnaldo Carvalho de Melo
Em Wed, Nov 04, 2015 at 11:15:33AM +0100, Markus Trippelsdorf escreveu: > On 2015.11.03 at 11:02 +0100, Ingo Molnar wrote: > > > > Please pull the latest perf-core-for-linus git tree from: > > Since the current merge "perf top" segfaults on my machine: > > Program received signal SIGSEGV, Segmen

Re: [RFC PATCH 00/28] Linux Kernel Library

2015-11-04 Thread Austin S Hemmelgarn
On 2015-11-03 18:24, Octavian Purdila wrote: On Wed, Nov 4, 2015 at 12:45 AM, Richard W.M. Jones wrote: I'm dubious that a lib-based approach could support LVM, partioning, ntfs-3g, qcow2, vmdk and all the other libguestfs stuff that relies on userspace tools + qemu as well as just the kernel d

[PATCH v2] percpu: remove PERCPU_ENOUGH_ROOM which is stale definition

2015-11-04 Thread Jungseok Lee
As pure cleanup, this patch removes PERCPU_ENOUGH_ROOM which is not used any more. That is, no code refers to the definition. Acked-by: Christoph Lameter Signed-off-by: Jungseok Lee --- I've kept Acked-by from Christoph since there is no change in generic percpu code between v1 and v2. Changes

Re: perf top segfaults on current git

2015-11-04 Thread Arnaldo Carvalho de Melo
Em Wed, Nov 04, 2015 at 01:27:40PM +0100, Jiri Olsa escreveu: > On Wed, Nov 04, 2015 at 11:49:30AM +0100, Markus Trippelsdorf wrote: > > On 2015.11.04 at 11:15 +0100, Markus Trippelsdorf wrote: > > > On 2015.11.03 at 11:02 +0100, Ingo Molnar wrote: > > > > > > > > Please pull the latest perf-core-

[patch] vfio: make an array larger

2015-11-04 Thread Dan Carpenter
Smatch complains about a possible out of bounds error: drivers/vfio/pci/vfio_pci_config.c:1241 vfio_cap_init() error: buffer overflow 'pci_cap_length' 20 <= 20 Fix this by making the array larger. Signed-off-by: Dan Carpenter diff --git a/drivers/vfio/pci/vfio_pci_config.c b/d

[GIT PULL] Audit patches for 4.4

2015-11-04 Thread Paul Moore
Hi Linus, Seven audit patches for 4.4, but really only one of any significant value, the remainder are trivial cleanups that are described well enough in the patch descriptions. The one significant patch is an attempt to make communication between the kernel's audit subsystem and the userspace

Re: [PATCH RFC 0/7] Adding core support for wire-MSI bridges

2015-11-04 Thread Thomas Gleixner
Marc, On Fri, 16 Oct 2015, Marc Zyngier wrote: > On 16/10/15 02:55, Jiang Liu wrote: > > There's a working to enable Intel VMD storage device, which > > has the similar requirement. Basically a PCIe hierarchy is hidden > > behind a parent PCIe device, so we need to use the PCIe irqs on parent

Re: [PATCH v6 2/3] percpu: add PERCPU_ATOM_SIZE for a generic percpu area setup

2015-11-04 Thread Jungseok Lee
On Nov 4, 2015, at 2:58 AM, James Morse wrote: > Hi Jungseok, Hi James, > On 03/11/15 13:49, Jungseok Lee wrote: >> Additionally, I've been thinking of do_softirq_own_stack() which is your >> another comment [3]. Recently, I've realized there is possibility that >> I misunderstood your intention.

Re: [PATCH] PCI: altera: use fwnode API for pci_msi_create_irq_domain

2015-11-04 Thread Arnd Bergmann
On Wednesday 04 November 2015 13:45:23 Thomas Gleixner wrote: > On Wed, 4 Nov 2015, Arnd Bergmann wrote: > > There is a new conflict between Thomas Gleixner's IRQ tree that contains > > a patch from Marc Zyngier to change the prototype for > > pci_msi_create_irq_domain, and Bjorn Helgaas' PCI tree

RE: [RFC][PATCH] Oops messages transfer using QR codes

2015-11-04 Thread Murtaza, Alexandru
Thanks for catching that typo! From: Randy Dunlap [rdun...@infradead.org] Sent: Saturday, October 31, 2015 12:05 AM To: Murtaza, Alexandru; linux-kernel@vger.kernel.org Cc: Baluta, Teodora; le...@linux.com; Hohndel, Dirk; Anvin, H Peter Subject: Re: [RFC][P

Re: /ioremap.c:191 __ioremap_caller... Info: mapping multiple BARs. Your kernel is fine.

2015-11-04 Thread Thomas Gleixner
On Mon, 2 Nov 2015, Toralf Förster wrote: > Starting with 4.1 and still in 4.3-rc7 I get this in dmesg during > boot phase at a 64 bit Gentoo Linux at a Lenovo T440s: > [ cut here ] > WARNING: CPU: 1 PID: 1 at arch/x86/mm/ioremap.c:191 > __ioremap_caller+0x233/0x380() > I

Re: [PATCH v2] mfd: sec-core: Rename MFD and regulator names differently

2015-11-04 Thread Mark Brown
On Mon, Nov 02, 2015 at 09:36:09AM +0530, Alim Akhtar wrote: > Currently S2MPSXX multifunction device is named as *-pmic, > and these MFDs also supports regulator as a one of its MFD cell which > has the same name, because current name is confusing and we want to > sort it out. Acked-by: Mark Brow

Re: perf related lockdep bug

2015-11-04 Thread Paul E. McKenney
On Wed, Nov 04, 2015 at 11:50:10AM +0100, Peter Zijlstra wrote: > On Wed, Nov 04, 2015 at 11:28:00AM +0100, Peter Zijlstra wrote: > > On Wed, Nov 04, 2015 at 11:21:51AM +0100, Peter Zijlstra wrote: > > > > > The problem appears to be due to the new RCU expedited grace period > > > stuff, with rcu_

Re: [RFC PATCH 00/28] Linux Kernel Library

2015-11-04 Thread Richard W.M. Jones
On Wed, Nov 04, 2015 at 01:24:03AM +0200, Octavian Purdila wrote: > Thanks for the pointers Richard, I am going to take a look at it. Now I've had a chance to look at some of the example LKL tools, here's what this actually involves. It's not actually a great deal of work, it could probably be do

Re: [PATCH] h8300: Initialize cleanup and remove module code

2015-11-04 Thread Daniel Lezcano
On 11/04/2015 08:35 AM, Yoshinori Sato wrote: h8300's clocksource driver cleanup. - Use CLOCKSOURCE_OF_DECLARE - Remove module exit Hi Yoshinori, the patches does not apply on tip/timers/core. Also it seems to contain changes not related to initialization cleanups and module code. I have a

Re: [PATCH] arm64: Increase the max granular size

2015-11-04 Thread Christoph Lameter
On Wed, 4 Nov 2015, Catalin Marinas wrote: > The simplest option would be to make sure that off slab isn't allowed > for caches of KMALLOC_MIN_SIZE or smaller, with the drawback that not > only "kmalloc-128" but any other such caches will be on slab. The reason for an off slab configuration is de

Re: [GIT PULL] locking changes for v4.4

2015-11-04 Thread Paul E. McKenney
On Wed, Nov 04, 2015 at 12:48:50PM +0100, Ingo Molnar wrote: > > * Linus Torvalds wrote: > > > On Tue, Nov 3, 2015 at 3:58 PM, Linus Torvalds > > wrote: > > > > > > I think I'll pull this, but then just make a separate commit to remove > > Thanks! > > > > all the bogus games with "control" de

Re: [GIT PULL] locking changes for v4.4

2015-11-04 Thread Paul E. McKenney
On Wed, Nov 04, 2015 at 12:37:01PM +0100, Peter Zijlstra wrote: > On Tue, Nov 03, 2015 at 05:30:29PM -0800, Linus Torvalds wrote: > > From 105ff3cbf225036b75a6a46c96d1ddce8e7bdc66 Mon Sep 17 00:00:00 2001 > > From: Linus Torvalds > > Date: Tue, 3 Nov 2015 17:22:17 -0800 > > Subject: [PATCH] atomic

Re: [PATCH] powerpc: on crash, kexec'ed kernel needs all CPUs are online

2015-11-04 Thread Laurent Vivier
On 04/11/2015 13:34, Hari Bathini wrote: > On 10/16/2015 12:30 AM, Laurent Vivier wrote: >> On kexec, all secondary offline CPUs are onlined before >> starting the new kernel, this is not done in the case of kdump. >> >> If kdump is configured and a kernel crash occurs whereas >> some secondaries

Re: [PATCH 00/11] Input: synaptics-rmi4: various fixes for the existing rmi4 branch

2015-11-04 Thread Linus Walleij
On Wed, Nov 4, 2015 at 1:38 AM, Andrew Duggan wrote: > Great! I'll look into the issues you highlighted above and start posting > patches soon. Thanks for reviewing! I think you should also squash all fixes into the logical steps in the previous patch series or just squash the entire history and

Re: [PATCH 1/3] ASoC: rockchip: i2s: Add set the divider clock API

2015-11-04 Thread Mark Brown
On Mon, Nov 02, 2015 at 11:14:00AM +0800, Caesar Wang wrote: > In order to support more rates, add the divider clock api. > As the input source clock to the module is MCLK_I2S, > and by the divider of the module, the clock generator generates > SCLK and LRCK to transmitter and receiver. Why is th

PCIe host controller behind IOMMU on ARM

2015-11-04 Thread Phil Edworthy
Hi, I am trying to hook up a PCIe host controller that sits behind an IOMMU, but having some problems. I'm using the pcie-rcar PCIe host controller and it works fine without the IOMMU, and I can attach the IOMMU to the controller such that any calls to dma_alloc_coherent made by the controller dr

Re: [PATCH RESEND 16/16] regulator: add LM363X driver

2015-11-04 Thread Mark Brown
On Mon, Nov 02, 2015 at 02:24:35PM +0900, Milo Kim wrote: This looks mostly good, just a few fairly small things: > +lm363x_regulator_of_get_init_data(struct device *dev, > + struct lm363x_regulator *lm363x_regulator, int id) > +{ > + struct device_node *np = dev->of_node;

Re: [PATCH 0/3] cpuidle: small improvements & fixes for menu governor

2015-11-04 Thread Rafael J. Wysocki
On 11/4/2015 7:56 AM, Joe Perches wrote: On Wed, 2015-11-04 at 00:03 +0100, Rafael J. Wysocki wrote: On 11/3/2015 11:35 PM, Rik van Riel wrote: On 11/03/2015 05:05 PM, Rafael J. Wysocki wrote: On 10/28/2015 11:46 PM, r...@redhat.com wrote: While working on a paravirt cpuidle driver for KVM gu

Re: [PATCH v2 0/2] Add audio support for Broadcom Cygnus SoC

2015-11-04 Thread Mark Brown
On Mon, Nov 02, 2015 at 02:11:22PM -0800, Simran Rai wrote: > Simran Rai (2): > dt-bindings: sound: Add DT bindings for Broadcom Cygnus audio > VOIP-5227 Add Broadcom Cygnus audio driver. Please use subject lines matching the style for the subsystem. This makes it easier for people to identi

[PATCH] perf tools: Insert split maps correctly into origin group

2015-11-04 Thread Jiri Olsa
On Wed, Nov 04, 2015 at 01:41:37PM +0100, Markus Trippelsdorf wrote: SNIP > > > Apparently it started with: > > > > > > commit cfc5acd4c80b875d2f739d6a93562034aee5563f > > > Author: Arnaldo Carvalho de Melo > > > Date: Wed Sep 23 15:15:54 2015 -0300 > > > > > > perf top: Filter symbols b

Re: [PATCH v2 1/2] dt-bindings: sound: Add DT bindings for Broadcom Cygnus audio

2015-11-04 Thread Mark Brown
On Mon, Nov 02, 2015 at 02:11:23PM -0800, Simran Rai wrote: > +- channel-group: Surround sound grouping that controls which channel > + outputs belong to a group, specifically useful in Multi-channel > + Interfaces grouping of serial port. In multi-channel stereo, use > + "2_0", in 3.1 multi-ch

Re: perf related lockdep bug

2015-11-04 Thread Paul E. McKenney
On Wed, Nov 04, 2015 at 11:28:00AM +0100, Peter Zijlstra wrote: > On Wed, Nov 04, 2015 at 11:21:51AM +0100, Peter Zijlstra wrote: > > > The problem appears to be due to the new RCU expedited grace period > > stuff, with rcu_read_unlock() now randomly trying to acquire locks it > > previously didn'

Re: [PATCH 3.12 16/33] isdn/gigaset: reset tty->receive_room when attaching ser_gigaset

2015-11-04 Thread Tilman Schmidt
Hi Paul, Am 19.10.2015 um 11:09 schrieb Paul Bolle: > On ma, 2015-10-12 at 11:18 +0200, Tilman Schmidt wrote: >> While it doesn't make any sense indeed to run two instances of >> ldattach >> in parallel on one and the same serial port, it is entirely conceivable >> that someone might do so inadver

Re: [PATCH] block: Don't allow illegal discard requests

2015-11-04 Thread Jan Kara
On Wed 04-11-15 03:30:19, Christoph Hellwig wrote: > On Wed, Nov 04, 2015 at 10:18:41AM +0100, Jan Kara wrote: > > Currently blkdev_issue_discard() doesn't check that submitted discard > > request matches granularity required by the underlying device. > > Submitting such requests to the device can

Re: kernel oops on mmotm-2015-10-15-15-20

2015-11-04 Thread Kirill A. Shutemov
On Wed, Nov 04, 2015 at 12:20:19AM +0900, Minchan Kim wrote: > On Tue, Nov 03, 2015 at 04:33:29PM +0900, Minchan Kim wrote: > > On Tue, Nov 03, 2015 at 09:16:50AM +0200, Kirill A. Shutemov wrote: > > > On Tue, Nov 03, 2015 at 12:02:58PM +0900, Minchan Kim wrote: > > > > Hello Kirill, > > > > > > >

Re: perf related lockdep bug

2015-11-04 Thread Peter Zijlstra
On Wed, Nov 04, 2015 at 05:48:38AM -0800, Paul E. McKenney wrote: > Ouch!!! Thank you for the analysis, though I am very surprised that > my testing did not find this. Yeah, not sure how that ended up not triggering earlier. I'm thinking of adding a might_wake(), much like we have might_fault()

Re: [RFC PATCH 00/28] Linux Kernel Library

2015-11-04 Thread Octavian Purdila
On Wed, Nov 4, 2015 at 3:50 PM, Richard W.M. Jones wrote: > On Wed, Nov 04, 2015 at 01:24:03AM +0200, Octavian Purdila wrote: >> Thanks for the pointers Richard, I am going to take a look at it. > > Now I've had a chance to look at some of the example LKL tools, here's > what this actually involve

Re: PCIe host controller behind IOMMU on ARM

2015-11-04 Thread liviu.du...@arm.com
On Wed, Nov 04, 2015 at 01:57:48PM +, Phil Edworthy wrote: > Hi, > > I am trying to hook up a PCIe host controller that sits behind an IOMMU, > but having some problems. > > I'm using the pcie-rcar PCIe host controller and it works fine without > the IOMMU, and I can attach the IOMMU to the c

Re: [PATCH v2 2/2] sound: soc: Add Cygnus audio driver

2015-11-04 Thread Mark Brown
On Mon, Nov 02, 2015 at 02:11:24PM -0800, Simran Rai wrote: > sound/soc/bcm/Kconfig | 18 + > sound/soc/bcm/Makefile |5 + > sound/soc/bcm/cygnus-pcm.c | 903 ++ > sound/soc/bcm/cygnus-ssp.c | 1532 > > sound/so

Re: perf related lockdep bug

2015-11-04 Thread Peter Zijlstra
On Wed, Nov 04, 2015 at 06:01:33AM -0800, Paul E. McKenney wrote: > On Wed, Nov 04, 2015 at 11:28:00AM +0100, Peter Zijlstra wrote: > > On Wed, Nov 04, 2015 at 11:21:51AM +0100, Peter Zijlstra wrote: > > > > > The problem appears to be due to the new RCU expedited grace period > > > stuff, with rc

Re: [PATCH v1 1/5] ASoC: rockchip: i2s: Support to set the divider clock API

2015-11-04 Thread Mark Brown
On Tue, Nov 03, 2015 at 09:33:54AM +0800, Caesar Wang wrote: > In order to support more sample rates, add the divider clock api. > > As the input source clock to the module is MCLK_I2S, > and by the divider of the module, the clock generator generates > SCLK and LRCK to transmitter and receiver.

Re: [PATCH v2 1/5] spi: introduce mmap read support for spi flash devices

2015-11-04 Thread Mark Brown
On Tue, Nov 03, 2015 at 03:36:10PM +0530, Vignesh R wrote: > + } > + mutex_lock(&master->mmap_lock_mutex); > + ret = master->spi_mtd_mmap_read(spi, from, len, retlen, buf, > + read_opcode, addr_width, > + dummy_byt

Re: [PATCH v3] capabilities.7, prctl.2: Document ambient capabilities

2015-11-04 Thread Serge E. Hallyn
On Tue, Nov 03, 2015 at 03:42:17PM -0800, Andy Lutomirski wrote: > Reviewed-by: Kees Cook > Signed-off-by: Andy Lutomirski Looks good, thanks. Acked-by: Serge Hallyn > --- > > Changes from v2: Add a note about arg3 == 0 in CLEAR_ALL. > > man2/prctl.2| 13 + > man7/capabi

Re: [RFC] namei: prevent sgid-hardlinks for unmapped gids

2015-11-04 Thread Serge E. Hallyn
On Tue, Nov 03, 2015 at 10:20:38AM -0800, Kees Cook wrote: > On Mon, Nov 2, 2015 at 4:39 PM, Dirk Steinmetz > wrote: > > In order to hardlink to a sgid-executable, it is sufficient to be the > > file's owner. When hardlinking within an unprivileged user namespace, the > > users of that namespace c

Re: [PATCH 2/2] efirtc: add efi_enabled check in efi_rtc_init

2015-11-04 Thread Geliang Tang
On Mon, Nov 02, 2015 at 04:37:51PM +0100, Arnd Bergmann wrote: > On Monday 02 November 2015 22:49:01 Geliang Tang wrote: > > diff --git a/drivers/char/efirtc.c b/drivers/char/efirtc.c > > index 5323d8c..80058bd 100644 > > --- a/drivers/char/efirtc.c > > +++ b/drivers/char/efirtc.c > > @@ -378,6 +37

Re: [PATCH 1/8] dt-bindings: consolidate display related bindings

2015-11-04 Thread Thierry Reding
On Thu, Oct 01, 2015 at 05:12:27PM -0500, Rob Herring wrote: > This is a quite large renaming to consolidate display related bindings > into a single "display" directory from various scattered locations of > video, drm, gpu, fb, mipi, and panel. The prior location was somewhat > based on the Linux

Re: [PATCH v2 2/5] spi: spi-ti-qspi: add mmap mode read support

2015-11-04 Thread Mark Brown
On Tue, Nov 03, 2015 at 03:36:11PM +0530, Vignesh R wrote: > + ti_qspi_enable_memory_map(spi); > + ti_qspi_setup_mmap_read(spi, read_opcode, addr_width, > + dummy_bytes); > + memcpy_fromio(buf, qspi->mmap_base + from, len); > + *retlen = len; > + ti_

Re: [RFC PATCHv3 3/4] x86/pci: Initial commit for new VMD device driver

2015-11-04 Thread Keith Busch
On Tue, Nov 03, 2015 at 12:42:02PM +0100, Thomas Gleixner wrote: > On Tue, 3 Nov 2015, Keith Busch wrote: > > > > + msi_irqdomain = pci_msi_create_irq_domain(NULL, > > > > &pci_chained_msi_domain_info, > > > > + vmd_irqdomain); > > But that pa

RE: PCIe host controller behind IOMMU on ARM

2015-11-04 Thread Phil Edworthy
Hi Liviu, On 04 November 2015 14:24, Liviu wrote: > On Wed, Nov 04, 2015 at 01:57:48PM +, Phil Edworthy wrote: > > Hi, > > > > I am trying to hook up a PCIe host controller that sits behind an IOMMU, > > but having some problems. > > > > I'm using the pcie-rcar PCIe host controller and it work

Re: [GIT PULL] locking changes for v4.4

2015-11-04 Thread Dmitry Vyukov
On Wed, Nov 4, 2015 at 5:16 AM, Paul E. McKenney wrote: > On Tue, Nov 03, 2015 at 05:30:29PM -0800, Linus Torvalds wrote: >> On Tue, Nov 3, 2015 at 3:58 PM, Linus Torvalds >> wrote: >> > >> > I think I'll pull this, but then just make a separate commit to remove >> > all the bogus games with "con

Re: [PATCH V15 04/11] x86/intel_rdt: Add support for Cache Allocation detection

2015-11-04 Thread Luiz Capitulino
On Thu, 1 Oct 2015 23:09:38 -0700 Fenghua Yu wrote: > This patch includes CPUID enumeration routines for Cache allocation and > new values to track resources to the cpuinfo_x86 structure. > > Cache allocation provides a way for the Software (OS/VMM) to restrict > cache allocation to a defined '

Re: [PATCHSET 0/4] perf report: Support folded callchain output (v4)

2015-11-04 Thread Arnaldo Carvalho de Melo
Em Tue, Nov 03, 2015 at 10:02:32PM -0800, Brendan Gregg escreveu: > On Tue, Nov 3, 2015 at 5:54 PM, Namhyung Kim wrote: > > Ah, makes sense. So it'd look like > > $ perf report --stdio -g folded,count,info -F none -s comm > > $ perf report --stdio -g folded,count,info -F none -s pid > > The

Re: [PATCH 2/2] efirtc: add efi_enabled check in efi_rtc_init

2015-11-04 Thread Arnd Bergmann
On Wednesday 04 November 2015 22:45:42 Geliang Tang wrote: > On Mon, Nov 02, 2015 at 04:37:51PM +0100, Arnd Bergmann wrote: > > On Monday 02 November 2015 22:49:01 Geliang Tang wrote: > > > diff --git a/drivers/char/efirtc.c b/drivers/char/efirtc.c > > > index 5323d8c..80058bd 100644 > > > --- a/dr

Re: [PATCH] arm64: Increase the max granular size

2015-11-04 Thread Catalin Marinas
On Wed, Nov 04, 2015 at 07:53:50AM -0600, Christoph Lameter wrote: > On Wed, 4 Nov 2015, Catalin Marinas wrote: > > > The simplest option would be to make sure that off slab isn't allowed > > for caches of KMALLOC_MIN_SIZE or smaller, with the drawback that not > > only "kmalloc-128" but any other

Re: [PATCH V15 00/11] x86: Intel Cache Allocation Technology Support

2015-11-04 Thread Luiz Capitulino
On Thu, 1 Oct 2015 23:09:34 -0700 Fenghua Yu wrote: > This series has some preparatory patches and Intel cache allocation > support. Ping? What's the status of this series? We badly need this series for KVM-RT workloads. I did try it and it seems to work but, apart from small fixable issues wh

Re: [GIT PULL] locking changes for v4.4

2015-11-04 Thread Ingo Molnar
* Paul E. McKenney wrote: > On Wed, Nov 04, 2015 at 12:48:50PM +0100, Ingo Molnar wrote: > > > > * Linus Torvalds wrote: > > > > > On Tue, Nov 3, 2015 at 3:58 PM, Linus Torvalds > > > wrote: > > > > > > > > I think I'll pull this, but then just make a separate commit to remove > > > > Thank

Re: [PATCH V15 05/11] x86/intel_rdt: Add Class of service management

2015-11-04 Thread Luiz Capitulino
On Thu, 1 Oct 2015 23:09:39 -0700 Fenghua Yu wrote: > Adds some data-structures and APIs to support Class of service > management(closid). There is a new clos_cbm table which keeps a 1:1 > mapping between closid and capacity bit mask (cbm) > and a count of usage of closid. Each task would be ass

Re: [PATCH V15 00/11] x86: Intel Cache Allocation Technology Support

2015-11-04 Thread Thomas Gleixner
On Wed, 4 Nov 2015, Luiz Capitulino wrote: > On Thu, 1 Oct 2015 23:09:34 -0700 > Fenghua Yu wrote: > > > This series has some preparatory patches and Intel cache allocation > > support. > > Ping? What's the status of this series? We still need to agree on the user space interface which is the

[PATCH] perf: Do not send exit event twice

2015-11-04 Thread Jiri Olsa
In case we monitor events system wide, we get EXIT event (when configured) twice for each task that exited. Note doubled lines with same pid/tid in following example: $ sudo ./perf record -a ^C[ perf record: Woken up 1 times to write data ] [ perf record: Captured and wrote 0.480 MB perf.da

[PATCH] bnxt_en: add VXLAN dependency

2015-11-04 Thread Arnd Bergmann
VXLAN may be a loadable module, and this driver cannot be built-in in that case, or we get a link error: drivers/built-in.o: In function `__bnxt_open_nic': drivers/net/ethernet/broadcom/bnxt/bnxt.c:4581: undefined reference to `vxlan_get_rx_port' This adds a Kconfig dependency that ensures that

<    1   2   3   4   5   6   7   8   9   10   >