Re: [PATCH] mmc: tmio: Fix hang during suspend

2014-08-18 Thread Geert Uytterhoeven
Hi Ian, On Fri, Aug 15, 2014 at 2:49 PM, Ian Molton wrote: > On Thu, 14 Aug 2014 17:23:53 +0200 > Geert Uytterhoeven wrote: > >> On R-Car Gen 2, the SDHI registers cannot be accessed while the SDHI >> module clock is disabled. Doing so will cause a lock-up. >> >> When suspending, enable the

Re: [RFC PATCH 1/9] ACPI: Add support for device specific properties

2014-08-18 Thread Darren Hart
On 8/18/14, 3:27, "Mika Westerberg" wrote: >On Mon, Aug 18, 2014 at 04:13:29PM +0800, Hanjun Guo wrote: Hi Hanjun, Thanks for reviewing! >> >> > +/* ACPI _DSD device properties UUID: >>daffd814-6eba-4d8c-8a91-bc9bbf4aa301 */ >> > +static const u8 prp_uuid[16] = { >> >> s/prp_uuid/dsd_uuid ?

Re: [PATCHv9 3/3] arm: dts: Add Altera SDRAM controller bindings

2014-08-18 Thread Rob Herring
On 07/30/2014 01:22 PM, ttha...@opensource.altera.com wrote: > From: Thor Thayer > > Add the Altera SDRAM controller bindings and device tree changes to the > Altera SoC project. > > Signed-off-by: Thor Thayer > --- > v2: Changes to SoC SDRAM EDAC code. > > v3: Implement code suggestions for

Re: [RFC PATCH 4/9] of: Add property_ops callback for devices with of_node

2014-08-18 Thread Rob Herring
On 08/17/2014 01:04 AM, Mika Westerberg wrote: > From: Aaron Lu > > With the unified device properties interface in place, add device tree > support. > By adding the dev_prop_ops for of_node devices, drivers can access properties > from ACPI or Device Tree in a generic way. > > Signed-off-by:

[PATCH] qib_keys: Replace rcu_assign_pointer() with RCU_INIT_POINTER()

2014-08-18 Thread Andreea-Cristina Bernat
The uses of "rcu_assign_pointer()" are NULLing out the pointers. According to RCU_INIT_POINTER()'s block comment: "1. This use of RCU_INIT_POINTER() is NULLing out the pointer" it is better to use it instead of rcu_assign_pointer() because it has a smaller overhead. The following Coccinelle

Re: [PATCH 2/6] irqchip: Supply new driver for STi based devices

2014-08-18 Thread Jason Cooper
On Tue, Jul 29, 2014 at 03:05:40PM +0100, Lee Jones wrote: > This driver is used to enable System Configuration Register controlled > External, CTI (Core Sight), PMU (Performance Management), and PL310 L2 > Cache IRQs prior to use. > > Signed-off-by: Lee Jones > --- > drivers/irqchip/Kconfig |

Re: sparc64 WARNING: at mm/mmap.c:2757 exit_mmap+0x13c/0x160()

2014-08-18 Thread Meelis Roos
> U1, U2, U5, U10, E220R, E420R later or some other day, whenever I get > to them physically. Ultra 5 is bad news with 3.17-rc1: it almost boots up, then aftyer strarting postfix and ntpd, gets RED state exception and contiunes looping with it (before it gor RED state only after prom reboot).

Re: [PATCH 3/4 V3] irqchip: gic: Add supports for ARM GICv2m MSI(-X)

2014-08-18 Thread Rob Herring
On 07/09/2014 06:05 PM, suravee.suthikulpa...@amd.com wrote: > From: Suravee Suthikulpanit > > ARM GICv2m specification extends GICv2 to support MSI(-X) with > a new set of register frames. This patch introduces support for > the non-secure GICv2m register frame. > > The driver currently matchs

Re: [PATCH 5/5] KVM: x86: #GP when attempts to write reserved bits of Variable Range MTRRs

2014-08-18 Thread Wanpeng Li
Hi Paolo, On Mon, Aug 18, 2014 at 05:50:31PM +0800, Wanpeng Li wrote: >Section 11.11.2.3 of the SDM mentions "All other bits in the >IA32_MTRR_PHYSBASEn >and IA32_MTRR_PHYSMASKn registers are reserved; the processor generates a >general-protection exception(#GP) if software attempts to write to

Re: [PATCH] tty: serial: serial_core.c: printk replacement

2014-08-18 Thread Jiri Slaby
On 08/05/2014, 02:35 PM, Sudip Mukherjee wrote: > printk replaced with corresponding dev_err, dev_alert, dev_notice and pr_info. > pr_info has been used instead of dev_info as there is a check for port->dev > being NULL or not. > fixed two broken user-visible strings used by the corresponding

Re: [PATCH v3 1/3] init / kthread: add module_long_probe_init() and module_long_probe_exit()

2014-08-18 Thread Oleg Nesterov
On 08/18, Takashi Iwai wrote: > > #define module_long_probe_init(initfn)\ > static int _long_probe_##initfn(void *arg) \ > { \ > module_put_and_exit(initfn());

[PATCH] iommu: Replace rcu_assign_pointer() with RCU_INIT_POINTER()

2014-08-18 Thread Andreea-Cristina Bernat
The use of "rcu_assign_pointer()" is NULLing out the pointer. According to RCU_INIT_POINTER()'s block comment: "1. This use of RCU_INIT_POINTER() is NULLing out the pointer" it is better to use it instead of rcu_assign_pointer() because it has a smaller overhead. The following Coccinelle

Re: [PATCH v2 0002/0002] mmc: check EXT_CSD_PARTITION_SETTING_COMPLETED before creating partitions

2014-08-18 Thread Ulf Hansson
On 18 August 2014 12:50, Grégory Soutadé wrote: > Checks EXT_CSD_PARTITION_SETTING_COMPLETED bit before > computing enhanced user area and adding mmc partitions > (as described in JEDEC standard). > > Signed-off-by: Grégory Soutadé Hi Grégory, First, could you rename patches so they actually

Re: [PATCH 0/2] new APIs to allocate buffer-cache for superblock in non-movable area

2014-08-18 Thread Jan Kara
On Mon 18-08-14 13:44:38, Gioh Kim wrote: > > > 2014-08-18 오후 12:24, Theodore Ts'o 쓴 글: > >On Mon, Aug 18, 2014 at 10:15:32AM +0900, Gioh Kim wrote: > >> > >>My test platform has totally 1GB memory, 256MB for CMA and 768MB for normal. > >>I applied Joonsoo's patch:

Re: fs: panic in mnt_set_mountpoint

2014-08-18 Thread Ming Lei
On Mon, Aug 18, 2014 at 7:09 PM, Jonas Jensen wrote: > Hi, > > I've run into a kernel panic [1] in next-20140818 you might find interesting. > > It surprised me because there was never an error in next-20140815, I > did a search for related panics but it came up empty. > &

Re: [PATCH 3/6] irqchip: irq-st: Add documentation for STi based syscfg IRQs

2014-08-18 Thread Jason Cooper
Hey Lee, Rob, Grant, question for you below: On Tue, Jul 29, 2014 at 03:05:41PM +0100, Lee Jones wrote: > Signed-off-by: Lee Jones > --- > .../interrupt-controller/st,sti-irq-syscfg.txt | 35 > ++ > 1 file changed, 35 insertions(+) > create mode 100644 >

Re: [PATCH] mmc: core: sdio: Fix unconditional wake_up_process() on sdio thread

2014-08-18 Thread Ulf Hansson
On 18 August 2014 05:04, Fu, Zhonghui wrote: > From 21266249bbbaf9407c1e88cd5950e06ac88aeebf Mon Sep 17 00:00:00 2001 > From: Fu Zhonghui > Date: Mon, 18 Aug 2014 10:48:14 +0800 > Subject: [PATCH] mmc: core: sdio: Fix unconditional wake_up_process() on sdio > thread > > 781e989cf59 ("mmc:

[PATCH] tcm_fc: Replace rcu_assign_pointer() with RCU_INIT_POINTER()

2014-08-18 Thread Andreea-Cristina Bernat
The use of "rcu_assign_pointer()" is NULLing out the pointer. According to RCU_INIT_POINTER()'s block comment: "1. This use of RCU_INIT_POINTER() is NULLing out the pointer" it is better to use it instead of rcu_assign_pointer() because it has a smaller overhead. The following Coccinelle

Re: [RFC] usb issue on imx27: 3 clocks are needed

2014-08-18 Thread gwenhael.goavec
On Mon, 18 Aug 2014 10:35:53 + Peter Chen wrote: > > > On Mon, Aug 18, 2014 at 05:00:59PM +0800, Peter Chen wrote: > > > On Sat, Aug 16, 2014 at 05:38:30PM +0200, Philippe Reynes wrote: > > > > Hi all, > > > > > > > > i.MX27's usb needs three clocks (usb_ipg_gate, usb_ahb_gate and > > > >

Re: [PATCH 1/2] clk: samsung: Add validation of rate tables for the PLL clocks

2014-08-18 Thread Tomasz Figa
Hi Humberto, Sorry for long delay, I've been quite busy with certain things and I couldn't reply earlier. Thanks a lot for the patch. In general it looks very nice and finally makes the semantics of this code sane, but please see few minor comments inline. On 04.08.2014 16:02, Humberto Silva

RE: [BUG] usb_dev_resume returns -113 due to work items queued by usb on pm_wq is not executed before suspending.

2014-08-18 Thread Du, ChangbinX
> On Fri, 15 Aug 2014, Du, ChangbinX wrote: > > If my analysis is correct, could you share your ideas for this issue? > > Hasn't this already been fixed? See commit d6236f6d1d88 (xhci: Fix runtime > suspended xhci from blocking system suspend). > > Alan Stern Hi, Stern, These are two different

Re: [PATCH v1 5/9] block: loop: convert to blk-mq

2014-08-18 Thread Ming Lei
On Mon, Aug 18, 2014 at 9:22 AM, Ming Lei wrote: > On Mon, Aug 18, 2014 at 1:48 AM, Jens Axboe wrote: >> On 2014-08-16 02:06, Ming Lei wrote: >>> >>> On 8/16/14, Jens Axboe wrote: On 08/15/2014 10:36 AM, Jens Axboe wrote: > > On 08/15/2014 10:31 AM, Christoph Hellwig wrote:

Re: [PATCH V3] seq_file: Document seq_open_private(), seq_release_private()

2014-08-18 Thread Steven Whitehouse
Hi, On 18/08/14 12:40, Rob Jones wrote: Despite the fact that these functions have been around for years, they are little used (only 15 uses in 13 files at the preseht time) even though many other files use work-arounds to achieve the same result. By documenting them, hopefully they will

Re: [RFC] usb issue on imx27: 3 clocks are needed

2014-08-18 Thread Shawn Guo
On Mon, Aug 18, 2014 at 06:35:53PM +0800, Chen Peter-B29397 wrote: > > > On Mon, Aug 18, 2014 at 05:00:59PM +0800, Peter Chen wrote: > > > On Sat, Aug 16, 2014 at 05:38:30PM +0200, Philippe Reynes wrote: > > > > Hi all, > > > > > > > > i.MX27's usb needs three clocks (usb_ipg_gate, usb_ahb_gate

[PATCH 1/2] SH: Add missing casts in integer-pointer conversions

2014-08-18 Thread David Howells
When casting between ints that aren't long or unsigned longs and pointers, there needs to be an intermediate cast of long or unsigned long, eg: void *p; int i = (int)(unsigned long)p; and: unsigned long long i; void *p = (void *)(unsigned long)i; as the compiler

Re: [PATCH v2 2/2] mmc: dw_mmc: Add support for MIPS

2014-08-18 Thread Ulf Hansson
On 14 August 2014 18:45, Andrew Bresticker wrote: > There are upcoming MIPS SoCs with dw_mmc hosts. > > Signed-off-by: Andrew Bresticker Thanks! Applied for next. Kind regards Uffe > --- > drivers/mmc/host/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH v2 1/2] mmc: dw_mmc: Add dependency on DMA

2014-08-18 Thread Ulf Hansson
On 14 August 2014 18:45, Andrew Bresticker wrote: > The dw_mmc drivers rely on the DMA API, so update the Kconfig entry > to depend on HAS_DMA. Since the drivers should build on any platform > with DMA, allow the driver to compile tested on non-ARC/ARM platforms. > > Signed-off-by: Andrew

[PATCH V3] seq_file: Document seq_open_private(), seq_release_private()

2014-08-18 Thread Rob Jones
Despite the fact that these functions have been around for years, they are little used (only 15 uses in 13 files at the preseht time) even though many other files use work-arounds to achieve the same result. By documenting them, hopefully they will become more widely used. Signed-off-by: Rob

Re: [PATCH 3/3] perf callchain: Prune misleading callchains for self entries

2014-08-18 Thread Jiri Olsa
On Sat, Aug 16, 2014 at 11:26:31AM +0900, Namhyung Kim wrote: SNIP > > > > hum, where is it callee/caller mixed? with following example: > > > > --- > > void c(void) > > { > > } > > > > void b(void) > > { > > c(); > > } > > > > void a(void) > > { > > b(); > > } > > > > int

[PATCH 2/8] ARM: sti: Add two new clock definitions for use with ST's NAND controllers

2014-08-18 Thread Lee Jones
The EMISS and NAND Control clocks are used when conducting operations on attached NAND Flash chips. Reviewed-By: Pekon Gupta Signed-off-by: Lee Jones --- include/dt-bindings/clock/stih416-clks.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/dt-bindings/clock/stih416-clks.h

[PATCH 6/8] mtd: nand: add shared register defines for ST's NAND Controller drivers

2014-08-18 Thread Lee Jones
Provide register and bit definitions used by STM's BCH Controller driver. We place these into a shared location as they will be used by other STM NAND Controllers as they appear. Reviewed-By: Pekon Gupta Signed-off-by: Lee Jones --- drivers/mtd/nand/stm_nand_regs.h | 304

Re: [PATCH 3/5] usb: phy: samsung: remove old USB 2.0 PHY driver

2014-08-18 Thread Bartlomiej Zolnierkiewicz
Hi, On Thursday, August 14, 2014 08:07:40 PM Vivek Gautam wrote: > Hi Bartlomiej Zolnierkiewicz, > > > On Thursday, August 14, 2014 7:55 PM, Bartlomiej Zolnierkiewicz > wrote > > Subject: [PATCH 3/5] usb: phy: samsung: remove old USB 2.0 PHY driver > > I would say it co-incidence that both

Re: [PATCH 07/15] tty: serial: 8250_dma: enqueue RX dma again on completion.

2014-08-18 Thread One Thousand Gnomes
> if (!up->dma || dma_err) > status = serial8250_rx_chars(up, status); > + > + if (dma_err && port->type == PORT_OMAP_16750) > + serial8250_rx_dma(up, 0); Can we stick to a 'has dma' flag and port->rx_dma() type usages so that

Re: [PATCH 03/29] clk: exynos: add missing smmu_g2d clock and update comments

2014-08-18 Thread Tomasz Figa
On 05.08.2014 12:47, Marek Szyprowski wrote: > This patch adds missing smmu_g2d clock implementation and updates > comment about Exynos4 clocks from 278-282 range. Those clocks are > available on all Exynos4 SoC series, so the misleading comment has been > removed. > > Signed-off-by: Marek

[PATCH v2] kconfig: menuconfig: pkg-config should base upon default configuration

2014-08-18 Thread Silvio Fricke
Since fc9c6e0 "menuconfig: optionally use pkg-config to detect ncurses libs" we use pkg-config, but some cross toolchains (like yocto tc) change the search pathes for pc files with some PKG_CONFIG_* environment variables. With this patch we ensure that we only get the host config options for

[PATCH v2 0001/0002] mmc: check EXT_CSD_PARTITION_SETTING_COMPLETED before creating partitions

2014-08-18 Thread Grégory Soutadé
Replace "enhanced_area_en" attribute by "partition_setting_completed". It was used whether or not enhanced user area is defined and without checks of EXT_CSD_PARTITION_SETTING_COMPLETED bit. Signed-off-by: Grégory Soutadé --- drivers/mmc/core/mmc.c |8 +++- include/linux/mmc/card.h |

[PATCH v2 0/8] mtd: nand: Support for new DT NAND driver

2014-08-18 Thread Lee Jones
Hi Brian, I believe all of your queries have either been answered or addressed and I am hoping this will be the last submission. :) This is v2 of the squashed submission. v1 had a small typo which prevented the BBT code from being truly configurable. This has now been rectified and build

