Re: [dtc RFC PATCH] Enforce node name unit-address presence/absence

2013-09-18 Thread Olof Johansson
On Wed, Sep 18, 2013 at 1:23 PM, Stephen Warren wrote: > From: Stephen Warren > > ePAPR 1.1 section 2.2.1.1 "Node Name Requirements" specifies that any > node that has a reg property must include a unit address in its name > with value matching the first entry in its reg property. Conversely, if

Re: [PATCH] clk: si570: Add a driver for SI570 oscillators

2013-09-18 Thread Sören Brinkmann
On Tue, Sep 17, 2013 at 10:14:01AM -0600, Stephen Warren wrote: > On 09/17/2013 01:59 AM, Sebastian Hesselbarth wrote: > > On 09/16/2013 08:37 PM, Stephen Warren wrote: > ... > >> Perhaps if clock-frequency is specified, the driver should refuse to > >> provide anything else. If clock-frequency

Re: [PATCH 2/2] RX-51: Add support for OMAP3 ROM Random Number Generator

2013-09-18 Thread Tony Lindgren
* Pali Rohár [130918 13:15]: > Signed-off-by: Pali Rohár Description please, then also add a note that this makes sense to do as a platform device at least until we have some ARM generic way to deal with SMC calls. > arch/arm/mach-omap2/board-rx51.c | 10 ++ >

Re: [Intel-gfx] [PATCH] [RFC] mm/shrinker: Add a shrinker flag to always shrink a bit

2013-09-18 Thread Dave Chinner
On Wed, Sep 18, 2013 at 12:38:23PM +0200, Knut Petersen wrote: > On 18.09.2013 11:10, Daniel Vetter wrote: > > Just now I prepared a patch changing the same function in vmscan.c > >Also, this needs to be rebased to the new shrinker api in 3.12, I > >simply haven't rolled my trees forward yet. >

[PATCHv4 02/16] drivers: thermal: introduce device tree parser

2013-09-18 Thread Eduardo Valentin
This patch introduces a device tree bindings for describing the hardware thermal behavior and limits. Also a parser to read and interpret the data and feed it in the thermal framework is presented. This patch introduces a thermal data parser for device tree. The parsed data is used to build

Re: [PATCH 8/8] audit: add audit_backlog_wait_time configuration option

2013-09-18 Thread Eric Paris
On Wed, 2013-09-18 at 15:06 -0400, Richard Guy Briggs wrote: > reaahead-collector abuses the audit logging facility to discover which files > are accessed at boot time to make a pre-load list > > Add a tuning option to audit_backlog_wait_time so that if auditd can't keep > up, > or gets blocked,

Re: [RFC PATCH] fpga: Introduce new fpga subsystem

2013-09-18 Thread Jason Gunthorpe
On Wed, Sep 18, 2013 at 03:15:17PM -0400, Jason Cooper wrote: > + Jason Gunthorpe Thanks, looks interesting, we could possibly use this interface if it met our needs.. > On Wed, Sep 18, 2013 at 05:56:39PM +0200, Michal Simek wrote: > > This new subsystem should unify all fpga drivers which >

[dtc RFC PATCH] Enforce node name unit-address presence/absence

2013-09-18 Thread Stephen Warren
From: Stephen Warren ePAPR 1.1 section 2.2.1.1 "Node Name Requirements" specifies that any node that has a reg property must include a unit address in its name with value matching the first entry in its reg property. Conversely, if a node does not have a reg property, the node name must not

[dtc PATCH] Ensure all tests have matching reg and unit address

2013-09-18 Thread Stephen Warren
From: Stephen Warren ePAPR 1.1 section 2.2.1.1 "Node Name Requirements" specifies that any node that has a reg property must include a unit address in its name with value matching the first entry in its reg property. Conversely, if a node does not have a reg property, the node name must not

Re: [PATCH 1/2] hwrng: OMAP3 ROM Random Number Generator support

2013-09-18 Thread Joe Perches
On Wed, 2013-09-18 at 22:05 +0200, Pali Rohár wrote: > This driver provides kernel-side support for the Random Number > Generator hardware found on OMAP34xx processors. [] > diff --git a/drivers/char/hw_random/omap3-rom-rng.c > b/drivers/char/hw_random/omap3-rom-rng.c trivial note: It

Re: [PATCHv3 02/16] drivers: thermal: introduce device tree parser

2013-09-18 Thread Eduardo Valentin
On 18-09-2013 15:59, Joe Perches wrote: > On Wed, 2013-09-18 at 15:44 -0400, Eduardo Valentin wrote: >> Hello Joe, > > Hello Eduardo. > >> 18-09-2013 15:11, Joe Perches wrote: >>> On Wed, 2013-09-18 at 15:02 -0400, Eduardo Valentin wrote: This patch introduces a device tree bindings for

[PATCH] ext4: drop unsed reclen variable from ext4_add_dirent_to_inline()

2013-09-18 Thread Azat Khuzhin
Functions that need in it, already calculate reclen from namelen by themselves: - ext4_find_dest_de() - ext4_insert_dentry() Signed-off-by: Azat Khuzhin --- fs/ext4/inline.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/ext4/inline.c b/fs/ext4/inline.c index d9ecbf1..809f285 100644

