Re: [RFC PATCH] drivers/pinctrl: Add the concept of an init state

2014-10-08 Thread Linus Walleij
On Tue, Oct 7, 2014 at 10:28 PM, Doug Anderson diand...@chromium.org wrote: For pinctrl the default state is applied to pins before the driver's probe function is called. This is normally a sensible thing to do, but in some cases can cause problems. That's because the pins will change state

[PATCH v4 13/16] cxl: Driver code for powernv PCIe based cards for userspace access

2014-10-08 Thread Michael Neuling
From: Ian Munsie imun...@au1.ibm.com This is the core of the cxl driver. It adds support for using cxl cards in the powernv environment only (ie POWER8 bare metal). It allows access to cxl accelerators by userspace using the /dev/cxl/afuM.N char devices. The kernel driver has no knowledge of

[PATCH v4 15/16] cxl: Add driver to Kbuild and Makefiles

2014-10-08 Thread Michael Neuling
From: Ian Munsie imun...@au1.ibm.com Signed-off-by: Ian Munsie imun...@au1.ibm.com Signed-off-by: Michael Neuling mi...@neuling.org --- drivers/misc/cxl/Kconfig | 17 + drivers/misc/cxl/Makefile | 2 ++ 2 files changed, 19 insertions(+) diff --git a/drivers/misc/cxl/Kconfig

[PATCH v4 12/16] cxl: Add base builtin support

2014-10-08 Thread Michael Neuling
From: Ian Munsie imun...@au1.ibm.com This adds the base cxl support that cannot be built as a module. Specifically it adds the cxl callbacks that are called from the core powerpc mm code which must always exist irrespective of if the cxl module is loaded or not. This is similar to how cell works

[PATCH v4 14/16] cxl: Add userspace header file

2014-10-08 Thread Michael Neuling
From: Ian Munsie imun...@au1.ibm.com This adds a header file for use by userspace programs wanting to interact with the kernel cxl driver. It defines structs and magic numbers required for userspace to interact with devices in /dev/cxl/afuM.N. Further documentation on this interface is added in

[PATCH] clk: rockchip: fix parent for spdif_8ch_frac on rk3288

2014-10-08 Thread Sonny Rao
The parent should be spdif_8ch_pre not spdif_8ch_src, which doesn't exist and looks to be a typo. The TRM also confirms this. Signed-off-by: Sonny Rao sonny...@chromium.org --- drivers/clk/rockchip/clk-rk3288.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 2/2 v2] SPI: spi-pxa2xx: SPI support for Intel Quark X1000

2014-10-08 Thread Bryan O'Donoghue
On 08/10/14 08:48, Chen, Alvin wrote: Now, we have another board which can support 4 slave spi per master, but not only Galileo. Since that board is not public, after discussing with team, we decide to make the upstream code to support '1'. I will change it back to .num_chipselect = 1, Hi

[PATCH v4 11/16] powerpc/mm: Add hooks for cxl

2014-10-08 Thread Michael Neuling
From: Ian Munsie imun...@au1.ibm.com This adds hooks into the core powerpc mm code for cxl. The core powerpc code sometimes uses local tlbie. Unfortunately this won't work with the current cxl driver as it relies on snooping tlbie broadcasts. The cxl hardware can have TLB entries invalidated

[PATCH v4 03/16] powerpc/cell: Make spu_flush_all_slbs() generic

2014-10-08 Thread Michael Neuling
From: Ian Munsie imun...@au1.ibm.com This moves spu_flush_all_slbs() into a generic call copro_flush_all_slbs(). This will be useful when we add cxl which also needs a similar SLB flush call. Signed-off-by: Ian Munsie imun...@au1.ibm.com Signed-off-by: Michael Neuling mi...@neuling.org ---

[PATCH v4 01/16] powerpc/cell: Move spu_handle_mm_fault() out of cell platform

2014-10-08 Thread Michael Neuling
From: Ian Munsie imun...@au1.ibm.com Currently spu_handle_mm_fault() is in the cell platform. This code is generically useful for other non-cell co-processors on powerpc. This patch moves this function out of the cell platform into arch/powerpc/mm so that others may use it. Signed-off-by: Ian

[PATCH v4 02/16] powerpc/cell: Move data segment faulting code out of cell platform

2014-10-08 Thread Michael Neuling
From: Ian Munsie imun...@au1.ibm.com __spu_trap_data_seg() currently contains code to determine the VSID and ESID required for a particular EA and mm struct. This code is generically useful for other co-processors. This moves the code of the cell platform so it can be used by other powerpc code.

i915.ko WC writes are slow after ea8596bb2d8d379

2014-10-08 Thread Chris Wilson
I ran into a problem on a Sandybridge i5-2500s whilst measuring the performance of GTT write-combining access. I found subsequent runs were about 10-40x slower than the first. For example, igt/gem_gtt_speed: Time to read 16k through a GTT map: 325.285µs Time to write 16k through a

Re: [PATCH 1/1] GFS2: use _RET_IP_ instead of (unsigned long)__builtin_return_address(0)

2014-10-08 Thread Steven Whitehouse
Hi, Apologies for taking so long - I've added this into the -nmw tree now. Thanks, Steve. On 03/10/14 19:15, Fabian Frederick wrote: use macro definition Signed-off-by: Fabian Frederick f...@skynet.be --- fs/gfs2/glock.c | 4 ++-- fs/gfs2/glops.c | 2 +- fs/gfs2/trans.c | 2 +- 3