[alsa-devel] [PATCH v3 0/2] mfd: arizona: add support for INn_MODE register control using platform data

2014-08-18 Thread Inha Song
This patch series add support for INn_MODE register control using platform data. Each input signal path can be configurated either as a Analogue or Digital using the INn_MODE registers. Changes for v3 - Change to use of_property_read_u32_array - Fix a few typos - Update commit message Changes

[PATCH 7/8] mtd: nand: stm_nand_bch: add support for ST's BCH NAND controller

2014-08-18 Thread Lee Jones
Reviewed-By: Pekon Gupta Signed-off-by: Lee Jones --- drivers/mtd/nand/Kconfig|7 + drivers/mtd/nand/Makefile |1 + drivers/mtd/nand/stm_nand_bch.c | 1614 +++ drivers/mtd/nand/stm_nand_dt.c | 109 +++ drivers/mtd/nand/stm_nand_dt.h |

Re: [PATCH 2/5] KVM: x86: drop fpu_activate hook

2014-08-18 Thread Paolo Bonzini
Il 18/08/2014 12:26, Avi Kivity ha scritto: > > On 08/18/2014 01:20 PM, Paolo Bonzini wrote: >> Il 18/08/2014 11:50, Wanpeng Li ha scritto: >>> fpu_activate hook is introduced by commit 6b52d186 (KVM: Activate fpu on >>> clts), however, there is no user currently, this patch drop it. >>> >>>

