Re: [PATCHv5] ASoC: Add support for BCM2835

2013-11-25 Thread Mark Brown
On Fri, Nov 22, 2013 at 04:24:08PM +0100, Florian Meier wrote: > This driver adds support for digital audio (I2S) > for the BCM2835 SoC that is used by the > Raspberry Pi. External audio codecs can be > connected to the Raspberry Pi via P5 header. Applied, thanks. signature.asc Description:

Re: [PATCH] pinctrl: provide documentation pointer

2013-11-25 Thread Stephen Warren
On 11/25/2013 07:45 AM, Linus Walleij wrote: > The PIN_CONFIG_OUTPUT parameter is really tricky to understand > and needs an explicit pointer to the documentation. > diff --git a/include/linux/pinctrl/pinconf-generic.h > b/include/linux/pinctrl/pinconf-generic.h > * @PIN_CONFIG_OUTPUT: this

Re: [PATCH] n_tty: Protect minimum_to_wake reset for concurrent readers

2013-11-25 Thread Greg Kroah-Hartman
On Mon, Nov 25, 2013 at 12:12:52PM -0500, Peter Hurley wrote: > On 11/25/2013 11:36 AM, Greg Kroah-Hartman wrote: > >On Thu, Nov 07, 2013 at 02:01:57PM -0500, Peter Hurley wrote: > >>With multiple, concurrent readers (each waiting to acquire the > >>atomic_read_lock mutex), a departing reader may

Re: [PATCH v2 RFC 1/3] documentation: Add needed ACCESS_ONCE() calls to memory-barriers.txt

2013-11-25 Thread Paul E. McKenney
On Sat, Nov 23, 2013 at 10:04:06AM +0100, Peter Zijlstra wrote: > On Fri, Nov 22, 2013 at 10:13:13AM -0800, Paul E. McKenney wrote: > > How about the following? > > > > Thanx, Paul > > > >

Re: [PATCH v2 2/3] bq2415x_charger: Use power_supply notifier for automode

2013-11-25 Thread Sebastian Reichel
On Mon, Nov 25, 2013 at 07:01:54PM +0200, Ивайло Димитров wrote: >> Now.. Imagine phone left in car in charger (on sun). Likely >> temperature will reach high values, kernel is charging, dsme will >> reboot the system, but kernel will start charging again, dsme will >> reboot again, ... >> >> And

Re: [PATCH] n_tty: Protect minimum_to_wake reset for concurrent readers

2013-11-25 Thread Peter Hurley
On 11/25/2013 11:36 AM, Greg Kroah-Hartman wrote: On Thu, Nov 07, 2013 at 02:01:57PM -0500, Peter Hurley wrote: With multiple, concurrent readers (each waiting to acquire the atomic_read_lock mutex), a departing reader may mistakenly reset minimum_to_wake after a new reader has already set a

Re: randconfig build error with next-20131125, in drivers/iio/light

2013-11-25 Thread Jonathan Cameron
Thanks for the report. We have a fix queued up. I have just been a bit lax sending the pull request. Note I believe the issue is in Linus' tree as well. Thanks again Jonathan Jim Davis wrote: >Building with the attached random configuration file, > >drivers/iio/light/tcs3472.c: In function

Re: randconfig build error with next-20131125, in drivers/iio/light

2013-11-25 Thread Borislav Petkov
On Mon, Nov 25, 2013 at 10:04:44AM -0700, Jim Davis wrote: > Building with the attached random configuration file, > > drivers/iio/light/tcs3472.c: In function ‘tcs3472_trigger_handler’: > drivers/iio/light/tcs3472.c:195:2: error: implicit declaration of > function

Re: [PATCH] I2C: BCM2835: Linking platform nodes to adapter nodes