Re: [PATCH] thermal: st: Add support for STiH41x thermal sensors

2013-09-18 Thread Eduardo Valentin
On 18-09-2013 05:38, Ajit Pal Singh wrote: > Adds support for thermal sensors on STiH41x series SOCs. > Single trip point 'THERMAL_TRIP_CRITICAL' is supported. > STIH416 MPE sensor supports interrupt reporting when a preset > threshold temperature is crossed. > For rest of the thermal sensors a

[PATCH 0/2] OMAP3 ROM Random Number Generator support

2013-09-18 Thread Pali Rohár
This two patches adding support for OMAP3 ROM Random Number Generator on Nokia N900. Pali Rohár (2): hwrng: OMAP3 ROM Random Number Generator support RX-51: Add support for OMAP3 ROM Random Number Generator arch/arm/mach-omap2/board-rx51.c | 10 +++

Re: [tip:perf/core] perf: Fix broken union in ' struct perf_event_mmap_page'

2013-09-18 Thread Vince Weaver
On Wed, 18 Sep 2013, Peter Zijlstra wrote: > On Wed, Sep 18, 2013 at 10:19:32AM -0400, Vince Weaver wrote: > > Can you point to any code that is fixed by the commit? > > I have some, but I don't think a lot of people use it. > > Would you be ok with something like the below? It should preserve

[PATCH 1/2] hwrng: OMAP3 ROM Random Number Generator support

2013-09-18 Thread Pali Rohár
This driver provides kernel-side support for the Random Number Generator hardware found on OMAP34xx processors. Signed-off-by: Pali Rohár Signed-off-by: Juha Yrjola --- drivers/char/hw_random/Kconfig | 13 +++ drivers/char/hw_random/Makefile|1 +

[PATCH 2/2] RX-51: Add support for OMAP3 ROM Random Number Generator

2013-09-18 Thread Pali Rohár
Signed-off-by: Pali Rohár --- arch/arm/mach-omap2/board-rx51.c | 10 ++ arch/arm/mach-omap2/omap-secure.c | 11 +++ arch/arm/mach-omap2/omap-secure.h |1 + 3 files changed, 22 insertions(+) diff --git a/arch/arm/mach-omap2/board-rx51.c b/arch/arm/mach-omap2/board-rx51.c

Re: [PATCHv3 02/16] drivers: thermal: introduce device tree parser

2013-09-18 Thread Joe Perches
On Wed, 2013-09-18 at 15:44 -0400, Eduardo Valentin wrote: > Hello Joe, Hello Eduardo. > 18-09-2013 15:11, Joe Perches wrote: > > On Wed, 2013-09-18 at 15:02 -0400, Eduardo Valentin wrote: > >> This patch introduces a device tree bindings for > >> describing the hardware thermal behavior and

Re: [patch 0/7] improve memcg oom killer robustness v2

2013-09-18 Thread Johannes Weiner
On Wed, Sep 18, 2013 at 02:19:46PM -0400, Johannes Weiner wrote: > On Wed, Sep 18, 2013 at 02:04:55PM -0400, Johannes Weiner wrote: > > On Wed, Sep 18, 2013 at 04:03:04PM +0200, azurIt wrote: > > > > CC: "Johannes Weiner" , "Andrew Morton" > > > > , "David Rientjes" , > > > > "KAMEZAWA Hiroyuki"

Re: [PATCH 00/26] ARM: provide common arch init for DT clocks

2013-09-18 Thread Sebastian Hesselbarth
On 09/18/2013 09:47 PM, Jason Cooper wrote: On Wed, Sep 18, 2013 at 07:53:33PM +0200, Sebastian Hesselbarth wrote: ... Sebastian Hesselbarth (26): ARM: nomadik: move mtu setup to clocksource init clk: nomadik: move src init out of nomadik_clk_init clk: nomadik: declare OF clock

Re: [PATCH 00/26] ARM: provide common arch init for DT clocks

2013-09-18 Thread Jason Cooper
Sebastian, On Wed, Sep 18, 2013 at 07:53:33PM +0200, Sebastian Hesselbarth wrote: ... > Sebastian Hesselbarth (26): > ARM: nomadik: move mtu setup to clocksource init > clk: nomadik: move src init out of nomadik_clk_init > clk: nomadik: declare OF clock provider > clk: prima2: declare OF

Re: [PATCH 2/2] uinput: Support injecting multiple events in one write() call

2013-09-18 Thread Dmitry Torokhov
Hi Ryan, On Wed, Sep 18, 2013 at 08:55:44AM +1000, Ryan Mallon wrote: > Rework the code in uinput_inject_event so that it matches the code in > evdev_write and allows injecting more than one event, or zero events. After some thinking I went back to the original version of your patch. For

Re: [PATCHv3 02/16] drivers: thermal: introduce device tree parser

2013-09-18 Thread Eduardo Valentin
Hello Joe, Thanks for reviewing this code. Couple of replies. 18-09-2013 15:11, Joe Perches wrote: > On Wed, 2013-09-18 at 15:02 -0400, Eduardo Valentin wrote: >> This patch introduces a device tree bindings for >> describing the hardware thermal behavior and limits. >> Also a parser to read