Re: [PATCH 2/5] KVM: x86: drop fpu_activate hook

2014-08-18 Thread Paolo Bonzini
Il 18/08/2014 11:50, Wanpeng Li ha scritto: > fpu_activate hook is introduced by commit 6b52d186 (KVM: Activate fpu on > clts), however, there is no user currently, this patch drop it. > > Reviewed-by: Yang Zhang > Signed-off-by: Wanpeng Li > --- > arch/x86/include/asm/kvm_host.h | 1 - >

Re: [PATCH 2/5] KVM: x86: drop fpu_activate hook

2014-08-18 Thread Avi Kivity
On 08/18/2014 01:51 PM, Paolo Bonzini wrote: Il 18/08/2014 12:26, Avi Kivity ha scritto: On 08/18/2014 01:20 PM, Paolo Bonzini wrote: Il 18/08/2014 11:50, Wanpeng Li ha scritto: fpu_activate hook is introduced by commit 6b52d186 (KVM: Activate fpu on clts), however, there is no user

fs: panic in mnt_set_mountpoint

2014-08-18 Thread Jonas Jensen
Hi, I've run into a kernel panic [1] in next-20140818 you might find interesting. It surprised me because there was never an error in next-20140815, I did a search for related panics but it came up empty. The board boots fine after applying the following: diff --git a/fs/namespace.c b/fs

