[PATCH v4 0/3] dma: imx-sdma: add support for sdma memory copy

2014-10-20 Thread Robin Gong
Add memory copy interface to sdma driver, the patch set is based on v3: http://www.spinics.net/lists/dmaengine/msg00850.html. change from v3: 1.split two patches from v3 patch for Vinod's comments. change from v2: 1.remove redundant check for bus width. change from v1: 1. correct some printk for

[PATCH v4 2/3] dma: imx-sdma: correct print format

2014-10-20 Thread Robin Gong
correct print format for 'size_t', 'dma_address_t',etc. Signed-off-by: Robin Gong --- drivers/dma/imx-sdma.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c index fc4a0df..7e8aa2d 100644 --- a/drivers/dma/imx-

[PATCH v4 1/3] dma: imx-sdma: add support for sdma memory copy

2014-10-20 Thread Robin Gong
Signed-off-by: Robin Gong --- drivers/dma/imx-sdma.c | 188 ++--- 1 file changed, 164 insertions(+), 24 deletions(-) diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c index f7626e3..fc4a0df 100644 --- a/drivers/dma/imx-sdma.c +++ b/drivers/d

Re: [PATCH v6 1/2] mtd: nand: add sunxi NAND flash controller support

2014-10-20 Thread Brian Norris
On Mon, Oct 20, 2014 at 01:45:19PM +0200, Boris Brezillon wrote: > Add support for the sunxi NAND Flash Controller (NFC). > > Signed-off-by: Boris Brezillon This driver looks mostly good. Sorry for the delays, and thanks for the patience. > --- > drivers/mtd/nand/Kconfig |6 + > drive

[PATCH v2 0/3] i2c/at91: add support PM functions

2014-10-20 Thread Wenyou Yang
Hi Wolfram, The patches is to add the PM functions support for the at91 i2c controller. It is based on the i2c/for-next branch of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git. Best Regards, Wenyou Yang -- Change log: v2.0 According to the advice from Kevin Hilman, 1./ Wrap

[PATCH v2 1/3] i2c/at91: add support for runtime PM

2014-10-20 Thread Wenyou Yang
Drivers should put the device into low power states proactively whenever the device is not in use. Thus implement support for runtime PM and use the autosuspend feature to make sure that we can still perform well in case we see lots of i2c traffic within short period of time. Signed-off-by: Wenyou

[PATCH v4 3/3] dma: imx-sdma: reorg code to make code clean

2014-10-20 Thread Robin Gong
code reorg for transfer prepare and bus width check. Signed-off-by: Robin Gong --- drivers/dma/imx-sdma.c | 127 +++-- 1 file changed, 60 insertions(+), 67 deletions(-) diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c index 7e8aa2d..b0365c

[PATCH v2 2/3] i2c/at91: add support for system PM

2014-10-20 Thread Wenyou Yang
Signed-off-by: Wenyou Yang Acked-by: Ludovic Desroches --- drivers/i2c/busses/i2c-at91.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/i2c/busses/i2c-at91.c b/drivers/i2c/busses/i2c-at91.c index 1b43b08..8f8fd2a 100644 --- a/drivers/i2c/busses/i2c-at91.

[PATCH v2 3/3] i2c/at91: adopt pinctrl support

2014-10-20 Thread Wenyou Yang
Amend the i2c at91 pin controller to optionally take a pin control handle and set the state of the pins to: - "default" on boot, resume and before performing an transfer - "sleep" on suspend() This should make it possible to optimize energy usage for the pins both for the suspend/resume cycle Si

RE: [PATCH v2 1/2] timekeeping: add EXPORT_SYMBOL_GPL for do_adjtimex()

2014-10-20 Thread Thomas Shao
> -Original Message- > From: Thomas Gleixner [mailto:t...@linutronix.de] > Sent: Tuesday, October 21, 2014 2:28 AM > To: Thomas Shao > Cc: gre...@linuxfoundation.org; LKML; de...@linuxdriverproject.org; > o...@aepfle.de; a...@canonical.com; jasow...@redhat.com; KY Srinivasan; > John Stultz

[PATCH v2] x86, e820: panic on sanitizing invalid memory map

2014-10-20 Thread Martin Kelly
sanitize_e820_map returns two possible values: -1: Returned when either the provided memory map has length 1 (ok) or when the provided memory map is invalid (not ok). 0: Returned when the memory map was correctly sanitized. In addition, most code ignores the returned value, and none actually

Re: [PATCH] x86, e820: panic on sanitizing invalid memory map

