Re: [PATCH] net: macb: Add big endian CPU support

2015-02-25 Thread Michal Simek
>> endian mode all the time. But the logic for detecting this on CPU is correct >> and this is what >> you need to do on Zynq. You are writing big endian value to little endian >> register and read it back >> to see if it was correctly written or not. > > Just curious; will the same code work

[PATCH 7/7] ARM: sunxi: Rename EFUSE_SUNXI option in defconfigs

2015-02-25 Thread Ezequiel Garcia
After the Sunxi eFuse driver move, the config is renamed. Update the defconfigs. Cc: Maxime Ripard Signed-off-by: Ezequiel Garcia --- arch/arm/configs/multi_v7_defconfig | 2 +- arch/arm/configs/sunxi_defconfig| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v8] sched/deadline: support dl task migration during cpu hotplug

2015-02-25 Thread Wanpeng Li
I observe that dl task can't be migrated to other cpus during cpu hotplug, in addition, task may/may not be running again if cpu is added back. The root cause which I found is that dl task will be throtted and removed from dl rq after comsuming all budget, which leads to stop task can't pick it up

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 : > 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 compile Kernel

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 : > >> 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 nitpicking

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 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

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 > --- > drivers/memory/omap-gpmc.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/memory/omap-gpmc.c

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 : > 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 peripherals. >> >>

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

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 : > 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 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 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. >> >> Cc:

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 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 > > > escreveu: > > >> Replace printk macro in dprintk macros in em28xx

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

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

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 > 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 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

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. > > > >

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

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