Re: [PATCH V2 2/2] x86: add phys addr validity check for /dev/mem mmap

2014-08-18 Thread Frantisek Hrbata
On Fri, Aug 15, 2014 at 11:10:25AM -0700, Dave Hansen wrote: > On 08/15/2014 04:44 AM, Frantisek Hrbata wrote: > > +int valid_phys_addr_range(phys_addr_t addr, size_t count) > > +{ > > + return addr + count <= __pa(high_memory); > > +} > > + > > +int valid_mmap_phys_addr_range(unsigned long pfn,

Re: [PATCH 4/5] KVM: x86: fix check legal type of Variable Range MTRRs

2014-08-18 Thread Paolo Bonzini
Il 18/08/2014 11:50, Wanpeng Li ha scritto: > + if (msr >= 0x200 && msr < 0x200 + 2 * KVM_NR_VAR_MTRR) { This should be a WARN_ON, and the base/mask can be separated just with an "&". WARN_ON(!(msr >= 0x200 && msr < 0x200 + 2 * KVM_NR_VAR_MTRR)); if ((msr & 1) == 0)

[alsa-devel] [PATCH v3 1/2] mfd: arizona: Add support for INn_Modec register control

2014-08-18 Thread Inha Song
Some boards need to set the INn_MODE[1:0] register to change the input signal patch. This wlf,inmode property is optional. If present, values must be specified less than or equal to the number of input singals. If values less than the number of input signals, elements that has not been specifed

Re: [PATCH v2] seq_file: Document seq_open_private(), seq_release_private()

2014-08-18 Thread Rob Jones
Aargh! Scratch this patch. I got carried away with the error checking in the examples. The "if (IS_ERR(p))" check is redundant. I'll remove it and resubmit. On 15/08/14 15:10, Rob Jones wrote: Despite the fact that these functions have been around for years, they are little used (only 15 uses

Re: [PATCH] irq: gic-v3: Tag all low level accessors __maybey_unused

2014-08-18 Thread Jason Cooper
Uwe, On Mon, Aug 18, 2014 at 09:11:04AM +0200, Uwe Kleine-König wrote: > > typo in the Subject line. s/maybey/maybe/ Yep, I forgot to mention I fixed that when I applied it. thx, Jason. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

[PATCH v2 0002/0002] mmc: check EXT_CSD_PARTITION_SETTING_COMPLETED before creating partitions

2014-08-18 Thread Grégory Soutadé
Checks EXT_CSD_PARTITION_SETTING_COMPLETED bit before computing enhanced user area and adding mmc partitions (as described in JEDEC standard). Signed-off-by: Grégory Soutadé --- drivers/mmc/core/mmc.c | 167 +++- 1 file changed, 95 insertions(+), 72

Re: [PATCH/RFC V8 1/1] clk: Support for clock parents and rates assigned from device tree

2014-08-18 Thread Sylwester Nawrocki
On 13/08/14 22:34, Mark Brown wrote: > On Fri, Jul 25, 2014 at 02:42:31PM -0700, Mike Turquette wrote: >> Quoting Sylwester Nawrocki (2014-07-03 10:25:53) > >>> I would appreciate a DT, SPI or the I2C maintainer opinions. > >> Yes, Acks from SPI and I2C maintainers would be good. I might need to

[PATCH 4/8] ARM: sti: Enable BCH NAND for STiH416 B2020-RevE

2014-08-18 Thread Lee Jones
Also supply the platform specific clocks required by the NAND driver. Reviewed-By: Pekon Gupta Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih416-b2020e.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/stih416-b2020e.dts

Re: rt_sigreturn rejects a substitute stack frame as invalid.

2014-08-18 Thread Mikael Pettersson
Steven Stewart-Gallus writes: > Hello, > > I'm not totally sure that GLibc's setcontext is safe to use in a > signal handler. So, I decided I was going to play things safe and let > rt_sigreturn switch stacks for me instead. However, rt_sigreturn seems > to reject my substitute stack frame

Re: [PATCH 3/5] usb: phy: samsung: remove old USB 2.0 PHY driver

2014-08-18 Thread Tomasz Figa
On 18.08.2014 13:02, Bartlomiej Zolnierkiewicz wrote: > On Thursday, August 14, 2014 08:07:40 PM Vivek Gautam wrote: >> On Thursday, August 14, 2014 7:55 PM, Bartlomiej Zolnierkiewicz >> wrote > >> There's one thing that I would want to comment here, since we don't have any >> new usb-phy

[alsa-devel] [PATCH v3 2/2] mfd: arizona: Update DT binding to support INn_MODE init_data

2014-08-18 Thread Inha Song
This patch update DT binding to support INn_MODE init_data. Each input signal path can be configurated either as a Analogue or Digital using the INn_MODE registers. Signed-off-by: Inha Song --- Documentation/devicetree/bindings/mfd/arizona.txt | 8 1 file changed, 8 insertions(+) diff

[PATCH 8/8] mtd: nand: stm_nand_bch: provide ST's implementation of Back Block Table

2014-08-18 Thread Lee Jones
This is the BBT format ST use internally. It has to be used on boards which were flashed with or actively use ST's tooling and boards which are booted using ST's bootloaders. Signed-off-by: Lee Jones --- drivers/mtd/nand/Kconfig | 8 + drivers/mtd/nand/Makefile| 1 +

[PATCH 2/2] SH: Fix compilation errors in SH64 signal handling code

2014-08-18 Thread David Howells
Fix a couple of compilation errors in SH64 signal handling code. Signed-off-by: David Howells --- arch/sh/kernel/signal_64.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/sh/kernel/signal_64.c b/arch/sh/kernel/signal_64.c index 897abe7b871e..28448381deb9 100644

[PATCH v2] cgroup: reject cgroup names with '\n'

2014-08-18 Thread Alban Crequy
/proc//cgroup contains one cgroup path on each line. If cgroup names are allowed to contain "\n", applications cannot parse /proc//cgroup safely. Signed-off-by: Alban Crequy --- v2: Fixed according to comments from Tejun Heo: only reject '\n' kernel/cgroup.c | 5 + 1 file changed, 5

[PATCH v2] pkg-config default search paths

2014-08-18 Thread Silvio Fricke
Hi, some cross-toolchains change the pkg-config search pathes to do some package-config setups for cross compiling. The init of the toolchain manipulates PKG_CONFIG_SYSROOT_DIR and PKG_CONFIG_PATH environment variables. A pkg-config call from kconfig searches now on the wrong place to find the

Re: [PATCH 4/5] watchdog: control hard lockup detection default

2014-08-18 Thread Ulrich Obergfell
>- Original Message - >From: "Ingo Molnar" >To: "Don Zickus" >Cc: a...@linux-foundation.org, k...@vger.kernel.org, pbonz...@redhat.com, >mi...@redhat.com, "LKML" , "Ulrich >Obergfell" >, "Andrew Jones" >Sent: Monday, August 18, 2014 11:16:44 AM >Subject: Re: [PATCH 4/5] watchdog:

Re: [PATCH 1/5] KVM: vmx: fix ept reserved bits for 1-GByte page

2014-08-18 Thread Xiao Guangrong
On 08/18/2014 05:50 PM, Wanpeng Li wrote: > EPT misconfig handler in kvm will check which reason lead to EPT > misconfiguration after vmexit. One of the reasons is that an EPT > paging-structure entry is configured with settings reserved for > future functionality. However, the handler can't

Re: [PATCH 1/5] KVM: vmx: fix ept reserved bits for 1-GByte page

2014-08-18 Thread Paolo Bonzini
Il 18/08/2014 12:52, Xiao Guangrong ha scritto: >> > EPT misconfig handler in kvm will check which reason lead to EPT >> > misconfiguration after vmexit. One of the reasons is that an EPT >> > paging-structure entry is configured with settings reserved for >> > future functionality. However,

[PATCH 5/8] mtd: nand: stm_nand_bch: provide Device Tree documentation

2014-08-18 Thread Lee Jones
This is where we describe the different new and generic options used by the ST BCH driver. Cc: devicet...@vger.kernel.org Reviewed-By: Pekon Gupta Signed-off-by: Lee Jones --- Documentation/devicetree/bindings/mtd/stm-nand.txt | 74 ++ 1 file changed, 74 insertions(+)

Re: [RFC PATCH 2/9] ACPI: Document ACPI device specific properties

2014-08-18 Thread Mark Rutland
Hi Mika, While I am very much in favour of having a structured way of describing device specific data in ACPI I am very concerned by the idea of assuming (a false) equivalence with DT. More on that below. On Sun, Aug 17, 2014 at 07:04:12AM +0100, Mika Westerberg wrote: > This document describes

[PATCH 1/8] ARM: multi-v7: Enable ST BCH NAND

2014-08-18 Thread Lee Jones
Reviewed-By: Pekon Gupta Signed-off-by: Lee Jones --- arch/arm/configs/multi_v7_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 5348364..4670836 100644 --- a/arch/arm/configs/multi_v7_defconfig +++

Re: [Intel-gfx] Usage of _PAGE_PCD et al in i915 driver

2014-08-18 Thread Juergen Gross
On 08/18/2014 12:21 PM, Ville Syrjälä wrote: On Mon, Aug 18, 2014 at 07:31:58AM +0200, Juergen Gross wrote: On 08/15/2014 12:21 PM, Ville Syrjälä wrote: On Thu, Aug 14, 2014 at 05:55:11AM +0200, Juergen Gross wrote: On 08/13/2014 05:07 PM, Jesse Barnes wrote: On Fri, 8 Aug 2014 15:14:15

[PATCH 3/8] ARM: sti: Add BCH (NAND Flash) Controller support for STiH41x (Orly) SoCs

2014-08-18 Thread Lee Jones
Provide device information and flash layout for the NAND Micron MT29F8G08ABABAWP chip found on the STM B2020 Development Board. Reviewed-By: Pekon Gupta Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih41x-b2020.dtsi | 38 1 file changed, 38 insertions(+)

RE: [RFC] usb issue on imx27: 3 clocks are needed

2014-08-18 Thread Peter Chen
> On Mon, Aug 18, 2014 at 05:00:59PM +0800, Peter Chen wrote: > > On Sat, Aug 16, 2014 at 05:38:30PM +0200, Philippe Reynes wrote: > > > Hi all, > > > > > > i.MX27's usb needs three clocks (usb_ipg_gate, usb_ahb_gate and > > > usb_div) but the current chipidea driver implementation, and > > >

Re: [PATCH 2/5] KVM: x86: drop fpu_activate hook

2014-08-18 Thread Avi Kivity
On 08/18/2014 01:20 PM, Paolo Bonzini wrote: Il 18/08/2014 11:50, Wanpeng Li ha scritto: fpu_activate hook is introduced by commit 6b52d186 (KVM: Activate fpu on clts), however, there is no user currently, this patch drop it. Reviewed-by: Yang Zhang Signed-off-by: Wanpeng Li ---

[PATCH 3.11 021/137] dm cache metadata: do not allow the data block size to change

2014-08-18 Thread Luis Henriques
3.11.10.15 -stable review patch. If anyone has any objections, please let me know. -- From: Mike Snitzer commit 048e5a07f282c57815b3901d4a68a77fa131ce0a upstream. The block size for the dm-cache's data device must remained fixed for the life of the cache. Disallow any

Re: [PATCH 0/8] mtd: nand: Support for new DT NAND driver

2014-08-18 Thread Lee Jones
> > Particularly, take a hard look at rewriting > > include/linux/mtd/stm_nand_bbt.h. > > I don't think there is any need - although this change is required: > > -#if defined(MTD_NAND_STM_BBT) > +#if defined(MTD_NAND_STM_BCH_BBT) Sorry, I mean this: -#if defined(MTD_NAND_STM_BBT) +#if

[PATCH 3.11 039/137] ipv4: fix dst race in sk_dst_get()

2014-08-18 Thread Luis Henriques
3.11.10.15 -stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit f88649721268999bdff09777847080a52004f691 upstream. When IP route cache had been removed in linux-3.6, we broke assumption that dst entries were all freed after rcu

Re: [PATCH 5/5] autofs: the documentation I wanted to read

2014-08-18 Thread Ian Kent
On Mon, 2014-08-18 at 16:33 +1000, NeilBrown wrote: > This documents autofs from the perspective of what the module actually > supports rather than how automount is expected to use it. > It is based mostly on code review and very little on testing so it > may be inaccurate in some places. > > The

[PATCH 3.11 001/137] Bluetooth: Ignore H5 non-link packets in non-active state

2014-08-18 Thread Luis Henriques
3.11.10.15 -stable review patch. If anyone has any objections, please let me know. -- From: Loic Poulain commit 48439d501e3d9e8634bdc0c418e066870039599d upstream. When detecting a non-link packet, h5_reset_rx() frees the Rx skb. Not returning after that will cause the

[PATCH 3.11 036/137] tcp: fix tcp_match_skb_to_sack() for unaligned SACK at end of an skb

2014-08-18 Thread Luis Henriques
3.11.10.15 -stable review patch. If anyone has any objections, please let me know. -- From: Neal Cardwell commit 2cd0d743b05e87445c54ca124a9916f22f16742e upstream. If there is an MSS change (or misbehaving receiver) that causes a SACK to arrive that covers the end of an skb

[PATCH 3.11 014/137] hwmon: (da9055) Don't use dash in the name attribute

2014-08-18 Thread Luis Henriques
3.11.10.15 -stable review patch. If anyone has any objections, please let me know. -- From: Axel Lin commit 6b00f440dd678d786389a7100a2e03fe44478431 upstream. Dashes are not allowed in hwmon name attributes. Use "da9055" instead of "da9055-hwmon". Signed-off-by: Axel Lin

[PATCH 3.11 035/137] ip_tunnel: fix ip_tunnel_lookup

2014-08-18 Thread Luis Henriques
3.11.10.15 -stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Popov commit e0056593b61253f1a8a9941dacda22e73b963cdc upstream. This patch fixes 3 similar bugs where incoming packets might be routed into wrong non-wildcard tunnels: 1)

Re: [PATCH 1/3] of: Add of_match_machine helper

2014-08-18 Thread Tuomas Tynkkynen
On 17/08/14 18:28, Grant Likely wrote: > On Fri, 8 Aug 2014 02:01:53 +0300, Tuomas Tynkkynen > wrote: [...] >> +EXPORT_SYMBOL(of_match_machine); > > Too wordy... > > return of_match_node(matches, of_allnodes); > > :-) > > It could be a static inline, but I don't think it's even worth

