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

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

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

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 fra

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: [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, > > > cgro...@vger.kernel

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 l

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

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

[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 Signed-off-by

[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 772725e..

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

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

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

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

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

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 kmem_cache_fre

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

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

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 a/dr

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 __use

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 b

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

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

[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 a/arch/arm/mach-omap2/

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 of

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 ca

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 f9964257c83f224c120ecb1e5a7b25e

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 i

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 majord...@v

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

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

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 and

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 c

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 justific

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 provider

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

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

[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 +++ arch/arm/mach-omap2/omap-secure.c

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 + drivers/char/hw_random/oma

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

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 produces

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

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

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

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,

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

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

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 ++ > arch/arm/mach-omap2/om

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 isn

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: [PATCHv4 02/16] drivers: thermal: introduce device tree parser

2013-09-18 Thread Joe Perches
On Wed, 2013-09-18 at 16:31 -0400, Eduardo Valentin wrote: > +/** > + * of_parse_thermal_zones - parse device tree thermal data > + * > + * Initialization function that can be called by machine initialization > + * code to parse thermal data and populate the thermal framework > + * with hardware t

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

2013-09-18 Thread Stephen Warren
On 09/18/2013 01:52 PM, Sebastian Hesselbarth wrote: > 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 ... >> >> How would you like to

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

2013-09-18 Thread Olof Johansson
On Wed, Sep 18, 2013 at 12:52 PM, Sebastian Hesselbarth wrote: > 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: n

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

2013-09-18 Thread Richard Guy Briggs
On Wed, Sep 18, 2013 at 04:33:25PM -0400, Eric Paris wrote: > 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_bac

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

2013-09-18 Thread Aaro Koskinen
Hi, On Wed, Sep 18, 2013 at 10:05:56PM +0200, Pali Rohár wrote: > + if (IS_ERR(rng_clk)) { > + printk(KERN_ERR "%s: unable to get RNG clock\n", > +omap3_rom_rng_name); > + return IS_ERR(rng_clk); This should be PTR_ERR(). A. -- To unsubscribe from

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

2013-09-18 Thread azurIt
> CC: "Michal Hocko" , "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, Sep 18, 2013 at 02:19:46PM -0400, Johannes Weiner wrot

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

2013-09-18 Thread Eric Paris
On Wed, 2013-09-18 at 16:49 -0400, Richard Guy Briggs wrote: > On Wed, Sep 18, 2013 at 04:33:25PM -0400, Eric Paris wrote: > > 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

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

2013-09-18 Thread Eduardo Valentin
On 18-09-2013 16:44, Joe Perches wrote: > On Wed, 2013-09-18 at 16:31 -0400, Eduardo Valentin wrote: > >> +/** >> + * of_parse_thermal_zones - parse device tree thermal data >> + * >> + * Initialization function that can be called by machine initialization >> + * code to parse thermal data and pop

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

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

2013-09-18 Thread Joe Perches
On Wed, 2013-09-18 at 16:52 -0400, Eduardo Valentin wrote: > On 18-09-2013 16:44, Joe Perches wrote: > > On Wed, 2013-09-18 at 16:31 -0400, Eduardo Valentin wrote: > > > >> +/** > >> + * of_parse_thermal_zones - parse device tree thermal data > >> + * > >> + * Initialization function that can be c

Re: [PATCH V2 1/1] Drivers: input: serio: New driver to support Hyper-V synthetic keyboard

2013-09-18 Thread Dmitry Torokhov
Hi K.Y., On Tue, Sep 17, 2013 at 04:26:58PM -0700, K. Y. Srinivasan wrote: > Add a new driver to support synthetic keyboard. On the next generation > Hyper-V guest firmware, many legacy devices will not be emulated and this > driver will be required. > > I would like to thank Vojtech Pavlik for

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

2013-09-18 Thread Sebastian Hesselbarth
On 09/18/2013 10:48 PM, Olof Johansson wrote: On Wed, Sep 18, 2013 at 12:52 PM, Sebastian Hesselbarth wrote: 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

[PATCH] Fixed typo on word accounting in kprobes.c in mutliple architectures

2013-09-18 Thread Anoop Thomas Mathew
Signed-off-by: Anoop Thomas Mathew --- arch/arc/kernel/kprobes.c |2 +- arch/ia64/kernel/kprobes.c|2 +- arch/powerpc/kernel/kprobes.c |2 +- arch/s390/kernel/kprobes.c|2 +- arch/sparc/kernel/kprobes.c |2 +- 5 files changed, 5 insertions(+), 5 deletions(-) dif

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

2013-09-18 Thread Joe Perches
On Wed, 2013-09-18 at 16:57 -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. [] > +int __init of_parse_thermal_

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

2013-09-18 Thread Eduardo Valentin
On 18-09-2013 17:00, Joe Perches wrote: > On Wed, 2013-09-18 at 16:52 -0400, Eduardo Valentin wrote: >> On 18-09-2013 16:44, Joe Perches wrote: >>> On Wed, 2013-09-18 at 16:31 -0400, Eduardo Valentin wrote: >>> +/** + * of_parse_thermal_zones - parse device tree thermal data + *

[PATCH 2/4] kobject: grab an extra reference on kobject->sd to allow duplicate deletes

2013-09-18 Thread Tejun Heo
sysfs currently has a rather weird behavior regarding removals. A directory removal would delete all files directly under it but wouldn't recurse into subdirectories, which, while a bit inconsistent, seems to make sense at the first glance as each directory is supposedly associated with a kobject

[PATCHSET] sysfs: implement sysfs_remove()

2013-09-18 Thread Tejun Heo
Hello, Currently, there are multiple variants of internal sysfs removal functions and the directory removal behavior is a bit weird in that while it does remove the files contained immediately in the directory it wouldn't recurse into its subdirectories, even the group ones which belong to the sam

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

2013-09-18 Thread Alan Tull
On Wed, 2013-09-18 at 14:32 -0600, Jason Gunthorpe wrote: > 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 S

[PATCH 1/4] sysfs: remove sysfs_addrm_cxt->parent_sd

2013-09-18 Thread Tejun Heo
sysfs_addrm_start/finish() enclose sysfs_dirent additions and deletions and sysfs_addrm_cxt is used to record information necessary to finish the operations. Currently, sysfs_addrm_start() takes @parent_sd, records it in sysfs_addrm_cxt, and assumes that all operations in the block are performed u

[PATCH 3/4] sysfs: make __sysfs_remove_dir() recursive

2013-09-18 Thread Tejun Heo
Currently, sysfs directory removal is inconsistent in that it would remove any files directly under it but wouldn't recurse into directories. Thanks to group subdirectories, this doesn't even match with kobject boundaries. sysfs is in the process of being separated out so that it can be used by m

Regression on cpufreq in v3.12-rc1

2013-09-18 Thread Linus Walleij
Hi Rafael, Viresh, I'm seeing this problem and maybe you can help me out fixing it properly: On some machines like the StrongARM SA1100 it seems that cpufreq_get() can be called before the cpufreq driver and thus the policy is set, resulting in a crash like this: [ cut here ]---

Re: [PATCH v2 2/4] gcov: add support for gcc 4.7 gcov format

2013-09-18 Thread Andrew Morton
On Wed, 4 Sep 2013 16:42:54 +0200 Frantisek Hrbata wrote: > The gcov in-memory format changed in gcc 4.7. The biggest change, which > requires this special implementation, is that gcov_info no longer contains > array of counters for each counter type for all functions and gcov_fn_info is > not u

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

2013-09-18 Thread Eduardo Valentin
On 18-09-2013 17:04, Joe Perches wrote: > On Wed, 2013-09-18 at 16:57 -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

Re: [PATCH v2 2/4] gcov: add support for gcc 4.7 gcov format

2013-09-18 Thread Joe Perches
On Wed, 2013-09-18 at 14:22 -0700, Andrew Morton wrote: > On Wed, 4 Sep 2013 16:42:54 +0200 Frantisek Hrbata > wrote: > > The gcov in-memory format changed in gcc 4.7. The biggest change, which > > requires this special implementation, is that gcov_info no longer contains > > array of counters f

[PATCH 02/02] x86_64: Add safe check in a.out loaders and some coding style

2013-09-18 Thread Geyslan G. Bem
ia32_aout had no safe checks concerning the mmap and f_op in this module. It's not necessary to verify f_op in the load_aout_library, since the prior kernel_read/vfs_read function already does. Coding style and printks fixes. Tested using qemu, a handcrafted a.out binary and a a.out linked with a

[PATCH 01/02] x86: Useless inode var, printks and coding style fixes

2013-09-18 Thread Geyslan G. Bem
file size read only one time: useless prior value allocation. It's not necessary to verify f_op in the load_aout_library, since the prior kernel_read/vfs_read function already does. Coding style fixes and printk replacements. Tested using qemu, a handcrafted a.out binary and a a.out linked with a

[PATCH 4/4] sysfs: introduce [__]sysfs_remove()

2013-09-18 Thread Tejun Heo
Given a sysfs_dirent, there is no reason to have multiple versions of removal functions. A function which removes the specified sysfs_dirent and its descendants is enough. This patch intorduces [__}sysfs_remove() which replaces all internal variations of removal functions. This will be the only

Re: [PATCH v2 2/4] gcov: add support for gcc 4.7 gcov format

2013-09-18 Thread Andrew Morton
On Wed, 18 Sep 2013 14:27:05 -0700 Joe Perches wrote: > On Wed, 2013-09-18 at 14:22 -0700, Andrew Morton wrote: > > On Wed, 4 Sep 2013 16:42:54 +0200 Frantisek Hrbata > > wrote: > > > The gcov in-memory format changed in gcc 4.7. The biggest change, which > > > requires this special implementa

[PATCH] Fixed typo in word 'implementations' in reboot.h

2013-09-18 Thread Anoop Thomas Mathew
Signed-off-by: Anoop Thomas Mathew --- include/linux/reboot.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/reboot.h b/include/linux/reboot.h index 8e00f9f..0ff569d 100644 --- a/include/linux/reboot.h +++ b/include/linux/reboot.h @@ -52,7 +52,7 @@ struct pt_

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

2013-09-18 Thread Ryan Mallon
On 19/09/13 05:48, Dmitry Torokhov wrote: > 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 b

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

[PATCH] RX-51: Add missing max_current to rx51_lp5523_led_config

2013-09-18 Thread Pali Rohár
Without max_current data in board file lp5523 driver does not change current. Signed-off-by: Pali Rohár --- arch/arm/mach-omap2/board-rx51-peripherals.c |9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-

Re: [PATCH] clockevents: Sanitize ticks to nsec conversion

2013-09-18 Thread Thomas Gleixner
On Wed, 18 Sep 2013, Uwe Kleine-König wrote: > On Wed, Sep 18, 2013 at 11:38:07AM +0200, Thomas Gleixner wrote: > > On Wed, 18 Sep 2013, Uwe Kleine-König wrote: > > > Another doubt I have is: You changed clockevent_delta2ns to round up now > > > unconditionally. For the numbers on at91 that doesn't

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

2013-09-18 Thread Mark Fasheh
On Wed, Sep 18, 2013 at 11:40:07AM -0700, Guenter Roeck wrote: > 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 upstr

Re: RFC vmstat: On demand vmstat threads

2013-09-18 Thread Andrew Morton
On Tue, 10 Sep 2013 21:13:34 + Christoph Lameter wrote: > Subject: vmstat: On demand vmstat workers V2 grumbles. > vmstat threads are used for folding counter differentials into the > zone, per node and global counters at certain time intervals. These are not "threads". Let's please use a

Re: [REGRESSION][BISECTED] skge: add dma_mapping check

2013-09-18 Thread Francois Romieu
Igor Gnatenko : > Since 136d8f377e1575463b47840bc5f1b22d94bf8f63 commit we have kernel > panic on: > 01:05.0 Ethernet controller [0200]: Marvell Technology Group Ltd. > > Screen: https://www.dropbox.com/s/mu3t3wxpxbn4ou5/IMAG0507.jpg > > RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1008323

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
On Wed, 18 Sep 2013 20:16:07 +0100 Al Viro wrote: > 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' i

Re: [RFC PATCH 1/4] DRIVERS: IRQCHIP: Add crossbar irqchip driver

2013-09-18 Thread Thomas Gleixner
On Wed, 18 Sep 2013, Sricharan R wrote: > On Wednesday 18 September 2013 07:22 PM, Sricharan R wrote: > > Hi Thomas, > > > > On Tuesday 17 September 2013 05:56 PM, Linus Walleij wrote: > >> On Fri, Sep 13, 2013 at 4:24 PM, Thomas Gleixner > >> wrote: > >> > >>> So why can't you make use of irq do

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

2013-09-18 Thread Dmitry Torokhov
Ryan Mallon wrote: >On 19/09/13 05:48, Dmitry Torokhov wrote: > >> 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. >>

Re: [PATCH 1/5] scripts: Add mkstrerror.sh

2013-09-18 Thread Daniel Santos
On 09/18/2013 06:55 AM, David Howells wrote: David Howells wrote: (1) Why are you double-NUL'ing all your strings? (see the \0 in the strings) Ah... I see what you're doing. I missed the fact that you don't have a comma after each string. Yeah, I was trying to format the code so that

Re: [PATCH] RX-51: Add missing max_current to rx51_lp5523_led_config

2013-09-18 Thread Tony Lindgren
* Pali Rohár [130918 15:02]: > Without max_current data in board file lp5523 driver does not change current. Hmm is this a regression or are there other reasons to merge this during the -rc cycle? Regards, Tony > Signed-off-by: Pali Rohár > --- > arch/arm/mach-omap2/board-rx51-peripherals.c

Re: Regression on cpufreq in v3.12-rc1

2013-09-18 Thread Rafael J. Wysocki
On Wednesday, September 18, 2013 11:21:45 PM Linus Walleij wrote: > Hi Rafael, Viresh, > > I'm seeing this problem and maybe you can help me out fixing it > properly: > > On some machines like the StrongARM SA1100 it seems that > cpufreq_get() can be called before the cpufreq driver and thus the

<    1   2   3   4   5   6   >