[PATCH v4 2/2] RX-51: ARM errata 430973 workaround

2013-09-18 Thread Pali Rohár
Closed and signed Nokia X-Loader bootloader stored in RX-51 nand does not set IBE bit in ACTLR and starting kernel in non-secure mode. So direct write to ACTLR by our kernel does not working and the code for ARM errata 430973 in commit 7ce236fcd6fd45b0441a2d49acb2ceb2de2e8a47 that sets IBE bit is

Re: [PATCH 10/26] ARM: bcm2835: remove custom .init_time hook

2013-09-18 Thread Stephen Warren
On 09/18/2013 11:53 AM, Sebastian Hesselbarth wrote: > With arch/arm calling of_clk_init(NULL) from time_init(), we can now > remove custom .init_time hooks. Also remove call to of_clk_init from > clk-bcm2835 with core fixed_clock match, as this has already been > registered now. Acked-by:

Re: [PATCH 24/26] ARM: tegra: remove custom .init_time hook

2013-09-18 Thread Stephen Warren
On 09/18/2013 11:53 AM, Sebastian Hesselbarth wrote: > With arch/arm calling of_clk_init(NULL) from time_init(), we can now > remove custom .init_time hooks. Acked-by: Stephen Warren -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH v3 2/2] RX-51: ARM errata 430973 workaround

2013-09-18 Thread Tony Lindgren
* Pali Rohár [130918 12:29]: > Hello Tony, > > here is new v3 patch. I just only moved functions rx51_secure_dispatcher and > rx51_secure_update_aux_cr to omap-secure.c and added header to omap-secure.h > Because I only moved two functions to other source file I tested only > compilation. > It

Re: [block:for-next 5/6] drivers/block/skd_main.c:441:3: error: implicit declaration of function 'readq'

2013-09-18 Thread Olof Johansson
On Wed, Sep 18, 2013 at 3:05 AM, Akhil Bhansali wrote: > Hi Jens, > > Please accept this patch that takes care of warnings related to i386 > compilation. > 1. Implicit function declaration of readq and writeq. > 2. Format related warnings for VPRINTK. > > From

Re: [edk2] Corrupted EFI region

2013-09-18 Thread jerry . hoemann
On Mon, Sep 16, 2013 at 11:59:20AM +0100, Matt Fleming wrote: > On Fri, 13 Sep, at 02:38:12PM, jerry.hoem...@hp.com wrote: > > Matt, > > > > We have hit an issue on our new platform in development related to the > > call of efi_reserve_boot_services() from setup_arch(). > > > > The reservation

Re: [RFCv2 2/3] ARM: OMAP2+: HSI: Introduce OMAP SSI driver

2013-09-18 Thread Tony Lindgren
* Sebastian Reichel [130915 13:56]: > This patch adds an OMAP SSI driver to the HSI framework. Thanks for working on this. > +config OMAP_SSI > + tristate "OMAP SSI hardware driver" > + depends on ARCH_OMAP && HSI > + default n > + ---help--- > + SSI is a legacy version

[PATCH v3 2/2] RX-51: ARM errata 430973 workaround

2013-09-18 Thread Pali Rohár
Hello Tony, here is new v3 patch. I just only moved functions rx51_secure_dispatcher and rx51_secure_update_aux_cr to omap-secure.c and added header to omap-secure.h Because I only moved two functions to other source file I tested only compilation. It is OK now? diff --git

[PATCH v5 3/4] ARM: S3C24XX: add platform-devices for new dma driver for s3c2412 and s3c2443

2013-09-18 Thread Heiko Stübner
This includes defining the mapping for the request sources. Signed-off-by: Heiko Stuebner Acked-by: Linus Walleij --- changes since v1: - follow new pdata definition arch/arm/mach-s3c24xx/common.c| 106 + arch/arm/mach-s3c24xx/common.h|3 +

[PATCH v5 4/4] ARM: SAMSUNG: set s3c24xx_dma_filter for s3c64xx-spi0 device

2013-09-18 Thread Heiko Stübner
The spi-s3c64xx device is also used on the s3c2416 and s3c2443 SoCs. The driver also already uses only generic dma-engine operations. Therefore add another elif to set the s3c24xx filter. Signed-off-by: Heiko Stuebner Acked-by: Linus Walleij --- arch/arm/plat-samsung/devs.c |5 - 1

Re: [RFC PATCH] fpga: Introduce new fpga subsystem

2013-09-18 Thread Jason Cooper
+ Jason Gunthorpe On Wed, Sep 18, 2013 at 05:56:39PM +0200, Michal Simek wrote: > This new subsystem should unify all fpga drivers which > do the same things. Load configuration data to fpga > or another programmable logic through common interface. > It doesn't matter if it is MMIO device, gpio

[PATCH v5 1/4] ARM: S3C24XX: number the dma clocks

2013-09-18 Thread Heiko Stübner
Each dma channel has its own clock. The upcoming dma driver wants to handle these itself and therefore needs to be able to get the correct clock for a channel. Therefore rename the dma clocks to "dma.X" for s3c2412, s3c2416 and s3c2443. This does not change the behaviour for the old dma driver at

[PATCH 6/8] audit: add boot option to override default backlog limit