Re: [PATCH] net: fec: fix regression on i.MX28 introduced by rx_copybreak support

2014-10-08 Thread Lothar Waßmann
Hi, David Laight wrote: From: Lothar Waßmann David Laight wrote: From: Eric Dumazet On Tue, 2014-10-07 at 15:19 +0200, Lothar Wamann wrote: commit 1b7bde6d659d (net: fec: implement rx_copybreak to improve rx performance) introduced a regression for i.MX28. The

RE: [PATCH 1/1 net-next] af_unix: remove NULL assignment on static

2014-10-08 Thread David Laight
From: Hannes Frederic Sowa I think David's concern was whether if 0 == false in all situations. It is pretty clear that static memory is initialized to 0. I'm not 100% sure about that. static pointers may be required to be initialised to NULL. If NULL isn't the 'all 0 bit pattern' then the

Re: [PATCH 2/4] Input: pmic8xxx-keypad - use regmap_field for register access

2014-10-08 Thread Ivan T. Ivanov
On Tue, 2014-10-07 at 10:26 -0700, Dmitry Torokhov wrote: Hi Ivan, On Tue, Oct 07, 2014 at 12:50:46PM +0300, Ivan T. Ivanov wrote: @@ -527,10 +538,55 @@ static int pmic8xxx_kp_probe(struct platform_device *pdev) + + kp-row_hold = devm_regmap_field_alloc(kp-dev, kp-regmap, +

Re: [PATCH v13 00/12] Support for creating generic PCI host bridges from DT

2014-10-08 Thread Liviu Dudau
On Wed, Oct 08, 2014 at 08:44:28AM +0100, Robert Richter wrote: Liviu, Bjorn, On 30.09.14 17:54:31, Liviu Dudau wrote: On Tue, Sep 30, 2014 at 05:18:05PM +0100, Bjorn Helgaas wrote: OK, I rebuilt pci/host-generic from scratch. It consists of your v13 patches + Arnd's build fix for

Re: [PATCH] net: fec: fix regression on i.MX28 introduced by rx_copybreak support

2014-10-08 Thread Russell King - ARM Linux
On Wed, Oct 08, 2014 at 08:54:58AM +, David Laight wrote: Hmmm... in that case you may not want the compiler to convert the bit value to a 'bool' at all. Passing 'id_entry-driver_data' through (that doesn't look like a field name for 'quirk flags) would generate better code. Even

[PATCH RFC] setns: return 0 directly if try to reassociate with current namespace

2014-10-08 Thread Chen Hanxiao
We could use setns to join the current ns, which did a lot of unnecessary work. This patch will check this senario and return 0 directly. Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com --- kernel/nsproxy.c | 28 1 file changed, 28 insertions(+) diff --git

Re: [PATCH v2 2/2] dt: bindings: tps65217: add compatible property for subnodes

2014-10-08 Thread Johannes Pointner
2014-10-06 23:22 GMT+02:00 Lee Jones lee.jo...@linaro.org: On Thu, 25 Sep 2014, Johannes Pointner wrote: Add documentation for compatible property of subnodes. Signed-off-by: Johannes Pointner johannes.point...@br-automation.com --- Documentation/devicetree/bindings/regulator/tps65217.txt

Re: [PATCH 2/2] PMIC / opregion: support PMIC customized operation region for CrystalCove

2014-10-08 Thread Linus Walleij
On Wed, Oct 8, 2014 at 10:05 AM, Lee Jones lee.jo...@linaro.org wrote: With the influx of new same-chip devices, I think the MFD subsystem is fast becoming overloaded. I think all of the PMIC handling should in fact either live in Regulators or have its own subsystem. You have a valid point,

Re: [PATCH v4 0/4] Correct vendor-prefix and document device isl29028

2014-10-08 Thread Dan Carpenter
These probably should have been sent to devicet...@vger.kernel.org. Use the maintainer.pl script. regards, dan carpenter -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH] arm: armv7: perf: fix armv7 ref-cycles error

2014-10-08 Thread Will Deacon
On Wed, Oct 08, 2014 at 04:06:12AM +0100, zhangzhiqiang wrote: hi all, ref-cycles event is specially to Intel core, but can still used in arm architecture with the wrong return value with 3.10 stable. for instance: perf stat -e ref-cycles sleep

[tip:x86/urgent] x86: Reject x32 executables if x32 ABI not supported

2014-10-08 Thread tip-bot for Ben Hutchings
Commit-ID: 0e6d3112a4e95d55cf6dca88f298d5f4b8f29bd1 Gitweb: http://git.kernel.org/tip/0e6d3112a4e95d55cf6dca88f298d5f4b8f29bd1 Author: Ben Hutchings b...@decadent.org.uk AuthorDate: Sun, 7 Sep 2014 21:05:05 +0100 Committer: Thomas Gleixner t...@linutronix.de CommitDate: Wed, 8 Oct 2014

[tip:x86/urgent] x86: Fix section conflict for numachip

2014-10-08 Thread tip-bot for Andi Kleen
Commit-ID: 2dee5c43da3a981489a4f18972827139afcbee82 Gitweb: http://git.kernel.org/tip/2dee5c43da3a981489a4f18972827139afcbee82 Author: Andi Kleen a...@firstfloor.org AuthorDate: Wed, 24 Sep 2014 06:32:19 +0200 Committer: Thomas Gleixner t...@linutronix.de CommitDate: Wed, 8 Oct 2014