[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"

[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

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

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

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 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 -- "foo * bar"

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 wrote: > > * Denys Vlasenko 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 code paths, where iret

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

2015-02-25 Thread Borislav Petkov
On Wed, Feb 25, 2015 at 12:38:20PM +, Kweh, Hock Leong wrote: > The reason we use this interface for efi capsule is that efi capsule > support multi binaries to be uploaded and each binary file name > can be different. So you can write the file path to a second file and reload then, once per

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.

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 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 Stone ---

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

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 wrote: > > > On Sun, 22 Feb, at 07:43:48PM, Yinghai Lu wrote: > > > Index: linux-2.6/arch/x86/boot/header.S > > > === > > > ---

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 > 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 > >> +Protocol:

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 Stone 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 function name and an

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 >

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 Acked-by:

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 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 do touch lines of

Re: [PATCH v1] clk: qcom: Add MSM8916 Global Clock Controller support

2015-02-25 Thread Archit Taneja
Hi Georgi, On 02/24/2015 09:19 PM, Georgi Djakov wrote: On 02/24/2015 06:49 AM, Archit Taneja wrote: Hi, [..] + +static struct freq_tbl ftbl_gcc_mdss_pclk[] = { +{ .src = P_DSI0_PHYPLL_DSI }, +{ } +}; + +static struct clk_rcg2 pclk0_clk_src = { +.cmd_rcgr = 0x4d084, This should

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

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 > " > 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] 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 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(_name, "%s.~signed~", module_name) < 0, > + "asprintf"); > + replace_orig = true;

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

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 > > @ > > struct thread* thread > > [root@ssdandy ~]# > > cool, so I thought it would be just a matter of

Re: [RFC PATCH] arm64: Implement cpu_relax as yield

2015-02-25 Thread Will Deacon
On Tue, Feb 24, 2015 at 11:07:37PM +, Peter Crosthwaite wrote: > ARM64 has the yield nop hint which has the intended semantics of > cpu_relax. Implement. > > The immediate application is ARM CPU emulators. An emulator can take > advantage of the yield hint to de-prioritise an emulated CPU in

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 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 fixed

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 > > --- > > Changes for v2: > > - Rename cooling-pwm-values property

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

[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 --- arch/arm/boot/dts/stih407-family.dtsi | 26

[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 diff --git

[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 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 --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index ddc5a8c..1a6180a

[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 --- Documentation/devicetree/bindings/usb/dwc3-st.txt | 4

[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 --- Documentation/devicetree/bindings/phy/phy-miphy365x.txt | 8

[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 --- 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 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 --- Documentation/devicetree/bindings/ata/ahci-st.txt | 4 ++-- 1 file changed, 2

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

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 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 acpi_osi_handler() -- the function

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 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 > real bug. > >

[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 Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih407-family.dtsi | 20 1 file

[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 Signed-off-by: David Paris Signed-off-by: Lee Jones --- drivers/watchdog/Kconfig | 13 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/st_lpc_wdt.c | 333 ++ 3 files changed, 347 insertions(+) create mode

[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 --- drivers/rtc/Kconfig | 12

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

2015-02-25 Thread Ingo Molnar
* Denys Vlasenko 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 and

[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 --- 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: drivers/phy/phy-stih41x-usb.c F:

[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 --- .../devicetree/bindings/rtc/rtc-st-lpc.txt | 25 ++ 1 file

[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 --- .../devicetree/bindings/watchdog/st_lpc_wdt.txt| 38 ++ 1 file

[PATCH] Staging: emxx_udc: fix warnings

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

[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 --- 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 3/9] ARM: multi_v7_defconfig: Enable support for ST's LPC RTC

2015-02-25 Thread Lee Jones
Signed-off-by: Lee Jones --- 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: [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 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

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 : > 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, it seems that

[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 --- include/dt-bindings/mfd/st-lpc.h | 15 +++ 1 file changed, 15 insertions(+)

[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: [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 > --- > > 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 the 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 Acked-by: Mark Brown --- Changes since v1: - Removed some defines that

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

[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

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-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"

[PATCH] phy: xgene: Remove duplicate code to set ctx->dev

2015-02-25 Thread Axel Lin
Set it once is enough and it's done after devm_kzalloc(). Signed-off-by: Axel Lin --- drivers/phy/phy-xgene.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/phy/phy-xgene.c b/drivers/phy/phy-xgene.c index 29214a3..2263cd0 100644 --- a/drivers/phy/phy-xgene.c +++

Re: [PATCH RFC 1/4] mm: throttle MADV_FREE

2015-02-25 Thread Michal Hocko
On Tue 24-02-15 14:54:01, Shaohua Li wrote: > On Tue, Feb 24, 2015 at 04:43:18PM +0100, Michal Hocko wrote: > > On Tue 24-02-15 17:18:14, Minchan Kim wrote: > > > Recently, Shaohua reported that MADV_FREE is much slower than > > > MADV_DONTNEED in his MADV_FREE bomb test. The reason is many of > >

Re: [PATCH 1/2] drivers: cpuidle: remove stale irq disabling call in cpuidle_enter_freeze()

2015-02-25 Thread Daniel Lezcano
On 02/24/2015 06:58 PM, Lorenzo Pieralisi wrote: On return from cpuidle_enter_freeze() irqs are re-enabled by the function caller (ie cpuidle_idle_call) in the idle loop. This patch removes a stale local_irq_disable() call and its stale comment in cpuidle_enter_freeze(), since they disagree and

[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 Acked-by: Mark Brown --- Changes since v1: - Removed some defines that

[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 --- 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: [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:

[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 > Acked-by: Mark Brown >

[PATCH] checkkconfigsymbols.py: filter reports for tools/

2015-02-25 Thread Valentin Rothberg
Recent changes to the build system of tools suggest to filter reports for the entire tools directory. Various C preprocessor identifiers are prefixed with CONFIG_ but are NOT defined in Kconfig but in Makefiles in the tools directory. Such identifiers are false positives for most static analysis

[PATCH] vhost: drop hard-coded num_buffers size

2015-02-25 Thread Michael S. Tsirkin
The 2 that we use for copy_to_iter comes from sizeof(u16), it used to be that way before the iov iter update. Fix it up, making it obvious the size of stack access is right. Signed-off-by: Michael S. Tsirkin --- drivers/vhost/net.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

[PATCH] vhost: cleanup iterator update logic

2015-02-25 Thread Michael S. Tsirkin
Recent iterator-related changes in vhost made it harder to follow the logic fixing up the header. In fact, the fixup always happens at the same offset: sizeof(virtio_net_hdr): sometimes the fixup iterator is updated by copy_to_iter, sometimes-by iov_iter_advance. Rearrange code to make this

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

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: [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++) { >>> +

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

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

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

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" > > > > > > This patch separates the PMU driver code from the low level > > > CCI driver code, and enables the CCI400-PMU

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" wrote: > virtio balloon has this code: > wait_event_interruptible(vb->config_change, > (diff = towards_target(vb)) != 0 > || vb->need_stats_update >

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

2015-02-25 Thread Rob Herring
On Wed, Feb 25, 2015 at 7:36 AM, Peter Griffin wrote: > 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 We seem to have a variety

<    6   7   8   9   10   11   12   13   14   15   >