Re: [PATCH v3 07/28] IB/Verbs: Reform IB-ulp ipoib

2015-04-13 Thread ira.weiny
On Mon, Apr 13, 2015 at 02:25:16PM +0200, Michael Wang wrote: Use raw management helpers to reform IB-ulp ipoib. Cc: Steve Wise sw...@opengridcomputing.com Cc: Tom Talpey t...@talpey.com Cc: Jason Gunthorpe jguntho...@obsidianresearch.com Cc: Doug Ledford dledf...@redhat.com Cc: Ira

Re: BUG: unable to handle kernel NULL pointer deref, bisected to 746650160

2015-04-13 Thread Torsten Luettgert
On Mon, 13 Apr 2015 19:41:05 +0200 Christoph Hellwig h...@lst.de wrote: Can you run gdb on your vmlinux file and send the output of the following command in gdb l *(scsi_dma_unmap+0x54) Thanks for looking into it! Here is what gdb says: Reading symbols from

Re: [PATCH v5 05/10] seqlock: Better document raw_write_seqcount_latch()

2015-04-13 Thread Paul E. McKenney
On Mon, Apr 13, 2015 at 11:21:46AM -0700, Linus Torvalds wrote: On Mon, Apr 13, 2015 at 10:43 AM, Paul E. McKenney paul...@linux.vnet.ibm.com wrote: A shorthand for READ_ONCE + smp_read_barrier_depends() is the shiny new lockless_dereference() Related side note - I think people should

Re: [PATCH] clk: check for invalid parent index of orphans in __clk_init()

2015-04-13 Thread Michael Turquette
Quoting Rhyland Klein (2015-02-17 08:58:29) On 2/15/2015 7:33 AM, Mans Rullgard wrote: If a mux clock is initialised (by hardware or firmware) with an invalid parent, its -get_parent() can return an out of range index. For example, the generic mux clock attempts to return -EINVAL, which

Re: [PATCH v3 07/28] IB/Verbs: Reform IB-ulp ipoib