2013-09-18 Thread Richard Guy Briggs
The default audit_backlog_limit is 64. This was a reasonable limit at one time. systemd causes so much audit queue activity on startup that auditd doesn't start before the backlog queue has already overflowed by more than a factor of 2. On a system with audit= not set on the kernel command

[PATCH v5 0/4] ARM: S3C24XX: add dmaengine based dma-driver

2013-09-18 Thread Heiko Stübner
This series tries to provide a basic dmaengine driver for the s3c24xx SoCs to subsequently retire the old one with custom API. Since v4 an unnecessary second call to retrieve the dma cookie status was removed. Since v3 more smaller fixes were added, and memcpy operations now have a very simple

[PATCH v5 2/4] dmaengine: add driver for Samsung s3c24xx SoCs

2013-09-18 Thread Heiko Stübner
This adds a new driver to support the s3c24xx dma using the dmaengine and makes the old one in mach-s3c24xx obsolete in the long run. Conceptually the s3c24xx-dma feels like a distant relative of the pl08x with numerous virtual channels being mapped to a lot less physical ones. The driver

Re: [PATCHv3 02/16] drivers: thermal: introduce device tree parser

2013-09-18 Thread Joe Perches
On Wed, 2013-09-18 at 15:02 -0400, Eduardo Valentin wrote: > This patch introduces a device tree bindings for > describing the hardware thermal behavior and limits. > Also a parser to read and interpret the data and feed > it in the thermal framework is presented. trivial notes: > diff --git

Re: [BUG] 3.7-rc regression bisected: s2disk fails to resume image: Processes could not be frozen, cannot continue resuming

2013-09-18 Thread Al Viro
On Wed, Sep 18, 2013 at 10:40:32PM +0400, Andrew Savchenko wrote: > And from suspend_ioctls.h: > #define SNAPSHOT_IOC_MAGIC '3' > #define SNAPSHOT_FREEZE _IO(SNAPSHOT_IOC_MAGIC, 1) > > My mistake, should be '3' instead of 3. OK... The thing to test, then, is what does

[PATCH 0/8] Audit backlog queue fixes related to soft lockup

2013-09-18 Thread Richard Guy Briggs
This patchset covers a number of issues surrounding the audit backlog queue. The original trigger was a bug in a patch to fix code that produced negative sleep times (commit 82919919). This bug caused soft lockups. There were a number of other issues raised surrounding this bug which have been

[PATCH 4/8] audit: efficiency fix 1: only wake up if queue shorter than backlog limit

2013-09-18 Thread Richard Guy Briggs
author: Dan Duval These and similar errors were seen on a patched 3.8 kernel when the audit subsystem was overrun during boot: udevd[876]: worker [887] unexpectedly returned with status 0x0100 udevd[876]: worker [887] failed while handling '/devices/pci:00/:00:03.0/:40:00.0'

[PATCH 5/8] audit: efficiency fix 2: request exclusive wait since all need same resource

2013-09-18 Thread Richard Guy Briggs
author: Dan Duval These and similar errors were seen on a patched 3.8 kernel when the audit subsystem was overrun during boot: udevd[876]: worker [887] unexpectedly returned with status 0x0100 udevd[876]: worker [887] failed while handling '/devices/pci:00/:00:03.0/:40:00.0'

Re: [RFC] eventpoll: Move a kmem_cache_alloc and kmem_cache_free

2013-09-18 Thread Jason Baron
On 09/13/2013 11:54 AM, Nathan Zimmer wrote: > We noticed some scaling issue in the SPECjbb benchmark. Running perf > we found that the it was spending lots of time in SYS_epoll_ctl. > In particular it is holding the epmutex. > This patch helps by moving out the kmem_cache_alloc and

[PATCH 1/8] audit: avoid soft lockup due to audit_log_start() incorrect loop termination

2013-09-18 Thread Richard Guy Briggs
Commit 82919919 caused the wait for auditd timeout condition to loop endlessly rather than fall through to the error recovery code. BUG: soft lockup - CPU#0 stuck for 22s! [preload:785] RIP: 0010:[] [] audit_log_start+0xf0/0x460 Call Trace: [] ? try_to_wake_up+0x310/0x310 []

Re: [RFC PATCH] fpga: Introduce new fpga subsystem

2013-09-18 Thread Dinh Nguyen
Hi Michal, On Wed, 2013-09-18 at 17:56 +0200, Michal Simek wrote: > This new subsystem should unify all fpga drivers which > do the same things. Load configuration data to fpga > or another programmable logic through common interface. > It doesn't matter if it is MMIO device, gpio bitbanging, >

[PATCH 2/8] audit: reset audit backlog wait time after error recovery

2013-09-18 Thread Richard Guy Briggs
When the audit queue overflows and times out (audit_backlog_wait_time), the audit queue overflow timeout is set to zero. Once the audit queue overflow timeout condition recovers, the timeout should be reset to the original value. See also: https://lkml.org/lkml/2013/9/2/473

[PATCH 7/8] audit: clean up AUDIT_GET/SET local variables and future-proof API