2013-11-25 Thread Stephen Warren
On 11/25/2013 01:01 AM, Florian Meier wrote: > In order to find I2C devices in the device tree, the platform nodes > have to be known by the I2C core. This requires setting the > dev.of_node parameter of the adapter. Acked-by: Stephen Warren Tested-by: Stephen Warren (Interestingly, I just

Re: Compile error in i2c-bcm-kona.c

2013-11-25 Thread Tim Kryger
On Sun, Nov 24, 2013 at 9:11 PM, Guenter Roeck wrote: > Upstream HEAD, arm allmodconfig: > > drivers/i2c/busses/i2c-bcm-kona.c:894:1: error: '__mod_of_device_table' > aliased to undefined symbol 'kona_i2c_of_match' > make[3]: *** [drivers/i2c/busses/i2c-bcm-kona.o] Error 1 > make[2]: ***

Re: [PATCH v2 2/3] bq2415x_charger: Use power_supply notifier for automode

2013-11-25 Thread Ивайло Димитров
> Оригинално писмо >От: Pavel Machek >Относно: Re: [PATCH v2 2/3] bq2415x_charger: Use power_supply notifier for automode >До: Pali Rohár >Изпратено на: Понеделник, 2013, Ноември 25 17:18:39 EET > > >On Mon 2013-11-25 15:10:00, Pali Rohár wrote: >> On Monday 25

Re: [PATCH V2] cpufreq: Make sure CPU is running on a freq from freq-table

2013-11-25 Thread Viresh Kumar
On 25 November 2013 22:08, Dirk Brandewie wrote: > IMHO this issue should be fixed in the scaling driver for the platform. > > The scaling driver sets policy->cur and fills in the frequency table and has Not anymore, policy->cur is set in the core for most of the drivers now. Drivers just

Ваши глазики вполне могут замечать вернее

2013-11-25 Thread jane_corkett
Ходите без контактных линз http://goo.gl/38yL24

Re: [PATCH v11 09/15] memcg,list_lru: add per-memcg LRU list infrastructure

2013-11-25 Thread Johannes Weiner
On Mon, Nov 25, 2013 at 04:07:42PM +0400, Vladimir Davydov wrote: > FS-shrinkers, which shrink dcaches and icaches, keep dentries and inodes > in list_lru structures in order to evict least recently used objects. > With per-memcg kmem shrinking infrastructure introduced, we have to make > those

Re: [PATCH 1/1] xen-netback: include definition of csum_ipv6_magic

2013-11-25 Thread Ian Campbell
On Mon, 2013-11-25 at 16:52 +, Andy Whitcroft wrote: > We are now using csum_ipv6_magic, include the appropriate header. > Avoids the following error: > > drivers/net/xen-netback/netback.c:1313:4: error: implicit declaration of > function 'csum_ipv6_magic'

[PATCH 1/1] xen-netback: include definition of csum_ipv6_magic

2013-11-25 Thread Andy Whitcroft
We are now using csum_ipv6_magic, include the appropriate header. Avoids the following error: drivers/net/xen-netback/netback.c:1313:4: error: implicit declaration of function 'csum_ipv6_magic' [-Werror=implicit-function-declaration] tcph->check = ~csum_ipv6_magic(>saddr,

Re: [PATCH v11 07/15] memcg: scan cache objects hierarchically

2013-11-25 Thread Johannes Weiner
On Mon, Nov 25, 2013 at 04:07:40PM +0400, Vladimir Davydov wrote: > From: Glauber Costa > > When reaching shrink_slab, we should descent in children memcg searching > for objects that could be shrunk. This is true even if the memcg does > not have kmem limits on, since the kmem res_counter will

Re: [PATCH v2 0/6] Update Davinci watchdog driver

2013-11-25 Thread ivan.khoronzhuk
On 11/25/2013 03:19 PM, ivan.khoronzhuk wrote: On 11/25/2013 03:06 PM, Sekhar Nori wrote: On Monday 18 November 2013 10:48 PM, Ivan Khoronzhuk wrote: These patches are intended to update Davinci watchdog to use WDT core and reuse driver for keystone arch, because Keystone uses the similar IP

Re: [PATCH v11 06/15] memcg: per-memcg kmem shrinking

2013-11-25 Thread Johannes Weiner
On Mon, Nov 25, 2013 at 04:07:39PM +0400, Vladimir Davydov wrote: > From: Glauber Costa > > If the kernel limit is smaller than the user limit, we will have > situations in which our allocations fail but freeing user pages will buy > us nothing. In those, we would like to call a specialized

Re: [PATCH 4/6] kexec: A new system call, kexec_file_load, for in kernel kexec

2013-11-25 Thread Vivek Goyal
On Fri, Nov 22, 2013 at 07:39:14PM -0800, Eric W. Biederman wrote: [..] > > Hmm..., I am running out of ideas here. This is what I understand. > > > > - If I sign the bzImage (using PKCS1.5 signature), and later it is signed > > with authenticode format signatures, then PKCS1.5 signatures will

Re: [PATCH V2] cpufreq: Make sure CPU is running on a freq from freq-table

2013-11-25 Thread Dirk Brandewie
On 11/24/2013 08:23 PM, Viresh Kumar wrote: Sometimes boot loaders set CPU frequency to a value outside of frequency table present with cpufreq core. In such cases CPU might be unstable if it has to run on that frequency for long duration of time and so its better to set it to a frequency which

Re: [PATCH 0/9 v2] vfio-pci: add support for Freescale IOMMU (PAMU)

2013-11-25 Thread Alex Williamson
On Mon, 2013-11-25 at 05:33 +, Bharat Bhushan wrote: > > > -Original Message- > > From: Alex Williamson [mailto:alex.william...@redhat.com] > > Sent: Friday, November 22, 2013 2:31 AM > > To: Wood Scott-B07421 > > Cc: Bhushan Bharat-R65777; linux-...@vger.kernel.org; ag...@suse.de;

Re: [PATCH 4/5] futex: Avoid taking hb lock if nothing to wakeup

2013-11-25 Thread Peter Zijlstra
On Mon, Nov 25, 2013 at 05:23:51PM +0100, Thomas Gleixner wrote: > On Sat, 23 Nov 2013, Linus Torvalds wrote: > > > On Sat, Nov 23, 2013 at 5:16 AM, Thomas Gleixner wrote: > > > > > > Now the question is why we queue the waiter _AFTER_ reading the user > > > space value. The comment in the code

Re: [PATCH] n_tty: Protect minimum_to_wake reset for concurrent readers

2013-11-25 Thread Greg Kroah-Hartman
On Thu, Nov 07, 2013 at 02:01:57PM -0500, Peter Hurley wrote: > With multiple, concurrent readers (each waiting to acquire the > atomic_read_lock mutex), a departing reader may mistakenly reset > minimum_to_wake after a new reader has already set a new value. > > Protect the minimum_to_wake reset

[Announce] Checkpoint-restore tool v1.0

2013-11-25 Thread Pavel Emelyanov
Hi, I'm very proud to announce the first major release of the C/R tool! About two months ago the lasts required kernel patch has found its way upstream. Since then we have concentrated on the tool itself making it work reliably and with as little ugly hacks as possible :) Right now it looks

[GIT PULL] EFI runtime mapping work for v3.14

2013-11-25 Thread Matt Fleming
Folks, could you queue up the following for the v3.14 merge window? It would be good to get these patches into linux-next for a full release cycle of testing. They pass all of my tests. The following changes since commit 72548e836b0c4abbb652e791dee9c91203a9a4c6: x86/efi: Add EFI framebuffer

[PATCH] clk: axi-clkgen: Add support for v2

2013-11-25 Thread Lars-Peter Clausen
This patch adds support for the new v2 version of the axi-clkgen core. Unfortunately the method of accessing the registers is quite different on v2, while the content still stays largely the same. So the patch adds a small abstraction layer which implements the specific read and write functions

Re: [PATCH v11 03/15] vmscan: also shrink slab in memcg pressure

2013-11-25 Thread Johannes Weiner
On Mon, Nov 25, 2013 at 04:07:36PM +0400, Vladimir Davydov wrote: > From: Glauber Costa > > Without the surrounding infrastructure, this patch is a bit of a hammer: > it will basically shrink objects from all memcgs under memcg pressure. > At least, however, we will keep the scan limited to the

Re: [PATCH] crypto: more robust crypto_memneq

2013-11-25 Thread Daniel Borkmann
On 11/25/2013 04:59 PM, James Yonan wrote: On 24/11/2013 14:12, Cesar Eduardo Barros wrote: Disabling compiler optimizations can be fragile, since a new optimization could be added to -O0 or -Os that breaks the assumptions the code is making. Instead of disabling compiler optimizations, use a

Re: [PATCH 4/5] futex: Avoid taking hb lock if nothing to wakeup

2013-11-25 Thread Thomas Gleixner
On Sat, 23 Nov 2013, Linus Torvalds wrote: > On Sat, Nov 23, 2013 at 5:16 AM, Thomas Gleixner wrote: > > > > Now the question is why we queue the waiter _AFTER_ reading the user > > space value. The comment in the code is pretty non sensical: > > > >* On the other hand, we insert q and

[PATCH] procfs: also fix proc_reg_get_unmapped_area() for !MMU case

2013-11-25 Thread Jan Beulich
Commit fad1a86e ("procfs: call default get_unmapped_area on MMU-present architectures"), as its title says, took care of only the MMU case, leaving the !MMU side still in the regressed state (returning -EIO in all cases where pde->proc_fops->get_unmapped_area is NULL). Signed-off-by: Jan Beulich

[PATCH v2 04/11] hexagon: use generic fixmap.h

2013-11-25 Thread Mark Salter
Signed-off-by: Mark Salter Acked-by: Richard Kuo CC: linux-hexa...@vger.kernel.org --- arch/hexagon/include/asm/fixmap.h | 40 +-- 1 file changed, 1 insertion(+), 39 deletions(-) diff --git a/arch/hexagon/include/asm/fixmap.h

[PATCH v2 05/11] metag: use generic fixmap.h

2013-11-25 Thread Mark Salter
Signed-off-by: Mark Salter Acked-by: James Hogan CC: linux-me...@vger.kernel.org --- arch/metag/include/asm/fixmap.h | 32 +--- 1 file changed, 1 insertion(+), 31 deletions(-) diff --git a/arch/metag/include/asm/fixmap.h b/arch/metag/include/asm/fixmap.h index

[PATCH v2 07/11] mips: use generic fixmap.h

2013-11-25 Thread Mark Salter
Signed-off-by: Mark Salter Acked-by: Ralf Baechle CC: linux-m...@linux-mips.org --- arch/mips/include/asm/fixmap.h | 33 + 1 file changed, 1 insertion(+), 32 deletions(-) diff --git a/arch/mips/include/asm/fixmap.h b/arch/mips/include/asm/fixmap.h index

Re: [PATCH 0/6] kexec: A new system call to allow in kernel loading

2013-11-25 Thread Michael Holzheu
On Mon, 25 Nov 2013 10:36:20 -0500 Vivek Goyal wrote: > On Mon, Nov 25, 2013 at 11:04:28AM +0100, Michael Holzheu wrote: > > On Fri, 22 Nov 2013 05:34:03 -0800 > > ebied...@xmission.com (Eric W. Biederman) wrote: > > > > > Vivek Goyal writes: > > > > > >> There is also a huge missing piece of

Re: [PATCH/RFC] m68k/amiga: Fix specifying multiple debug= parameters

2013-11-25 Thread Geert Uytterhoeven
On Thu, Oct 17, 2013 at 9:46 PM, Geert Uytterhoeven wrote: > Since commit d6713b4091a99fa2af2fabdcd2f3fb97f32ecf2e ("m68k: early > parameter support"), the user can specify multiple debug consoles using the > "debug=" kernel command line parameter. > However, as the struct console object was

[PATCH v2 03/11] arm: use generic fixmap.h

2013-11-25 Thread Mark Salter
ARM is different from other architectures in that fixmap pages are indexed with a positive offset from FIXADDR_START. Other architectures index with a negative offset from FIXADDR_TOP. In order to use the generic fixmap.h definitions, this patch redefines FIXADDR_TOP to be inclusive of the useable

[PATCH v2 02/11] x86: use generic fixmap.h

2013-11-25 Thread Mark Salter
Signed-off-by: Mark Salter CC: Thomas Gleixner CC: Ingo Molnar CC: "H. Peter Anvin" CC: x...@kernel.org --- arch/x86/include/asm/fixmap.h | 59 +-- 1 file changed, 1 insertion(+), 58 deletions(-) diff --git a/arch/x86/include/asm/fixmap.h

[PATCH v2 09/11] sh: use generic fixmap.h

2013-11-25 Thread Mark Salter
Signed-off-by: Mark Salter CC: Paul Mundt CC: linux...@vger.kernel.org --- arch/sh/include/asm/fixmap.h | 39 ++- 1 file changed, 2 insertions(+), 37 deletions(-) diff --git a/arch/sh/include/asm/fixmap.h b/arch/sh/include/asm/fixmap.h index cbe0186..4daf91c

[PATCH v2 10/11] tile: use generic fixmap.h

2013-11-25 Thread Mark Salter
Signed-off-by: Mark Salter Acked-by: Chris Metcalf --- arch/tile/include/asm/fixmap.h | 33 + 1 file changed, 1 insertion(+), 32 deletions(-) diff --git a/arch/tile/include/asm/fixmap.h b/arch/tile/include/asm/fixmap.h index c6b9c1b..ffe2637 100644 ---

[PATCH v2 11/11] um: use generic fixmap.h

2013-11-25 Thread Mark Salter
Signed-off-by: Mark Salter Acked-by: Richard Weinberger CC: Jeff Dike CC: user-mode-linux-de...@lists.sourceforge.net --- arch/um/include/asm/fixmap.h | 40 +--- 1 file changed, 1 insertion(+), 39 deletions(-) diff --git a/arch/um/include/asm/fixmap.h

[PATCH] x86: override __compiletime_object_size()

2013-11-25 Thread Jan Beulich
As discussed in the context of commits 3df7b41a ("x86: Unify copy_from_user() size checking") and 7a3d9b0f ("x86: Unify copy_to_user() and add size checking to it"), we want to leverage __builtin_object_size() also on newer gcc versions, but with other architectures still using another model of

[PATCH v2 00/11] Consolidate asm/fixmap.h files

2013-11-25 Thread Mark Salter
Many architectures provide an asm/fixmap.h which defines support for compile-time 'special' virtual mappings which need to be made before paging_init() has run. This suport is also used for early ioremap on x86. Much of this support is identical across the architectures. This patch consolidates

[PATCH v2 01/11] Add generic fixmap.h

2013-11-25 Thread Mark Salter
Many architectures provide an asm/fixmap.h which defines support for compile-time 'special' virtual mappings which need to be made before paging_init() has run. This support is also used for early ioremap on x86. Much of this support is identical across the architectures. This patch consolidates

[PATCH v2 08/11] powerpc: use generic fixmap.h

2013-11-25 Thread Mark Salter
Signed-off-by: Mark Salter CC: Benjamin Herrenschmidt CC: Paul Mackerras CC: linuxppc-...@lists.ozlabs.org --- arch/powerpc/include/asm/fixmap.h | 44 ++- 1 file changed, 2 insertions(+), 42 deletions(-) diff --git a/arch/powerpc/include/asm/fixmap.h

[PATCH v2 06/11] microblaze: use generic fixmap.h

2013-11-25 Thread Mark Salter
Signed-off-by: Mark Salter Tested-by: Michal Simek CC: microblaze-ucli...@itee.uq.edu.au --- arch/microblaze/include/asm/fixmap.h | 44 ++-- 1 file changed, 2 insertions(+), 42 deletions(-) diff --git a/arch/microblaze/include/asm/fixmap.h

Re: [PATCH] crypto: more robust crypto_memneq

2013-11-25 Thread James Yonan
On 24/11/2013 14:12, Cesar Eduardo Barros wrote: Disabling compiler optimizations can be fragile, since a new optimization could be added to -O0 or -Os that breaks the assumptions the code is making. Instead of disabling compiler optimizations, use a dummy inline assembly (based on RELOC_HIDE)

Re: [PATCH 21/22] perf tools: Add trace-event global object for tracepoint interface

2013-11-25 Thread Jiri Olsa
On Sat, Nov 23, 2013 at 12:47:14AM +0900, Namhyung Kim wrote: > 2013-11-21 (목), 12:01 +0100, Jiri Olsa: > > In order to get the proper plugins processing we need to > > use full trace-event interface when creating tracepoint > > events. So far we were using shortcut to get the parsed > > format. >

Re: [PATCH] dt-bindings: add ARMv8 PMU binding

2013-11-25 Thread Mark Rutland
On Mon, Nov 25, 2013 at 03:24:46PM +, Rob Herring wrote: > On Mon, Nov 25, 2013 at 3:16 AM, Mark Rutland wrote: > > On Fri, Nov 22, 2013 at 09:43:31PM +, Rob Herring wrote: > >> On 11/22/2013 03:38 PM, Kumar Gala wrote: > >> > > >> > On Nov 22, 2013, at 3:17 PM, Rob Herring wrote: > >> >

Re: [PATCH 1/1] irq-gic: add capability to set bypass flag in GIC

2013-11-25 Thread Anup Patel
On Mon, Nov 25, 2013 at 9:13 PM, Rob Herring wrote: > On Sat, Nov 23, 2013 at 2:41 AM, Anup Patel wrote: >> On Wed, Nov 20, 2013 at 4:28 PM, Marc Zyngier wrote: >>> [dropping from the CC list, as someone seems to have >>> tripped on the config file, and I'm tired of getting bounces] >>> >>>

Re: [PATCH 1/3] mtd: nand: davinci: reuse driver for Keystone arch

2013-11-25 Thread ivan.khoronzhuk
On 11/23/2013 08:15 PM, Arnd Bergmann wrote: On Wednesday 20 November 2013, Ivan Khoronzhuk wrote: --- a/drivers/mtd/nand/davinci_nand.c +++ b/drivers/mtd/nand/davinci_nand.c @@ -523,6 +523,7 @@ static struct nand_ecclayout hwecc4_2048 __initconst = { #if defined(CONFIG_OF) static const

Re: [PATCH] ARM: dts: omap3-beagle: Fix USB host on beagle boards (for 3.13)

2013-11-25 Thread Nishanth Menon
On Mon, Nov 25, 2013 at 7:55 AM, Roger Quadros wrote: > Beagle (rev. C4) and Beagle-XM (all revs) need VAUX2 1.8V supply > for the USB PHY. > > As the generic PHY driver can't handle more than one supply > at the moment, we configure this supply to be always on. > This will cause a very small

Re: [PATCH] mm: nobootmem: avoid type warning about alignment value

2013-11-25 Thread Tejun Heo
On Mon, Nov 25, 2013 at 08:57:54AM -0500, Santosh Shilimkar wrote: > On Sunday 24 November 2013 10:14 AM, Sergei Shtylyov wrote: > > Hello. > > > > On 24-11-2013 3:28, Santosh Shilimkar wrote: > > > >> Building ARM with NO_BOOTMEM generates below warning. Using min_t > > > >Where is that

Re: [GIT PULL] Thermal and Device tree

2013-11-25 Thread Eduardo Valentin
Hello again Rui, On 25-11-2013 10:44, Eduardo Valentin wrote: > Hello Rui, > > Please consider the following changes for 3.14. It contains the work of > representing hardware thermal using device tree. It also contains > three examples on how to use the new representation on sensor devices, >

Re: [PATCHv9 02/20] thermal: introduce device tree parser

2013-11-25 Thread Eduardo Valentin
On 25-11-2013 11:37, Mark Rutland wrote: > On Tue, Nov 12, 2013 at 07:46:04PM +, 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] Make the mtdblock read/write skip the bad nand sector

2013-11-25 Thread David Woodhouse
On Mon, 2013-11-25 at 16:12 +0100, Peter Korsgaard wrote: > > "Ezequiel" == Ezequiel Garcia > > writes: > > Hi, > > > Thanks a lot for the insight. After reading this, I'm wondering what's > > preventing us from killing MTD block support altogether. Artem, already > > suggested it a

Re: [PATCH 1/1] irq-gic: add capability to set bypass flag in GIC

2013-11-25 Thread Rob Herring
On Sat, Nov 23, 2013 at 2:41 AM, Anup Patel wrote: > On Wed, Nov 20, 2013 at 4:28 PM, Marc Zyngier wrote: >> [dropping from the CC list, as someone seems to have >> tripped on the config file, and I'm tired of getting bounces] >> >> Feng, >> >> On 19/11/13 21:42, Feng Kan wrote: >>> The

Re: [PATCHv9 02/20] thermal: introduce device tree parser

2013-11-25 Thread Eduardo Valentin
On 25-11-2013 11:31, Mark Rutland wrote: > I think if these are needed the set of types can be extended, no? > As long as we have a real board with real use cases to be covered, yes, why not. -- You have got to be excited about what you are doing. (L. Lamport) Eduardo Valentin

Re: [PATCH] HID: i2c-hid: disable interrupt on suspend

2013-11-25 Thread Benjamin Tissoires
On 13/11/13 06:34, Mika Westerberg wrote: > When an I2C HID device is powered of during system sleep, as a result of > removing its power resources (by the ACPI core) the interrupt line might go > low as well. This results inadvertent interrupt and wakes the system from > sleep immediately. > >

Re: [PATCHv9 02/20] thermal: introduce device tree parser

2013-11-25 Thread Eduardo Valentin
On 25-11-2013 11:31, Mark Rutland wrote: > Any cooling device has a range of cooling states (i.e. different levels > of heat dissipation). For example a fan's cooling states correspond to > the different fan speeds possible. Cooling states are referred to by > single unsigned integers, where

Re: [PATCHv9 02/20] thermal: introduce device tree parser

2013-11-25 Thread Mark Rutland
On Tue, Nov 12, 2013 at 07:46:04PM +, 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. > > This patch introduces

Re: [PATCH 0/6] kexec: A new system call to allow in kernel loading

2013-11-25 Thread Vivek Goyal
On Mon, Nov 25, 2013 at 11:04:28AM +0100, Michael Holzheu wrote: > On Fri, 22 Nov 2013 05:34:03 -0800 > ebied...@xmission.com (Eric W. Biederman) wrote: > > > Vivek Goyal writes: > > > >> There is also a huge missing piece of this in that your purgatory is not > > >> checking a hash of the

Re: [PATCH v2 3/6] net: MOXA ART: add ethtool support

2013-11-25 Thread Ben Hutchings
; 1. declare MOXART_NUM_STATS with ARRAY_SIZE macro > 2. don't initialise info->n_stats in moxart_get_drvinfo() > 3. remove "if (!priv->phy_dev) return -ENODEV;" >moxart_get_settings(), moxart_set_settings(), moxart_nway_reset() > > Applies to ne

Re: [PATCHv9 02/20] thermal: introduce device tree parser

2013-11-25 Thread Eduardo Valentin
On 25-11-2013 11:14, Mark Rutland wrote: > [...] > >>> +* Trip points >>> + >>> +The trip node is a node to describe a point in the temperature domain >>> +in which the system takes an action. This node describes just the >>> point, >>> +not the action. >>> + >>>

Re: [GIT PULL] ima: bug fixes for Linus

2013-11-25 Thread James Morris
On Mon, 25 Nov 2013, Mimi Zohar wrote: > Hi James, > > These are the "essential fixes for regressions". > > The following changes since commit 4c1cc40a2d49500d84038ff751bc6cd183e729b5: > > Revert "KEYS: verify a certificate is signed by a 'trusted' key" > (2013-11-23 16:38:17 -0800) > >

Re: [PATCHv9 02/20] thermal: introduce device tree parser

2013-11-25 Thread Mark Rutland
On Fri, Nov 22, 2013 at 12:33:34PM +, Eduardo Valentin wrote: > > Hello Tomasz, > > On 21-11-2013 12:32, Tomasz Figa wrote: > > On Thursday 21 of November 2013 11:48:08 Eduardo Valentin wrote: > >> On 21-11-2013 10:57, Tomasz Figa wrote: > >>> On Friday 15 of November 2013 09:19:02 Eduardo

[PATCH v2 5/6] net: MOXA ART: generate random address

2013-11-25 Thread Jonas Jensen
The address register is zero:ed on boot, fill it with a randomly generated address on probe. Signed-off-by: Jonas Jensen --- Notes: Applies to next-20131125 drivers/net/ethernet/moxa/moxart_ether.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/ethernet/moxa

[PATCH v2 3/6] net: MOXA ART: add ethtool support

2013-11-25 Thread Jonas Jensen
>phy_dev) return -ENODEV;" moxart_get_settings(), moxart_set_settings(), moxart_nway_reset() Applies to next-20131125 drivers/net/ethernet/moxa/moxart_ether.c | 121 +++ 1 file changed, 121 insertions(+) diff --git a/drivers/net/ethernet/moxa/m

[PATCH v2 6/6] net: MOXA ART: use eth_mac_addr()

2013-11-25 Thread Jonas Jensen
Replace boilerplate in moxart_set_mac_address() with eth_mac_addr(). Signed-off-by: Jonas Jensen --- Notes: Applies to next-20131125 drivers/net/ethernet/moxa/moxart_ether.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/net/ethernet/moxa/moxart_ether.c

[PATCH v2 2/6] net: MOXA ART: connect to PHY

2013-11-25 Thread Jonas Jensen
;if (priv->phy_dev)" moxart_mac_open(), moxart_mac_stop() Applies to next-20131125 .../devicetree/bindings/net/moxa,moxart-mac.txt| 47 ++- drivers/net/ethernet/moxa/moxart_ether.c | 92 +- drivers/net/ethernet/moxa/moxart_ether.h

[PATCH v2 1/6] net: MOXA ART: clear TX descriptor length bits between sends

2013-11-25 Thread Jonas Jensen
Add TX_DESC1_BUF_SIZE_MASK to bits that are cleared, before the TX buffer length is set. Failing to do so can cause the controller to drop dead i.e. all TX interrupts stop, resulting in complete communication failure. Signed-off-by: Jonas Jensen --- Notes: Applies to next-20131125 drivers

[PATCH v2 4/6] net: MOXA ART: add IFF_LIVE_ADDR_CHANGE flag

2013-11-25 Thread Jonas Jensen
.ndo_set_mac_address hook callback already supports IFF_LIVE_ADDR_CHANGE so add it to our flags. Signed-off-by: Jonas Jensen --- Notes: Applies to next-20131125 drivers/net/ethernet/moxa/moxart_ether.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net

ARM: nommu: Boot hang after VFS: Mounted root (ext2 filesystem) on device 1:0.

2013-11-25 Thread Axel Lin
Hi, I got hangup at boot after "VFS: Mounted root (ext2 filesystem) on device 1:0.". I'm using ext2 initrd as root. It seems hangup after mount root, but in the progress of mounting devtmpfs. After debug it, I found it hangs at calling page_cache_release. Note, I'm testing on an nommu platform

Re: [PATCH] dt-bindings: add ARMv8 PMU binding

2013-11-25 Thread Rob Herring
On Mon, Nov 25, 2013 at 3:16 AM, Mark Rutland wrote: > On Fri, Nov 22, 2013 at 09:43:31PM +, Rob Herring wrote: >> On 11/22/2013 03:38 PM, Kumar Gala wrote: >> > >> > On Nov 22, 2013, at 3:17 PM, Rob Herring wrote: >> > >> >> From: Rob Herring >> >> >> >> Add missing "arm,armv8-pmuv3"

Re: [PATCH v2 2/3] bq2415x_charger: Use power_supply notifier for automode

2013-11-25 Thread Pavel Machek
On Mon 2013-11-25 15:10:00, Pali Rohár wrote: > On Monday 25 November 2013 15:01:27 Pavel Machek wrote: > > Where can I get dsme sources? > > Pavel > > dsme daemon: https://gitorious.org/community-ssu/dsme > dsme thermal plugin:

Re: [PATCH] thermal: EXYNOS: always register TMU driver with core thermal framework

2013-11-25 Thread Bartlomiej Zolnierkiewicz
Hi, Could you please also apply this patch? Best regards, -- Bartlomiej Zolnierkiewicz Samsung R Institute Poland Samsung Electronics On Friday, October 04, 2013 02:38:25 PM Bartlomiej Zolnierkiewicz wrote: > There is little sense in having separate config option for > registering EXYNOS TMU

Re: [PATCH 19/22] perf tools: Add filename__read_str util function

2013-11-25 Thread Jiri Olsa
On Sat, Nov 23, 2013 at 12:43:59AM +0900, Namhyung Kim wrote: > 2013-11-21 (목), 12:01 +0100, Jiri Olsa: > > Adding filename__read_str util function to read > > text file and return it in the char array. > > > > The interface is: > > int filename__read_str(const char *filename, char **buf,

Re: [PATCH] thermal: offer Samsung thermal support only when ARCH_EXYNOS is defined

2013-11-25 Thread Bartlomiej Zolnierkiewicz
Hi, Could you please apply this patch? Best regards, -- Bartlomiej Zolnierkiewicz Samsung R Institute Poland Samsung Electronics On Friday, October 04, 2013 02:36:42 PM Bartlomiej Zolnierkiewicz wrote: > Menu for Samsung thermal support is visible on all Samsung > platforms while thermal

Re: [PATCHv9 02/20] thermal: introduce device tree parser

2013-11-25 Thread Mark Rutland
[...] > > +* Trip points > > + > > +The trip node is a node to describe a point in the temperature domain > > +in which the system takes an action. This node describes just the > > point, > > +not the action. > > + > > +Required properties: > > +-

Re: [PATCH 3.2 73/87] fs: buffer: move allocation failure loop into the allocator

2013-11-25 Thread Johannes Weiner
Hi Ben, On Mon, Nov 25, 2013 at 01:44:29PM +, Ben Hutchings wrote: > 3.2.53-rc1 review patch. If anyone has any objections, please let me know. > > -- > > From: Johannes Weiner > > commit 84235de394d9775bfaa7fa9762a59d91fef0c1fc upstream. > > Buffer allocation has a very

Re: [PATCH] Make the mtdblock read/write skip the bad nand sector

2013-11-25 Thread Peter Korsgaard
> "Ezequiel" == Ezequiel Garcia writes: Hi, > Thanks a lot for the insight. After reading this, I'm wondering what's > preventing us from killing MTD block support altogether. Artem, already > suggested it a while back... People using squashfs/cramfs/readonly ext2/.. on a NOR flash? --

Re: Depreciated and scheduled for removal

2013-11-25 Thread Josh Boyer
On Mon, Nov 25, 2013 at 9:40 AM, Phillip Susi wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I swear there was a text file that listed features that were > depreciated and scheduled for removal, but now I can not find it. Did > it get removed, or am I just daft? It got removed

Re: [PATCH 18/22] perf tools: Add udis86 disassembler feature check

2013-11-25 Thread Jiri Olsa
On Sat, Nov 23, 2013 at 12:38:02AM +0900, Namhyung Kim wrote: > 2013-11-21 (목), 12:01 +0100, Jiri Olsa: > > Adding udis86 disassembler feature check which support > > is needed for kvm:kvm_emulate_insn tracepoint. > > > > The diff of 'perf script' output generated by old and new code: > > (data

[PATCH] i2c-mux-pca954x: Disable mux after 200ms timeout

2013-11-25 Thread Mike Looijmans
Leaving the mux enabled causes needless I2C traffic on the downstream bus. De-selecting after every request causes excess I2C traffic and switching. This patch implements a hybrid solution: After 200ms of inactivity, the mux is disabled. Signed-off-by: Mike Looijmans ---

Re: [PATCH 0/4] thinkpad_acpi: Add support for controlling charge thresholds

2013-11-25 Thread Julian Andres Klode
On Mon, Nov 11, 2013 at 02:56:29PM +0100, Julian Andres Klode wrote: > This patch series adds support for specifying charging thresholds, > forcing a battery to discharge, and inhibiting charging, on ThinkPad > Laptops using Sandy Bridge or newer processors. > > The first two patches should be

Re: [PATCH v3 1/6] watchdog: davinci: change driver to use WDT core

2013-11-25 Thread ivan.khoronzhuk
On 11/25/2013 04:16 PM, Santosh Shilimkar wrote: Ivan, On Monday 25 November 2013 09:04 AM, Ivan Khoronzhuk wrote: To reduce code duplicate and increase code readability use WDT core code to handle WDT interface. Remove io_lock as the WDT core uses mutex to lock each wdt device. Remove

Re: [PATCH] i2c-mux-pca954x: Disable mux after 200ms timeout

2013-11-25 Thread Wolfram Sang
On Mon, Nov 25, 2013 at 02:43:57PM +0100, Mike Looijmans wrote: > Leaving the mux enabled causes needless I2C traffic on the downstream > bus. This is a bus. Why is this bad? signature.asc Description: Digital signature

[PATCH v3 6/6] arm: dts: keystone: add watchdog entry

2013-11-25 Thread Ivan Khoronzhuk
Add watchdog entry to keystone device tree. Signed-off-by: Ivan Khoronzhuk Acked-by: Guenter Roeck --- arch/arm/boot/dts/keystone.dtsi |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/keystone.dtsi b/arch/arm/boot/dts/keystone.dtsi index f6d6d9e..54a8ff7 100644

Re: [PATCH] i2c-mux-pca954x: Disable mux after 200ms timeout

2013-11-25 Thread Michael Lawnick
Hi, Am 25.11.2013 14:43, schrieb Mike Looijmans: Leaving the mux enabled causes needless I2C traffic on the downstream bus. De-selecting after every request causes excess I2C traffic and switching. This patch implements a hybrid solution: After 200ms of inactivity, the mux is disabled. ...

Re: [PATCH v3 5/6] watchdog: davinci: reuse driver for keystone arch

2013-11-25 Thread ivan.khoronzhuk
On 11/25/2013 04:08 PM, Ivan Khoronzhuk wrote: The keystone arch uses the same IP watchdog, so add "ti,keystone-wdt" compatible and correct identity. The Keystone arch is using clocks in DT and source clock for watchdog has to be specified, so add this to binding. Signed-off-by: Ivan

Re: [PATCH 17/22] perf tools: Add build and install plugins targets

2013-11-25 Thread Jiri Olsa
On Sat, Nov 23, 2013 at 12:27:48AM +0900, Namhyung Kim wrote: > 2013-11-21 (목), 12:01 +0100, Jiri Olsa: > > Adding 'plugins' target along with the libtraceevent.a, > > so plugins are built together with traceevent library. > > > > Adding 'install-traceevent-plugins' Makefile install target, > >

[PATCH v3 5/6] watchdog: davinci: reuse driver for keystone arch

2013-11-25 Thread Ivan Khoronzhuk
The keystone arch uses the same IP watchdog, so add "ti,keystone-wdt" compatible and correct identity. The Keystone arch is using clocks in DT and source clock for watchdog has to be specified, so add this to binding. Signed-off-by: Ivan Khoronzhuk Acked-by: Santosh Shilimkar Reviewed-by:

Re: [PATCH] pinctrl: samsung: Allow grouping multiple pinmux/pinconf nodes

2013-11-25 Thread Linus Walleij
On Wed, Nov 20, 2013 at 3:00 PM, Tomasz Figa wrote: > Stephen: >> Is the lifetime of the string "returned" by >> of_property_read_string_index() really so short that you must copy the >> string? I'd be tempted just to store the pointer, although perhaps you >> need to get() the node so that's

[GIT PULL] Thermal and Device tree

2013-11-25 Thread Eduardo Valentin
Hello Rui, Please consider the following changes for 3.14. It contains the work of representing hardware thermal using device tree. It also contains three examples on how to use the new representation on sensor devices, using three different drivers to accomplish it. One driver is on thermal

[PATCH] pinctrl: provide documentation pointer

2013-11-25 Thread Linus Walleij
The PIN_CONFIG_OUTPUT parameter is really tricky to understand and needs an explicit pointer to the documentation. Cc: Tomasz Figa Cc: Kyungmin Park Signed-off-by: Linus Walleij --- include/linux/pinctrl/pinconf-generic.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

Re: WARNING: CPU: 0 PID: 1 at init/main.c:711 do_one_initcall()

2013-11-25 Thread Richard Weinberger
Am Montag, 25. November 2013, 16:32:19 schrieb Boaz Harrosh: > On 11/25/2013 04:15 PM, Richard Weinberger wrote: > > On Fri, Nov 22, 2013 at 7:02 AM, Yuanhan Liu > > > > wrote: > >> Greetings, > >> > >> I got the below dmesg and the first bad commit is > >> > >> commit

Re: /proc/vmcore mmap() failure issue

2013-11-25 Thread Vivek Goyal
On Mon, Nov 25, 2013 at 06:01:37PM +0900, HATAYAMA Daisuke wrote: [..] > > I agree to avoid this issue by fixing makedumpfile as workaround while to > > fix kernel is so tough and risky. However, it sounds strange to me to fix > > userspace side elaborately for such definite kernel issue whose

Depreciated and scheduled for removal

2013-11-25 Thread Phillip Susi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I swear there was a text file that listed features that were depreciated and scheduled for removal, but now I can not find it. Did it get removed, or am I just daft? -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.17 (MingW32) Comment: Using GnuPG

Re: Add memory barrier when waiting on futex

2013-11-25 Thread Peter Zijlstra
On Mon, Nov 25, 2013 at 01:15:17PM +, Ma, Xindong wrote: > We encountered following panic several times: > [ 74.671982] BUG: unable to handle kernel NULL pointer dereference at > 0008 > [ 74.672101] IP: [] wake_futex+0x47/0x80 > [ 74.674144] [] futex_wake+0xc9/0x110 > [

[PATCH 3.2 06/87] ipv4: fix ineffective source address selection

2013-11-25 Thread Ben Hutchings
3.2.53-rc1 review patch. If anyone has any objections, please let me know. -- From: Jiri Benc [ Upstream commit 0a7e22609067ff524fc7bbd45c6951dd08561667 ] When sending out multicast messages, the source address in inet->mc_addr is ignored and rewritten by an autoselected one.

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