ftrace: trace buffer size configuration

2014-10-08 Thread sabra gargouri
Hi, I'am using ftrace to trace my system for a few minutes. For that I configured the trace buffer via buffer_size_kb file to 10 kb so 20 for 2 CPUs. After tracing my system the trace size is 500MB. Why the allocated size for the trace buffer (200 MB) is not the same of the trace file

Re: [PATCH v6 1/4] mfd: add support for Diolan DLN-2 devices

2014-10-08 Thread Johan Hovold
On Thu, Sep 25, 2014 at 07:07:31PM +0300, Octavian Purdila wrote: +static void dln2_rx_transfer(struct dln2_dev *dln2, struct urb *urb, + u16 handle, u16 rx_slot) +{ + struct dln2_mod_rx_slots *rxs = dln2-mod_rx_slots[handle]; + struct dln2_rx_context *rxc;

[PATCH v4 00/29] nios2 Linux kernel port

2014-10-08 Thread Ley Foon Tan
This is the 4th version of patchset adds the Linux kernel port for Nios II processor from Altera. This version mainly update signaling patch. Not a lot has changed since v3, only patch #8, #15 and #26 have changes compare to v3. Added Acked from Arnd to patch #1 and #15. Thanks to all who

Re: [PATCH v10 1/3] drm: rockchip: Add basic drm driver

2014-10-08 Thread Mark yao
On 2014年10月08日 12:23, Mark Yao wrote: From: Mark yao mark@rock-chips.com This patch adds the basic structure of a DRM Driver for Rockchip Socs. Signed-off-by: Mark Yao mark@rock-chips.com Signed-off-by: Daniel Kurtz djku...@chromium.org Acked-by: Daniel Vetter dan...@ffwll.ch

[PATCH v4 02/29] nios2: Assembly macros and definitions

2014-10-08 Thread Ley Foon Tan
This patch add assembly macros and definitions used in the .S files across arch/nios2/ and together with asm-offsets.c. Signed-off-by: Ley Foon Tan lf...@altera.com --- arch/nios2/include/asm/asm-macros.h | 309 ++ arch/nios2/include/asm/asm-offsets.h | 20 +++

[PATCH v4 08/29] nios2: MMU Fault handling

2014-10-08 Thread Ley Foon Tan
This patch adds support for the handling of the MMU faults (exception entry code introduced by a previous patch, kernel/entry.S). Signed-off-by: Ley Foon Tan lf...@altera.com --- arch/nios2/mm/extable.c | 25 + arch/nios2/mm/fault.c | 251 +++

[PATCH v4 09/29] nios2: Page table management

2014-10-08 Thread Ley Foon Tan
This patch adds support for page table management. Signed-off-by: Ley Foon Tan lf...@altera.com --- arch/nios2/include/asm/pgalloc.h | 86 + arch/nios2/include/asm/pgtable-bits.h | 35 arch/nios2/include/asm/pgtable.h | 305 +

[PATCH v4 10/29] nios2: Process management

2014-10-08 Thread Ley Foon Tan
This patch adds support for thread creation and context switching. Signed-off-by: Ley Foon Tan lf...@altera.com --- arch/nios2/include/asm/mmu_context.h | 66 + arch/nios2/include/asm/processor.h | 103 ++ arch/nios2/include/asm/switch_to.h | 31

[PATCH v4 15/29] Add ELF machine define for Nios2

2014-10-08 Thread Ley Foon Tan
Signed-off-by: Ley Foon Tan lf...@altera.com Acked-by: Arnd Bergmann a...@arndb.de --- include/uapi/linux/elf-em.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/uapi/linux/elf-em.h b/include/uapi/linux/elf-em.h index 01529bd..7f06c0d 100644 ---

[PATCH v4 13/29] nios2: Interrupt handling

2014-10-08 Thread Ley Foon Tan
This patch adds the support for IRQ handling. Signed-off-by: Ley Foon Tan lf...@altera.com --- arch/nios2/include/asm/irq.h | 28 +++ arch/nios2/include/asm/irqflags.h | 69 +++ arch/nios2/kernel/irq.c | 93

[PATCH v4 19/29] nios2: Library functions

2014-10-08 Thread Ley Foon Tan
Add optimised library functions for nios2. Signed-off-by: Ley Foon Tan lf...@altera.com --- arch/nios2/include/asm/checksum.h | 78 +++ arch/nios2/include/asm/string.h | 24 + arch/nios2/lib/memcpy.c | 199 +

[PATCH v4 17/29] nios2: System calls handling

2014-10-08 Thread Ley Foon Tan
This patch adds support for system calls from userspaces. It uses the asm-generic/unistd.h definitions with architecture spcific syscall. The sys_call_table is just an array defined in a C file and it contains pointers to the syscall functions. Signed-off-by: Ley Foon Tan lf...@altera.com ---

[PATCH v4 18/29] nios2: Signal handling support

2014-10-08 Thread Ley Foon Tan
This patch adds support for signal handling. Signed-off-by: Ley Foon Tan lf...@altera.com --- arch/nios2/include/asm/signal.h | 22 ++ arch/nios2/include/asm/ucontext.h| 32 +++ arch/nios2/include/uapi/asm/sigcontext.h | 28 +++ arch/nios2/include/uapi/asm/signal.h |

[PATCH v4 25/29] nios2: Module support

2014-10-08 Thread Ley Foon Tan
This patch adds support for loadable modules. Signed-off-by: Ley Foon Tan lf...@altera.com --- arch/nios2/kernel/module.c | 137 1 files changed, 137 insertions(+), 0 deletions(-) create mode 100644 arch/nios2/kernel/module.c diff --git

Re: [PATCH v6 1/4] mfd: add support for Diolan DLN-2 devices

2014-10-08 Thread Johan Hovold
On Tue, Oct 07, 2014 at 09:01:27PM +0300, Octavian Purdila wrote: On Tue, Oct 7, 2014 at 8:10 PM, Johan Hovold jo...@kernel.org wrote: On Mon, Oct 06, 2014 at 03:17:22PM +0300, Octavian Purdila wrote: On Fri, Oct 3, 2014 at 8:12 PM, Johan Hovold jo...@kernel.org wrote: On Thu, Sep 25,

[PATCH v4 21/29] nios2: Time keeping

2014-10-08 Thread Ley Foon Tan
Add time keeping code for nios2. Signed-off-by: Ley Foon Tan lf...@altera.com --- arch/nios2/include/asm/delay.h | 21 +++ arch/nios2/include/asm/timex.h | 26 arch/nios2/kernel/time.c | 318 arch/nios2/lib/delay.c | 52 +++

[PATCH v4 23/29] nios2: Miscellaneous header files

2014-10-08 Thread Ley Foon Tan
This patch introduces a few nios2-specific header files. Signed-off-by: Ley Foon Tan lf...@altera.com --- arch/nios2/include/asm/cmpxchg.h| 61 +++ arch/nios2/include/asm/linkage.h| 25 + arch/nios2/include/asm/mutex.h |1 +

[PATCH v4 28/29] Documentation: Add documentation for Nios2 architecture

2014-10-08 Thread Ley Foon Tan
Signed-off-by: Ley Foon Tan lf...@altera.com --- Documentation/nios2/README | 23 +++ 1 files changed, 23 insertions(+), 0 deletions(-) create mode 100644 Documentation/nios2/README diff --git a/Documentation/nios2/README b/Documentation/nios2/README new file mode 100644

[PATCH v4 29/29] nios2: Build infrastructure

2014-10-08 Thread Ley Foon Tan
This patch adds Makefile and Kconfig files required for building a nios2 kernel. Signed-off-by: Ley Foon Tan lf...@altera.com --- arch/nios2/Kconfig | 201 ++ arch/nios2/Kconfig.debug | 17 +++ arch/nios2/Makefile

[PATCH 1/4] ARM: STi: DT: STiH407: Add Device Tree node for LPC Watchdog

2014-10-08 Thread Lee Jones
Signed-off-by: David Paris david.pa...@st.com Signed-off-by: Lee Jones lee.jo...@linaro.org --- arch/arm/boot/dts/stih407.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/stih407.dtsi b/arch/arm/boot/dts/stih407.dtsi index f539627a..303df6c 100644 ---

[PATCH 4/4] watchdog: st_wdt: Add new driver for ST's LPC Watchdog

2014-10-08 Thread Lee Jones
Signed-off-by: David Paris david.pa...@st.com Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/watchdog/Kconfig | 16 +++ drivers/watchdog/Makefile | 1 + drivers/watchdog/st_wdt.c | 317 ++ 3 files changed, 334 insertions(+) create mode

[PATCH v4 26/29] nios2: ptrace support

2014-10-08 Thread Ley Foon Tan
Add ptrace support for nios2. Signed-off-by: Ley Foon Tan lf...@altera.com --- arch/nios2/include/asm/ptrace.h | 33 +++ arch/nios2/include/uapi/asm/ptrace.h | 120 arch/nios2/kernel/ptrace.c | 166 ++ 3 files

[PATCH 3/4] watchdog: st_wdt: Provide binding documentation for ST's LPC Watchdog driver

2014-10-08 Thread Lee Jones
Cc: devicet...@vger.kernel.org Signed-off-by: David Paris david.pa...@st.com Signed-off-by: Lee Jones lee.jo...@linaro.org --- .../devicetree/bindings/watchdog/st-lpc-wdt.txt| 30 ++ 1 file changed, 30 insertions(+) create mode 100644

[PATCH 2/4] ARM: multi_v7_defconfig: Enable support for ST's LPC Watchdog

2014-10-08 Thread Lee Jones
Signed-off-by: Lee Jones lee.jo...@linaro.org --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 5fb95fb..034aeab 100644 --- a/arch/arm/configs/multi_v7_defconfig +++

[PATCH v4 27/29] MAINTAINERS: Add nios2 maintainer

2014-10-08 Thread Ley Foon Tan
Signed-off-by: Ley Foon Tan lf...@altera.com --- MAINTAINERS |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index a12edf2..580499e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6421,6 +6421,13 @@ S: Maintained F:

Re: [PATCH 1/1 net-next] af_unix: remove NULL assignment on static

2014-10-08 Thread Hannes Frederic Sowa
On Mi, 2014-10-08 at 09:10 +, David Laight wrote: From: Hannes Frederic Sowa I think David's concern was whether if 0 == false in all situations. It is pretty clear that static memory is initialized to 0. I'm not 100% sure about that. static pointers may be required to be initialised

[PATCH v4 24/29] nios2: Nios2 registers

2014-10-08 Thread Ley Foon Tan
This file contains constants for the instruction macros, cpu registers, fields and bits. Signed-off-by: Ley Foon Tan lf...@altera.com --- arch/nios2/include/asm/registers.h | 71 1 files changed, 71 insertions(+), 0 deletions(-) create mode 100644

[PATCH v3 0/4] watchdog: Introduce new driver to support ST's Watchdog

2014-10-08 Thread Lee Jones
Hi Wim, Basic driver to support ST's LPC Watchdog device. Kind regards, Lee v2 = v3: - Don't stop Watchdog during .remove() - Remove superflous {EN,DIS}ABLE defines - Add missing clk_disable_unprepare() v1 = v2: - Fixed reset enable masks - Fixed DT documentation Lee Jones (4): ARM:

[PATCH v4 22/29] nios2: Cpuinfo handling

2014-10-08 Thread Ley Foon Tan
Signed-off-by: Ley Foon Tan lf...@altera.com --- arch/nios2/include/asm/cpuinfo.h | 57 +++ arch/nios2/kernel/cpuinfo.c | 201 ++ 2 files changed, 258 insertions(+), 0 deletions(-) create mode 100644 arch/nios2/include/asm/cpuinfo.h create

[PATCH v4 20/29] nios2: Device tree support

2014-10-08 Thread Ley Foon Tan
Add device tree support to arch/nios2. Signed-off-by: Ley Foon Tan lf...@altera.com --- Documentation/devicetree/bindings/nios2/nios2.txt | 62 Documentation/devicetree/bindings/nios2/timer.txt | 19 +++ arch/nios2/boot/dts/3c120_devboard.dts| 164 +

[PATCH v4 16/29] nios2: ELF definitions

2014-10-08 Thread Ley Foon Tan
This patch adds definitions for the ELF format Signed-off-by: Ley Foon Tan lf...@altera.com --- arch/nios2/include/asm/elf.h | 101 + arch/nios2/include/uapi/asm/elf.h | 67 2 files changed, 168 insertions(+), 0 deletions(-)

[PATCH v4 14/29] nios2: DMA mapping API

2014-10-08 Thread Ley Foon Tan
This patch adds support for the DMA mapping API. Signed-off-by: Ley Foon Tan lf...@altera.com --- arch/nios2/include/asm/dma-mapping.h | 130 arch/nios2/mm/dma-mapping.c | 185 ++ 2 files changed, 315 insertions(+), 0

Re: [PATCH] cpusets: Make cpus_allowed and mems_allowed masks hotplug invariant

2014-10-08 Thread Preeti U Murthy
Hi Peter, On 10/08/2014 01:37 PM, Peter Zijlstra wrote: On Wed, Oct 08, 2014 at 12:37:40PM +0530, Preeti U Murthy wrote: There are two masks associated with cpusets. The cpus/mems_allowed and effective_cpus/mems. On the legacy hierarchy both these masks are consistent with each other. This is

[PATCH v4 11/29] nios2: Cache handling

2014-10-08 Thread Ley Foon Tan
This patch adds functionality required for cache maintenance. Signed-off-by: Ley Foon Tan lf...@altera.com --- arch/nios2/include/asm/cache.h | 36 + arch/nios2/include/asm/cacheflush.h | 52 +++ arch/nios2/mm/cacheflush.c | 270 +++ 3

[PATCH v4 12/29] nios2: TLB handling

2014-10-08 Thread Ley Foon Tan
This patch adds the TLB maintenance functions. Signed-off-by: Ley Foon Tan lf...@altera.com --- arch/nios2/include/asm/tlb.h | 34 + arch/nios2/include/asm/tlbflush.h | 46 ++ arch/nios2/mm/tlb.c | 274 + 3 files changed, 354

[PATCH v4 06/29] nios2: Memory management

2014-10-08 Thread Ley Foon Tan
This patch contains the initialisation of the memory blocks, MMU attributes and the memory map. Signed-off-by: Ley Foon Tan lf...@altera.com --- arch/nios2/include/asm/mmu.h | 16 +++ arch/nios2/include/asm/page.h| 111 ++ arch/nios2/include/asm/uaccess.h | 231

[PATCH v4 07/29] nios2: I/O Mapping

2014-10-08 Thread Ley Foon Tan
This patch adds several definitions for I/O accessors and ioremap(). Signed-off-by: Ley Foon Tan lf...@altera.com --- arch/nios2/include/asm/io.h | 84 +++ arch/nios2/lib/io.c | 138 arch/nios2/mm/ioremap.c | 186

[PATCH v4 03/29] nios2: Kernel booting and initialization

2014-10-08 Thread Ley Foon Tan
This patch adds the kernel booting and the initial setup code. Signed-off-by: Ley Foon Tan lf...@altera.com --- arch/nios2/include/asm/entry.h | 120 ++ arch/nios2/include/asm/setup.h | 38 +++ arch/nios2/kernel/head.S | 175

[PATCH v4 05/29] nios2: Traps exception handling

2014-10-08 Thread Ley Foon Tan
This patch contains traps exception handling. Signed-off-by: Ley Foon Tan lf...@altera.com --- arch/nios2/include/asm/traps.h | 19 ++ arch/nios2/kernel/insnemu.S| 592 arch/nios2/kernel/traps.c | 185 + 3 files changed, 796

[PATCH v4 01/29] asm-generic: add generic futex for !CONFIG_SMP

2014-10-08 Thread Ley Foon Tan
Follow m68k futex implementation for !CONFIG_SMP. Signed-off-by: Ley Foon Tan lf...@altera.com Acked-by: Arnd Bergmann a...@arndb.de --- include/asm-generic/futex.h | 82 +++ 1 files changed, 82 insertions(+), 0 deletions(-) diff --git

[PATCH v4 04/29] nios2: Exception handling

2014-10-08 Thread Ley Foon Tan
This patch contains the exception entry code (kernel/entry.S) and misaligned exception. Signed-off-by: Ley Foon Tan lf...@altera.com --- arch/nios2/kernel/entry.S | 559 arch/nios2/kernel/misaligned.c | 255 ++ 2 files changed, 814

Re: [PATCH 2/4] Input: pmic8xxx-keypad - use regmap_field for register access

2014-10-08 Thread Ivan T. Ivanov
On Wed, 2014-10-08 at 12:13 +0300, Ivan T. Ivanov wrote: On Tue, 2014-10-07 at 10:26 -0700, Dmitry Torokhov wrote: Hi Ivan, On Tue, Oct 07, 2014 at 12:50:46PM +0300, Ivan T. Ivanov wrote: @@ -527,10 +538,55 @@ static int pmic8xxx_kp_probe(struct platform_device *pdev) +

Re: [PATCH 1/1 net-next] af_unix: remove NULL assignment on static

2014-10-08 Thread Michal Kubecek
On Wed, Oct 08, 2014 at 09:10:23AM +, David Laight wrote: From: Hannes Frederic Sowa I think David's concern was whether if 0 == false in all situations. It is pretty clear that static memory is initialized to 0. I'm not 100% sure about that. static pointers may be required to be

Re: [PATCH 0/2] Qualcomm PM8941 power key driver

2014-10-08 Thread Ivan T. Ivanov
On Tue, 2014-10-07 at 11:46 -0700, Bjorn Andersson wrote: On Tue 07 Oct 02:01 PDT 2014, Ivan T. Ivanov wrote: Hi Bjorn, On Mon, 2014-10-06 at 18:11 -0700, Bjorn Andersson wrote: These patches add dt bindings and a device driver for the power key block in the Qualcomm PM8941

Re: [PATCH 2/6] Documentation: mailbox: Add APM X-Gene SLIMpro mailbox dts documentation

2014-10-08 Thread Mark Rutland
On Wed, Oct 08, 2014 at 01:06:45AM +0100, Feng Kan wrote: This adds the APM X-Gene SLIMpro mailbox device tree node documentation. Signed-off-by: Feng Kan f...@apm.com --- .../bindings/mailbox/xgene-slimpro-mailbox.txt | 41 ++ 1 file changed, 41 insertions(+)

Re: [PATCH 09/11] perf/x86/intel: Implement LRU monitoring ID allocation for CQM

2014-10-08 Thread Peter Zijlstra
On Wed, Sep 24, 2014 at 03:04:13PM +0100, Matt Fleming wrote: From: Matt Fleming matt.flem...@intel.com It's possible to run into issues with re-using unused monitoring IDs because there may be stale cachelines associated with that ID from a previous allocation. This can cause the LLC

[PATCH 1/4] GFS2: fix bad inode i_goal values during block allocation

2014-10-08 Thread Steven Whitehouse
From: Abhi Das a...@redhat.com This patch checks if i_goal is either zero or if doesn't exist within any rgrp (i.e gfs2_blk2rgrpd() returns NULL). If so, it assigns the ip-i_no_addr block as the i_goal. There are two scenarios where a bad i_goal can result in a -EBADSLT error. 1. Attempting to

GFS2: Pre-pull patch posting (merge window)

2014-10-08 Thread Steven Whitehouse
Hi, Not a huge amount this time... just four patches. This time we have a couple of bug fixes, one relating to bad i_goal values which are now ignored (i_goal is basically a hint so it is safe to so this) and another relating to the saving of the dirent location during rename. There is one

[PATCH 3/4] GFS2: Use gfs2_rbm_incr in rgblk_free

2014-10-08 Thread Steven Whitehouse
From: Bob Peterson rpete...@redhat.com This patch speeds up GFS2 unlink operations by using function gfs2_rbm_incr rather than continuously calculating the rbm. Signed-off-by: Bob Peterson rpete...@redhat.com Signed-off-by: Steven Whitehouse swhit...@redhat.com diff --git a/fs/gfs2/rgrp.c

[PATCH 2/4] GFS2: Make rename not save dirent location

2014-10-08 Thread Steven Whitehouse
From: Bob Peterson rpete...@redhat.com This patch fixes a regression in the patch GFS2: Remember directory insert point, commit 2b47dad866d04f14c328f888ba5406057b8c7d33. The problem had to do with the rename function: The function found space for the new dirent, and remembered that location. But

[PATCH 4/4] GFS2: use _RET_IP_ instead of (unsigned long)__builtin_return_address(0)

2014-10-08 Thread Steven Whitehouse
From: Fabian Frederick f...@skynet.be use macro definition Signed-off-by: Fabian Frederick f...@skynet.be Signed-off-by: Steven Whitehouse swhit...@redhat.com diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c index 7f513b1..8f0c19d 100644 --- a/fs/gfs2/glock.c +++ b/fs/gfs2/glock.c @@ -811,7

[PATCHv4] procfs: show hierarchy of pid namespace

2014-10-08 Thread Chen Hanxiao
This patch will show the hierarchy of pid namespace by /proc/pidns_hierarchy like: [root@localhost ~]#cat /proc/pidns_hierarchy /proc/18060/ns/pid /proc/18102/ns/pid /proc/1534/ns/pid /proc/18060/ns/pid /proc/18102/ns/pid /proc/1600/ns/pid /proc/1550/ns/pid It shows the pid hierarchy below:

Re: [PATCH 10/11] perf/x86/intel: Support task events with Intel CQM

2014-10-08 Thread Peter Zijlstra
On Wed, Sep 24, 2014 at 03:04:14PM +0100, Matt Fleming wrote: Other perf backends stash the target task in event-hw.*target so we need to do something similar. The task is used to determine whether events should share a cache group and an RMID. Yeah, we should maybe clean that up and provide a

[PATCH] fs: configfs: add allow_drop() to configfs_item_operations

2014-10-08 Thread Andrzej Pietrasiewicz
Sometimes it might be desirable to prohibit removing a symbolic link in configfs. One example is USB gadget: when a gadget is already bound, if USB function symlink (used to associate USB functions with USB configurations) is removed, the gadget must be thrown away, too. A better solution would be

RE: [PATCH] usb: gadget: f_fs: add zombie mode

2014-10-08 Thread Krzysztof Opasiak
Hi, -Original Message- From: Mike Nazarewicz [mailto:m...@google.com] On Behalf Of Michal Nazarewicz Sent: Tuesday, October 07, 2014 10:08 PM To: Alan Stern; Felipe Balbi Cc: Krzysztof Opasiak; 'Robert Baldyga'; gre...@linuxfoundation.org; linux-...@vger.kernel.org; linux-

Re: i915.ko WC writes are slow after ea8596bb2d8d379

2014-10-08 Thread Chuck Ebbert
On Wed, 8 Oct 2014 10:03:36 +0100 Chris Wilson ch...@chris-wilson.co.uk wrote: I ran into a problem on a Sandybridge i5-2500s whilst measuring the performance of GTT write-combining access. I found subsequent runs were about 10-40x slower than the first. For example, igt/gem_gtt_speed:

Re: [PATCH 5/6] Documentation: i2c: Add APM X-Gene platform SLIMpro I2C driver documentation

2014-10-08 Thread Mark Rutland
On Wed, Oct 08, 2014 at 01:06:48AM +0100, Feng Kan wrote: Add APM X-Gene platform SLIMpro I2C driver documentation. Signed-off-by: Feng Kan f...@apm.com Signed-off-by: Hieu Le h...@apm.com --- .../devicetree/bindings/i2c/i2c-xgene-slimpro.txt| 20 1 file

[PATCH v7]pwm: add BCM2835 PWM driver

2014-10-08 Thread Bart Tanghe
Add pwm driver for Broadcom BCM2835 processor (Raspberry Pi) Signed-off-by: Bart Tanghe bart.tan...@thomasmore.be --- Changed in v7: - clean up the shameful clk_enable error handling introduced in v6 - clean up the code nits diff --git a/Documentation/devicetree/bindings/pwm/pwm-bcm2835.txt

Re: [PATCH] cpusets: Make cpus_allowed and mems_allowed masks hotplug invariant

2014-10-08 Thread Peter Zijlstra
On Wed, Oct 08, 2014 at 03:07:51PM +0530, Preeti U Murthy wrote: I still completely hate all that.. It basically makes cpusets useless, they no longer guarantee anything, it makes then an optional placement hint instead. Why do you say they don't guarantee anything? We ensure that we

Re: [PATCH] Input: adp5588-keys: cancel workqueue in failure path

2014-10-08 Thread Pramod Gurav
Hi Dmitry, On Tue, Oct 7, 2014 at 10:08 PM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: On Tue, Oct 07, 2014 at 01:00:49PM +0530, Pramod Gurav wrote: This change introduces a label to call cancel_delayed_work_sync in failure path. Cc: Michael Hennerich michael.henner...@analog.com Cc:

[PATCH v14] NVMe: Convert to blk-mq

2014-10-08 Thread Matias Bjørling
This converts the NVMe driver to a blk-mq request-based driver. The NVMe driver is currently bio-based and implements queue logic within itself. By using blk-mq, a lot of these responsibilities can be moved and simplified. The patch is divided into the following blocks: * Per-command data and

[PATCH v14] Convert NVMe driver to blk-mq

2014-10-08 Thread Matias Bjørling
Hi Matthew, Here is an updated patch rebased on top of your master from yesterday. Please consider it for 3.18. The patch is rebased on top of Jens' for-next, together with your master tree patches. A branch with the patch on top can be found here:

Re: [RFC 2/4] PCI: generic: Add support for ARM64 and MSI(x)

2014-10-08 Thread Lorenzo Pieralisi
On Tue, Oct 07, 2014 at 10:39:47PM +0100, Arnd Bergmann wrote: On Tuesday 07 October 2014 15:47:50 Lorenzo Pieralisi wrote: On Tue, Oct 07, 2014 at 02:52:27PM +0100, Arnd Bergmann wrote: On Tuesday 07 October 2014 13:06:59 Lorenzo Pieralisi wrote: On Wed, Oct 01, 2014 at 10:38:45AM

[PATCH v11 0/3] Add drm driver for Rockchip Socs

2014-10-08 Thread Mark Yao
This a series of patches is a DRM Driver for Rockchip Socs, add support for vop devices. Future patches will add additional encoders/connectors, such as eDP, HDMI. The basic crtc for rockchip is a VOP - Video Output Processor. the vop devices found on Rockchip rk3288 Soc, rk3288 soc have two

Re: [PATCH v2 0/5] pinctrl: samsung: Data structure clean-up

2014-10-08 Thread Linus Walleij
On Thu, Oct 2, 2014 at 8:52 PM, Tomasz Figa tomasz.f...@gmail.com wrote: This series intends to clean up data structures used by pinctrl-samsung driver. More specifically, it separates initial compile time constants from data used at runtime, allowing unused variant data to be dropped and

[PATCH v11 1/3] drm: rockchip: Add basic drm driver

2014-10-08 Thread Mark Yao
From: Mark yao mark@rock-chips.com This patch adds the basic structure of a DRM Driver for Rockchip Socs. Signed-off-by: Mark Yao mark@rock-chips.com Signed-off-by: Daniel Kurtz djku...@chromium.org Acked-by: Daniel Vetter dan...@ffwll.ch Reviewed-by: Rob Clark robdcl...@gmail.com ---

[PATCH v11 2/3] dt-bindings: video: Add for rockchip display subsytem

2014-10-08 Thread Mark Yao
From: Mark yao mark@rock-chips.com This add a display subsystem comprise the all display interface nodes. Signed-off-by: Mark Yao mark@rock-chips.com --- Changes in v2: - add DRM master device node to list all display nodes that comprise the graphics subsystem. Changes in v3: None

[PATCH v11 3/3] dt-bindings: video: Add documentation for rockchip vop

2014-10-08 Thread Mark Yao
From: Mark yao mark@rock-chips.com This adds binding documentation for Rockchip SoC VOP driver. Signed-off-by: Mark Yao mark@rock-chips.com --- Changes in v2: - rename lcdc to vop - add vop reset - add iommu node - add port for display-subsystem Changes in v3: None Changes in v4: None

Re: [PATCH] Input: adp5588-keys: cancel workqueue in failure path

2014-10-08 Thread Pramod Gurav
On Wed, Oct 8, 2014 at 3:48 PM, Pramod Gurav pramod.gurav@gmail.com wrote: Hi Dmitry, On Tue, Oct 7, 2014 at 10:08 PM, Dmitry Torokhov .. Thanks. I saw the change in your tree. Shouldn't cancel_delayed_work_sync(kpad-work) be called under label err_free_mem so that it will executed in

Re: [PATCH v4 13/16] cxl: Driver code for powernv PCIe based cards for userspace access

2014-10-08 Thread Ian Munsie
Excerpts from Michael Neuling's message of 2014-10-08 19:55:02 +1100: +static ssize_t afu_read(struct file *file, char __user *buf, size_t count, +loff_t *off) ... +for (;;) { +prepare_to_wait(ctx-wq, wait, TASK_INTERRUPTIBLE); +if (ctx_event_pending(ctx)) +

Re: [PATCH 04/11] perf: Make perf_cgroup_from_task() global

2014-10-08 Thread Matt Fleming
On Tue, 07 Oct, at 08:51:57PM, Peter Zijlstra wrote: On Wed, Sep 24, 2014 at 03:04:08PM +0100, Matt Fleming wrote: From: Matt Fleming matt.flem...@intel.com Move perf_cgroup_from_task() from kernel/events to include/ along with the necessary struct definitions, so that it can be used by

Re: [PATCH resend] MIPS: Allow FPU emulator to use non-stack area.

2014-10-08 Thread Paul Burton
On Tue, Oct 07, 2014 at 04:59:03PM -0700, David Daney wrote: On 10/07/2014 04:20 PM, Ralf Baechle wrote: On Mon, Oct 06, 2014 at 02:18:19PM -0700, David Daney wrote: As an alternative, if the space of possible instruction with a delay slot is sufficiently small, all such instructions could

Re: [PATCH 06/11] perf: Move cgroup init before PMU -event_init()

2014-10-08 Thread Matt Fleming
On Tue, 07 Oct, at 09:34:24PM, Peter Zijlstra wrote: On Wed, Sep 24, 2014 at 03:04:10PM +0100, Matt Fleming wrote: +++ b/kernel/events/core.c @@ -6859,7 +6859,7 @@ perf_event_alloc(struct perf_event_attr *attr, int cpu, struct perf_event *group_leader, struct

[tip:x86/asm] x86: Unwind-annotate thunk_32.S

2014-10-08 Thread tip-bot for Jan Beulich
Commit-ID: f74954f01ec9bb2004bcc24f247d1f26f1063ad2 Gitweb: http://git.kernel.org/tip/f74954f01ec9bb2004bcc24f247d1f26f1063ad2 Author: Jan Beulich jbeul...@suse.com AuthorDate: Wed, 24 Sep 2014 08:41:30 +0100 Committer: Thomas Gleixner t...@linutronix.de CommitDate: Wed, 8 Oct 2014

Re: [PATCHv4] procfs: show hierarchy of pid namespace

2014-10-08 Thread Richard Weinberger
Am 08.10.2014 11:56, schrieb Chen Hanxiao: This patch will show the hierarchy of pid namespace by /proc/pidns_hierarchy like: [root@localhost ~]#cat /proc/pidns_hierarchy /proc/18060/ns/pid /proc/18102/ns/pid /proc/1534/ns/pid /proc/18060/ns/pid /proc/18102/ns/pid /proc/1600/ns/pid

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