RE: Re: [PATCH v2 3/3] efi: Capsule update with user helper interface

2015-02-25 Thread Kweh, Hock Leong
-Original Message- From: Borislav Petkov [mailto:b...@alien8.de] Sent: Wednesday, February 25, 2015 7:48 PM On Tue, Feb 24, 2015 at 12:49:09PM +, Kweh, Hock Leong wrote: So this sounds pretty overengineered for no reason, or maybe I'm missing the reason. If I had to give

Re: [PATCH] iommu/io-pgtable-arm: fix self-test WARNs on i386

2015-02-25 Thread Joerg Roedel
On Mon, Feb 16, 2015 at 06:38:20PM +, Will Deacon wrote: Various build/boot bots have reported WARNs being triggered by the ARM iopgtable LPAE self-tests on i386 machines. This boils down to two instances of right-shifting a 32-bit unsigned long (i.e. an iova) by more than the size of

Re: [PATCH 4/8 v2] ARM OMAP2+ GPMC: fix debug output alignment

2015-02-25 Thread Roger Quadros
On 24/02/15 22:05, Robert ABEL wrote: GPMC debug output is aligned to 10 characters for field names. However, some fields have bigger names, screwing up the alignment. Consequently, alignment was changed to longest field name (17 chars) for now. Signed-off-by: Robert ABEL

[patch] memstick: mspro_block: add missing curly braces

2015-02-25 Thread Dan Carpenter
From the indenting we can see the curly braces were obviously intended. This is a static checker fix, but my guess is that we don't read enough bytes, because we don't calculate t_len correctly. Fixes: f1d82698029b ('memstick: use fully asynchronous request processing') Signed-off-by: Dan

Re: [PATCH 0/5] MODSIGN: Use PKCS#7 for module signatures [ver #3]

2015-02-25 Thread Michal Marek
On 2015-02-06 15:58, David Howells wrote: Note that the revised sign-file program no longer supports the -s signature option as I'm not sure what the best way to deal with this is. Do we generate a PKCS#7 cert from the signature given, or do we get given a PKCS#7 cert? I lean towards the

[PATCH 2/6] ahci: st: Update the DT example for how to obtain the PHY.

2015-02-25 Thread Peter Griffin
The example is wrong in that the phys property should take a phandle to the phy port. Also with the changing over to generic PHY type constants we also update this as well. Signed-off-by: Peter Griffin peter.grif...@linaro.org --- Documentation/devicetree/bindings/ata/ahci-st.txt | 4 ++-- 1

Re: [patch 2/2] rocker: silence shift wrapping warning

2015-02-25 Thread Jiri Pirko
Wed, Feb 25, 2015 at 02:36:12PM CET, dan.carpen...@oracle.com wrote: val is declared as a u64 so static checkers complain that this shift can wrap. I don't have the hardware but probably it's doesn't have over It's a QEMU hardware, you can have it easily. 31 ports. Still we may as well silence

Re: [PATCH 2/3 v3] x86: entry_64.S: always allocate complete struct pt_regs

2015-02-25 Thread Denys Vlasenko
On 02/25/2015 01:37 PM, Andrey Wagin wrote: 2015-02-13 0:54 GMT+03:00 Denys Vlasenko dvlas...@redhat.com: My test vm doesn't boot with this patch. Could you help to investigate this issue? Hi Andrey, thanks for testing! I have attached a kernel config and console log. Looking at the logs,

[PATCH v4 1/9] mfd: dt-bindings: Provide human readable defines for LPC mode choosing

2015-02-25 Thread Lee Jones
ST's Low Power Controller can currently operate in two supported modes; Watchdog and Real Time Clock. These defines will aid engineers to easily identify the selected mode. Signed-off-by: Lee Jones lee.jo...@linaro.org --- include/dt-bindings/mfd/st-lpc.h | 15 +++ 1 file changed,

[PATCH v4 0/9] mfd: watchdog: rtc: New driver for ST's LPC IP

2015-02-25 Thread Lee Jones
ST's Low Power Controller (LPC) controls two devices; watchdog and RTC. Only one of the devices can be used at any one time, which is enforced by the correlating MFD driver. This driver set provides everything you need to choose one (and only one) of the LPC devices to run per I/P block, of

Re: [ANNOUNCE] 3.18.7-rt1

2015-02-25 Thread Sebastian Andrzej Siewior
* Joakim Hernberg | 2015-02-19 10:36:01 [+0100]: On Tue, 17 Feb 2015 09:37:44 +0100 Daniel Wagner w...@monom.org wrote: I needed the patch below to get it running stable under load on my shiny box. FWIW, this patch makes 3.18-rt survive thermal events on my laptop. Okay. I applied a slightly

[PATCH v4 3/9] ARM: multi_v7_defconfig: Enable support for ST's LPC RTC

2015-02-25 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 0f172f8..1a861c9 100644 --- a/arch/arm/configs/multi_v7_defconfig +++

Re: [PATCH] mm, oom: do not fail __GFP_NOFAIL allocation if oom killer is disbaled

2015-02-25 Thread Michal Hocko
On Tue 24-02-15 14:11:27, Johannes Weiner wrote: [...] I'm fine with keeping the allocation looping, but is that message helpful? It seems completely useless to the user encountering it. Is it going to help kernel developers when we get a bug report with it? It is better than a silent

Re: nios2: is the ptrace ABI correct?