2015-04-13 Thread Jason Gunthorpe
On Mon, Apr 13, 2015 at 02:25:16PM +0200, Michael Wang wrote: dev_list = kmalloc(sizeof *dev_list, GFP_KERNEL); if (!dev_list) @@ -1673,13 +1671,19 @@ static void ipoib_add_one(struct ib_device *device) } for (p = s; p = e; ++p) { - if

RE: [PATCH v3 10/28] IB/Verbs: Reform cm related part in IB-core cma

2015-04-13 Thread Hefty, Sean
@@ -1037,17 +1033,13 @@ void rdma_destroy_id(struct rdma_cm_id *id) mutex_unlock(id_priv-handler_mutex); if (id_priv-cma_dev) { - switch (rdma_node_get_transport(id_priv-id.device- node_type)) { - case RDMA_TRANSPORT_IB: + if

Re: [PATCH v3 10/28] IB/Verbs: Reform cm related part in IB-core cma

2015-04-13 Thread Jason Gunthorpe
On Mon, Apr 13, 2015 at 07:25:48PM +, Hefty, Sean wrote: @@ -1037,17 +1033,13 @@ void rdma_destroy_id(struct rdma_cm_id *id) mutex_unlock(id_priv-handler_mutex); if (id_priv-cma_dev) { - switch (rdma_node_get_transport(id_priv-id.device- node_type)) { -

Re: [PATCH 0/2] crypto: add new driver for Marvell CESA

2015-04-13 Thread Jason Cooper
Hey Arnaud, On Mon, Apr 13, 2015 at 06:06:49PM +0200, Arnaud Ebalard wrote: Jason Cooper ja...@lakedaemon.net writes: ... I really tried to adapt the existing driver to add the missing features (especially the support for TDMA), but all my attempts ended up introducing hackish code (not

[PATCH 0/4] cpufreq: use generic cpufreq drivers for Exynos5250 platform

2015-04-13 Thread Bartlomiej Zolnierkiewicz
Hi, This patch series removes the use of Exynos5250 specific support from exynos-cpufreq driver and enables the use of cpufreq-dt driver for this platform. The exynos-cpufreq driver itself is also removed as it is no longer used/needed after Exynos5250 support removal. This patch series has

[PATCH 2/4] ARM: dts: Exynos5250: add CPU OPP and regulator supply property

2015-04-13 Thread Bartlomiej Zolnierkiewicz
From: Thomas Abraham thomas...@samsung.com For Exynos5250 platforms, add CPU operating points and CPU regulator supply properties for migrating from Exynos specific cpufreq driver to using generic cpufreq driver. Changes by Bartlomiej: - split Exynos5250 support from the original patch - added

[PATCH 3/4] ARM: Exynos: switch to using generic cpufreq driver for Exynos5250

2015-04-13 Thread Bartlomiej Zolnierkiewicz
From: Thomas Abraham thomas...@samsung.com The new CPU clock type allows the use of generic CPUfreq driver. Switch Exynos5250 to using generic cpufreq driver. Changes by Bartlomiej: - split Exynos5250 support from the original patch Cc: Tomasz Figa tomasz.f...@gmail.com Cc: Kukjin Kim

Re: [PATCH] fs/proc: allow larger /proc/pid/cmdline output

2015-04-13 Thread Jarod Wilson
On Fri, Apr 10, 2015 at 01:45:20PM -0700, Andrew Morton wrote: On Fri, 10 Apr 2015 17:11:40 +0300 Alexey Dobriyan adobri...@gmail.com wrote: Just trying to be conservative and keep people from doing anything too insane, but I didn't really have any particularly good reason beyond that

Urgent Message: Linux Kernel

2015-04-13 Thread john chris
I ам Chris John, My late client Mr. Robert Kernel, who died as a result of the 11th September 2001 WTC terrorist attack has an unclaim safe-deposit ( US$10.5 Million ) in a Finance Security Company, whom i believe is your relative having beared the same surname with you. Contact me immediately for

RE: [PATCH v3 05/28] IB/Verbs: Reform IB-core sa_query

2015-04-13 Thread Hefty, Sean
@@ -1153,9 +1153,7 @@ static void ib_sa_add_one(struct ib_device *device) { struct ib_sa_device *sa_dev; int s, e, i; - - if (rdma_node_get_transport(device-node_type) != RDMA_TRANSPORT_IB) - return; + int count = 0; if (device-node_type ==

[RFC] new locking primitive (pulled from fs_pin)

2015-04-13 Thread Al Viro
New structure. Intended use: embed into an object that will always be freed with RCU delay. Initialize with init_kill_once(object-kill_once). Use by grabbing rcu_read_lock(), finding the object, then if (needs_killing(object-kill_once)) { // do whatever actions you want, including

Re: [PATCH v5 06/10] rbtree: Implement generic latch_tree

2015-04-13 Thread Peter Zijlstra
On Mon, Apr 13, 2015 at 06:43:15PM +0200, Ingo Molnar wrote: Minor nit: so this text has 3 variants to spell RB-trees: RB-tree RB tree rb-tree I suggest we pick one! :-) RB-tree it is ;-) -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

Re: [PATCH v8 10/18] clk: tegra: Initialize PLL_X before CCLK_G to ensure it has a parent

2015-04-13 Thread Mikko Perttunen
On 04/13/2015 10:31 PM, Michael Turquette wrote: Quoting Tomeu Vizoso (2015-04-13 05:17:01) On 11 April 2015 at 13:00, Mikko Perttunen mikko.perttu...@kapsi.fi wrote: On 04/11/2015 12:08 AM, Michael Turquette wrote: Quoting Mikko Perttunen (2015-03-01 04:44:33) This patch moves the

Re: [PATCH v3 04/28] IB/Verbs: Reform IB-core cm

2015-04-13 Thread ira.weiny
On Mon, Apr 13, 2015 at 01:29:30PM -0600, Jason Gunthorpe wrote: On Mon, Apr 13, 2015 at 06:40:35PM +, Hefty, Sean wrote: - if (rdma_node_get_transport(ib_device-node_type) != RDMA_TRANSPORT_IB) - return; + int count = 0; I'm ok with this as an

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-13 Thread Andy Lutomirski
On Mon, Apr 13, 2015 at 12:03 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: The following changes since commit 9eccca0843205f87c00404b663188b88eb248051: Linux 4.0-rc3 (2015-03-08 16:09:09 -0700) are available in the git repository at:

[PATCH v4 19/24] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it

2015-04-13 Thread Philipp Tomsich
From: Andrew Pinski apin...@cavium.com Add a separate syscall-table for ILP32, which dispatches either to native LP64 system call implementation or to compat-syscalls, as appropriate. This revision of the patch now addresses Catalin's comment regarding the duplicate reading of the task-flags in

[PATCH v4 09/24] arm64:ilp32: use non-compat syscall names for ILP32 as for LP64

2015-04-13 Thread Philipp Tomsich
From: Andrew Pinski apin...@cavium.com Define __ARCH_WANT_64BIT_SYSCALLS for ILP32, so we (can) use the 64bit syscall names for ILP32. Signed-off-by: Philipp Tomsich philipp.toms...@theobroma-systems.com Signed-off-by: Christoph Muellner christoph.muell...@theobroma-systems.com ---

[PATCH v4 00/24] ILP32 for ARM64

2015-04-13 Thread Philipp Tomsich
This is an updated version of Andrew Pinski's ILP32 patch-series for ARM64 (see https://lkml.org/lkml/2014/9/3/704) which merges some changes from our implementation of ILP32 with his. I made sure to have Andrew as an author, wherever no significant changes to his patches occurred and updated the

[PATCH v4 23/24] arm64:ilp32: change COMPAT_ELF_PLATFORM to report a a subplatform for ILP32

2015-04-13 Thread Philipp Tomsich
To make life for tools (such as gdb) easier when dealing with ILP32 processes, we report a proper subarchitecture for ILP32 in the ELF auxiliary vectors. Signed-off-by: Philipp Tomsich philipp.toms...@theobroma-systems.com Signed-off-by: Christoph Muellner christoph.muell...@theobroma-systems.com

[PATCH v4 16/24] arm64: add support for starting ILP32 (ELFCLASS32) binaries

2015-04-13 Thread Philipp Tomsich
From: Andrew Pinski apin...@cavium.com Handle ILP32 (AArch64, but ELFCLASS32) binaries on ARM64. Signed-off-by: Philipp Tomsich philipp.toms...@theobroma-systems.com Signed-off-by: Christoph Muellner christoph.muell...@theobroma-systems.com --- arch/arm64/include/asm/elf.h | 66

[PATCH v4 12/24] arm64:ilp32: COMPAT_USE_64BIT_TIME is true for ILP32 tasks

2015-04-13 Thread Philipp Tomsich
Since __kernel_long_t (time_t) is long long, we need to tell the rest of kernel that we use 64bit time_t for compat when the task is not an AARCH32 task. The reason why we check AARCH32 rather than ILP32 here is because if we don't have AARCH32 compiled in (which is going to be the common case

RE: [PATCH] acpica: modify a commit error in file drivers/acpi/acpica/nsxfeval.c

2015-04-13 Thread Moore, Robert
Yes, this comes up every now and then. iff means if and only if by convention. -Original Message- From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] Sent: Monday, April 13, 2015 6:38 AM To: Zhaogang Gong Cc: Moore, Robert; Zheng, Lv; Wysocki, Rafael J; l...@kernel.org; linux-

Re: [PATCH v5 05/10] seqlock: Better document raw_write_seqcount_latch()

2015-04-13 Thread Paul E. McKenney
On Mon, Apr 13, 2015 at 05:08:19PM +, Mathieu Desnoyers wrote: - Original Message - * Peter Zijlstra pet...@infradead.org wrote: [...] + * The query will have a form like: + * + * struct entry *latch_query(struct latch_struct *latch, ...) + * { + * struct

Re: [PATCH v3 04/28] IB/Verbs: Reform IB-core cm

2015-04-13 Thread ira.weiny
On Mon, Apr 13, 2015 at 02:23:46PM +0200, Michael Wang wrote: Use raw management helpers to reform IB-core cm. Cc: Steve Wise sw...@opengridcomputing.com Cc: Tom Talpey t...@talpey.com Cc: Jason Gunthorpe jguntho...@obsidianresearch.com Cc: Doug Ledford dledf...@redhat.com Cc: Ira Weiny

[GIT PULL] tracing: Adding of tracefs for 4.1

2015-04-13 Thread Steven Rostedt
Linus, This adds the new tracefs file system. This has been in linux-next for more than one release, as I had it ready for the 4.0 merge window, but a last minute thing that needed to go into Linux first had to be done. That was that perf hard coded the file system number when reading

Re: [PATCH v6 2/2] memory: pl353: Add driver for arm pl353 static memory controller

2015-04-13 Thread Paul Bolle
On Mon, 2015-04-13 at 21:41 +0530, Punnaiah Choudary Kalluri wrote: --- a/drivers/memory/Kconfig +++ b/drivers/memory/Kconfig +config PL353_SMC + bool ARM PL353 Static Memory Controller (SMC) driver + depends on ARM + help + This driver is for the ARM PL353 Static Memory

Re: [PATCH] x86/ACPI: Fix regression caused by 16ee7b3dcc56 c50f13c672df7

2015-04-13 Thread Rafael J. Wysocki
On Monday, April 13, 2015 04:54:16 PM Jim Bos wrote: On 04/13/2015 03:36 PM, Rafael J. Wysocki wrote: On Monday, April 13, 2015 01:30:20 AM Rafael J. Wysocki wrote: On Sunday, April 12, 2015 11:03:30 AM Jim Bos wrote: On 04/12/2015 03:29 AM, Rafael J. Wysocki wrote: On Saturday, April 11,

Re: [PATCH v6 1/6] clk: iproc: define Broadcom iProc clock binding

2015-04-13 Thread Ray Jui
Hi Mike, On 4/12/2015 11:02 PM, Michael Turquette wrote: Quoting Ray Jui (2015-04-12 21:08:32) On 4/10/2015 5:12 PM, Michael Turquette wrote: Quoting Ray Jui (2015-03-17 22:45:17) Document the device tree binding for Broadcom iProc architecture based clock controller Signed-off-by: Ray

Re: [PATCH 1/2] ide: remove deprecated use of pci api

2015-04-13 Thread David Miller
From: Dan Carpenter dan.carpen...@oracle.com Date: Mon, 13 Apr 2015 20:23:24 +0300 On Mon, Apr 13, 2015 at 01:08:13PM -0400, David Miller wrote: From: One Thousand Gnomes gno...@lxorguk.ukuu.org.uk Date: Mon, 13 Apr 2015 13:25:30 +0100 On Thu, 9 Apr 2015 13:46:27 +0200 Quentin Lambert

Re: [PATCH] libata: Add an additional LPM policy to match Intel recommendations

2015-04-13 Thread Matthew Garrett
On Mon, Apr 13, 2015 at 7:32 AM, Tejun Heo t...@kernel.org wrote: On Fri, Apr 10, 2015 at 01:15:29PM -0700, Matthew Garrett wrote: Intel publish a document on designing energy efficient SATA devices at

Re: [PATCH v3 05/28] IB/Verbs: Reform IB-core sa_query

2015-04-13 Thread ira.weiny
On Mon, Apr 13, 2015 at 02:24:18PM +0200, Michael Wang wrote: Use raw management helpers to reform IB-core sa_query. Cc: Steve Wise sw...@opengridcomputing.com Cc: Tom Talpey t...@talpey.com Cc: Jason Gunthorpe jguntho...@obsidianresearch.com Cc: Doug Ledford dledf...@redhat.com Cc: Ira

powerpc: Dead code in commit bdc728a849a7

2015-04-13 Thread Andreas Ruprecht
Hi Daniel, your commit bdc728a849a7 (powerpc: move find_and_init_phbs() to pSeries specific code) in today's Linux next tree moves a function into the pSeries specific setup.c file. I noticed it because I'm running an automated bot on top of linux-next which looks for variability-related defects

Re: [PATCH 3/5 v4] netfilter: Fix portid types

2015-04-13 Thread Pablo Neira Ayuso
On Mon, Apr 13, 2015 at 12:52:37AM +0200, Richard Weinberger wrote: The netlink portid is an unsigned integer, use this type also in netfilter. Signed-off-by: Richard Weinberger rich...@nod.at Acked-by: Pablo Neira Ayuso pa...@netfilter.org -- To unsubscribe from this list: send the line

Re: [PATCH 4/5 v4] netfilter: Fix format string of nfnetlink_queue proc file

2015-04-13 Thread Pablo Neira Ayuso
On Mon, Apr 13, 2015 at 12:52:38AM +0200, Richard Weinberger wrote: The printed values are all of type unsigned integer, therefore use %u instead of %d. Otherwise an user can face negative values. Fixes: $ cat /proc/net/netfilter/nfnetlink_queue 0 29508 278 2 65531 0 2004213241

Re: [PATCH] Add a quirk for the Dell XPS 13 (2015) when in PS/2 mode.

2015-04-13 Thread Mario Limonciello
On 04/10/2015 09:19 PM, Ben Gamari wrote: Mario Limonciello mario_limoncie...@dell.com writes: snip snip Is this to say that the issue will be fixed with a BIOS update? Cheers, - Ben From what I have gathered this is expected behavior that won't change. The EC will intentionally drop

Re: [PATCH] x86: Align jump targets to 1 byte boundaries

2015-04-13 Thread Markus Trippelsdorf
On 2015.04.13 at 11:31 -0700, Linus Torvalds wrote: On Mon, Apr 13, 2015 at 10:26 AM, Markus Trippelsdorf mar...@trippelsdorf.de wrote: I must have made a measurement mistake above, because the actual code size savings are roughly 5%: Can you check against the

Re: [PATCH v3 04/28] IB/Verbs: Reform IB-core cm

2015-04-13 Thread Jason Gunthorpe
On Mon, Apr 13, 2015 at 06:40:35PM +, Hefty, Sean wrote: - if (rdma_node_get_transport(ib_device-node_type) != RDMA_TRANSPORT_IB) - return; + int count = 0; I'm ok with this as an intermediate patch but going forward if we are going to have calls like static

[PATCH] tracing: use GFP_ATOMIC in graph_trace_open()

2015-04-13 Thread Rabin Vincent
graph_trace_open() can be called in atomic context from ftrace_dump(). Use GFP_ATOMIC to avoid the following splat when that happens. BUG: sleeping function called from invalid context at mm/slab.c:2849 in_atomic(): 1, irqs_disabled(): 128, pid: 0, name: swapper/0 Backtrace: .. [8004dc94]

Re: [patch 4/4] timerfd.2: Add ioctl method description

2015-04-13 Thread Michael Kerrisk (man-pages)
Hello Cyrill, On 07/15/2014 11:54 PM, Cyrill Gorcunov wrote: ioctl(2) The following commands are supported: TFD_IOC_SET_TICKS to adjust the number of the timer expirations that have occurred. It take a pointer to nonzero 8-byte integer (uint64_t*) containing new

[GIT PULL] Driver core patches for 4.1-rc1

2015-04-13 Thread Greg KH
The following changes since commit bc465aa9d045feb0e13b4a8f32cc33c1943f62d6: Linux 4.0-rc5 (2015-03-22 16:50:21 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/ tags/driver-core-4.1-rc1 for you to fetch changes up to

Re: ioremap_uc() followed by set_memory_wc() - burrying MTRR

2015-04-13 Thread Luis R. Rodriguez
Cc'ing a few others as we ended up talking about the cruxes of my unposted v2 series as I confirmed that set_memor_wc() would not work as an alternative to my originally proposed __arch_phys_wc_add() to force MTRR as a last resort on a few set of last remaining drivers. This also discusses

[PATCH 1/4] clk: samsung: exynos5250: add cpu clock configuration data and instantiate cpu clock

2015-04-13 Thread Bartlomiej Zolnierkiewicz
From: Thomas Abraham thomas...@samsung.com With the addition of the new Samsung specific cpu-clock type, the arm clock can be represented as a cpu-clock type. Add the CPU clock configuration data and instantiate the CPU clock type for Exynos5250. Changes by Bartlomiej: - split Exynos5250 support

Re: [PATCH v3] pty: Fix input race when closing

2015-04-13 Thread Greg Kroah-Hartman
On Mon, Apr 13, 2015 at 01:24:34PM -0400, Peter Hurley wrote: A read() from a pty master may mistakenly indicate EOF (errno == -EIO) after the pty slave has closed, even though input data remains to be read. For example, pty slave |input worker|pty master

Re: [PATCH v5 05/10] seqlock: Better document raw_write_seqcount_latch()

2015-04-13 Thread Linus Torvalds
On Mon, Apr 13, 2015 at 10:43 AM, Paul E. McKenney paul...@linux.vnet.ibm.com wrote: A shorthand for READ_ONCE + smp_read_barrier_depends() is the shiny new lockless_dereference() Related side note - I think people should get used to seeing smp_load_acquire(). It has well-defined memory

Re: [PATCH try #3] proc: fix PAGE_SIZE limit of /proc/$PID/cmdline

2015-04-13 Thread Jarod Wilson
On Sat, Apr 11, 2015 at 01:09:06AM +0300, Alexey Dobriyan wrote: On Fri, Apr 10, 2015 at 02:01:32PM -0400, Jarod Wilson wrote: On Fri, Apr 10, 2015 at 05:13:29PM +0300, Alexey Dobriyan wrote: /proc/$PID/cmdline truncates output at PAGE_SIZE. It is easy to see with $ cat

Re: sched: Improve load balancing in the presence of idle CPUs

2015-04-13 Thread Jason Low
On Fri, 2015-04-10 at 14:07 +0530, Srikar Dronamraju wrote: #ifdef CONFIG_NO_HZ_COMMON +static inline bool nohz_kick_needed(struct rq *rq); + +static inline void pass_nohz_balance(struct rq *this_rq, int this_cpu) +{ + clear_bit(NOHZ_BALANCE_KICK,

Re: [PATCH v6 1/3] nand: pl353: Add basic driver for arm pl353 smc nand interface

2015-04-13 Thread Paul Bolle
On Mon, 2015-04-13 at 21:42 +0530, Punnaiah Choudary Kalluri wrote: --- a/drivers/mtd/nand/Makefile +++ b/drivers/mtd/nand/Makefile +obj-$(CONFIG_MTD_NAND_PL353) += pl353_nand.o (I think pl353_nand.o can be part of a module. If that's incorrect, you can stop reading here.) ---

[PATCH v14 for 4.1] sys_membarrier(): system-wide memory barrier (x86)

2015-04-13 Thread Mathieu Desnoyers
[ Andrew, can you take this for the 4.1 merge window ? ] Here is an implementation of a new system call, sys_membarrier(), which executes a memory barrier on all threads running on the system. It is implemented by calling synchronize_sched(). It can be used to distribute the cost of user-space

Re: [PATCH v5 05/10] seqlock: Better document raw_write_seqcount_latch()

2015-04-13 Thread Peter Zijlstra
On Mon, Apr 13, 2015 at 06:32:02PM +0200, Ingo Molnar wrote: Btw., I realize this is just a sample, but couldn't this be written more optimally as: do { seq = READ_ONCE(latch-seq); smp_read_barrier_depends(); idx = seq 0x01;

[GIT PULL] tracing: Updates for 4.1

2015-04-13 Thread Steven Rostedt
Linus, Some clean ups and small fixes, but the biggest change is the addition of the TRACE_DEFINE_ENUM() macro that can be used by tracepoints. Tracepoints have helper functions for the TP_printk() called __print_symbolic() and __print_flags() that lets a numeric number be displayed as a a

Re: [PATCH v3 07/28] IB/Verbs: Reform IB-ulp ipoib

2015-04-13 Thread ira.weiny
On Mon, Apr 13, 2015 at 01:27:01PM -0600, Jason Gunthorpe wrote: On Mon, Apr 13, 2015 at 02:25:16PM +0200, Michael Wang wrote: dev_list = kmalloc(sizeof *dev_list, GFP_KERNEL); if (!dev_list) @@ -1673,13 +1671,19 @@ static void ipoib_add_one(struct ib_device *device) }

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-13 Thread Greg Kroah-Hartman
On Mon, Apr 13, 2015 at 09:49:27PM +0200, Richard Weinberger wrote: On Mon, Apr 13, 2015 at 9:42 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: I remain opposed to this half thought out trash of an ABI for the meta-data. You don't have to enable the metadata if you don't want

[PATCH v4 03/24] arm64: rename COMPAT to AARCH32_EL0 in Kconfig

2015-04-13 Thread Philipp Tomsich
From: Andrew Pinski apin...@cavium.com Signed-off-by: Philipp Tomsich philipp.toms...@theobroma-systems.com Signed-off-by: Christoph Muellner christoph.muell...@theobroma-systems.com --- arch/arm64/Kconfig | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git

[PATCH v4 24/24] arm64:ilp32: add ARM64_ILP32 to Kconfig

2015-04-13 Thread Philipp Tomsich
From: Andrew Pinski apin...@cavium.com This patch adds the config option for ILP32. Signed-off-by: Philipp Tomsich philipp.toms...@theobroma-systems.com Signed-off-by: Christoph Muellner christoph.muell...@theobroma-systems.com --- arch/arm64/Kconfig | 9 - 1 file changed, 8

[GIT PULL] Staging driver patches for 4.1-rc1

2015-04-13 Thread Greg KH
The following changes since commit f22e6e847115abc3a0e2ad7bb18d243d42275af1: Linux 4.0-rc7 (2015-04-06 15:39:45 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/ tags/staging-4.1-rc1 for you to fetch changes up to

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-13 Thread Richard Weinberger
Am 13.04.2015 um 21:54 schrieb Greg Kroah-Hartman: On Mon, Apr 13, 2015 at 09:49:27PM +0200, Richard Weinberger wrote: On Mon, Apr 13, 2015 at 9:42 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: I remain opposed to this half thought out trash of an ABI for the meta-data. You

Re: [PATCH v3 07/28] IB/Verbs: Reform IB-ulp ipoib

2015-04-13 Thread Jason Gunthorpe
On Mon, Apr 13, 2015 at 03:46:03PM -0400, ira.weiny wrote: This doesn't quite look right, it should be 'goto error1' Looks like you replied to the wrong patch. ?? I don't see error1 in ipoib_add_one. For the ib_cm module... Right, sorry. Yes I think it should go to error1.

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-13 Thread Greg Kroah-Hartman
On Mon, Apr 13, 2015 at 09:57:24PM +0200, Richard Weinberger wrote: Am 13.04.2015 um 21:54 schrieb Greg Kroah-Hartman: On Mon, Apr 13, 2015 at 09:49:27PM +0200, Richard Weinberger wrote: On Mon, Apr 13, 2015 at 9:42 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: I remain

Re: [PATCH] tracing: use GFP_ATOMIC in graph_trace_open()

2015-04-13 Thread Steven Rostedt
On Mon, 13 Apr 2015 21:35:21 +0200 Rabin Vincent ra...@rab.in wrote: graph_trace_open() can be called in atomic context from ftrace_dump(). Use GFP_ATOMIC to avoid the following splat when that happens. BUG: sleeping function called from invalid context at mm/slab.c:2849 in_atomic(): 1,

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-13 Thread Richard Weinberger
Am 13.04.2015 um 22:03 schrieb Greg Kroah-Hartman: On Mon, Apr 13, 2015 at 09:57:24PM +0200, Richard Weinberger wrote: Am 13.04.2015 um 21:54 schrieb Greg Kroah-Hartman: On Mon, Apr 13, 2015 at 09:49:27PM +0200, Richard Weinberger wrote: On Mon, Apr 13, 2015 at 9:42 PM, Greg Kroah-Hartman

[PATCH v2] Documentation usb serial: fixed how to provide vendor and product id

2015-04-13 Thread Marek Belisko
From: H. Nikolaus Schaller h...@goldelico.com While trying to test a Cinterion GSM/GPS/3G module I had reconfigured the USB interface by mistake and therefore needed to run a different USB driver than CDC-ACM. It turned out that I need the usbserial driver. This file is an official description

Re: [patch 4/4] timerfd.2: Add ioctl method description

2015-04-13 Thread Cyrill Gorcunov
On Mon, Apr 13, 2015 at 09:56:20PM +0200, Michael Kerrisk (man-pages) wrote: Hello Cyrill, On 07/15/2014 11:54 PM, Cyrill Gorcunov wrote: ioctl(2) The following commands are supported: TFD_IOC_SET_TICKS to adjust the number of the timer expirations that have occurred. It

Re: clk: clock rates can overflow 32-bit fields

2015-04-13 Thread Brian Norris
Hi Mike, On Sun, Apr 12, 2015 at 10:53:07PM -0700, Michael Turquette wrote: Quoting Brian Norris (2015-04-12 21:24:22) Hi, I've recently been looking at using the common clock framework to handle my CPU clocks for use by the cpufreq-dt driver, and I ran across a few problems with

Re: Looking for extensible kernel database format

2015-04-13 Thread Luis R. Rodriguez
On Thu, Apr 9, 2015 at 5:57 PM, Luis R. Rodriguez mcg...@do-not-panic.com wrote: Hey folks, next week I'd like to address replacing the need for CRDA [0] as a udev helper with in-kernel functionality There's a few motivations for this but a good one is that the kernel already has now

Re: [PATCH 10/14] x86: mm: Enable deferred memory initialisation on x86-64

2015-04-13 Thread Paul Bolle
On Mon, 2015-04-13 at 11:17 +0100, Mel Gorman wrote: --- a/mm/Kconfig +++ b/mm/Kconfig +# For architectures that was to support deferred memory initialisation s/was/want/? +config ARCH_SUPPORTS_DEFERRED_MEM_INIT + bool Thanks, Paul Bolle -- To unsubscribe from this list: send the

RE: [PATCH v3 04/28] IB/Verbs: Reform IB-core cm

2015-04-13 Thread Hefty, Sean
- if (rdma_node_get_transport(ib_device-node_type) != RDMA_TRANSPORT_IB) - return; + int count = 0; I'm ok with this as an intermediate patch but going forward if we are going to have calls like static inline int cap_ib_cm_dev(struct ib_device *device) I would rather

Re: [PATCH 5/5 v4] netfilter: Fix format string of nfnetlink_log proc file

2015-04-13 Thread Pablo Neira Ayuso
On Mon, Apr 13, 2015 at 12:52:39AM +0200, Richard Weinberger wrote: The printed values are all of type unsigned integer, therefore use %u instead of %d. Otherwise an user can face negative values. Signed-off-by: Richard Weinberger rich...@nod.at Acked-by: Pablo Neira Ayuso

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-13 Thread Eric W. Biederman
Greg Kroah-Hartman gre...@linuxfoundation.org writes: The following changes since commit 9eccca0843205f87c00404b663188b88eb248051: Linux 4.0-rc3 (2015-03-08 16:09:09 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/

Re: [PATCH] Use -mcount-record for dynamic ftrace

2015-04-13 Thread Steven Rostedt
On Sun, 12 Apr 2015 17:54:27 -0700 Andi Kleen a...@firstfloor.org wrote: From: Andi Kleen a...@linux.intel.com gcc 5 supports a new -mcount-record option to generate ftrace tables directly. This avoids the need to run record_mcount manually. Use this option when available. It also has

Re: [PATCH] cpufreq/intel_pstate: Fix an annoying !CONFIG_SMP warning

2015-04-13 Thread Kristen Carlson Accardi
On Sat, 11 Apr 2015 02:22:03 +0200 Rafael J. Wysocki r...@rjwysocki.net wrote: On Friday, April 03, 2015 03:19:53 PM Borislav Petkov wrote: From: Borislav Petkov b...@suse.de I keep seeing drivers/cpufreq/intel_pstate.c: In function ‘intel_pstate_init’:

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-13 Thread Greg Kroah-Hartman
On Mon, Apr 13, 2015 at 02:29:35PM -0500, Eric W. Biederman wrote: Greg Kroah-Hartman gre...@linuxfoundation.org writes: The following changes since commit 9eccca0843205f87c00404b663188b88eb248051: Linux 4.0-rc3 (2015-03-08 16:09:09 -0700) are available in the git repository at:

[GIT PULL] USB driver patches for 4.1-rc1

2015-04-13 Thread Greg KH
The following changes since commit f22e6e847115abc3a0e2ad7bb18d243d42275af1: Linux 4.0-rc7 (2015-04-06 15:39:45 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.1-rc1 for you to fetch changes up to

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-13 Thread Richard Weinberger
On Mon, Apr 13, 2015 at 9:42 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: I remain opposed to this half thought out trash of an ABI for the meta-data. You don't have to enable the metadata if you don't want to use it, it's an option :) Wasn't this also an argument for

Re: [PATCH] ARM: dts: qcom: Add msm8660 PMU node

2015-04-13 Thread Kumar Gala
On Apr 10, 2015, at 7:19 PM, Stephen Boyd sb...@codeaurora.org wrote: On 02/10/15 17:06, Stephen Boyd wrote: Enable perf events on msm8660 devices by adding the pmu node. Signed-off-by: Stephen Boyd sb...@codeaurora.org --- Ping? Sorry, trying to clear out patches on a Friday night

Re: BUG: unable to handle kernel NULL pointer deref, bisected to 746650160

2015-04-13 Thread Christoph Hellwig
On Wed, Apr 08, 2015 at 06:33:33PM +0200, Torsten Luettgert wrote: Hello, I'm getting NULL pointer deref BUGs on a Supermicro machine of mine since 3.17. It occurs at random uptimes, often a few hours after booting (max uptime was 2 days yet). I bisected the problem (took a while); the

Re: [PATCH] libata: Add an additional LPM policy to match Intel recommendations

2015-04-13 Thread Tejun Heo
Hello, On Mon, Apr 13, 2015 at 10:52:59AM -0700, Matthew Garrett wrote: Ok - my only real concern there was that we might end up changing the semantics of medium_power enough that it would break somebody. I'll post a patch to do that instead and I guess we can see what happens - worst case we

[PATCH] arm64: Removed unused variable

2015-04-13 Thread Richard Weinberger
arch/arm64/kernel/signal.c: In function ‘handle_signal’: arch/arm64/kernel/signal.c:290:22: warning: unused variable ‘thread’ [-Wunused-variable] Fixes: arm64: Remove signal translation and exec_domain Reported-by: Thierry Reding thierry.red...@gmail.com Signed-off-by: Richard Weinberger

Re: [PATCH v5 04/10] rbtree: Make lockless searches non-fatal

2015-04-13 Thread Peter Zijlstra
On Mon, Apr 13, 2015 at 05:50:08PM +0200, Ingo Molnar wrote: +static inline void rb_link_node_rcu(struct rb_node * node, struct rb_node * parent, + struct rb_node ** rb_link) Minor stylistic nit, the standard pattern I suspect has spaces fewer by three:

Re: [PATCH v2 2/2] soc: qcom: Add Shared Memory Manager driver

2015-04-13 Thread Andy Gross
On Sat, Apr 11, 2015 at 04:32:58PM -0700, Bjorn Andersson wrote: The Shared Memory Manager driver implements an interface for allocating and accessing items in the memory area shared among all of the processors in a Qualcomm platform. Signed-off-by: Bjorn Andersson

Re: [PATCH v8 10/18] clk: tegra: Initialize PLL_X before CCLK_G to ensure it has a parent

2015-04-13 Thread Michael Turquette
Quoting Tomeu Vizoso (2015-04-13 05:17:01) On 11 April 2015 at 13:00, Mikko Perttunen mikko.perttu...@kapsi.fi wrote: On 04/11/2015 12:08 AM, Michael Turquette wrote: Quoting Mikko Perttunen (2015-03-01 04:44:33) This patch moves the initialization of PLL_X to be slightly before that

Re: [PATCH v5 05/10] seqlock: Better document raw_write_seqcount_latch()

2015-04-13 Thread Peter Zijlstra
On Mon, Apr 13, 2015 at 09:17:50PM +0200, Peter Zijlstra wrote: On Mon, Apr 13, 2015 at 06:32:02PM +0200, Ingo Molnar wrote: Btw., I realize this is just a sample, but couldn't this be written more optimally as: do { seq = READ_ONCE(latch-seq);

[PATCH v4 18/24] ptrace: Allow compat to use the native siginfo

2015-04-13 Thread Philipp Tomsich
From: Andrew Pinski apin...@cavium.com Set COMPAT_USE_NATIVE_SIGINFO to be true for non AARCH32 tasks. With ARM64 ILP32 ABI, we want to use the non-compat siginfo as we want to simplify signal handling for this new ABI. This patch just adds a new define COMPAT_USE_NATIVE_SIGINFO and if it is

Re: clk: clock rates can overflow 32-bit fields

2015-04-13 Thread Brian Norris
On Mon, Apr 13, 2015 at 11:49:03AM -0700, Michael Turquette wrote: Quoting Brian Norris (2015-04-13 10:54:40) On Sun, Apr 12, 2015 at 10:53:07PM -0700, Michael Turquette wrote: Quoting Brian Norris (2015-04-12 21:24:22) (1) using clk-divider.c; and/or (2) using intermediate clocks

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-13 Thread Greg Kroah-Hartman
On Mon, Apr 13, 2015 at 09:22:33PM +0100, Al Viro wrote: On Mon, Apr 13, 2015 at 09:42:17PM +0200, Greg Kroah-Hartman wrote: I remain opposed to this half thought out trash of an ABI for the meta-data. You don't have to enable the metadata if you don't want to use it, it's an option

Re: [PATCH 2/3] perf probe: Make --source avaiable when probe with lazy_line

2015-04-13 Thread Arnaldo Carvalho de Melo
Em Mon, Apr 13, 2015 at 07:41:29PM +0800, He Kuang escreveu: Use get_real_path() to enable --source option when probe with lazy_line pattern. Before this patch: $ perf probe -s ./kernel_src/ -k ./vmlinux --add='fs/super.c;s-s_count=1;' Failed to open fs/super.c: No such file or

Re: [patch 5/5] staging: ozwpan: Fix hrtimer wreckage

2015-04-13 Thread Greg Kroah-Hartman
On Mon, Apr 13, 2015 at 09:02:25PM -, Thomas Gleixner wrote: oz_timer_add() modifies the expiry value of an active timer, which results in data corruption. Use hrtimer_start() and remove the silly conditional. While at it use the proper helper function to convert milliseconds to

Re: [patch 4/5] net: hip04: Make tx coalesce timer actually work

2015-04-13 Thread Arnd Bergmann
On Monday 13 April 2015 21:02:23 Thomas Gleixner wrote: The code sets the expiry value of the timer to a relative value and starts it with hrtimer_start_expires. That's fine, but that only works once. The timer is started in relative mode, so the expiry value gets overwritten with the absolut

Re: [PATCH RESEND] btrfs: unlock i_mutex after attempting to delete subvolume during send

2015-04-13 Thread Omar Sandoval
On Fri, Apr 10, 2015 at 02:20:40PM -0700, Omar Sandoval wrote: Whenever the check for a send in progress introduced in commit 521e0546c970 (btrfs: protect snapshots from deleting during send) is hit, we return without unlocking inode-i_mutex. This is easy to see with lockdep enabled: [

[PATCH v2 17/21] staging: rtl8192e: Fix LONG_LINE warnings (conditions)

2015-04-13 Thread Mateusz Kulikowski
Rework some conditions to bail out of functions faster therby decreasing overall indent. This patch should not cause any negative side effect (except for different execution time). Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c |

[PATCH v2 19/21] staging: rtl8192e: Fix LONG_LINE in rtllib_parse_mife_generic()

2015-04-13 Thread Mateusz Kulikowski
Simplify function to make checkpatch.pl happy. Changes: - Helper variables used - Local variable names compacted - Conditions were rephrased to return quickly (and decrease indent). Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib_rx.c | 170

Re: [PATCH 2/5 v4] nfc: Fix portid type in urelease_work

2015-04-13 Thread David Miller
From: Richard Weinberger rich...@nod.at Date: Mon, 13 Apr 2015 00:52:36 +0200 portid is an unsigned integer. Fix urelease_work to match all other portid user in the kernel. Signed-off-by: Richard Weinberger rich...@nod.at Applied. -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH 1/5 v4] netlink: Fix portid type in netlink_notify

2015-04-13 Thread David Miller
From: Richard Weinberger rich...@nod.at Date: Mon, 13 Apr 2015 00:52:35 +0200 portid is an unsigned integer. Fix netlink_notify to match all other portid user in the kernel. Signed-off-by: Richard Weinberger rich...@nod.at Applied. -- To unsubscribe from this list: send the line unsubscribe

[patch 4/5] net: hip04: Make tx coalesce timer actually work

2015-04-13 Thread Thomas Gleixner
The code sets the expiry value of the timer to a relative value and starts it with hrtimer_start_expires. That's fine, but that only works once. The timer is started in relative mode, so the expiry value gets overwritten with the absolut expiry time (now + expiry). So once the timer expired, a

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-13 Thread Andy Lutomirski
On Mon, Apr 13, 2015 at 1:45 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Mon, Apr 13, 2015 at 01:13:26PM -0700, Andy Lutomirski wrote: On Mon, Apr 13, 2015 at 12:03 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: The following changes since commit

[patch 5/5] staging: ozwpan: Fix hrtimer wreckage

2015-04-13 Thread Thomas Gleixner
oz_timer_add() modifies the expiry value of an active timer, which results in data corruption. Use hrtimer_start() and remove the silly conditional. While at it use the proper helper function to convert milliseconds to ktime. Signed-off-by: Thomas Gleixner t...@linutronix.de Cc: Shigekatsu

[patch 1/5] perf: Fixup hrtimer forward wreckage

2015-04-13 Thread Thomas Gleixner
perf_event_mux_interval_ms_store() tries to apply an updated hrtimer_interval to all possible cpus in a completely unsafe way. The changelog of the offending commit says: In the 5th version, we handle the reprogramming of the hrtimer using hrtimer_forward_now(). That way, we sync up to new

  1   2   3   4   5   6   7   8   9   10   >