2014-10-20 Thread Martin Kelly
On 10/17/2014 09:41 PM, Martin Kelly wrote: > sanitize_e820_map returns two possible values: > -1: Returned when either the provided memory map has length 1 (ok) or > when the provided memory map is invalid (not ok). > 0: Returned when the memory map was correctly sanitized. > > In addition,

Re: [PATCH v6 2/2] mtd: nand: add sunxi NFC dt bindings doc

2014-10-20 Thread Brian Norris
Hi Boris, On Mon, Oct 20, 2014 at 01:45:20PM +0200, Boris Brezillon wrote: > Add the sunxi NAND Flash Controller dt bindings documentation. > > Signed-off-by: Boris Brezillon > --- > .../devicetree/bindings/mtd/sunxi-nand.txt | 45 > ++ > 1 file changed, 45 insertio

[PATCH 0/2] Staging: iio: adc: Checkpatch.pl warning cleanups

2014-10-20 Thread Brian Vandre
This patch-set fixes 2 checkpatch.pl warnings dealing with lines over 80 characters. Brian Vandre (2): Staging: iio: adc: fix line over 80 characters Staging: iio: adc: fix line over 80 characters drivers/staging/iio/adc/mxs-lradc.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-)

[PATCH 2/2] Staging: iio: adc: fix line over 80 characters

2014-10-20 Thread Brian Vandre
This fixes the checkpatch.pl warning: WARNING: line over 80 characters Signed-off-by: Brian Vandre --- drivers/staging/iio/adc/mxs-lradc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/iio/adc/mxs-lradc.c b/drivers/staging/iio/adc/mxs-lradc.c index 7d4b06

[PATCH 1/2] Staging: iio: adc: fix line over 80 characters

2014-10-20 Thread Brian Vandre
This fixes the checkpatch.pl warning: WARNING: line over 80 characters Signed-off-by: Brian Vandre --- drivers/staging/iio/adc/mxs-lradc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/iio/adc/mxs-lradc.c b/drivers/staging/iio/adc/mxs-lradc.c index 32a192

Re: [PATCH] drivers: base: update cpu offline info when do hotplug

2014-10-20 Thread Yasuaki Ishimatsu
Hi Neil and Dan, (2014/10/21 2:02), Dan Streetman wrote: On Mon, Oct 20, 2014 at 3:40 AM, Neil Zhang wrote: Greg, -Original Message- From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: 2014年10月20日 14:48 To: Neil Zhang Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] drivers:

linux-next: Tree for Oct 21

2014-10-20 Thread Stephen Rothwell
Hi all, Changes since 20141020: The sound-asoc tree gained a build failure so I used the version from next-20141020. Non-merge commits (relative to Linus' tree): 960 986 files changed, 21989 insertions(+), 34927 dele

Qemu hang introduced between next-20141013 and next-20141017

2014-10-20 Thread Martin Kelly
Hi, I have a minimal qemu setup that I used for testing development kernels. I have noticed that somewhere between next-20141013 and next-20141017, qemu started to hang at boot time, with no messages displayed on the console (previously, it would boot to a full userspace). I attempted to bisect it

RE: [PATCH v2 1/2] timekeeping: add EXPORT_SYMBOL_GPL for do_adjtimex()

2014-10-20 Thread Thomas Shao
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Thomas Gleixner > Sent: Tuesday, October 21, 2014 2:41 AM > To: Thomas Shao > Cc: gre...@linuxfoundation.org; LKML; de...@linuxdriverproject.org; > o...@aepfle.de; a.

RE: [PATCH] drivers: base: update cpu offline info when do hotplug

2014-10-20 Thread Neil Zhang
Yasuaki, > -Original Message- > From: Yasuaki Ishimatsu [mailto:isimatu.yasu...@jp.fujitsu.com] > Sent: 2014年10月21日 10:57 > To: Dan Streetman; Neil Zhang > Cc: Greg KH; linux-kernel@vger.kernel.org > Subject: Re: [PATCH] drivers: base: update cpu offline info when do hotplug > > Hi Neil a

Re: [PATCH v2 1/2] timekeeping: add EXPORT_SYMBOL_GPL for do_adjtimex()

2014-10-20 Thread John Stultz
On Mon, Oct 20, 2014 at 8:18 PM, Thomas Shao wrote: > >> -Original Message- >> From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- >> ow...@vger.kernel.org] On Behalf Of Thomas Gleixner >> Sent: Tuesday, October 21, 2014 2:41 AM >> To: Thomas Shao >> Cc: gre...@linuxfoundation.o

Re: [PATCH] drivers: base: update cpu offline info when do hotplug