2015-02-25 Thread Arnd Bergmann
On Wednesday 25 February 2015 08:33:16 Ezequiel Garcia wrote: /me is more confused now In arch/nios2/include/asm/ucontext.h struct ucontext { unsigned long uc_flags; struct ucontext *uc_link; stack_t uc_stack; struct mcontext

Re: [PATCH] virtio-balloon: do not call blocking ops when !TASK_RUNNING

2015-02-25 Thread Michael S. Tsirkin
On Wed, Feb 25, 2015 at 03:32:08PM +0100, Cornelia Huck wrote: On Wed, 25 Feb 2015 15:14:36 +0100 Michael S. Tsirkin m...@redhat.com wrote: virtio balloon has this code: wait_event_interruptible(vb-config_change, (diff = towards_target(vb)) != 0

Re: [PATCH 3/3] HID: rmi: disable palm detect gesture when present

2015-02-25 Thread Jiri Kosina
On Wed, 25 Feb 2015, Gabriele Mazzotta wrote: On Tuesday 24 February 2015 17:36:50 Andrew Duggan wrote: A touchpad may have firmware based palm detection code enabled which suppresses 2D data from being reported when the firmware believes a palm is on the touchpad. This functionality is

Re: [PATCH 0/3 v2] e820: Fix handling of NvDIMM chips

2015-02-25 Thread Boaz Harrosh
On 02/25/2015 12:22 PM, Ingo Molnar wrote: * Boaz Harrosh b...@plexistor.com wrote: List of patches: [PATCH 1/3] e820: Don't let unknown DIMM type come out BUSY The main fix [PATCH 2/3] resource: Add new flag IORESOURCE_WARN (64bit) Warn in request_resource [PATCH 3A/3]

Re: Differences between builtins and modules

2015-02-25 Thread Michal Marek
On Tue, Feb 24, 2015 at 10:02:55PM -0300, Lucas De Marchi wrote: On Mon, Feb 23, 2015 at 12:51 PM, Michal Marek mma...@suse.cz wrote: On 2015-02-23 15:30, Lucas De Marchi wrote: My questions are: 1) should we put *all* the modules in the builtin index? You mean all *.o files that do not

Re: [PATCH v2 14/18] ARM: Add STM32 family machine

2015-02-25 Thread Maxime Coquelin
2015-02-20 19:33 GMT+01:00 Peter Meerwald pme...@pmeerw.net: STMicrolectronics's STM32 series is a family of Cortex-M microcontrollers. It is used in various applications, and proposes a wide range of peripherals. the text describing the STM32 could be a bit more specific :) some more

Re: [PATCH 0/7] New eFuse subsystem

2015-02-25 Thread Maxime Ripard
Hi Ezequiel, On Wed, Feb 25, 2015 at 08:45:12AM -0300, Ezequiel Garcia wrote: This patchset introduces a new driver subsystem, meant to support eFuse (alias OTP, one-time-programmable) devices. The motivation behind this work is to have a common place for drivers that are currently more or

Re: [PATCH v2 14/18] ARM: Add STM32 family machine

2015-02-25 Thread Maxime Coquelin
2015-02-20 22:37 GMT+01:00 Paul Bolle pebo...@tiscali.nl: On Fri, 2015-02-20 at 21:00 +0100, Uwe Kleine-König wrote: On Fri, Feb 20, 2015 at 07:01:13PM +0100, Maxime Coquelin wrote: diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 97d07ed..cfd9532 100644 --- a/arch/arm/Kconfig +++

Re: [PATCH v2 14/18] ARM: Add STM32 family machine

2015-02-25 Thread Maxime Coquelin
2015-02-20 21:00 GMT+01:00 Uwe Kleine-König u.kleine-koe...@pengutronix.de: Hello, On Fri, Feb 20, 2015 at 07:01:13PM +0100, Maxime Coquelin wrote: STMicrolectronics's STM32 series is a family of Cortex-M microcontrollers. It is used in various applications, and proposes a wide range of

Re: [PATCH 1/2] thermal: exynos: Fix wrong control of power down detection mode for Exynos7

2015-02-25 Thread Lukasz Majewski
Hi Eduardo, Hi Lukasz, On Wed, Feb 25, 2015 at 2:33 PM, Lukasz Majewski l.majew...@samsung.com wrote: Hi Abhilash, This patch fixes the wrong control of PD_DET_EN (power down detection mode) for Exynos7 because exynos7_tmu_control() always enables the power down detection mode

Re: [PATCH 3/7] drivers: Introduce new eFuse subsystem stub

2015-02-25 Thread Stefan Wahren
Hi, [adding devicetree list] Am 25.02.2015 um 12:45 schrieb Ezequiel Garcia: This commit introduces a new eFuse subsystem stub to hold all the eFuse-like device drivers. This will be used to host the currently supported Tegra eFuse driver, and will allow to add support for other platforms as

Re: doubt about sm7xxfb

2015-02-25 Thread Sudip Mukherjee
On Wed, Feb 11, 2015 at 02:33:51PM +0800, Greg Kroah-Hartman wrote: On Wed, Feb 11, 2015 at 11:58:18AM +0530, Sudip Mukherjee wrote: Ok, that makes sense, I was thinking this was a new driver, instead of a vendor driver crud. Hi Greg, The SM750 driver is almost ready for staging, it now

RE: [PATCH 0/7] New eFuse subsystem

2015-02-25 Thread James Hartley
Hi Maxime, -Original Message- From: Ezequiel Garcia Sent: 25 February 2015 12:30 To: Maxime Ripard Cc: Thierry Reding; Stephen Warren; Arnd Bergmann; Andrew Bresticker; James Hartley; linux-arm-ker...@lists.infradead.org; linux- ker...@vger.kernel.org Subject: Re: [PATCH 0/7] New

Re: [PATCH 5/8 v2] ARM OMAP2+ GPMC: change get_gpmc_timing_reg output for DTS

2015-02-25 Thread Roger Quadros
On 24/02/15 22:05, Robert ABEL wrote: DTS output was formatted to require additional work when copy-pasting into DTS. Nano-second timings were removed, because they were not a confidence interval nor an indication what timing values would result in the same #ticks If they were not is it

Re: Trying to use 'perf probe' to debug perf itself

2015-02-25 Thread Arnaldo Carvalho de Melo
Em Wed, Feb 25, 2015 at 11:53:16AM +0900, Masami Hiramatsu escreveu: (2015/02/25 3:49), Arnaldo Carvalho de Melo wrote: Available variables at thread__get @thread__get+0 struct thread* thread [root@ssdandy ~]# cool, so I thought it would be just a matter of

[PATCH v4 8/9] rtc: st: add new driver for ST's LPC RTC

2015-02-25 Thread Lee Jones
ST's Low Power Controller (LPC) controls two devices; watchdog and RTC. Only one of the devices can be used at any one time. This is enforced by the correlating MFD driver. This portion of the driver-set controls the Real Time Clock. Signed-off-by: Lee Jones lee.jo...@linaro.org ---

Re: [PATCH 2/4] x86: get rid of KERNEL_STACK_OFFSET

2015-02-25 Thread Ingo Molnar
* Denys Vlasenko dvlas...@redhat.com wrote: The decision on how exactly we should fix KERNEL_STACK_OFFSET (set it to SIZEOF_PTREGS or to zero) depends on whether we switch to using PUSHes, or not. What do you think? Yes. A data point. I implemented push-based creation of pt_regs

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

2015-02-25 Thread Lee Jones
Reviewed-by: Guenter Roeck li...@roeck-us.net Signed-off-by: David Paris david.pa...@st.com Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/watchdog/Kconfig | 13 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/st_lpc_wdt.c | 333

[PATCH v4 4/9] ARM: STi: DT: STiH407: Add Device Tree node for the LPC

2015-02-25 Thread Lee Jones
On current ST platforms the LPC controls a number of functions. This patch enables support for the LPC Watchdog and LPC RTC devices on LPC1 and LPC2 respectively. Signed-off-by: David Paris david.pa...@st.com Signed-off-by: Lee Jones lee.jo...@linaro.org ---

Re: [patch-3.18.7-rt1]sunrpc: make svc_xprt_do_enqueue() use get_cpu_light()

2015-02-25 Thread Sebastian Andrzej Siewior
* Mike Galbraith | 2015-02-18 16:05:28 [+0100]: [ 37.667792] Installing knfsd (copyright (C) 1996 o...@monad.swb.de). [ 37.720307] BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:915 [ 37.720307] in_atomic(): 1, irqs_disabled(): 0, pid: 3194, name: rpc.nfsd [

[PATCH] virtio-balloon: do not call blocking ops when !TASK_RUNNING

2015-02-25 Thread Michael S. Tsirkin
virtio balloon has this code: wait_event_interruptible(vb-config_change, (diff = towards_target(vb)) != 0 || vb-need_stats_update || kthread_should_stop() ||

Re: [PATCH v2] mfd: arizona: Move useful defines into a dt-binding include

2015-02-25 Thread Lee Jones
Why are you using this address for MFD? Move parts of linux/mfd/arizona/pdata.h and gpio.h into a new file in the dt-binding directory for use by device tree bindings. This also makes gpio.h redundant so remove it in the process. Signed-off-by: Charles Keepax

Re: [PATCH v2 0/3] net: Linn Ethernet Packet Sniffer driver

2015-02-25 Thread Richard Cochran
On Wed, Feb 25, 2015 at 10:53:11AM +, Stathis Voukelatos wrote: On 25/02/15 09:50, Richard Cochran wrote: The Linux kernel already fully supports this kind of application via the SIOCSHWTSTAMP, SO_TIMESTAMPING, and PHC mechanisms. We certainly don't need another another interface just

Re: [PATCH v2] mfd: arizona: Move useful defines into a dt-binding include

2015-02-25 Thread Rob Herring
On Wed, Feb 25, 2015 at 8:09 AM, Charles Keepax ckee...@opensource.wolfsonmicro.com wrote: Move parts of linux/mfd/arizona/pdata.h and gpio.h into a new file in the dt-binding directory for use by device tree bindings. This also makes gpio.h redundant so remove it in the process.

Re: [PATCH RT 1/2] rwsem-rt: Do not allow readers to nest

2015-02-25 Thread Sebastian Andrzej Siewior
On 02/18/2015 09:13 PM, Steven Rostedt wrote: Here the same thing but without cmpxchg(). _If_ after an increment the value is negative then we take slowpath. Otherwise we have the lock. OK, so I need to make it so it can nest with trylock. I have to look at the patch again because it has

Re: [PATCH 2/4] x86: get rid of KERNEL_STACK_OFFSET

2015-02-25 Thread Denys Vlasenko
On Wed, Feb 25, 2015 at 9:53 AM, Ingo Molnar mi...@kernel.org wrote: * Denys Vlasenko dvlas...@redhat.com wrote: PER_CPU_VAR(kernel_stack) was set up in a way where it points five stack slots below the top of stack. Presumably, it was done to avoid one sub $5*8,%rsp in syscall/sysenter

Re: [Linaro-acpi] [PATCH v3 3/9] ACPI: clean up checkpatch warnings for various bits of syntax

2015-02-25 Thread Hanjun Guo
On 2015年02月25日 08:36, al.st...@linaro.org wrote: From: Al Stoneal.st...@linaro.org In preparation for later splitting out some of the arch-dependent code from osl.c, clean up a bunch of warnings for odd bits of syntax: -- remove CVS keyword markers -- remove a space from between a

Re: [PATCH 4/5] MODSIGN: Provide a utility to append a PKCS#7 signature to a module [ver #3]

2015-02-25 Thread Michal Marek
On 2015-02-06 15:59, David Howells wrote: + if (argc == 5) { + dest_name = argv[4]; + replace_orig = false; + } else { + ERR(asprintf(dest_name, %s.~signed~, module_name) 0, + asprintf); + replace_orig = true; + }

[PATCH 6/6] MAINTAINERS: Add phy-miphy28lp.c to ARCH/STI architecture

2015-02-25 Thread Peter Griffin
This patch adds the phy-miphy28lp.c phy driver found on STMicroelectronics stih407 family SoC's into the STI arch section of the maintainers file. Signed-off-by: Peter Griffin peter.grif...@linaro.org --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS

[PATCH v4 5/9] watchdog: bindings: Provide ST bindings for ST's LPC Watchdog device

2015-02-25 Thread Lee Jones
On current ST platforms the LPC controls a number of functions including Watchdog and Real Time Clock. This patch provides the bindings used to configure LPC in Watchdog mode. Signed-off-by: Lee Jones lee.jo...@linaro.org --- .../devicetree/bindings/watchdog/st_lpc_wdt.txt| 38

[PATCH v4 9/9] MAINTAINERS: Add Watchdog and RTC files to STI's maintainer entry

2015-02-25 Thread Lee Jones
Signed-off-by: Lee Jones lee.jo...@linaro.org --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index ddc5a8c..19af007 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1461,10 +1461,12 @@ F: drivers/phy/phy-stih407-usb.c F:

[PATCH] Staging: emxx_udc: fix warnings

2015-02-25 Thread Matteo Semenzato
From: Matteo Semenzato mattew8...@gmail.com This patch fixes the following warning: __aligned(size) is preferred over __attribute__((aligned(size))) Signed-off-by: Matteo Semenzato mattew8...@gmail.com --- drivers/staging/emxx_udc/emxx_udc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

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

2015-02-25 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 e8a4c95..0f172f8 100644 --- a/arch/arm/configs/multi_v7_defconfig +++

[PATCH v4 7/9] rtc: bindings: Provide ST bindings for ST's LPC RTC device

2015-02-25 Thread Lee Jones
On current ST platforms the LPC controls a number of functions including Watchdog and Real Time Clock. This patch provides the bindings used to configure LPC in RTC mode. Signed-off-by: Lee Jones lee.jo...@linaro.org --- .../devicetree/bindings/rtc/rtc-st-lpc.txt | 25

Re: [patch-3.18.7-rt1] snd/pcm: fix snd_pcm_stream_lock*() irqs_disabled() splats

2015-02-25 Thread Sebastian Andrzej Siewior
* Mike Galbraith | 2015-02-18 15:09:23 [+0100]: Locking functions previously using read_lock_irq()/read_lock_irqsave() were changed to local_irq_disable/save(), leading to gripes. Use nort variants. applied Sebastian -- To unsubscribe from this list: send the line unsubscribe linux-kernel in

Re: [PATCH] ARM64: Add new Xilinx ZynqMP SoC

2015-02-25 Thread Michal Simek
Hi Mark, On 02/24/2015 07:38 PM, Mark Rutland wrote: Hi Michal, I have a few minor comments below, but generally this is looking like one of the best dts submissions I've seen! thanks appreciate it. [...] +/ { + model = ZynqMP EP108; + + aliases { +

Re: [PATCH 2/2] drivers: cpuidle: add driver/device checks in cpuidle_enter_freeze()

2015-02-25 Thread Daniel Lezcano
On 02/24/2015 06:58 PM, Lorenzo Pieralisi wrote: The changes in commit: 381063133246 (PM / sleep: Re-implement suspend-to-idle handling) let suspend-to-idle code bypass the cpuidle_select() function to enter the deepest idle state. The sanity checks carried out in cpuidle_select() are bypassed

Re: [PATCH 1/4] x86: entry.S: tidy up several suboptimal insns

2015-02-25 Thread Steven Rostedt
On Wed, 25 Feb 2015 10:20:43 +0100 Ingo Molnar mi...@kernel.org wrote: But, if we do that, we can do even better, and also do an optimization of the 64-bit entry path as well: we could simply mask RAX with 0x3ff and not do a compare. Pad the syscall table up to 0x400 (1024) entries and

Re: [PATCH 1/2] thermal: exynos: Fix wrong control of power down detection mode for Exynos7

2015-02-25 Thread Abhilash Kesavan
Hi Lukasz, On Wed, Feb 25, 2015 at 2:33 PM, Lukasz Majewski l.majew...@samsung.com wrote: Hi Abhilash, This patch fixes the wrong control of PD_DET_EN (power down detection mode) for Exynos7 because exynos7_tmu_control() always enables the power down detection mode regardless 'on' parameter.

Re: [PATCH] media: em28xx replace printk in dprintk macros

2015-02-25 Thread Mauro Carvalho Chehab
Em Tue, 24 Feb 2015 19:45:50 -0800 Joe Perches j...@perches.com escreveu: On Tue, 2015-02-24 at 16:41 -0700, Shuah Khan wrote: On 02/24/2015 03:03 PM, Mauro Carvalho Chehab wrote: Em Tue, 24 Feb 2015 11:53:47 -0700 Shuah Khan shua...@osg.samsung.com escreveu: Replace printk macro in

Re: [PATCH v2] ARM: Don't use complete() during __cpu_die

2015-02-25 Thread Russell King - ARM Linux
On Thu, Feb 05, 2015 at 04:11:00PM +, Russell King - ARM Linux wrote: On Thu, Feb 05, 2015 at 06:29:18AM -0800, Paul E. McKenney wrote: Works for me, assuming no hidden uses of RCU in the IPI code. ;-) Sigh... I kind'a new it wouldn't be this simple. The gic code which actually raises

Re: [PATCH v3 2/9] ACPI: clear up warnings on use of printk reported by checkpatch.pl

2015-02-25 Thread Hanjun Guo
On 2015年02月25日 08:36, al.st...@linaro.org wrote: From: Al Stone al.st...@linaro.org In preparation for later splitting out some of the arch-dependent code from osl.c, clear up all the warnings reported by checkpatch.pl where pr_* should be used instead of printk(KERN_* ...). Signed-off-by: Al

Re: [PATCH v4 4/4] phy: add phy-hi6220-usb

2015-02-25 Thread zhangfei
On 02/23/2015 11:36 PM, Felipe Balbi wrote: Hi, On Sun, Feb 22, 2015 at 11:10:36AM +0800, zhangfei wrote: +static void hi6220_start_peripheral(struct hi6220_priv *priv, bool on) +{ + struct usb_otg *otg = priv-phy.otg; + + if (!otg-gadget) + return; + + if

Re: [PATCH v4 5/8] ARM: dts: Add properties to use pwm-fan device as a cooling device in Odroid U3

2015-02-25 Thread Lukasz Majewski
Hi Eduardo, On Wed, Feb 18, 2015 at 11:07:33AM +0100, Lukasz Majewski wrote: With those bindings it is possible to use pwm-fan device available in Odroid U3 as a cooling device. Signed-off-by: Lukasz Majewski l.majew...@samsung.com --- Changes for v2: - Rename cooling-pwm-values

[PATCH 1/6] phy: miphy365x: Use the generic phy type constants in dt-bindings/phy/phy.h

2015-02-25 Thread Peter Griffin
Now there are generic phy type constants declared in phy.h, migrate over to using them rather than defining our own. This change has been done as one atomic commit to be bisectable. Signed-off-by: Peter Griffin peter.grif...@linaro.org --- Documentation/devicetree/bindings/phy/phy-miphy365x.txt

[PATCH 3/6] ARM: DT: STi: STiH407: Update picophyreset for the usb3 controllers usb2 phy

2015-02-25 Thread Peter Griffin
Ths picophyreset is incorrectly defined, which stops the usb2 phy being taken out of reset. Signed-off-by: Peter Griffin peter.grif...@linaro.org --- arch/arm/boot/dts/stih407-family.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/stih407-family.dtsi

[PATCH 5/6] usb: dwc3: dwc3-st: Update the DT example.

2015-02-25 Thread Peter Griffin
There is a subtle type phys-names should be phy-names. Using the current example means you don't have working usb. Also update the example to use the generic phy type constants which are now used for miphy28. Signed-off-by: Peter Griffin peter.grif...@linaro.org ---

Re: [STLinux Kernel] [PATCH v3 7/8] rtc: st: add new driver for ST's LPC RTC

2015-02-25 Thread Peter Griffin
Hi Russell, On Wed, 25 Feb 2015, Russell King - ARM Linux wrote: On Mon, Feb 23, 2015 at 10:12:23AM +, Peter Griffin wrote: I think all the writel IO accessors in this driver can be replaced with the *_relaxed variant. This will avoid the overhead of taking a spinlock in the l2 outer

Re: [PATCH 5/6] usb: dwc3: dwc3-st: Update the DT example.

2015-02-25 Thread Rob Herring
On Wed, Feb 25, 2015 at 7:36 AM, Peter Griffin peter.grif...@linaro.org wrote: There is a subtle type phys-names should be phy-names. Using the current example means you don't have working usb. Also update the example to use the generic phy type constants which are now used for miphy28.

[PATCH 5/7] ARM: tegra: Make sure efuse is always selected

2015-02-25 Thread Ezequiel Garcia
After the introduction of the efuse subsystem, platforms are now required to select the efuse support explicitly. Cc: Stephen Warren swar...@wwwdotorg.org Cc: Thierry Reding thierry.red...@gmail.com Cc: Alexandre Courbot gnu...@gmail.com Signed-off-by: Ezequiel Garcia ezequiel.gar...@imgtec.com

[PATCH 3/7] drivers: Introduce new eFuse subsystem stub

2015-02-25 Thread Ezequiel Garcia
This commit introduces a new eFuse subsystem stub to hold all the eFuse-like device drivers. This will be used to host the currently supported Tegra eFuse driver, and will allow to add support for other platforms as well. Cc: Thierry Reding tred...@nvidia.com Cc: Stephen Warren

Re: Re: [PATCH v2 3/3] efi: Capsule update with user helper interface

2015-02-25 Thread Borislav Petkov
On Tue, Feb 24, 2015 at 12:49:09PM +, Kweh, Hock Leong wrote: So the process steps basically look like this: 1.) cat capsule_ticket=== acquire a number and lock mutex then expose firmware_class user helper

Re: DMA-API backtrace from rtsx_usb_ms driver

2015-02-25 Thread Roger Tseng
On Thu, 2015-02-19 at 11:58 -0500, Josh Boyer wrote: Hi All, We've had a few bug reports with the stack trace below. It looks like the ms_read_bytes and ms_write_bytes functions in drivers/memstick/host/rtsx_usb_mc.c are using a stack variable when calling rtsx_usb_ep0_read_register. That

Re: [Linaro-acpi] [PATCH v3 4/9] ACPI: clean up checkpatch warnings for items with possible semantic value

2015-02-25 Thread Hanjun Guo
On 2015年02月25日 08:36, al.st...@linaro.org wrote: From: Al Stone al.st...@linaro.org In preparation for later splitting out some of the arch-dependent code from osl.c, clean up some warnings from checkpatch that fall into more semantic issues; none of these should change functionality, but they

Re: [PATCH 2/4] x86: get rid of KERNEL_STACK_OFFSET

2015-02-25 Thread Denys Vlasenko
On 02/25/2015 01:48 PM, Denys Vlasenko wrote: On Wed, Feb 25, 2015 at 9:53 AM, Ingo Molnar mi...@kernel.org wrote: But the fix should be to not touch RSP in SAVE_ARGS, to keep percpu::kernel_stack as an optimized entry point - with KERNEL_STACK_OFFSET pointing to. So NAK - this should be

[PATCH 0/6] Add dwc3 usb3 DT node and various phy cleanup

2015-02-25 Thread Peter Griffin
Hi, This series primarily adds the dwc3 DT node which activates the usb3 controller on the stih407-b2120 and stih410-b2120 platforms. As part of getting this working I noticed some various errors with the DT documentation examples for how we reference the PHYs which I've also fixed. Whilst

[PATCH 4/6] ARM: DT: STi: STiH407: Add dwc3 usb3 DT node.

2015-02-25 Thread Peter Griffin
Now that both usb2 and usb3 phy drivers, and also the ST dwc3 glue code are all present upstream, we can add the dwc3 DT node and have a working usb3 controller on stih407-b2120 and stih410-b2020. Signed-off-by: Peter Griffin peter.grif...@linaro.org --- arch/arm/boot/dts/stih407-family.dtsi |

[patch 2/2] rocker: silence shift wrapping warning

2015-02-25 Thread Dan Carpenter
val is declared as a u64 so static checkers complain that this shift can wrap. I don't have the hardware but probably it's doesn't have over 31 ports. Still we may as well silence the warning even if it's not a real bug. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git

Re: [patch 2/2] rocker: silence shift wrapping warning

2015-02-25 Thread Scott Feldman
On Wed, Feb 25, 2015 at 5:36 AM, Dan Carpenter dan.carpen...@oracle.com wrote: val is declared as a u64 so static checkers complain that this shift can wrap. I don't have the hardware but probably it's doesn't have over 31 ports. Still we may as well silence the warning even if it's not a

Re: [PATCH v2 00/18] Add support to STMicroelectronics STM32 family

2015-02-25 Thread Maxime Coquelin
Hello David, 2015-02-24 15:14 GMT+01:00 David Howells dhowe...@redhat.com: Is support for this in upstream binutils and gcc? What's the preferred target tuple? I'll add support to Fedora's cross-binutils and cross-gcc sets if I can. I just rebuilt using latest upstream binutils and gcc. To

[PATCH 6/7] efuse: Move Sunxi fuse driver

2015-02-25 Thread Ezequiel Garcia
The Sunxi SoC eFuse support is currently located under drivers/eeprom, although the driver is not an eeprom. This commit just moves the driver to drivers/efuse. There's no functionality change. Cc: Maxime Ripard maxime.rip...@free-electrons.com Signed-off-by: Ezequiel Garcia

Re: [PATCH 3/8 v2] ARM OMAP2+ GPMC: add bus children

2015-02-25 Thread Roger Quadros
Robert, On 24/02/15 22:05, Robert ABEL wrote: This patch adds support for spawning busses as children of the GPMC. Signed-off-by: Robert ABEL ra...@cit-ec.uni-bielefeld.de --- drivers/memory/omap-gpmc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH 5/7 v3] x86: get rid of KERNEL_STACK_OFFSET

2015-02-25 Thread Denys Vlasenko
PER_CPU_VAR(kernel_stack) was set up in a way where it points five stack slots below the top of stack. Presumably, it was done to avoid one sub $5*8,%rsp in syscall/sysenter code paths, where iret frame needs to be created by hand. Ironically, none of them benefit from this optimization, since

Re: [PATCH 0/7] New eFuse subsystem

2015-02-25 Thread Ezequiel Garcia
On 02/25/2015 09:02 AM, Maxime Ripard wrote: Hi Ezequiel, On Wed, Feb 25, 2015 at 08:45:12AM -0300, Ezequiel Garcia wrote: This patchset introduces a new driver subsystem, meant to support eFuse (alias OTP, one-time-programmable) devices. The motivation behind this work is to have a

[PATCH] vfs: avoid recopying filename in getname_flags

2015-02-25 Thread Boqun Feng
In the current implementation of getname_flags, filename in the user-space will be recopied if it takes more space that EMBEDDED_NAME_MAX, however, at this moment, EMBEDDED_NAME_MAX bytes of the filename are already copied into kernel space, the only reason why the recopy is needed is that kname

Re: [PATCH v2] x86, boot: Allow 64bit EFI kernel to be loaded above 4G

2015-02-25 Thread Matt Fleming
On Tue, 24 Feb, at 04:31:27PM, Yinghai Lu wrote: On Tue, Feb 24, 2015 at 1:55 PM, Matt Fleming m...@codeblueprint.co.uk wrote: On Sun, 22 Feb, at 07:43:48PM, Yinghai Lu wrote: +Field name: ext_code32_start +Type:modify (optional, reloc) +Offset/size: 0x268/4

Re: [PATCH v2] x86, boot: Allow 64bit EFI kernel to be loaded above 4G

2015-02-25 Thread Matt Fleming
On Wed, 25 Feb, at 11:31:32AM, Ingo Molnar wrote: * Matt Fleming m...@codeblueprint.co.uk wrote: On Sun, 22 Feb, at 07:43:48PM, Yinghai Lu wrote: Index: linux-2.6/arch/x86/boot/header.S === ---

Re: [PATCH 6/8 v2] ARM OMAP2+ GPMC: always program GPMCFCLKDIVIDER

2015-02-25 Thread Roger Quadros
On 24/02/15 22:05, Robert ABEL wrote: The WAITMONITORINGTIME is expressed as a number of GPMC_CLK clock cycles, even though the access is defined as asynchronous, and no GPMC_CLK clock is provided to the external device. Still, GPMCFCLKDIVIDER is used as a divider for the GPMC clock, so it

Re: [Linaro-acpi] [PATCH v3 5/9] ACPI: move acpi_os_handler() so it can be made arch-dependent later

2015-02-25 Thread Hanjun Guo
On 2015年02月25日 08:36, al.st...@linaro.org wrote: From: Al Stone al.st...@linaro.org In order to deprecate the use of _OSI for arm64 or other new architectures, we need to make the default handler something we can change for various platforms. This patch moves the definition of

[PATCH v2] mfd: arizona: Move useful defines into a dt-binding include

2015-02-25 Thread Charles Keepax
Move parts of linux/mfd/arizona/pdata.h and gpio.h into a new file in the dt-binding directory for use by device tree bindings. This also makes gpio.h redundant so remove it in the process. Signed-off-by: Charles Keepax ckee...@opensource.wolfsonmicro.com Acked-by: Mark Brown broo...@kernel.org

[PATCH] phy: miphy28lp: Add missing .owner field in miphy28lp_ops

2015-02-25 Thread Axel Lin
Add missing .owner field in miphy28lp_ops, which is used for refcounting. Signed-off-by: Axel Lin axel@ingics.com --- drivers/phy/phy-miphy28lp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/phy/phy-miphy28lp.c b/drivers/phy/phy-miphy28lp.c index 9b2848e..44e2861 100644 ---

Re: [Xen-devel] [PATCH 06/13] xen: detect pre-allocated memory interfering with e820 map

2015-02-25 Thread David Vrabel
On 24/02/15 06:27, Juergen Gross wrote: On 02/19/2015 07:07 PM, David Vrabel wrote: On 18/02/2015 06:51, Juergen Gross wrote: +{ +unsigned long pfn; +unsigned long area_start, area_end; +unsigned i; + +for (i = 0; i XEN_N_RESERVED_AREAS; i++) { + +if

Re: [PATCH 3/4] arm-cci: Split the code for PMU vs driver support

2015-02-25 Thread Nicolas Pitre
On Wed, 25 Feb 2015, Suzuki K. Poulose wrote: On 24/02/15 22:17, Nicolas Pitre wrote: On Tue, 24 Feb 2015, Suzuki K. Poulose wrote: From: Suzuki K. Poulose suzuki.poul...@arm.com This patch separates the PMU driver code from the low level CCI driver code, and enables the

RE: [PATCH 1/2] Drivers: hv: hv_balloon: report offline pages as being used

2015-02-25 Thread KY Srinivasan
-Original Message- From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] Sent: Thursday, February 19, 2015 8:27 AM To: KY Srinivasan; de...@linuxdriverproject.org Cc: Haiyang Zhang; linux-kernel@vger.kernel.org; Dexuan Cui Subject: [PATCH 1/2] Drivers: hv: hv_balloon: report offline

Re: [PATCH] virtio-balloon: do not call blocking ops when !TASK_RUNNING

2015-02-25 Thread Cornelia Huck
On Wed, 25 Feb 2015 15:14:36 +0100 Michael S. Tsirkin m...@redhat.com wrote: virtio balloon has this code: wait_event_interruptible(vb-config_change, (diff = towards_target(vb)) != 0 || vb-need_stats_update

Re: [PATCH 1/6] phy: miphy365x: Use the generic phy type constants in dt-bindings/phy/phy.h

2015-02-25 Thread Rob Herring
On Wed, Feb 25, 2015 at 7:36 AM, Peter Griffin peter.grif...@linaro.org wrote: Now there are generic phy type constants declared in phy.h, migrate over to using them rather than defining our own. This change has been done as one atomic commit to be bisectable. You should note that the values

Re: stand-alone kvmtool

2015-02-25 Thread Will Deacon
On Mon, Feb 23, 2015 at 05:23:58PM +, Pekka Enberg wrote: Hi, Hi Pekka, Sorry for the delay, I've been away from email for a few days. On 2/18/15 5:50 PM, Will Deacon wrote: Thanks for doing this. Since it looks unlikely that kvmtool will ever be merged back into the kernel tree, it

Re: [PATCH 1/3] x86: Move msr accesses out of line

2015-02-25 Thread Peter Zijlstra
On Mon, Feb 23, 2015 at 09:43:40AM -0800, Andi Kleen wrote: On Mon, Feb 23, 2015 at 06:04:36PM +0100, Peter Zijlstra wrote: On Fri, Feb 20, 2015 at 05:38:55PM -0800, Andi Kleen wrote: This patch moves the MSR functions out of line. A MSR access is typically 40-100 cycles or even

Re: [PATCH v4 1/8] thermal: Provide stub for thermal_of_cooling_device_register() function

2015-02-25 Thread Lukasz Majewski
Hi Eduardo, On Wed, Feb 18, 2015 at 11:07:29AM +0100, Lukasz Majewski wrote: Odroid U3 fan can work without being registered as OF cooling device (with CONFIG_THERMAL_OF disabled). In this situation it can be controlled via PWM entry at /sys/class/hwmon/hwmon0/pwm1. Therefore, the

Re: [RFC 0/6] the big khugepaged redesign

2015-02-25 Thread Vlastimil Babka
On 02/24/2015 12:24 PM, Andrea Arcangeli wrote: Hi everyone, Hi, On Tue, Feb 24, 2015 at 11:32:30AM +0100, Vlastimil Babka wrote: I would suspect mmap_sem being held during whole THP page fault (including the needed reclaim and compaction), which I forgot to mention in the first e-mail -

Re: [PATCH v3 1/9] ACPI: fix all errors reported by cleanpatch.pl in osl.c

2015-02-25 Thread Hanjun Guo
On 2015年02月25日 08:36, al.st...@linaro.org wrote: From: Al Stone al.st...@linaro.org In preparation for later splitting out some of the arch-dependent code from osl.c, clean up the errors reported by checkpatch.pl. They fell into these classes: -- remove the FSF address from the GPL notice

Re: [PATCH -next 01/13] serial: earlycon: Refactor parse_options into serial core

2015-02-25 Thread Peter Hurley
Hi Joe, checkpatch warns on the line below: On 02/24/2015 11:36 AM, Peter Hurley wrote: Prepare to support console-defined matching; refactor the command line parameter string processing from parse_options() into a new core function, uart_parse_earlycon(), which decodes command line

[PATCH v2] mfd: arizona: Move useful defines into a dt-binding include

2015-02-25 Thread Charles Keepax
Move parts of linux/mfd/arizona/pdata.h and gpio.h into a new file in the dt-binding directory for use by device tree bindings. This also makes gpio.h redundant so remove it in the process. Signed-off-by: Charles Keepax ckee...@opensource.wolfsonmicro.com Acked-by: Mark Brown broo...@kernel.org

Re: [PATCH] kconfig: fix a misspelling in scripts/kconfig/merge_config.sh

2015-02-25 Thread Michal Marek
On 2014-12-03 07:55, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- scripts/kconfig/merge_config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Applied to kbuild.git#kconfig, sorry for the delay. Michal -- To unsubscribe from this list: send

[PATCH -v2] mm, oom: do not fail __GFP_NOFAIL allocation if oom killer is disbaled

2015-02-25 Thread Michal Hocko
On Tue 24-02-15 12:23:55, David Rientjes wrote: On Tue, 24 Feb 2015, Johannes Weiner wrote: [...] I'm fine with keeping the allocation looping, but is that message helpful? It seems completely useless to the user encountering it. Is it going to help kernel developers when we get a bug

Re: [PATCH v2 0/7] New Lenovos 2015 touchpads: party time!

2015-02-25 Thread Benjamin Tissoires
On Mon, Feb 16, 2015 at 10:23 PM, Benjamin Tissoires benjamin.tissoi...@gmail.com wrote: On Fri, Feb 6, 2015 at 3:04 PM, Benjamin Tissoires benjamin.tissoi...@redhat.com wrote: Hi, This is the second episode of the Lenovo 2015 party :) Thanks to Andrew, we now have an idea within the driver

[PATCH v2] virtio-balloon: do not call blocking ops when !TASK_RUNNING

2015-02-25 Thread Michael S. Tsirkin
virtio balloon has this code: wait_event_interruptible(vb-config_change, (diff = towards_target(vb)) != 0 || vb-need_stats_update || kthread_should_stop() ||

  1   2   3   4   5   6   7   8   9   10   >