[PATCH 3.11 019/137] tracing: Add TRACE_ITER_PRINTK flag check in __trace_puts/__trace_bputs

2014-08-18 Thread Luis Henriques
3.11.10.15 -stable review patch. If anyone has any objections, please let me know. -- From: "zhangwei(Jovi)" commit f0160a5a2912267c02cfe692eac955c360de5fdf upstream. The TRACE_ITER_PRINTK check in __trace_puts/__trace_bputs is missing, so add it, to be consistent with

Re: [PATCH 1/5] KVM: vmx: fix ept reserved bits for 1-GByte page

2014-08-18 Thread Paolo Bonzini
Il 18/08/2014 11:50, Wanpeng Li ha scritto: > EPT misconfig handler in kvm will check which reason lead to EPT > misconfiguration after vmexit. One of the reasons is that an EPT > paging-structure entry is configured with settings reserved for > future functionality. However, the handler can't

[PATCH 3.11 037/137] net: sctp: check proc_dointvec result in proc_sctp_do_auth

2014-08-18 Thread Luis Henriques
3.11.10.15 -stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann commit 24599e61b7552673dd85971cf5a35369cd8c119e upstream. When writing to the sysctl field net.sctp.auth_enable, it can well be that the user buffer we handed over to

[PATCH 3.11 040/137] ipv4: irq safe sk_dst_[re]set() and ipv4_sk_update_pmtu() fix