2014-10-20 Thread Yasuaki Ishimatsu
(2014/10/21 12:18), Neil Zhang wrote: Yasuaki, -Original Message- From: Yasuaki Ishimatsu [mailto:isimatu.yasu...@jp.fujitsu.com] Sent: 2014年10月21日 10:57 To: Dan Streetman; Neil Zhang Cc: Greg KH; linux-kernel@vger.kernel.org Subject: Re: [PATCH] drivers: base: update cpu offline info w

[PATCH] ASoC: rt5677: fix rt5677 spi driver build

2014-10-20 Thread Ben Zhang
Create a separate module for rt5677 spi driver. Without this patch, the build fails due to multiple defs of 'init_module' and 'cleanup_module'. module_spi_driver() defines its own module, so it can't be part of the rt5677 module. Signed-off-by: Ben Zhang --- sound/soc/codecs/Kconfig | 4 +++

Re: [PATCH 2/2] Thermal:Remove usless if(!result) before return tz

2014-10-20 Thread Yao Dongdong
On 2014/10/20 20:10, Eduardo Valentin wrote: > Hello Yao > > On Mon, Oct 20, 2014 at 04:27:59PM +0800, Yao Dongdong wrote: >> result is always zero when comes here. >> >> Signed-off-by:yaodongd...@huawei.com >> >> --- >> drivers/thermal/thermal_core.c | 3 +-- >> 1 file changed, 1 insertion(+), 2

RE: [PATCH] drivers: base: update cpu offline info when do hotplug

