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

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

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

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

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

[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

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

[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] 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 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 Signed-off-by: Ezequiel Garcia --- drivers/efuse/Kconfig | 12

[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 Cc: Thierry Reding Cc: Alexandre Courbot Signed-off-by: Ezequiel Garcia --- arch/arm/mach-tegra/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git

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 >

[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 Cc: Stephen Warren Cc: Maxime Ripard Cc: Arnd

Re: [RFC PATCH v3 00/26] Early kprobe: enable kprobes at very early booting stage.

2015-02-25 Thread Wang Nan
On 2015/2/25 19:11, Wang Nan wrote: > On 2015/2/20 11:59, Masami Hiramatsu wrote: >> Hi, >> >> Sorry for replying late. >> >> (2015/02/13 14:39), Wang Nan wrote: >>> I fell very sorry for people who reviewed my v2 patch series yesterday >>> at https://lkml.org/lkml/2015/2/12/234 because I didn't

[PATCH 0/7] New eFuse subsystem

2015-02-25 Thread Ezequiel Garcia
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 less scattered: the tegra efuses are in drivers/soc/ and the sunxi efuses in

[PATCH 1/7] soc: tegra: Add missing include linux/types.h

2015-02-25 Thread Ezequiel Garcia
The soc/tegra/fuse.h header makes use of kernel-specific types (u32, u8) and therefore it needs a linux/types.h include. Cc: Thierry Reding Cc: Stephen Warren Cc: Alexandre Courbot Signed-off-by: Ezequiel Garcia --- include/soc/tegra/fuse.h | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH 2/7] soc: tegra: Move the fuse header to a separate directory

2015-02-25 Thread Ezequiel Garcia
As preparation work for the introduction of an eFuse subsystem, this commit moves Tegra's fuse header and fixes the includes where needed. Cc: Thierry Reding Cc: Stephen Warren Cc: Alexandre Courbot Signed-off-by: Ezequiel Garcia --- arch/arm/mach-tegra/cpuidle.c | 3 +--

[PATCH 4/7] efuse: Move Tegra efuse driver

2015-02-25 Thread Ezequiel Garcia
Now that the efuse subsystem has been introduced, move the Tegra efuse driver from drivers/soc/tegra/fuse/ to drivers/efuse/tegra. For now, there's no generic efuse API. However, by having the drivers in a unified location it is expected that such API will arise easier once support for more

Re: [PATCH v3 3/3] tomoyo: reduce mmap_sem hold for mm->exe_file

2015-02-25 Thread Tetsuo Handa
Davidlohr Bueso wrote: > The mm->exe_file is currently serialized with mmap_sem (shared) in order > to both safely (1) read the file and (2) compute the realpath by calling > tomoyo_realpath_from_path, making it an absolute overkill. Good users will, > on the other hand, make use of the more

[PATCH] doc:input : Fix typo in Documentations/input

2015-02-25 Thread Masanari Iida
This patch fix spelling typos in Documentations/input. Signed-off-by: Masanari Iida --- Documentation/input/alps.txt| 4 ++-- Documentation/input/event-codes.txt | 2 +- Documentation/input/gpio-tilt.txt | 2 +- Documentation/input/iforce-protocol.txt | 2 +-

Re: nios2: is the ptrace ABI correct?

2015-02-25 Thread Ezequiel Garcia
On 02/24/2015 04:25 PM, Arnd Bergmann wrote: > On Tuesday 24 February 2015 12:28:41 Ezequiel Garcia wrote: >> >> Gah, no, you are right. I got confused. >> >> So it would be OK to avoid remove pt_regs from the uapi headers? >> How does this affect the signal handling nios2 implementation? >> >

Re: [PATCH] compat: Fix endian issue in union sigval

2015-02-25 Thread Catalin Marinas
On Tue, Feb 24, 2015 at 04:54:17PM -0500, Chris Metcalf wrote: > On 2/14/2015 6:22 AM, Catalin Marinas wrote: > >1. user populates sival_int compat_sigevent and invokes > >compat_sys_mq_notify() > >2. kernel get_compat_sigevent() copies compat_sigevent into the native > >sigevent. compat

Re: [PATCH 1/3] arm64: mediatek: Add config option for mt8173.

2015-02-25 Thread Catalin Marinas
On Wed, Feb 25, 2015 at 11:51:57AM +0100, Arnd Bergmann wrote: > On Wednesday 25 February 2015 17:07:22 Yingjoe Chen wrote: > > On Tue, 2015-01-27 at 15:13 +0800, Hongzhou Yang wrote: > > > From: Hongzhou Yang > > > > > > The upcoming MTK pinctrl driver have a big pin table for each SoC, > > >

Re: [PATCH 1/7] x86/intel_rdt: Intel Cache Allocation Technology detection

2015-02-25 Thread Borislav Petkov
On Tue, Feb 24, 2015 at 04:42:10PM -0800, Vikas Shivappa wrote: > >>+ > >>+ pr_info("cbmlength:%u,Closs: %u\n", cbm_len, maxid); > > > >This text message needs to be much more user-friendly if it is going out > >to the console unconditionally. > > > > bit mask lengh: number of CLOSids: ? . it

[PATCH 1/3] clockevents: asm9260: Fix compilation error with sparc/sparc64 allyesconfig

2015-02-25 Thread Daniel Lezcano
The Kconfig options for the asm9260 timer is wrong as it can be selected by another platform with allyes config and thus leading to a compilation failure as some non arch related code is pulled by the compilation. Fix this by having the platform Kconfig to select the timer as it is done for the

[PATCH 2/3] clocksource: mtk: Fix race conditions in probe code

2015-02-25 Thread Daniel Lezcano
From: Matthias Brugger We have two race conditions in the probe code which could lead to a null pointer dereference in the interrupt handler. The interrupt handler accesses the clockevent device, which may not yet be registered. First race condition happens when the interrupt handler gets

Re: Kprobes: pre-handler with interrupts enabled - is it possible?

2015-02-25 Thread Eugene Shatokhin
> (2015/02/24 15:04), Eugene Shatokhin wrote: 24.02.2015 06:47, Masami Hiramatsu пишет: No, that is not allowed. I mean, you can do anything you want to do on your handler (enabling preemption/irq etc.) but the result may be not safe (it can crash your kernel, but it's not a kprobes' bug).

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

2015-02-25 Thread Russell King - ARM Linux
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 cache part of writel. You're really operating on old information.

[PATCH 3/3] clocksource: pxa: Fix section mismatch

2015-02-25 Thread Daniel Lezcano
From: Robert Jarzmik As pxa_timer_common_init() is only called in init context, mark it as such, and quiesce the compiler warnings : WARNING: vmlinux.o(.text.unlikely+0x45d4): Section mismatch in reference from the function pxa_timer_common_init() to the function

Re: [RFC PATCH v3 00/26] Early kprobe: enable kprobes at very early booting stage.

2015-02-25 Thread Wang Nan
On 2015/2/20 11:59, Masami Hiramatsu wrote: > Hi, > > Sorry for replying late. > > (2015/02/13 14:39), Wang Nan wrote: >> I fell very sorry for people who reviewed my v2 patch series yesterday >> at https://lkml.org/lkml/2015/2/12/234 because I didn't provide enough >> information in commit log.

[GIT PULL][resend] clockevents fixes for 4.0-rc1

2015-02-25 Thread Daniel Lezcano
Hi Thomas, Ingo, this pull request provides the following fixes for 4.0-rc1: - Fix the Kconfig to prevent the asm9260 timer to be compiled with allyesconfig with sparc/sparc64 (Daniel Lezcano) - Reorder the mtk driver init sequence in order to prevent a potential race when the clock is

Re: [PATCH] arm64: mm: remove unused functions and variable protoypes

2015-02-25 Thread Will Deacon
On Wed, Feb 25, 2015 at 02:47:45AM +, Yingjoe Chen wrote: > The functions __cpu_flush_user_tlb_range and __cpu_flush_kern_tlb_range > were removed in commit fa48e6f780 'arm64: mm: Optimise tlb flush logic > where we have >4K granule'. Global variable cpu_tlb was never used in > arm64. > >

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

2015-02-25 Thread Lee Jones
On Mon, 23 Feb 2015, Peter Griffin wrote: > On Wed, 18 Feb 2015, Lee Jones wrote: > > > 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

Re: [PATCH 0/9] Add MIPS EJTAG Fast Debug Channel TTY driver

2015-02-25 Thread James Hogan
Hi, On 29/01/15 11:14, James Hogan wrote: > This patchset adds a TTY, console, and KGDB driver for the MIPS Fast > Debug Channel (FDC) hardware, for communicating with a debugger via an > EJTAG probe. 16 TTY ports are created per FDC device, corresponding to > the 16 FDC channels. Each VPE

Re: [PATCH v2 0/3] Add MIPS CDMM bus support

2015-02-25 Thread James Hogan
Hi, On 02/02/15 11:45, James Hogan wrote: > This patchset adds basic support for the MIPS Common Device Memory Map > Memory (CDMM) region in the form of a bus in the standard Linux device > model. It'd be great to get these patches upstream for v4.1 via the MIPS tree along with my other two

Re: [PATCH 1/8 v2] ARM OMAP2+ GPMC: don't undef DEBUG

2015-02-25 Thread Roger Quadros
On 24/02/15 22:05, Robert ABEL wrote: > OMAP2+ GPMC driver undefines DEBUG, which makes it unnecessarily > hard to turn DEBUG on. Remove the offending lines. > > Signed-off-by: Robert ABEL Acked-by: Roger Quadros cheers, -roger > --- > drivers/memory/omap-gpmc.c | 2 -- > 1 file changed, 2

Re: [lm-sensors] [PATCH 1/4] kernel.h: add find_closest() macro

2015-02-25 Thread Bartosz Golaszewski
2015-02-24 21:51 GMT+01:00 Guenter Roeck : > I think the lm85 conversion actually introduces a bug with such an > off-by-one mistake. And if it doesn't, there is still a unexplained > and not easy to understand '-1' in one of the calls to find_closest(). > > So the question is if the new code

Re: [PATCH 3/3] clocksource: pxa: Fix section mismatch

2015-02-25 Thread Ingo Molnar
* Daniel Lezcano wrote: > On 02/25/2015 11:48 AM, Ingo Molnar wrote: > > > >* Daniel Lezcano wrote: > > > >>On 02/25/2015 11:35 AM, Ingo Molnar wrote: > >>> > >>>* Daniel Lezcano wrote: > >>> > From: Robert Jarzmik > > As pxa_timer_common_init() is only called in init context,

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

2015-02-25 Thread Arun Chandran
On Wed, Feb 25, 2015 at 3:32 PM, Michal Simek wrote: > On 02/24/2015 08:39 AM, Arun Chandran wrote: >> This patch converts all __raw_readl and __raw_writel function calls >> to their corresponding readl_relaxed and writel_relaxed variants. >> >> It also tells the driver to set

Re: [PATCH 3/3] clocksource: pxa: Fix section mismatch

2015-02-25 Thread Daniel Lezcano
On 02/25/2015 11:48 AM, Ingo Molnar wrote: * Daniel Lezcano wrote: On 02/25/2015 11:35 AM, Ingo Molnar wrote: * Daniel Lezcano wrote: From: Robert Jarzmik As pxa_timer_common_init() is only called in init context, mark it as such, and quiesce the compiler warnings : WARNING:

Re: [PATCH 1/3] arm64: mediatek: Add config option for mt8173.

2015-02-25 Thread Arnd Bergmann
On Wednesday 25 February 2015 17:07:22 Yingjoe Chen wrote: > On Tue, 2015-01-27 at 15:13 +0800, Hongzhou Yang wrote: > > From: Hongzhou Yang > > > > The upcoming MTK pinctrl driver have a big pin table for each SoC, > > and we don't want to bloat the kernel binary if we don't need it. > > Add

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

2015-02-25 Thread Stathis Voukelatos
Hi Richard, 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 for someone's warped hardware design. I suggest that you

Re: [PATCH 03/24] mm: use __SetPageSwapBacked and don't ClearPageSwapBacked

2015-02-25 Thread Mel Gorman
On Fri, Feb 20, 2015 at 07:56:15PM -0800, Hugh Dickins wrote: > Commit 07a427884348 ("mm: shmem: avoid atomic operation during > shmem_getpage_gfp") rightly replaced one instance of SetPageSwapBacked > by __SetPageSwapBacked, pointing out that the newly allocated page is > not yet visible to other

Re: [patch v2 for-4.0] mm, thp: really limit transparent hugepage allocation to local node

2015-02-25 Thread Vlastimil Babka
On 02/25/2015 12:24 AM, David Rientjes wrote: From: Greg Thelen Commit 077fcf116c8c ("mm/thp: allocate transparent hugepages on local node") restructured alloc_hugepage_vma() with the intent of only allocating transparent hugepages locally when there was not an effective interleave mempolicy.

Re: [RFC PATCH] x86, fpu: Use eagerfpu by default on all CPUs

2015-02-25 Thread Ingo Molnar
* Borislav Petkov wrote: > On Tue, Feb 24, 2015 at 04:07:07PM -0800, Andy Lutomirski wrote: > > > I'd prefer a different partial solution: encourage > > everyone to clear the xstate before making syscalls > > (using e.g. vzeroall). In fact, maybe user code should > > aggressively clear

Re: [PATCH 3/3] clocksource: pxa: Fix section mismatch

2015-02-25 Thread Ingo Molnar
* Daniel Lezcano wrote: > On 02/25/2015 11:35 AM, Ingo Molnar wrote: > > > >* Daniel Lezcano wrote: > > > >>From: Robert Jarzmik > >> > >>As pxa_timer_common_init() is only called in init context, mark it as > >>such, and quiesce the compiler warnings : > >>WARNING:

Re: [RFC PATCH] x86, fpu: Use eagerfpu by default on all CPUs

2015-02-25 Thread Ingo Molnar
* Andy Lutomirski wrote: > > I'm a big fan of simplifying things, but. > > > > SIMD registers were growing in x86, and they are going > > to grow again, this time four-fold in Intel MIC: from > > sixteen 256-bit registers to thirty two 512-bit > > registers. > > > > That's 2 kbytes of data.

Re: [PATCH 3/3] clocksource: pxa: Fix section mismatch

2015-02-25 Thread Daniel Lezcano
On 02/25/2015 11:35 AM, Ingo Molnar wrote: * Daniel Lezcano wrote: From: Robert Jarzmik As pxa_timer_common_init() is only called in init context, mark it as such, and quiesce the compiler warnings : WARNING: vmlinux.o(.text.unlikely+0x45d4): Section mismatch in reference from the function

Re: [PATCH 9/8 v2] ARM OMAP2+ GPMC: fix programming/showing reserved timing parameters

2015-02-25 Thread Roger Quadros
Robert, On 24/02/15 22:05, Robert ABEL wrote: > GPMC_CONFIG1_i parameters CLKACTIVATIONTIME and WAITMONITORINGTIME > have reserved values. > Raise an error if calculated timings try to program reserved values. > > GPMC_CONFIG1_i ATTCHEDDEVICEPAGELENGTH and DEVICESIZE were already checked typo

Re: [RFC PATCH] x86, fpu: Use eagerfpu by default on all CPUs

2015-02-25 Thread Borislav Petkov
On Tue, Feb 24, 2015 at 04:07:07PM -0800, Andy Lutomirski wrote: > I'd prefer a different partial solution: encourage everyone to clear > the xstate before making syscalls (using e.g. vzeroall). In fact, > maybe user code should aggressively clear newly-unused xstate. We don't trust userspace.

Re: [PATCH v2] mmc: dw_mmc: rockchip: add support MMC_CAP_RUNTIME_RESUME capability

2015-02-25 Thread Jaehoon Chung
Hi, Addy. Acked-by: Jaehoon Chung Thanks! Best Regards, Jaehoon Chung On 02/20/2015 11:37 AM, Addy Ke wrote: > To support HS200 and UHS mode, mmc core will call init_card() to > execute tuning: > - sdio: init_card can be executed at runtime resume. > - sd and mmc: init_card can be executed at

Re: [PATCH 3/3] clocksource: pxa: Fix section mismatch

2015-02-25 Thread Ingo Molnar
* Daniel Lezcano wrote: > From: Robert Jarzmik > > As pxa_timer_common_init() is only called in init context, mark it as > such, and quiesce the compiler warnings : > WARNING: vmlinux.o(.text.unlikely+0x45d4): Section mismatch in reference > from the function pxa_timer_common_init() to the

Re: [RFC][PATCH v2] sched/rt: Use IPI to trigger RT task push migration instead of pulling

2015-02-25 Thread Peter Zijlstra
On Tue, Feb 24, 2015 at 01:39:46PM -0500, Steven Rostedt wrote: > Index: linux-rt.git/kernel/sched/rt.c > === > --- linux-rt.git.orig/kernel/sched/rt.c 2015-02-24 10:44:08.798785452 > -0500 > +++ linux-rt.git/kernel/sched/rt.c

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