2014-08-18 Thread Luis Henriques
3.11.10.15 -stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit 7f502361531e9eecb396cf99bdc9e9a59f7ebd7f upstream. We have two different ways to handle changes to sk->sk_dst First way (used by TCP) assumes socket lock is owned

[PATCH 3.11 004/137] xen/manage: fix potential deadlock when resuming the console

2014-08-18 Thread Luis Henriques
3.11.10.15 -stable review patch. If anyone has any objections, please let me know. -- From: David Vrabel commit 1b6478231c6f5f844185acb32045cf195028cfce upstream. Calling xen_console_resume() in xen_suspend() causes a warning because it locks irq_mapping_update_lock (a

[PATCH 3.11 018/137] tracing: Fix graph tracer with stack tracer on other archs

2014-08-18 Thread Luis Henriques
3.11.10.15 -stable review patch. If anyone has any objections, please let me know. -- From: "Steven Rostedt (Red Hat)" commit 5f8bf2d263a20b986225ae1ed7d6759dc4b93af9 upstream. Running my ftrace tests on PowerPC, it failed the test that checks if function_graph tracer is

[PATCH] tools/thermal: fix calloc argument ordering

2014-08-18 Thread Arjun Sreedharan
@number first, @size second argument Signed-off-by: Arjun Sreedharan --- tools/thermal/tmon/sysfs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/thermal/tmon/sysfs.c b/tools/thermal/tmon/sysfs.c index dfe4548..1c12536 100644 --- a/tools/thermal/tmon/sysfs.c

[PATCH 3.11 010/137] irqchip: gic: Add support for cortex a7 compatible string

2014-08-18 Thread Luis Henriques
3.11.10.15 -stable review patch. If anyone has any objections, please let me know. -- From: Matthias Brugger commit a97e8027b1d28eafe6bafe062556c1ec926a49c6 upstream. Patch 0a68214b "ARM: DT: Add binding for GIC virtualization extentions (VGIC)" added the

[PATCH 3.11 042/137] bnx2x: fix possible panic under memory stress

2014-08-18 Thread Luis Henriques
3.11.10.15 -stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit 07b0f00964def8af9321cfd6c4a7e84f6362f728 upstream. While it is legal to kfree(NULL), it is not wise to use : put_page(virt_to_head_page(NULL)) BUG: unable to

[PATCH 3.11 009/137] alarmtimer: Fix bug where relative alarm timers were treated as absolute

2014-08-18 Thread Luis Henriques
3.11.10.15 -stable review patch. If anyone has any objections, please let me know. -- From: John Stultz commit 16927776ae757d0d132bdbfabbfe2c498342bd59 upstream. Sharvil noticed with the posix timer_settime interface, using the CLOCK_REALTIME_ALARM or CLOCK_BOOTTIME_ALARM

[PATCH 3.11 012/137] igb: do a reset on SR-IOV re-init if device is down

2014-08-18 Thread Luis Henriques
3.11.10.15 -stable review patch. If anyone has any objections, please let me know. -- From: Stefan Assmann commit 76252723e88681628a3dbb9c09c963e095476f73 upstream. To properly re-initialize SR-IOV it is necessary to reset the device even if it is already down. Not doing

[PATCH 3.11 024/137] drm/qxl: return IRQ_NONE if it was not our irq

2014-08-18 Thread Luis Henriques
3.11.10.15 -stable review patch. If anyone has any objections, please let me know. -- From: Jason Wang commit fbb60fe35ad579b511de8604b06a30b43846473b upstream. Return IRQ_NONE if it was not our irq. This is necessary for the case when qxl is sharing irq line with a device A

[PATCH 3.11 029/137] usb: Check if port status is equal to RxDetect

2014-08-18 Thread Luis Henriques
3.11.10.15 -stable review patch. If anyone has any objections, please let me know. -- From: Gavin Guo commit bb86cf569bbd7ad4dce581a37c7fbd748057e9dc upstream. When using USB 3.0 pen drive with the [AMD] FCH USB XHCI Controller [1022:7814], the second hotplugging will

Re: [PATCH v7] usb:serial:pl2303: add GPIOs interface on PL2303

2014-08-18 Thread Johan Hovold
On Sun, Aug 17, 2014 at 10:05:36AM +0800, Wang YanQing wrote: > Hi Johan Hovold. > > Another two questions. > > On Tue, Aug 12, 2014 at 04:46:25PM +0200, Johan Hovold wrote: > > > > > + int (*gpio_startup)(struct usb_serial *serial); > > > + void (*gpio_release)(struct usb_serial

[PATCH 3.11 005/137] iwlwifi: dvm: don't enable CTS to self

2014-08-18 Thread Luis Henriques
3.11.10.15 -stable review patch. If anyone has any objections, please let me know. -- From: Emmanuel Grumbach commit 43d826ca5979927131685cc2092c7ce862cb91cd upstream. We should always prefer to use full RTS protection. Using CTS to self gives a meaningless improvement, but

[PATCH 3.11 008/137] fuse: handle large user and group ID

2014-08-18 Thread Luis Henriques
3.11.10.15 -stable review patch. If anyone has any objections, please let me know. -- From: Miklos Szeredi commit 233a01fa9c4c7c41238537e8db8434667ff28a2f upstream. If the number in "user_id=N" or "group_id=N" mount options was larger than INT_MAX then fuse returned EINVAL.

[PATCH 3.11 007/137] fuse: ignore entry-timeout on LOOKUP_REVAL

2014-08-18 Thread Luis Henriques
3.11.10.15 -stable review patch. If anyone has any objections, please let me know. -- From: Anand Avati commit 154210ccb3a871e631bf39fdeb7a8731d98af87b upstream. The following test case demonstrates the bug: sh# mount -t glusterfs localhost:meta-test /mnt/one sh# mount

Re: [PATCH v7] usb:serial:pl2303: add GPIOs interface on PL2303

2014-08-18 Thread Johan Hovold
On Sun, Aug 17, 2014 at 09:04:32AM +0800, Wang YanQing wrote: > On Tue, Aug 12, 2014 at 04:46:25PM +0200, Johan Hovold wrote: > > On Sat, Aug 09, 2014 at 01:28:28PM +0800, Wang YanQing wrote: > > > PL2303 USB Serial devices always has GPIOs, > > > > Always? Are you sure? It's probably better to

[PATCH 3.11 028/137] usb: chipidea: udc: Disable auto ZLP generation on ep0

2014-08-18 Thread Luis Henriques
3.11.10.15 -stable review patch. If anyone has any objections, please let me know. -- From: Abbas Raza commit 953c66469735aed8d2ada639a72b150f01dae605 upstream. There are 2 methods for ZLP (zero-length packet) generation: 1) In software 2) Automatic generation by device