2014-10-20 Thread Neil Zhang
> -Original Message- > From: Yasuaki Ishimatsu [mailto:isimatu.yasu...@jp.fujitsu.com] > Sent: 2014年10月21日 11:27 > To: Neil Zhang; Dan Streetman > Cc: Greg KH; linux-kernel@vger.kernel.org > Subject: Re: [PATCH] drivers: base: update cpu offline info when do hotplug > > (2014/10/21 12:18

[PATCH v3 0/6] add suspend support for RK3288

2014-10-20 Thread zyw
From: Chris Zhong this is the 1st version of suspend. RK3288 can shut down the cpu, gpu and other device controllers in suspend, and it will pull the GLOBAL_PWROFF pin to high in the final stage of the process of suspend, pull the pin to low again when resume. Changes in v3: - move the pinmux of

[PATCH v3 1/6] pinctrl: rockchip: add suspend/resume functions

2014-10-20 Thread zyw
From: Chris support suspend/resume of pinctrl, it allows handling sleep mode for hogged pins in pinctrl Signed-off-by: Chris Signed-off-by: Chris Zhong --- Changes in v3: None Changes in v2: None drivers/pinctrl/pinctrl-rockchip.c | 29 + 1 file changed, 29 ins

[PATCH v3 2/6] pinctrl: rockchip: save and restore gpio6_c6 pinmux in suspend/resume

2014-10-20 Thread zyw
From: Chris Zhong Save and restore the gpio6_c6 pinmux setting, since Maskrom of RK3288 would modify it to sdmmc0_det, so it need to be restored to the correct setting after resume from Maskrom. Signed-off-by: Chris Zhong --- Changes in v3: None Changes in v2: None drivers/pinctrl/pinctrl-ro

[PATCH v3 3/6] clk: rockchip: RK3288: add suspend and resume

2014-10-20 Thread zyw
From: Chris Zhong save and restore some clks, which might be changed in suspend. Signed-off-by: Tony Xie Signed-off-by: Chris Zhong --- Changes in v3: None Changes in v2: - __raw_readl/__raw_writel replaced by readl_relaxed/writel_relaxed drivers/clk/rockchip/clk-rk3288.c | 63 ++

[PATCH v3 4/6] ARM: rockchip: add suspend and resume for RK3288

2014-10-20 Thread zyw
From: Chris Zhong It's a basic version of suspend and resume for rockchip, it only support RK3288 now. Signed-off-by: Tony Xie Signed-off-by: Chris Zhong --- Changes in v3: - move the pinmux of gpio6_c6 save and restore to pinctrl-rockchip Changes in v2: - add the regulator calls in prepare

[PATCH v3 5/6] ARM: rockchip: Add pmu-sram binding

2014-10-20 Thread zyw
From: Chris Zhong The pmu-sram is used to store resume code, suspend/resume need get the address of it. Therefore add a binding and documentation for it. Signed-off-by: Tony Xie Signed-off-by: Chris Zhong --- Changes in v3: None Changes in v2: None .../devicetree/bindings/arm/rockchip/pmu-s

Re: [PATCH] init: Remove CONFIG_INIT_FALLBACK

2014-10-20 Thread Rob Landley
On 10/20/14 17:04, Andy Lutomirski wrote: > --- a/init/main.c > +++ b/init/main.c > @@ -960,13 +960,8 @@ static int __ref kernel_init(void *unused) > ret = run_init_process(execute_command); > if (!ret) > return 0; > -#ifndef CONFIG_INIT_FALLBACK >

[PATCH v3 6/6] ARM: dts: add RK3288 suspend support

2014-10-20 Thread zyw
From: Chris Zhong add pmu_intmem node for suspend, add global_pwroff pinctrl. The pmu_intmem is used to store the resume code. global_pwroff is held low level at work, it would be pull to high when entering suspend. PMICs can get this singal, then shut down some power rails. So please reference t

[PATCH] spi/atmel: improve the system suspend/resume functions implementation

2014-10-20 Thread Wenyou Yang
To make it cleaner, the system suspend/resume directly call the runtime suspend/resume functions and remove the wapper of CONFIG_PM_RUNTIME, CONFIG_PM_SLEEP. Signed-off-by: Wenyou Yang --- drivers/spi/spi-atmel.c | 61 --- 1 file changed, 26 insertio

Re: [PATCH v2 1/2] kprobes: introduce ARCH_HANDLES_KPROBES_ON_FTRACE

2014-10-20 Thread Masami Hiramatsu
(2014/10/20 19:59), Heiko Carstens wrote: > Allow architectures to implement handling of kprobes on function > tracer call sites on their own, without depending on common code. > > This patch removes the kprobes check if a kprobe is being placed > on a function tracer call site and therefore gives

[PATCH] usb: storage: Convert usb_stor_dbg to return void

2014-10-20 Thread Joe Perches
No caller or macro uses the return value so make it void. Signed-off-by: Joe Perches --- This change is associated to a desire to eventually change printk to return void. drivers/usb/storage/debug.c | 7 ++- drivers/usb/storage/debug.h | 10 ++ 2 files changed, 8 insertions(+), 9 d

Re: [PATCH] perf tools: fix incorrect header string

2014-10-20 Thread Wang Nan
On 2014/10/16 22:55, Arnaldo Carvalho de Melo wrote: > Em Thu, Oct 16, 2014 at 11:21:13AM +0800, Wang Nan escreveu: >> On 2014/10/15 23:13, Arnaldo Carvalho de Melo wrote: >>> Em Wed, Oct 15, 2014 at 11:28:53AM +0800, Wang Nan escreveu: Commit fbe96f29 (perf tools: Make perf.data more self-des

Re: [PATCH v2 1/2] timekeeping: add EXPORT_SYMBOL_GPL for do_adjtimex()

2014-10-20 Thread Jeff Epler
On Tue, Oct 21, 2014 at 03:18:58AM +, Thomas Shao wrote: > In some situation, the user is not able to enable guest VM to sync with > external > time source, like NTP. But the host is still synced with a trusted time > source. > In this case, host-guest time synchronization is useful. It's

Re: [PATCH] init: Remove CONFIG_INIT_FALLBACK

2014-10-20 Thread Andy Lutomirski
On Mon, Oct 20, 2014 at 8:45 PM, Rob Landley wrote: > On 10/20/14 17:04, Andy Lutomirski wrote: >> --- a/init/main.c >> +++ b/init/main.c >> @@ -960,13 +960,8 @@ static int __ref kernel_init(void *unused) >> ret = run_init_process(execute_command); >> if (!ret) >>

RE: [PATCH v2 1/2] timekeeping: add EXPORT_SYMBOL_GPL for do_adjtimex()

2014-10-20 Thread Thomas Shao
> -Original Message- > From: John Stultz [mailto:john.stu...@linaro.org] > Sent: Tuesday, October 21, 2014 11:24 AM > To: Thomas Shao > Cc: Thomas Gleixner; gre...@linuxfoundation.org; LKML; > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; > jasow...@redhat.com; KY Srin

Re: [RFC 0/5] CR4 handling improvements

2014-10-20 Thread Vince Weaver
On Tue, 14 Oct 2014, Andy Lutomirski wrote: > This little series tightens up rdpmc permissions. With it applied, > rdpmc can only be used if a perf_event is actually mmapped. For now, > this is only really useful for seccomp. So just to be difficult... I am aware of at least one group who is d

[PATCH v2 03/47] hibernate: Call have_kernel_power_off instead of checking pm_power_off

2014-10-20 Thread Guenter Roeck
Poweroff handlers may now be installed with register_power_off_handler. Use the new API function have_kernel_power_off to determine if a poweroff handler has been installed. Cc: Rafael J. Wysocki Cc: Pavel Machek Cc: Len Brown Acked-by: Rafael J. Wysocki Signed-off-by: Guenter Roeck --- v2: -

[PATCH v2 00/47] kernel: Add support for poweroff handler call chain

2014-10-20 Thread Guenter Roeck
Various drivers implement architecture and/or device specific means to remove power from the system. For the most part, those drivers set the global variable pm_power_off to point to a function within the driver. This mechanism has a number of drawbacks. Typically only one means to remove power

[PATCH v2 06/47] gpio-poweroff: Drop reference to pm_power_off from devicetree bindings

2014-10-20 Thread Guenter Roeck
pm_power_off is an implementation detail. Replace it with a more generic description of the driver's functionality. Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Acked-by: Mark Rutland Acked-by: Andrew Lunn Signed-off-by: Guenter Roeck --- v2: No change Documentation/devicetree/bindings/

[PATCH v2 21/47] ipmi: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with high priority to reflect that the original code overwrites pm_power_off unconditionally. Register poweroff handler after the ipmi system is ready, and unregister it prior to cleanup. This avoids having to

[PATCH v2 25/47] power/reset: qnap-poweroff: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with default priority to reflect that the original code generates an error if another poweroff handler has already been registered when the driver is loaded. Drop remove function since it is no longer needed.

[PATCH v2 27/47] power/reset: vexpress-poweroff: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Select default priority to reflect that the original code sets pm_power_off unconditionally. Signed-off-by: Guenter Roeck --- v2: Use define to specify poweroff handler priority drivers/power/reset/vexpress-poweroff

[PATCH v2 19/47] mfd: rk808: Register poweroff handler with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with low priority to reflect that the original code only sets pm_power_off if it was not already set. Cc: Chris Zhong Cc: Zhang Qing Signed-off-by: Guenter Roeck --- v2: - New patch drivers/mfd/rk808.c

[PATCH v2 40/47] mips: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. If there is an indication that there can be more than one poweroff handler, use register_power_off_handler, otherwise use register_power_off_handler_simple to register the poweroff handler. If the poweroff handler onl

[PATCH v2 33/47] staging: nvec: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with default priority since we don't know any better. Cc: Julian Andres Klode Cc: Marc Dietrich Cc: Greg Kroah-Hartman Acked-by: Greg Kroah-Hartman Signed-off-by: Guenter Roeck --- v2: - Use define to spe

[PATCH v2 35/47] arm: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Always use register_power_off_handler_simple as there is no indication that more than one poweroff handler is registered. If the poweroff handler only resets the system or puts the CPU in sleep mode, select the fallbac

[PATCH v2 44/47] x86: intel-mid: Drop registration of dummy poweroff handlers

2014-10-20 Thread Guenter Roeck
A dummy poweroff handler does not serve any purpose. Drop it. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: H. Peter Anvin Signed-off-by: Guenter Roeck --- - Use define to specify poweroff handler priority arch/x86/platform/intel-mid/intel-mid.c | 5 - arch/x86/platform/intel-mid/mfld.c |

[PATCH v2 46/47] efi: Register poweroff handler with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with low priority since the efi code states that this is a poweroff handler of last resort. Cc: Matt Fleming Acked-by: Matt Fleming Acked-by: Mark Salter Signed-off-by: Guenter Roeck --- - Use define to sp

[PATCH v2 47/47] kernel: Remove pm_power_off

2014-10-20 Thread Guenter Roeck
No users of pm_power_off are left, so it is safe to remove the function. Cc: Rafael J. Wysocki Cc: Pavel Machek Cc: Len Brown Acked-by: Rafael J. Wysocki Signed-off-by: Guenter Roeck --- v2: poweroff -> power_off include/linux/pm.h | 1 - kernel/power/poweroff_handler.c | 10 +

Re: [PATCH] init: Remove CONFIG_INIT_FALLBACK

2014-10-20 Thread Rob Landley
On 10/20/14 23:02, Andy Lutomirski wrote: > On Mon, Oct 20, 2014 at 8:45 PM, Rob Landley wrote: >> On 10/20/14 17:04, Andy Lutomirski wrote: >>> --- a/init/main.c >>> +++ b/init/main.c >>> @@ -960,13 +960,8 @@ static int __ref kernel_init(void *unused) >>> ret = run_init_process(ex

[PATCH v2 43/47] x86: ce4100: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: H. Peter Anvin Signed-off-by: Guenter Roeck --- - Use define to specify poweroff handler priority arch/x86/platform/ce4100/ce4100.c | 3 ++- 1 file changed, 2 insertions(+)

[PATCH v2 45/47] x86: pmc_atom: Register poweroff handler with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with low priority to reflect that the original code only sets pm_power_off if it was not already set. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: H. Peter Anvin Signed-off-by: Guenter Roeck --- - Use define to

[PATCH v2 41/47] sh: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Signed-off-by: Guenter Roeck --- - Use defines to specify poweroff handler priorities arch/sh/boards/board-sh7785lcr.c | 3 ++- arch/sh/boards/board-urquell.c | 3 ++- arch/sh/boards/mach-highlander/se

[PATCH v2 39/47] m68k: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Cc: Geert Uytterhoeven Cc: Joshua Thompson Acked-by: Geert Uytterhoeven Signed-off-by: Guenter Roeck --- - Use defines to specify poweroff handler priorities arch/m68k/emu/natfeat.c | 3 ++- arch/m68k/mac/config.

Re: [PATCH 0/3] scsi: Add Hyper-V logical block provisioning quirks

2014-10-20 Thread Sitsofe Wheeler
On Tue, Oct 14, 2014 at 09:06:37PM -0400, Martin K. Petersen wrote: > > "Sitsofe" == Sitsofe Wheeler writes: > > Sitsofe> A previous patch attempted to add a quirk to workaround this > Sitsofe> but the quirk was only enabled after the features had been > Sitsofe> scanned for, wouldn't work fo

[PATCH v2 36/47] arm64: psci: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Cc: Catalin Marinas Cc: Will Deacon Signed-off-by: Guenter Roeck --- - Use define to specify poweroff handler priority arch/arm64/kernel/psci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a

[PATCH v2 42/47] x86: lguest: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Cc: Rusty Russell Cc: Thomas Gleixner Cc: Ingo Molnar Cc: H. Peter Anvin Signed-off-by: Guenter Roeck --- - Use define to specify poweroff handler priority arch/x86/lguest/boot.c | 3 ++- 1 file changed, 2 inser

[PATCH v2 38/47] ia64: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with low priority to reflect that the call is expected to be replaced at some point in the future. Cc: Tony Luck Cc: Fenghua Yu Signed-off-by: Guenter Roeck --- - Use define to specify poweroff handler prio

[PATCH v2 31/47] x86: apm: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with high priority to reflect that the original code overwrites existing poweroff handlers. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: H. Peter Anvin Cc: Jiri Kosina Signed-off-by: Guenter Roeck --- v2: - Us

[PATCH v2 34/47] acpi: Register poweroff handler with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with high priority to reflect that the driver explicitly overrides existing poweroff handlers. Cc: Rafael J. Wysocki Cc: Len Brown Signed-off-by: Guenter Roeck --- v2: - Use define to specify poweroff handl

[PATCH v2 32/47] x86: olpc: Register xo1 poweroff handler with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with high priority to reflect that the driver explicitly wants to override default poweroff handlers. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: H. Peter Anvin Signed-off-by: Guenter Roeck --- v2: Use define

[PATCH v2 30/47] x86: iris: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with high priority to reflect that the original code overwrites existing poweroff handlers. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: H. Peter Anvin Signed-off-by: Guenter Roeck --- v2: - Use define to speci

[PATCH v2 37/47] avr32: atngw100: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Cc: Haavard Skinnemoen Cc: Hans-Christian Egtvedt Signed-off-by: Guenter Roeck --- - Use define to specify poweroff handler priority arch/avr32/boards/atngw100/mrmt.c | 3 ++- 1 file changed, 2 insertions(+), 1 de

[PATCH v2 24/47] power/reset: as3722-poweroff: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with low priority to reflect that the original code only sets pm_power_off if it was not already set. Drop remove function since it is no longer needed. Cc: Sebastian Reichel Cc: Dmitry Eremin-Solenikov Cc:

[PATCH v2 26/47] power/reset: msm-poweroff: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Select fallback priority since the code does not really poweroff the system but resets it instead. Signed-off-by: Guenter Roeck --- v2: - Use define to specify poweroff handler priority - Fix headline and description

[PATCH v2 28/47] power/reset: at91-poweroff: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Select default priority to reflect that the original code sets pm_power_off unconditionally. Signed-off-by: Guenter Roeck --- v2: Added patch drivers/power/reset/at91-poweroff.c | 16 1 file changed

[PATCH v2 29/47] power/reset: ltc2952-poweroff: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with low priority to reflect that the original code sets pm_power_off only if it was not already set. Signed-off-by: Guenter Roeck --- v2: Added patch drivers/power/reset/ltc2952-poweroff.c | 27 +++

Re: [PATCH 2/3] scsi: add try_rc16 blacklist flag

2014-10-20 Thread Sitsofe Wheeler
On Tue, Oct 14, 2014 at 09:08:28PM -0400, Martin K. Petersen wrote: > > "Sitsofe" == Sitsofe Wheeler writes: > > Sitsofe> Microsoft Hyper-V virtual disks currently only claim SPC-2 > Sitsofe> compliance causing the kernel skip checks for features such as > Sitsofe> thin provisioning even thou

[PATCH v2 20/47] mfd: rn5t618: Register poweroff handler with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with low priority to reflect that the original code only sets pm_power_off if it was not already set. Cc: Beniamino Galvani Signed-off-by: Guenter Roeck --- v2: New patch drivers/mfd/rn5t618.c | 32 +

[PATCH v2 23/47] power/reset: gpio-poweroff: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with low priority to reflect that the original code only sets pm_power_off if it was not already set. Other changes: Drop note that there can not be an additional instance of this driver. The original reason

[PATCH v2 22/47] power/reset: restart-poweroff: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register as poweroff handler of last resort since the driver does not really power off the system but executes a restart. Drop remove function since it is no longer needed. Cc: Sebastian Reichel Cc: Dmitry Eremin-So

[PATCH v2 17/47] mfd: tps65910: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with low priority to reflect that the original code only sets pm_power_off if it was not already set. Cc: Samuel Ortiz Cc: Lee Jones Signed-off-by: Guenter Roeck --- v2: - Use define to specify poweroff han

[PATCH v2 18/47] mfd: twl4030-power: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with low priority to reflect that the original code only sets pm_power_off if it was not already set. Make twl4030_power_off static as it is only called from the twl4030-power driver. Drop remove function as i

[PATCH v2 13/47] mfd: max8907: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with low priority to reflect that the original code only sets pm_power_off if it was not already set. Note that this patch fixes a problem on driver unload as side effect: The old code did not restore or clean

[PATCH v2 16/47] mfd: tps6586x: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with low priority to reflect that the original code only sets pm_power_off if it was not already set. Cc: Samuel Ortiz Cc: Lee Jones Signed-off-by: Guenter Roeck --- v2: - Use define to specify poweroff han

[PATCH v2 15/47] mfd: dm355evm_msp: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with low priority to reflect that the original code only sets pm_power_off if it was not already set. Cc: Samuel Ortiz Cc: Lee Jones Signed-off-by: Guenter Roeck --- v2: - Use define to specify poweroff han

[PATCH v2 12/47] mfd: ab8500-sysctrl: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with low priority to reflect that the original code only sets pm_power_off if it was not already set. sysctrl_dev is set prior to poweroff handler registration, and the poweroff handler is unregistered prior t

[PATCH v2 14/47] mfd: tps80031: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with low priority to reflect that the original code only sets pm_power_off if it was not already set. Cc: Samuel Ortiz Cc: Lee Jones Signed-off-by: Guenter Roeck --- v2: - Use define to specify poweroff han

[PATCH v2 11/47] mfd: retu: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with low priority to reflect that the original code only sets pm_power_off if it was not already set. Cc: Lee Jones Cc: Samuel Ortiz Signed-off-by: Guenter Roeck --- v2: - Use define to specify poweroff han

[PATCH v2 08/47] kernel: Move pm_power_off to common code

2014-10-20 Thread Guenter Roeck
pm_power_off is defined for all architectures. Move it to common code. Have all architectures call do_kernel_power_off instead of pm_power_off. Some architectures point pm_power_off to machine_power_off. For those, call do_kernel_power_off from machine_power_off instead. Acked-by: David Vrabel A

[PATCH v2 10/47] mfd: axp20x: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with a low priority value of 64 to reflect that the original code only sets pm_power_off if it was not already set. Cc: Lee Jones Cc: Samuel Ortiz Signed-off-by: Guenter Roeck --- v2: - Use define to specif

[PATCH v2 09/47] mfd: palmas: Register with kernel poweroff handler

2014-10-20 Thread Guenter Roeck
Register with kernel poweroff handler instead of setting pm_power_off directly. Register with low priority to reflect that the original code only sets pm_power_off if it was not already set. Cc: Samuel Ortiz Cc: Lee Jones Signed-off-by: Guenter Roeck --- v2: - Use define to specify poweroff han

[PATCH v2 05/47] mfd: as3722: Drop reference to pm_power_off from devicetree bindings

2014-10-20 Thread Guenter Roeck
Devicetree bindings are supposed to be operating system independent and should thus not describe how a specific functionality is implemented in Linux. Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Acked-by: Mark Rutland Signed-off-by: Guenter Roeck --- v2: No change Documentation/devicetr

[PATCH v2 07/47] qnap-poweroff: Drop reference to pm_power_off from devicetree bindings

2014-10-20 Thread Guenter Roeck
Replace reference to pm_power_off (which is an implementation detail) and replace it with a more generic description of the driver's functionality. Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Acked-by: Mark Rutland Acked-by: Andrew Lunn Signed-off-by: Guenter Roeck --- v2: Drop implement

[PATCH v2 02/47] memory: emif: Use API function to determine poweroff capability

2014-10-20 Thread Guenter Roeck
Use have_kernel_power_off() to determine if the kernel is able to power off the system. Cc: Santosh Shilimkar Signed-off-by: Guenter Roeck --- v2: - poweroff -> power_off drivers/memory/emif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/memory/emif.c b/drive

[PATCH v2 04/47] m68k: Replace mach_power_off with pm_power_off

2014-10-20 Thread Guenter Roeck
Replace mach_power_off with pm_power_off to simplify the subsequent move of pm_power_off to generic code. Cc: Geert Uytterhoeven Cc: Greg Ungerer Cc: Joshua Thompson Acked-by: Geert Uytterhoeven Signed-off-by: Guenter Roeck --- v2: - have_kernel_poweroff -> have_kernel_power_off arch/m68k/e

Re: [PATCH] i8k: Ignore temperature sensors which report invalid values

2014-10-20 Thread Guenter Roeck
On 10/20/2014 09:46 AM, Pali Rohár wrote: Ok, I will describe my problem. Guenter, maybe you can find another solution/fix for it. Calling i8k_get_temp(3) on my laptop without I8K_TEMPERATURE_BUG always returns value 193 (which is above I8K_MAX_TEMP). When I8K_TEMPERATURE_BUG is enabled (by def

[PATCH v2 01/47] kernel: Add support for poweroff handler call chain

2014-10-20 Thread Guenter Roeck
Various drivers implement architecture and/or device specific means to remove power from the system. For the most part, those drivers set the global variable pm_power_off to point to a function within the driver. This mechanism has a number of drawbacks. Typically only one scheme to remove power

Re: [RFC 0/5] CR4 handling improvements

2014-10-20 Thread Andy Lutomirski
On Mon, Oct 20, 2014 at 9:06 PM, Vince Weaver wrote: > On Tue, 14 Oct 2014, Andy Lutomirski wrote: > >> This little series tightens up rdpmc permissions. With it applied, >> rdpmc can only be used if a perf_event is actually mmapped. For now, >> this is only really useful for seccomp. > > So jus

Re: vga and 64-bit memcpy's

2014-10-20 Thread Dave Airlie
On 13 September 2014 01:11, Linus Torvalds wrote: > On Fri, Sep 12, 2014 at 3:48 AM, Dave Airlie wrote: >> >> Well I'm not shocked that an SMI GPU is out of spec, just not sure how >> we can workaround it. > > Try just removing the > > #define scr_memcpyw(d, s, c) memcpy(d, s, c) > #define VT

Re: [PATCHv4 RESEND 0/3] syscalls,x86: Add execveat() system call

2014-10-20 Thread Eric W. Biederman
Andy Lutomirski writes: > On Mon, Oct 20, 2014 at 6:48 AM, David Drysdale wrote: >> On Sun, Oct 19, 2014 at 1:20 AM, Eric W. Biederman >> wrote: >>> Andy Lutomirski writes: >>> [Added Eric Biederman, since I think your tree might be a reasonable route forward for these patches.]

Re: powerpc: Wire up sys_bpf() syscall

2014-10-20 Thread Michael Ellerman
On Fri, 2014-10-10 at 05:53:45 UTC, Pranith Kumar wrote: > This patch wires up the new syscall sys_bpf() on powerpc. Is there a test suite we can run to verify it works? cheers -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.ke

Re: [PATCH 0/8] x86: Disentangle the vdso and clean it up

2014-10-20 Thread Andy Lutomirski
On Mon, Oct 20, 2014 at 3:41 PM, Andy Lutomirski wrote: > On Mon, Oct 20, 2014 at 3:03 PM, H. Peter Anvin wrote: >> On 10/20/2014 02:57 PM, Andy Lutomirski wrote: >>> >>> Should I send a replacement for patch 8 or should I let you merge 1-7 >>> and fold this into the followup series? >>> >> >> Pl

Re: [PATCH 0/3] scsi: Add Hyper-V logical block provisioning quirks

2014-10-20 Thread Sitsofe Wheeler
On Sun, Oct 12, 2014 at 01:21:01AM +, KY Srinivasan wrote: > > > -Original Message- > > From: Jeff Leung [mailto:jle...@v10networks.ca] > > Sent: Saturday, October 11, 2014 1:22 PM > > > > > On the current release of Windows (windows 10), we are advertising > > > SPC3 compliance. > >

  1   2   3   4   5   6   7   8   >