2013-09-18 Thread Richard Guy Briggs
Re-named confusing local variable names (status_set and status_get didn't agree with their command type name) and reduced their scope. Future-proof API changes by not depending on the exact size of the audit_status struct. Signed-off-by: Richard Guy Briggs --- kernel/audit.c | 51

[PATCH 3/8] audit: make use of remaining sleep time from wait_for_auditd

2013-09-18 Thread Richard Guy Briggs
If wait_for_auditd() times out, go immediately to the error function rather than retesting the loop conditions. Signed-off-by: Richard Guy Briggs --- kernel/audit.c | 12 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/kernel/audit.c b/kernel/audit.c index

[PATCH 8/8] audit: add audit_backlog_wait_time configuration option

2013-09-18 Thread Richard Guy Briggs
reaahead-collector abuses the audit logging facility to discover which files are accessed at boot time to make a pre-load list Add a tuning option to audit_backlog_wait_time so that if auditd can't keep up, or gets blocked, the callers won't be blocked. Signed-off-by: Richard Guy Briggs ---

[PATCHv3 02/16] drivers: thermal: introduce device tree parser

2013-09-18 Thread Eduardo Valentin
This patch introduces a device tree bindings for describing the hardware thermal behavior and limits. Also a parser to read and interpret the data and feed it in the thermal framework is presented. This patch introduces a thermal data parser for device tree. The parsed data is used to build

Re: [PATCH 01/11] x86: Use asm goto to implement better modify_and_test() functions

2013-09-18 Thread Linus Torvalds
On Tue, Sep 17, 2013 at 4:10 AM, Peter Zijlstra wrote: > Linus suggested using asm goto to get rid of the typical SETcc + TEST > instruction pair -- which also clobbers an extra register -- for our > typical modify_and_test() functions. Thinking about this, we actually have another place in x86

Re: [PATCH] arm: mvebu: use the main timer as clock source from DT

2013-09-18 Thread Jason Cooper
Adding clocksource maintainers to the Cc: ... On Wed, Sep 18, 2013 at 08:49:28PM +0200, Jean Pihet wrote: > This commit: > 573145f08c2b92c45498468afbbba909f6ce6135 > clocksource: armada-370-xp: Use CLOCKSOURCE_OF_DECLARE > > replaced a call to the driver's timer initialization by a call to >

Re: [PATCHv2 02/16] drivers: thermal: introduce device tree parser

2013-09-18 Thread Eduardo Valentin
On 18-09-2013 13:08, Guenter Roeck wrote: > On Wed, Sep 18, 2013 at 12:03:09PM -0400, Eduardo Valentin wrote: >> This patch introduces a device tree bindings for >> describing the hardware thermal behavior and limits. >> Also a parser to read and interpret the data and feed >> it in the thermal

Re: [PATCH] arm: mvebu: use the main timer as clock source from DT

2013-09-18 Thread Jean Pihet
Hi Jason, Thomas, On 18 September 2013 18:54, Jason Cooper wrote: > On Wed, Sep 18, 2013 at 06:45:09PM +0200, Thomas Petazzoni wrote: >> Dear Jean Pihet, >> >> On Wed, 18 Sep 2013 17:53:44 +0200, Jean Pihet wrote: >> > This commit: >> > 573145f08c2b92c45498468afbbba909f6ce6135 >> >

[PATCH v2 1/4] clockchips: Add FEAT_PERCPU clockevent flag

2013-09-18 Thread Soren Brinkmann
Add the flag CLOCK_EVT_FEAT_PERCPU which is supposed to be set for per cpu clockevent devices. Signed-off-by: Soren Brinkmann --- include/linux/clockchips.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/clockchips.h b/include/linux/clockchips.h index 0857922..493aa02 100644

[PATCH] arm: mvebu: use the main timer as clock source from DT

2013-09-18 Thread Jean Pihet
This commit: 573145f08c2b92c45498468afbbba909f6ce6135 clocksource: armada-370-xp: Use CLOCKSOURCE_OF_DECLARE replaced a call to the driver's timer initialization by a call to clocksource_of_init(). However, it failed to select CONFIG_CLKSRC_OF. Fix this by selecting CONFIG_CLKSRC_OF for

[PATCH v2 3/4] tick: broadcast: Deny per-cpu clockevents from being broadcast sources

2013-09-18 Thread Soren Brinkmann
On most ARM systems the per-cpu clockevents are truly per-cpu in the sense that they can't be controlled on any other CPU besides the CPU that they interrupt. If one of these clockevents were to become a broadcast source we will run into a lot of trouble because the broadcast source is enabled on

[IP REVIEW] spi/tegra114: Correct support for cs_change

2013-09-18 Thread Rhyland Klein
The tegra114 driver wasn't currently handling the cs_change functionality. It is meant to invert normal behavior, and we were only using it to possibly delay at the end of a transfer. This patch modifies the logic so that the cs state will be toggled after every individual transfer or NOT toggled

[PATCH v2 4/4] arm: zynq: Enable arm_global_timer

2013-09-18 Thread Soren Brinkmann
Zynq is based on an ARM Cortex-A9 MPCore, which features the arm_global_timer in its SCU. Therefore enable the timer for Zynq. Signed-off-by: Soren Brinkmann Acked-by: Daniel Lezcano --- v2: - rename DT node: global_timer@... => timer@... - add Daniel's ACK ---

[PATCH v2 2/4] clocksource/arm_global_timer: Set FEAT_PERCPU flag

2013-09-18 Thread Soren Brinkmann
The arm_global_timer is a per cpu device. Set the appropriate flag. Signed-off-by: Soren Brinkmann --- drivers/clocksource/arm_global_timer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clocksource/arm_global_timer.c b/drivers/clocksource/arm_global_timer.c

[PATCH v2 0/4] arm: zynq: Enable global timer

2013-09-18 Thread Soren Brinkmann
Hi all, here's a v2. I reused the subject from my v1 submission although the focus of this series moved a bit towards the timer subsystem. I replaced Stephen's fix to prevent per cpu devices from becoming the broadcast device with Thomas' proposal, but I kept the original commit message. I split

Re: [PATCH] ARM: OMAP4 SMP: Corrected a typo fucntions to functions

2013-09-18 Thread Tony Lindgren
* Anoop Thomas Mathew [130906 20:55]: > Corrected the functions spelling mistake in the OMAP4 SMP source file. > > Signed-off-by: Anoop Thomas Mathew Thanks applying into omap-for-v3.12/fixes. Tony > --- > arch/arm/mach-omap2/omap-smp.c |2 +- > 1 file changed, 1 insertion(+), 1

Re: Build failures due to commit 416161db (btrfs: offline dedupe)

2013-09-18 Thread Guenter Roeck
On Tue, Sep 17, 2013 at 03:43:54PM -0700, Mark Fasheh wrote: > On Fri, Sep 13, 2013 at 03:33:34PM -0400, Chris Mason wrote: > > Mark, could you please send a patch for the whole-struct option until > > the unaligned put is upstreamed? > > > > -chris > > Here you go. It's been lightly tested and

Re: [BUG] 3.7-rc regression bisected: s2disk fails to resume image: Processes could not be frozen, cannot continue resuming

2013-09-18 Thread Andrew Savchenko
Hello, On Wed, 18 Sep 2013 14:52:39 +0100 Al Viro wrote: > On Tue, Aug 27, 2013 at 07:48:43AM +0400, Andrew Savchenko wrote: > > > Additional (but probably useless) information on this bug may be found > > > here: https://forums.gentoo.org/viewtopic-p-7371120.html > > Something's very fishy

[PATCH 2/3] mfd: mc13xxx: Move SPI erratum workaround into SPI I/O function

2013-09-18 Thread Mark Brown
From: Mark Brown Move the workaround for double sending AUDIO_CODEC and AUDIO_DAC writes into the SPI core, aiding refactoring to eliminate the ASoC custom I/O functions and avoiding the extra writes for I2C. Signed-off-by: Mark Brown --- drivers/mfd/mc13xxx-spi.c | 5 +

Re: [patch 0/7] improve memcg oom killer robustness v2

2013-09-18 Thread Johannes Weiner
On Wed, Sep 18, 2013 at 02:04:55PM -0400, Johannes Weiner wrote: > On Wed, Sep 18, 2013 at 04:03:04PM +0200, azurIt wrote: > > > CC: "Johannes Weiner" , "Andrew Morton" > > > , "David Rientjes" , > > > "KAMEZAWA Hiroyuki" , "KOSAKI Motohiro" > > > , linux...@kvack.org, > > >

[RESEND] spi/tegra114: Correct support for cs_change

2013-09-18 Thread Rhyland Klein
The tegra114 driver wasn't currently handling the cs_change functionality. It is meant to invert normal behavior, and we were only using it to possibly delay at the end of a transfer. This patch modifies the logic so that the cs state will be toggled after every individual transfer or NOT toggled

[PATCH 12/26] ARM: exynos: remove custom .init_time hook

2013-09-18 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. While at it, also remove some now redundant includes. Signed-off-by: Sebastian Hesselbarth --- Cc: Olof Johansson Cc: Arnd Bergmann Cc: Russell King Cc: Kukjin Kim Cc:

[PATCH 11/26] ARM: dove: remove custom .init_time hook

2013-09-18 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. While at it, also remove some obsolete includes. Signed-off-by: Sebastian Hesselbarth --- Cc: Olof Johansson Cc: Arnd Bergmann Cc: Jason Cooper Cc: Andrew Lunn Cc: Russell King Cc:

Re: [patch 0/7] improve memcg oom killer robustness v2

2013-09-18 Thread Johannes Weiner
On Wed, Sep 18, 2013 at 04:03:04PM +0200, azurIt wrote: > > CC: "Johannes Weiner" , "Andrew Morton" > > , "David Rientjes" , > > "KAMEZAWA Hiroyuki" , "KOSAKI Motohiro" > > , linux...@kvack.org, > > cgro...@vger.kernel.org, x...@kernel.org, linux-a...@vger.kernel.org, > >

Re: [patch 0/7] improve memcg oom killer robustness v2

2013-09-18 Thread Michal Hocko
On Wed 18-09-13 20:02:39, azurIt wrote: > > CC: "Johannes Weiner" , "Andrew Morton" > > , "David Rientjes" , > > "KAMEZAWA Hiroyuki" , "KOSAKI Motohiro" > > , linux...@kvack.org, > > cgro...@vger.kernel.org, x...@kernel.org, linux-a...@vger.kernel.org, > > linux-kernel@vger.kernel.org > >On

Re: [tip:perf/core] perf: Fix broken union in ' struct perf_event_mmap_page'

2013-09-18 Thread Stephane Eranian
On Wed, Sep 18, 2013 at 5:42 PM, Peter Zijlstra wrote: > On Wed, Sep 18, 2013 at 10:19:32AM -0400, Vince Weaver wrote: >> Can you point to any code that is fixed by the commit? > > I have some, but I don't think a lot of people use it. > > Would you be ok with something like the below? It should

Re: [PATCH v2 2/2] RX-51: ARM errata 430973 workaround

2013-09-18 Thread Pali Rohár
Hello, On Wednesday 18 September 2013 19:18:17 Tony Lindgren wrote: > * Pali Rohár [130918 01:41]: > > I'm not very happy. I sent this patch 6 months ago and only > > now you commented that needs rework again. This patch is > > needed because all thumb-2 userspace binaries crashing. I > > want

[PATCH 1/3] mfd: mc13xxx: Don't require lock for simple register I/O

2013-09-18 Thread Mark Brown
From: Mark Brown Since the conversion to regmap there has been no need for device level locking for I/O as regmap provides locking so remove the locks. Signed-off-by: Mark Brown --- drivers/mfd/mc13xxx-core.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/mfd/mc13xxx-core.c

Re: [PATCH v2 2/2] RX-51: ARM errata 430973 workaround

2013-09-18 Thread Tony Lindgren
* Pali Rohár [130918 11:21]: > On Wednesday 18 September 2013 19:18:17 Tony Lindgren wrote: > > > > Hmm hasn't there been pending comments until recently on your > > patches? > > > > Since 10.07.2013 I do not have any emails for patch 2/2. If I > missed something from you, please resend me

[PATCH 3/3] ASoC: mc13783: Use regmap directly from ASoC

2013-09-18 Thread Mark Brown
From: Mark Brown As part of a push to remove the register I/O functionality from ASoC (since it is now duplicated in the regmap API) convert the mc13783 driver to use regmap directly. Signed-off-by: Mark Brown --- sound/soc/codecs/mc13783.c | 55 --

Re: [patch 0/7] improve memcg oom killer robustness v2

2013-09-18 Thread azurIt
> CC: "Johannes Weiner" , "Andrew Morton" > , "David Rientjes" , > "KAMEZAWA Hiroyuki" , "KOSAKI Motohiro" > , linux...@kvack.org, > cgro...@vger.kernel.org, x...@kernel.org, linux-a...@vger.kernel.org, > linux-kernel@vger.kernel.org >On Wed 18-09-13 16:33:06, azurIt wrote: >> > CC: "Johannes

[PATCH 20/26] ARM: rockchip: remove custom .init_time hook

2013-09-18 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. Signed-off-by: Sebastian Hesselbarth --- Cc: Olof Johansson Cc: Arnd Bergmann Cc: Russell King Cc: Heiko Stuebner Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org ---

[PATCH 05/26] ARM: socfgpa: prepare for arch-wide .init_time callback

2013-09-18 Thread Sebastian Hesselbarth
Current socfpga board init calls of_clk_init() from .machine_init. To allow consolidation of DT driven .time_init, move of_clock_init() to a temporary .time_init that will be removed when arch-wide callback is available. Signed-off-by: Sebastian Hesselbarth --- Cc: Olof Johansson Cc: Arnd

[PATCH 17/26] ARM: nomadik: remove custom .init_time hook

2013-09-18 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. Signed-off-by: Sebastian Hesselbarth --- Cc: Olof Johansson Cc: Arnd Bergmann Cc: Alessandro Rubini Cc: Linus Walleij Cc: STEricsson Cc: Russell King Cc:

[PATCH 07/26] clk: vt8500: parse pmc_base from clock driver

2013-09-18 Thread Sebastian Hesselbarth
Currently, clock providers for vt8500 depend on machine_init providing pmc_base address before calling of_clk_init. With upcoming arch-wide .time_init calling of_clk_init, we should make clock providers independent of mach code. This adds a pmc_base parsing helper to current clock provider that

[PATCH 14/26] ARM: imx: remove custom .init_time hook

2013-09-18 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. Signed-off-by: Sebastian Hesselbarth Acked-by: Shawn Guo --- Changelog: RFCv1->RFCv2: - added missing CLK_OF_DECLARE for imx51 and imx53 (Reported by Sascha Hauer) mx53_clocks_init can be

[PATCH 09/26] ARM: call of_clk_init from default time_init handler

2013-09-18 Thread Sebastian Hesselbarth
Most DT ARM machs require common clock providers initialized before timers. Currently, arch/arm machs use .init_time to call of_clk_init right before clocksource_of_init. This prevents to remove that callback and use the default one instead. This patch adds a call to of_clk_init() to the default

[PATCH 10/26] ARM: bcm2835: remove custom .init_time hook

2013-09-18 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. Also remove call to of_clk_init from clk-bcm2835 with core fixed_clock match, as this has already been registered now. Signed-off-by: Sebastian Hesselbarth --- Cc: Olof Johansson Cc: Arnd

[PATCH 06/26] clk: sunxi: declare OF clock provider

2013-09-18 Thread Sebastian Hesselbarth
Common clock framework allows to register clock providers to get called on of_clk_init() by using CLK_OF_DECLARE. This converts sunxi clock providers to make use of it and get rid of the mach specific clk init call. As sunxi has a bunch of independent clk provider nodes, we hook current clock init

[PATCH 13/26] ARM: highbank: remove custom .init_time hook

2013-09-18 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. Highbank clock provider need a reference to system registers, as a workaround current clk driver maps those independent of arch code now. Signed-off-by: Sebastian Hesselbarth Acked-by: Rob

[PATCH 03/26] clk: nomadik: declare OF clock provider

2013-09-18 Thread Sebastian Hesselbarth
Common clock framework allows to register clock providers to get called on of_clk_init() by using CLK_OF_DECLARE. This converts nomadik clock provider to make use of it and get rid of the mach specific clk init call. As clocks require system reset controller base address to be initialized each

[PATCH 16/26] ARM: mxs: remove custom .init_time hook

2013-09-18 Thread Sebastian Hesselbarth
This patch converts clk-imx2[38] clocksource_of_init compatible init associated with fsl,imx2[38]-clkctrl. With arch/arm calling of_clk_init(NULL) from time_init(), we can now also remove custom .init_time hooks. Signed-off-by: Sebastian Hesselbarth Acked-by: Mike Turquette --- Changelog:

[PATCH 08/26] ARM: vt8500: prepare for arch-wide .init_time callback

2013-09-18 Thread Sebastian Hesselbarth
Current vt8500 board init calls of_clk_init() from vtwm_clk_init. To allow consolidation of DT driven .time_init, move of_clock_init() to a temporary .time_init callback that will be removed when arch-wide callback is available. With previous pmc_base parsing helper for vt8500 clock providers, we

[PATCH 25/26] ARM: vexpress: remove custom .init_time hook

2013-09-18 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. The call to versatile_sched_clock_init is moved to .init_early instead, were it is also for non-DT boards. Signed-off-by: Sebastian Hesselbarth Tested-by: Jon Medhurst (Tixy) --- Cc: Olof

[PATCH 01/26] ARM: nomadik: move mtu setup to clocksource init

2013-09-18 Thread Sebastian Hesselbarth
MTU timer initialization is stuffed into .init_time callback, while cpu8815_timer_init_of again maps addresses from the same device node. Therefore, this patch moves mtu setup from to clocksource init. Signed-off-by: Sebastian Hesselbarth --- Cc: Olof Johansson Cc: Arnd Bergmann Cc: Alessandro

[PATCH 00/26] ARM: provide common arch init for DT clocks

2013-09-18 Thread Sebastian Hesselbarth
This is a patch set based on an RFC [1][2] sent earlier to provide a common arch/arm init for DT clock providers. Currently, the call to of_clk_init(NULL) to initialize DT clock providers is spread among several mach-dirs. Since most machs require DT clocks initialized before timers, no initcall

[PATCH 15/26] ARM: kirkwood: remove custom .init_time hook

2013-09-18 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. Signed-off-by: Sebastian Hesselbarth --- Cc: Olof Johansson Cc: Arnd Bergmann Cc: Jason Cooper Cc: Andrew Lunn Cc: Russell King Cc: linux-arm-ker...@lists.infradead.org Cc:

Re: BUG: sleeping function called from invalid context on 3.10.10-rt7

2013-09-18 Thread Peter Hurley
On 09/17/2013 04:55 PM, Daniel Vetter wrote: On Tue, Sep 17, 2013 at 9:50 PM, Peter Hurley wrote: On 09/11/2013 03:31 PM, Peter Hurley wrote: [+cc dri-devel] On 09/11/2013 11:38 AM, Steven Rostedt wrote: On Wed, 11 Sep 2013 11:16:43 -0400 Peter Hurley wrote: The funny part is, there's

[PATCH 21/26] ARM: socfpga: remove custom .init_time hook

2013-09-18 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. Signed-off-by: Sebastian Hesselbarth --- Cc: Olof Johansson Cc: Arnd Bergmann Cc: Dinh Nguyen Cc: Russell King Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org ---

[PATCH 26/26] ARM: vt8500: remove custom .init_time hook

2013-09-18 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. Signed-off-by: Sebastian Hesselbarth --- Cc: Olof Johansson Cc: Arnd Bergmann Cc: Tony Prisk Cc: Russell King Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org ---

[PATCH 23/26] ARM: sunxi: remove custom .init_time hook

2013-09-18 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. Signed-off-by: Sebastian Hesselbarth --- Cc: Olof Johansson Cc: Arnd Bergmann Cc: Maxime Ripard Cc: Russell King Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org ---

[PATCH 19/26] ARM: prima2: remove custom .init_time hook

2013-09-18 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. Signed-off-by: Sebastian Hesselbarth --- Cc: Olof Johansson Cc: Arnd Bergmann Cc: Barry Song Cc: Russell King Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org ---

[PATCH 18/26] ARM: nspire: remove custom .init_time hook

2013-09-18 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. Signed-off-by: Sebastian Hesselbarth --- Cc: Olof Johansson Cc: Arnd Bergmann Cc: Russell King Cc: Daniel Tang Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org ---

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