[PATCH 3.11 027/137] drm/radeon: set default bl level to something reasonable

2014-08-18 Thread Luis Henriques
3.11.10.15 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 201bb62402e0227375c655446ea04fcd0acf7287 upstream. If the value in the scratch register is 0, set it to the max level. This fixes an issue where the console fb

Re: [PATCH 2/5] KVM: x86: drop fpu_activate hook

2014-08-18 Thread Paolo Bonzini
Il 18/08/2014 11:50, Wanpeng Li ha scritto: > fpu_activate hook is introduced by commit 6b52d186 (KVM: Activate fpu on > clts), however, there is no user currently, this patch drop it. > > Reviewed-by: Yang Zhang > Signed-off-by: Wanpeng Li > --- > arch/x86/include/asm/kvm_host.h | 1 - >

Re: [PATCH 3/5] KVM: vmx: don't vmx_segment_cache_clear twice in enter_pmode

2014-08-18 Thread Paolo Bonzini
Il 18/08/2014 11:50, Wanpeng Li ha scritto: > vmx_segment_cache_clear() will be called by vmx_set_segment() > which lead to vmx_segment_cache_clear() is called twice in > enter_pmode(). This patch remove the duplicate call site. > > Reviewed-by: Yang Zhang > Signed-off-by: Wanpeng Li > --- >

[PATCH 3.11 013/137] hwmon: (da9052) Don't use dash in the name attribute

2014-08-18 Thread Luis Henriques
3.11.10.15 -stable review patch. If anyone has any objections, please let me know. -- From: Axel Lin commit ee14b644daaa58afe1e91bb9ebd9cf1b18d1f5fa upstream. Dashes are not allowed in hwmon name attributes. Use "da9052" instead of "da9052-hwmon". Signed-off-by: Axel Lin

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