[PATCH v2 02/20] rtc: omap: fix missing wakealarm attribute

2014-10-21 Thread Johan Hovold
The platform device must be registered as wakeup capable before registering the class device, or the wakealarm attribute will not be created. Also make sure to unregister the wakeup source on probe errors. Fixes: 1d2e2b65d098 ("rtc: omap: restore back (hard-code) wakeup support") Cc: stable

[PATCH v2 4/4] pinctrl: rockchip: Protect read-modify-write with the spinlock

2014-10-21 Thread Doug Anderson
There were a few instances where the rockchip pinctrl driver would do read-modify-write with no spinlock. Add a spinlock for these cases. Signed-off-by: Doug Anderson --- Changes in v2: - Made sure to release the lock in an error condition. drivers/pinctrl/pinctrl-rockchip.c | 18

[PATCH v2 20/20] ARM: dts: am335x-boneblack: enable power off and rtc wake up

2014-10-21 Thread Johan Hovold
Configure the RTC as system-power controller, which allows the system to be powered off as well as woken up again on subsequent RTC alarms. Note that the PMIC needs to be put in SLEEP (rather than OFF) mode to maintain RTC power. Specifically, this means that the PMIC ti,pmic-shutdown-controller

Re: [PATCH v8 13/18] vfio/platform: support for maskable and automasked interrupts

2014-10-21 Thread Alex Williamson
On Mon, 2014-10-13 at 15:10 +0200, Antonios Motakis wrote: > Adds support to mask interrupts, and also for automasked interrupts. > Level sensitive interrupts are exposed as automasked interrupts and > are masked and disabled automatically when they fire. > > Signed-off-by: Antonios Motakis >

Re: [PATCH net 1/1] hyperv: Fix a bug in netvsc_send()

2014-10-21 Thread Long Li
Thanks Sitsofe. This should have been fixed by this patch: http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=f88e67149f97d73c704d6fe6f492edde97463025 Can you give it a try? From: Sitsofe Wheeler Sent: Saturday, October 11, 2014

[PATCH v2 09/20] rtc: omap: add device abstraction

2014-10-21 Thread Johan Hovold
Add struct omap_rtc to hold previously global data as well as the IP-block feature flags. Also convert the register-access macros to proper inline helper functions. Signed-off-by: Johan Hovold --- drivers/rtc/rtc-omap.c | 239 +++-- 1 file changed,

[PATCH v2 07/20] rtc: omap: use dev_info

2014-10-21 Thread Johan Hovold
Use dev_info rather than pr_info. Signed-off-by: Johan Hovold --- drivers/rtc/rtc-omap.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/rtc/rtc-omap.c b/drivers/rtc/rtc-omap.c index c750678de652..dbb88e46c25d 100644 --- a/drivers/rtc/rtc-omap.c +++

[PATCH v2 08/20] rtc: omap: make platform-device id table const

2014-10-21 Thread Johan Hovold
Make platform-device id table const. Signed-off-by: Johan Hovold --- drivers/rtc/rtc-omap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-omap.c b/drivers/rtc/rtc-omap.c index dbb88e46c25d..bdee29674589 100644 --- a/drivers/rtc/rtc-omap.c +++

Re: [PATCH 2/2] [media] rc-core: change enabled_protocol default setting

2014-10-21 Thread Tomas Melin
On Mon, Oct 20, 2014 at 5:12 PM, David Härdeman wrote: > On 2014-10-19 12:21, Tomas Melin wrote: >> >> Change default setting for enabled protocols. >> Instead of enabling all protocols, disable all except lirc during >> registration. >> Reduces overhead since all protocols not handled by

Re: [alsa-devel] [PATCH v2 5/6] sound/usb: pcm changes to use media token api

2014-10-21 Thread Shuah Khan
On 10/21/2014 10:05 AM, Takashi Iwai wrote: > At Tue, 21 Oct 2014 17:42:51 +0200, > Hans Verkuil wrote: >> >> Quite often media apps open the alsa device at the start and then switch >> between TV, radio or DVB mode. If the alsa device would claim the tuner >> just by being opened (as opposed to

Re: v3.18-rc1 32 bit KVM hangs early in boot process

2014-10-21 Thread Toralf Förster
On 10/21/2014 06:40 PM, Josh Boyer wrote: > On Tue, Oct 21, 2014 at 12:10 PM, Toralf Förster > wrote: >> On 10/20/2014 07:34 PM, Toralf Förster wrote: >>> I uploaded the screen shots from the virt-manager to [1] and [2] >>> >>> FWIW e56d9fccb was fine so the bug slipped in after that. >>> >> >>>

[PATCH] m68k: Wire up bpf

2014-10-21 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven --- arch/m68k/include/asm/unistd.h | 2 +- arch/m68k/include/uapi/asm/unistd.h | 1 + arch/m68k/kernel/syscalltable.S | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/m68k/include/asm/unistd.h b/arch/m68k/include/asm/unistd.h

Re: [PATCH v5 4/4] crypto: Add Allwinner Security System crypto accelerator

2014-10-21 Thread Vladimir Zapolskiy
Hi Corentin, On 21.10.2014 19:25, Corentin LABBE wrote: > On 10/21/14 01:28, Vladimir Zapolskiy wrote: >> Hello LABBE, >> >> On 19.10.2014 17:16, LABBE Corentin wrote: >>> Add support for the Security System included in Allwinner SoC A20. >>> The Security System is a hardware cryptographic

Re: [RFC][PATCH 0/6] Another go at speculative page faults

2014-10-21 Thread Peter Zijlstra
On Tue, Oct 21, 2014 at 06:23:40PM +0200, Ingo Molnar wrote: > > * Peter Zijlstra wrote: > > > My Ivy Bridge EP (2*10*2) has a ~58% improvement in pagefault throughput: > > > > PRE: > >149,441,555 page-faults ( +- 1.25% ) > > > > POST: > >236,442,626

Re: [PATCH v3 0/2] Add DRA7xx CPSW Ethernet support in Device Tree

2014-10-21 Thread Nishanth Menon
On 15:37-20141021, Mugunthan V N wrote: > Nishanth > > On Tuesday 21 October 2014 03:30 PM, Mugunthan V N wrote: > > Adding device tree entry for CPSW to make it work in Dual EMAC mode. > > These patches were tested with DRA7 hwmod patches on top of linux-next. > >

Re: [RFC][PATCH 0/6] Another go at speculative page faults

2014-10-21 Thread Kirill A. Shutemov
On Tue, Oct 21, 2014 at 06:23:40PM +0200, Ingo Molnar wrote: > > * Peter Zijlstra wrote: > > > My Ivy Bridge EP (2*10*2) has a ~58% improvement in pagefault throughput: > > > > PRE: > >149,441,555 page-faults ( +- 1.25% ) > > > > POST: > >236,442,626

Re: A desktop environment[1] kernel wishlist

2014-10-21 Thread Bastien Nocera
Hey, On Tue, 2014-10-21 at 10:04 -0700, John Stultz wrote: > On Tue, Oct 21, 2014 at 1:49 AM, Bastien Nocera wrote: > > Hey, > > > > GNOME has had discussions with kernel developers in the past, and, > > fortunately, in some cases we were able to make headway. > > > > There are however a number

Re: [PATCH] memory-hotplug: Clear pgdat which is allocated by bootmem in try_offline_node()

2014-10-21 Thread Toshi Kani
On Mon, 2014-10-20 at 19:05 +0900, Yasuaki Ishimatsu wrote: : > When hot removing memory, pgdat is set to 0 in try_offline_node(). > But if the pgdat is allocated by bootmem allocator, the clearing > step is skipped. And when hot adding the same memory, the uninitialized > pgdat is reused. But

Re: [PATCH] kprobes: add kprobe_is_function_probed()

2014-10-21 Thread Josh Poimboeuf
On Tue, Oct 21, 2014 at 05:48:30PM +0200, Jiri Kosina wrote: > Add a function that allows external users (such as live patching > mechanisms) to check whether a given function (identified by symbol name) > has a kprobe installed in it. Functions aren't uniquely identifiable by name. Perhaps it

Re: [RFC PATCH] UBSan: run-time undefined behavior sanity checker

2014-10-21 Thread Randy Dunlap
On 10/20/14 03:54, Andrey Ryabinin wrote: > > diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug > index 4e35a5d..7dc9b89 100644 > --- a/lib/Kconfig.debug > +++ b/lib/Kconfig.debug > @@ -646,6 +646,29 @@ config DEBUG_SHIRQ > Drivers ought to be able to handle interrupts coming in at those

[PATCH] checkpatch: Improve warning message for "needless if" case

2014-10-21 Thread Fabio Estevam
Break the sentence so that it looks better: WARNING: debugfs_remove(NULL) is safe. This check is probably not required Signed-off-by: Fabio Estevam --- scripts/checkpatch.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index

Re: [RFC 0/5] CR4 handling improvements

2014-10-21 Thread Vince Weaver
On Tue, 21 Oct 2014, Peter Zijlstra wrote: > > perf_event is also fairly high overhead for setting up and starting > > events, > > Which you only do once at the start, so is that really a problem? There are various reasons why you might want to start events at times other than the beginning of

[PATCH v3] checkpatch: Improve warning message for "needless if" case

2014-10-21 Thread Fabio Estevam
Add an 'and' to the sentence so that it looks better: WARNING: debugfs_remove(NULL) is safe and this check is probably not required Signed-off-by: Fabio Estevam --- Changes since v2: - Update the commit log accordingly Changes since v1: - Use 'and' instead of '.' scripts/checkpatch.pl | 2 +-

Re: A desktop environment[1] kernel wishlist

2014-10-21 Thread John Stultz
On Tue, Oct 21, 2014 at 1:49 AM, Bastien Nocera wrote: > Hey, > > GNOME has had discussions with kernel developers in the past, and, > fortunately, in some cases we were able to make headway. > > There are however a number of items that we still don't have solutions > for, items that kernel

Re: [PATCH] spi/atmel: improve the system suspend/resume functions implementation

2014-10-21 Thread Nicolas Ferre
On 21/10/2014 05:43, Wenyou Yang : > To make it cleaner, the system suspend/resume directly call > the runtime suspend/resume functions > and remove the wapper of CONFIG_PM_RUNTIME, CONFIG_PM_SLEEP. > > Signed-off-by: Wenyou Yang It looks very neat. Thanks Wenyou and Kevin! If needed:

Re: [PATCH] Documentation: ptp: Fix build failure on MIPS cross builds

2014-10-21 Thread David Daney
On 10/21/2014 09:35 AM, David Miller wrote: From: Richard Cochran Date: Tue, 21 Oct 2014 13:07:25 +0200 On Mon, Oct 20, 2014 at 09:42:18AM +0100, Markos Chandras wrote: diff --git a/Documentation/ptp/Makefile b/Documentation/ptp/Makefile index 293d6c09a11f..397c1cd2eda7 100644 ---

Re: [tpmdd-devel] [PATCH] tpm: fix multiple race conditions in tpm_ppi.c

2014-10-21 Thread Jason Gunthorpe
On Tue, Oct 21, 2014 at 11:22:41AM +0300, Jarkko Sakkinen wrote: > * Traversal of the ACPI device tree was not done right. It should lookup > PPI only under the ACPI device that it is associated. Otherwise, it could > match to a wrong PPI interface if there are two TPM devices in the device >

Re: [PATCH] spi/atmel: improve the system suspend/resume functions implementation

2014-10-21 Thread Kevin Hilman
Wenyou Yang writes: > To make it cleaner, the system suspend/resume directly call > the runtime suspend/resume functions > and remove the wapper of CONFIG_PM_RUNTIME, CONFIG_PM_SLEEP. > > Signed-off-by: Wenyou Yang Acked-by: Kevin Hilman -- To unsubscribe from this list: send the line

[PATCH V2] kernel, add bug_on_warn

2014-10-21 Thread Prarit Bhargava
There have been several times where I have had to rebuild a kernel to cause a panic when hitting a WARN() in the code in order to get a crash dump from a system. Sometimes this is easy to do, other times (such as in the case of a remote admin) it is not trivial to send new images to the user. A

[PULL REQUEST] remove .owner for most platform_drivers

2014-10-21 Thread Wolfram Sang
Hi Greg, as discussed at ELCE, here is my pull request for cleaning up all unneeded assignment of .owner for platform drivers. I used the following semantic patch to check that it only removes it when .owner gets initialized by the call to register the driver: --- @match1@ declarer name

[PATCH v2] checkpatch: Improve warning message for "needless if" case

2014-10-21 Thread Fabio Estevam
Break the sentence so that it looks better: WARNING: debugfs_remove(NULL) is safe and this check is probably not required Signed-off-by: Fabio Estevam --- Changes since v1: - Use 'and' instead of '.' scripts/checkpatch.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v8 09/18] vfio/platform: support MMAP of MMIO regions

2014-10-21 Thread Alex Williamson
On Mon, 2014-10-13 at 15:10 +0200, Antonios Motakis wrote: > Allow to memory map the MMIO regions of the device so userspace can > directly access them. PIO regions are not being handled at this point. > > Signed-off-by: Antonios Motakis > --- > drivers/vfio/platform/vfio_platform_common.c | 57

Re: [PATCH] checkpatch: Improve warning message for "needless if" case

2014-10-21 Thread Joe Perches
On Tue, 2014-10-21 at 14:44 -0200, Fabio Estevam wrote: > On Tue, Oct 21, 2014 at 2:40 PM, Joe Perches wrote: > > > > > Mixing sentences with and without periods is jarring. > > I'd prefer a comma or a dash. > > Or what about? > > "is safe and this check is probably not required" That'd be

Re: [PATCH v3 1/6] pinctrl: rockchip: add suspend/resume functions

2014-10-21 Thread Dmitry Torokhov
Hi Chris, On Mon, Oct 20, 2014 at 08:42:48PM -0700, z...@rock-chips.com wrote: > From: Chris > > support suspend/resume of pinctrl, it allows handling sleep mode > for hogged pins in pinctrl > > Signed-off-by: Chris > Signed-off-by: Chris Zhong > --- > > Changes in v3: None > Changes in v2:

Re: Touch processing on host CPU

2014-10-21 Thread Nick Dyer
On 21/10/14 13:22, One Thousand Gnomes wrote: >> If you will have touch processing in a binary blob, you'll also be going >> to ages "Works with Ubuntu 12.04 on x86_32!" (and nothing else), or >> "Android 5.1.2 on Tegra Blah (build 78912KT)" (and nothing else). > > As well as not going upstream

Re: [PATCH] kprobes: add kprobe_is_function_probed()

2014-10-21 Thread Ananth N Mavinakayanahalli
On Tue, Oct 21, 2014 at 05:48:30PM +0200, Jiri Kosina wrote: > kernel/kprobes.c| 28 > 2 files changed, 33 insertions(+) > > diff --git a/include/linux/kprobes.h b/include/linux/kprobes.h > index f7296e5..f760555 100644 > --- a/include/linux/kprobes.h > +++

Re: [PATCH] mtd: spi-nor: Add support for SST spi flash

2014-10-21 Thread Rafał Miłecki
On 21 October 2014 13:37, Michal Simek wrote: > From: Harini Katakam > > Add sst25wf080 to the spi-nor device id table. I guess commit message could include some details. We already support plenty of SST flashes without this patch, don't we? -- To unsubscribe from this list: send the line

Re: [PATCH] checkpatch: Improve warning message for "needless if" case

2014-10-21 Thread Fabio Estevam
On Tue, Oct 21, 2014 at 2:40 PM, Joe Perches wrote: > > Mixing sentences with and without periods is jarring. > I'd prefer a comma or a dash. Or what about? "is safe and this check is probably not required" -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: Re: A desktop environment[1] kernel wishlist

2014-10-21 Thread Bastien Nocera
On Tue, 2014-10-21 at 17:48 +0200, Patrik Lundquist wrote: > Bastien Nocera wrote: > > I've posted this list at: > > https://wiki.gnome.org/BastienNocera/KernelWishlist > > I think what you want from epoll_wait() can be done with timerfd. Ryan added that one to the Wiki, so CC:ing him. And he

Re: [RFC][PATCH] audit: log join and part events to the read-only multicast log socket

2014-10-21 Thread Richard Guy Briggs
On 14/10/07, Richard Guy Briggs wrote: > On 14/10/07, Eric Paris wrote: > > On Tue, 2014-10-07 at 14:23 -0400, Richard Guy Briggs wrote: > > > Log the event when a client attempts to connect to the netlink audit > > > multicast > > > socket, requiring CAP_AUDIT_READ capability, binding to the >

Re: v3.18-rc1 32 bit KVM hangs early in boot process

2014-10-21 Thread Josh Boyer
On Tue, Oct 21, 2014 at 12:10 PM, Toralf Förster wrote: > On 10/20/2014 07:34 PM, Toralf Förster wrote: >> I uploaded the screen shots from the virt-manager to [1] and [2] >> >> FWIW e56d9fccb was fine so the bug slipped in after that. >> > >> >> [1]

Re: [PATCH] checkpatch: Improve warning message for "needless if" case

2014-10-21 Thread Joe Perches
On Tue, 2014-10-21 at 12:33 -0200, Fabio Estevam wrote: > Break the sentence so that it looks better: > > WARNING: debugfs_remove(NULL) is safe. This check is probably not required [] > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl [] > @@ -4446,7 +4446,7 @@ sub process { >

Re: [PATCH v5 4/4] crypto: Add Allwinner Security System crypto accelerator

2014-10-21 Thread Corentin LABBE
Le 21/10/2014 01:52, Joe Perches a écrit : > On Tue, 2014-10-21 at 02:28 +0300, Vladimir Zapolskiy wrote: >> On 19.10.2014 17:16, LABBE Corentin wrote: >>> Add support for the Security System included in Allwinner SoC A20. >>> The Security System is a hardware cryptographic accelerator that

[PATCH 1/1 linux-next] ceph: remove unused ceph_get_direct_page_vector

2014-10-21 Thread Fabian Frederick
This function is not used since commit 64c3131161c1 ("ceph_sync_direct_write: stop poking into iov_iter guts") Signed-off-by: Fabian Frederick --- include/linux/ceph/libceph.h | 3 --- net/ceph/pagevec.c | 35 --- 2 files changed, 38 deletions(-) diff

[RFC] sched/dl: Fix preemption checks

2014-10-21 Thread Kirill Tkhai
1)switched_to_dl() check is wrong. We reschedule only if rq->curr is deadline task, and we do not reschedule if it's a lower priority task. But we must always preempt a task of other classes. 2)dl_task_timer(): Policy does not change in case of priority inheritance. rt_mutex_setprio() changes

Re: [PATCH] Documentation: ptp: Fix build failure on MIPS cross builds

2014-10-21 Thread David Miller
From: Richard Cochran Date: Tue, 21 Oct 2014 13:07:25 +0200 > On Mon, Oct 20, 2014 at 09:42:18AM +0100, Markos Chandras wrote: >> diff --git a/Documentation/ptp/Makefile b/Documentation/ptp/Makefile >> index 293d6c09a11f..397c1cd2eda7 100644 >> --- a/Documentation/ptp/Makefile >> +++

Re: [PATCH v3] fs: Treat foreign mounts as nosuid

2014-10-21 Thread Seth Forshee
On Tue, Oct 14, 2014 at 04:54:47PM -0700, Andy Lutomirski wrote: > If a process gets access to a mount from a different namespace user > namespace, that process should not be able to take advantage of > setuid files or selinux entrypoints from that filesystem. > Technically, trusting mounts

Re: [PATCH v8 07/18] vfio/platform: return info for device memory mapped IO regions

2014-10-21 Thread Alex Williamson
On Mon, 2014-10-13 at 15:10 +0200, Antonios Motakis wrote: > This patch enables the IOCTLs VFIO_DEVICE_GET_REGION_INFO ioctl call, > which allows the user to learn about the available MMIO resources of > a device. > > Signed-off-by: Antonios Motakis > --- >

Re: [PATCH] arm64: dts: exynos7: add support for cpuidle core power down

2014-10-21 Thread Lorenzo Pieralisi
On Fri, Oct 17, 2014 at 10:43:59AM +0100, Chander Kashyap wrote: > Hi Lorenzo, > > On Wed, Oct 15, 2014 at 2:30 PM, Lorenzo Pieralisi > wrote: > > On Wed, Oct 15, 2014 at 07:35:20AM +0100, Chander Kashyap wrote: > >> Exynos7 has core power down state where cores can be powered off > >>

Re: [PATCH v2 2/3] sched/dl: Cleanup prio_changed_dl()

2014-10-21 Thread Kirill Tkhai
В Вт, 21/10/2014 в 17:24 +0100, Juri Lelli пишет: > Hi Kirill, > > On 02/10/14 10:52, Kirill Tkhai wrote: > > В Чт, 02/10/2014 в 11:36 +0200, Peter Zijlstra пишет: > >> On Wed, Oct 01, 2014 at 01:04:35AM +0400, Kirill Tkhai wrote: > >>> From: Kirill Tkhai > >>> > >>> rq->curr task can't be in

Re: [PATCH] ARM: at91/dt: sam9263: fix PLLB frequencies

2014-10-21 Thread Nicolas Ferre
On 10/10/2014 16:01, Boris Brezillon : > On Fri, 10 Oct 2014 15:50:21 +0200 > Alexandre Belloni wrote: > >> From: Boris Brezillon >> >> PLLB input and output ranges were wrongly copied from at91sam9261 as the >> datasheet didn't mention explicitly PLLB. Correct their values. >> >> This fixes

Re: [PATCH 2/4] pinctrl: rockchip: Don't call pinctrl_gpio_direction_output() in pin_config_set()

2014-10-21 Thread Doug Anderson
Hi, On Mon, Oct 20, 2014 at 4:27 PM, Doug Anderson wrote: > @@ -959,9 +968,10 @@ static int rockchip_pinconf_set(struct pinctrl_dev > *pctldev, unsigned int pin, > return rc; > break; > case PIN_CONFIG_OUTPUT: > -

[PATCH 1/1 linux-next] fs/affs/file.c: adding support to O_DIRECT

2014-10-21 Thread Fabian Frederick
Based on ext2_direct_IO Cc: Al Viro Cc: Andrew Morton Signed-off-by: Fabian Frederick --- fs/affs/file.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/fs/affs/file.c b/fs/affs/file.c index 8e51085..05005bd 100644 --- a/fs/affs/file.c +++ b/fs/affs/file.c @@ -12,6

[PATCH] of: Request and map make argument name constant

2014-10-21 Thread Matthias Brugger
This patch makes the name argument from of_io_request_and_map constant. Signed-off-by: Matthias Brugger --- drivers/of/address.c | 2 +- include/linux/of_address.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/of/address.c b/drivers/of/address.c index

Re: [BUG] mm, thp: khugepaged can't allocate on requested node when confined to a cpuset

2014-10-21 Thread Alex Thorlton
On Tue, Oct 21, 2014 at 12:55:42PM +0200, Peter Zijlstra wrote: > On Fri, Oct 10, 2014 at 01:56:20PM -0500, Alex Thorlton wrote: > > On Fri, Oct 10, 2014 at 11:20:52AM +0200, Peter Zijlstra wrote: > > > So for the numa thing we do everything from the affected tasks context. > > > There was a lot

Re: [PATCH v5 4/4] crypto: Add Allwinner Security System crypto accelerator

2014-10-21 Thread Corentin LABBE
On 10/21/14 01:28, Vladimir Zapolskiy wrote: > Hello LABBE, > > On 19.10.2014 17:16, LABBE Corentin wrote: >> Add support for the Security System included in Allwinner SoC A20. >> The Security System is a hardware cryptographic accelerator that support >> AES/MD5/SHA1/DES/3DES/PRNG algorithms.

[PATCH] tty: serial: omap: increase max consoles to 10

2014-10-21 Thread Nishanth Menon
Increase the maximum number of consoles possible to 10 since DRA7 now has the maximum number of consoles possible. without doing this, for example, enabling DRA7 UART10 results in internal data structures and console cannot match up and we endup with a crash as follows: [1.903503] omap_uart

Re: [GIT PULL] New Mailbox framework for 3.18

2014-10-21 Thread Suman Anna
Hi, On 10/21/2014 02:43 AM, Arnd Bergmann wrote: > On Monday 20 October 2014 15:23:38 Jassi Brar wrote: >> On 8 October 2014 11:09, Jassi Brar wrote: >>> Hi Linus, >>> >>> A framework for Mailbox controllers and clients have been cooking for >>> more than a year now. Everybody in the CC list had

Re: [PATCH v2 2/3] sched/dl: Cleanup prio_changed_dl()

2014-10-21 Thread Juri Lelli
Hi Kirill, On 02/10/14 10:52, Kirill Tkhai wrote: > В Чт, 02/10/2014 в 11:36 +0200, Peter Zijlstra пишет: >> On Wed, Oct 01, 2014 at 01:04:35AM +0400, Kirill Tkhai wrote: >>> From: Kirill Tkhai >>> >>> rq->curr task can't be in "dequeued" state in prio_changed_dl(). >>> (The only place we can

Re: lockdep splat in CPU hotplug

2014-10-21 Thread Paul E. McKenney
On Tue, Oct 21, 2014 at 06:04:52PM +0200, Jiri Kosina wrote: > On Tue, 21 Oct 2014, Paul E. McKenney wrote: > > > > Looks like this indeed is something that lockdep *should* report (*), > > > although I would be suprised that stack unwinder would be so confused > > > by this -- there is no way

Re: [RFC][PATCH 0/6] Another go at speculative page faults

2014-10-21 Thread Ingo Molnar
* Peter Zijlstra wrote: > My Ivy Bridge EP (2*10*2) has a ~58% improvement in pagefault throughput: > > PRE: >149,441,555 page-faults ( +- 1.25% ) > > POST: >236,442,626 page-faults ( +- 0.08% ) > My Ivy Bridge EX (4*15*2) has a

[PATCH 1/1 net-next] mac80211: remove unnecessary null test before debugfs_remove

2014-10-21 Thread Fabian Frederick
Fix checkpatch warnings: WARNING: debugfs_remove(NULL) is safe this check is probably not required Signed-off-by: Fabian Frederick --- net/mac80211/debugfs_key.c | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/net/mac80211/debugfs_key.c

[PATCH] ARM: dts: DRA7: Add aliases for all serial ports

2014-10-21 Thread Nishanth Menon
Add serial port aliases for consoles > 6. Signed-off-by: Nishanth Menon --- arch/arm/boot/dts/dra7.dtsi |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi index 9cc9843..208dd83 100644 --- a/arch/arm/boot/dts/dra7.dtsi +++

[PATCH] ARM: DRA7: hwmod data: Add missing UART hwmod data

2014-10-21 Thread Nishanth Menon
From: Ambresh K We had constrainted hwmod entries to entries in dts which were present only for default mapped interrupts, the ones such as UARTs > 6 which needed IRQ crossbar configured were never added to hwmod database. Add them now that IRQ crossbar is functional Without this, enabling

Re: [PATCH v8 02/18] vfio: platform: probe to devices on the platform bus

2014-10-21 Thread Alex Williamson
On Mon, 2014-10-13 at 15:10 +0200, Antonios Motakis wrote: > Driver to bind to Linux platform devices, and callbacks to discover their > resources to be used by the main VFIO PLATFORM code. > > Signed-off-by: Antonios Motakis > --- > drivers/vfio/platform/vfio_platform.c | 107 >

Re: [PATCH] dmaengine: pl330: use subsys_initcall

2014-10-21 Thread Ray Jui
On 10/21/2014 3:45 AM, Vinod Koul wrote: On Fri, Oct 17, 2014 at 06:39:41PM +0200, Lars-Peter Clausen wrote: On 10/17/2014 06:18 PM, Ray Jui wrote: On 10/17/2014 4:15 AM, Lars-Peter Clausen wrote: On 10/17/2014 09:35 AM, Vinod Koul wrote: On Fri, Oct 17, 2014 at 09:45:45AM +0200,

Re: [alsa-devel] [PATCH v2 5/6] sound/usb: pcm changes to use media token api

2014-10-21 Thread Takashi Iwai
At Tue, 21 Oct 2014 12:08:59 -0400, Devin Heitmueller wrote: > > > Sorry, I'm not convinced by that. If the device has to be controlled > > exclusively, the right position is the open/close. Otherwise, the > > program cannot know when it becomes inaccessible out of sudden during > > its

Re: [PATCH] ASoC: tegra: Read and use the GPIO flags of the headphone detect

2014-10-21 Thread Stephen Warren
On 10/21/2014 09:33 AM, Alban Bedel wrote: The headphone detect was hardcoded to low-active, use the flags from DT to allow high-active as well. diff --git a/sound/soc/tegra/tegra_rt5640.c b/sound/soc/tegra/tegra_rt5640.c @@ -44,6 +44,7 @@ struct tegra_rt5640 { struct

Re: [PATCH 1/2] time: Fix NTP adjustment mult overflow.

2014-10-21 Thread John Stultz
On Tue, Oct 21, 2014 at 3:19 AM, Thomas Gleixner wrote: > On Thu, 9 Oct 2014, pang.xunlei wrote: > > First of all: Please use proper line breaks in the changelog. > >> The mult memember of struct clocksource should always be a large u32 >> number when calculated through

Re: [PATCH v2 01/47] kernel: Add support for poweroff handler call chain

2014-10-21 Thread Guenter Roeck
On Tue, Oct 21, 2014 at 04:15:11PM +0200, Rafael J. Wysocki wrote: > On Tuesday, October 21, 2014 06:17:09 AM Guenter Roeck wrote: > > On 10/21/2014 05:26 AM, Rafael J. Wysocki wrote: > > > On Monday, October 20, 2014 09:12:17 PM Guenter Roeck wrote: > > >> Various drivers implement architecture

Re: v3.18-rc1 32 bit KVM hangs early in boot process

2014-10-21 Thread Toralf Förster
On 10/20/2014 07:34 PM, Toralf Förster wrote: > I uploaded the screen shots from the virt-manager to [1] and [2] > > FWIW e56d9fccb was fine so the bug slipped in after that. > > > [1] http://www.directupload.net/file/d/3781/j9mwrtpq_jpg.htm > [2]

Re: [PATCH] ARM: davinci: Remove redundant casts

2014-10-21 Thread Sergei Shtylyov
Hello. On 10/21/2014 06:53 PM, Rasmus Villemoes wrote: These casts to char* are unnecessary and slightly confusing, since both operands actually have type const char*. Both operands of what? Typecast only has 1 operand. :-) Signed-off-by: Rasmus Villemoes WBR, Sergei -- To

Re: [alsa-devel] [PATCH v2 5/6] sound/usb: pcm changes to use media token api

2014-10-21 Thread Devin Heitmueller
> Sorry, I'm not convinced by that. If the device has to be controlled > exclusively, the right position is the open/close. Otherwise, the > program cannot know when it becomes inaccessible out of sudden during > its operation. I can say that I've definitely seen cases where if you configure a

Re: [alsa-devel] [PATCH v2 5/6] sound/usb: pcm changes to use media token api

2014-10-21 Thread Takashi Iwai
At Tue, 21 Oct 2014 17:42:51 +0200, Hans Verkuil wrote: > > > > On 10/16/2014 04:48 PM, Takashi Iwai wrote: > > At Thu, 16 Oct 2014 08:39:14 -0600, > > Shuah Khan wrote: > >> > >> On 10/16/2014 08:16 AM, Takashi Iwai wrote: > >>> At Thu, 16 Oct 2014 08:10:52 -0600, > >>> Shuah Khan wrote: >

Re: lockdep splat in CPU hotplug

2014-10-21 Thread Jiri Kosina
On Tue, 21 Oct 2014, Paul E. McKenney wrote: > > Looks like this indeed is something that lockdep *should* report (*), > > although I would be suprised that stack unwinder would be so confused > > by this -- there is no way for synchronize_sched_expedited() to be > > inlined all the way to

Re: [RFC 0/5] CR4 handling improvements

2014-10-21 Thread Peter Zijlstra
On Tue, Oct 21, 2014 at 11:00:26AM -0400, Vince Weaver wrote: > On Mon, 20 Oct 2014, Andy Lutomirski wrote: > > > ISTM it would be a lot better to use the perf subsystem for this. You > > can probably pin an event to a pmu. > > No, you cannot pin an event to a counter with perf_event. >

Re: [PATCH v6 2/2] mtd: nand: add sunxi NFC dt bindings doc

2014-10-21 Thread Boris Brezillon
On Tue, 21 Oct 2014 08:03:57 -0700 (PDT) Ezaul Zillmer wrote: > results > {"K9GBG08U0A 32G 3.3V 8-bit", > { .id = {0xec, 0xd7, 0x94, 0x7a, 0x54, 0x43} }, > SZ_8K, SZ_4K, SZ_1M, 0, 6, 640, NAND_ECC_INFO(24, SZ_1K) }, > > > Start this in the attached image >

Re: lockdep splat in CPU hotplug

2014-10-21 Thread Paul E. McKenney
On Tue, Oct 21, 2014 at 05:21:21PM +0200, Jiri Kosina wrote: > On Tue, 21 Oct 2014, Dave Jones wrote: > > > > I am seeing the lockdep report below when resuming from suspend-to-disk > > > with current Linus' tree (c2661b80609). > > > > > > The reason for CCing Ingo and Peter is that I can't

Re: [PATCH] mm/kmemleak: Do not skip stack frames

2014-10-21 Thread Catalin Marinas
On Tue, Oct 21, 2014 at 01:19:29PM +0100, Thierry Reding wrote: > From: Thierry Reding > > Trying to chase down memory leaks is much easier when the complete stack > trace is available. > > Signed-off-by: Thierry Reding > --- > It seems like this was initially set to 1 when merged in commit >

Re:

2014-10-21 Thread Patrik Lundquist
Bastien Nocera wrote: > I've posted this list at: > https://wiki.gnome.org/BastienNocera/KernelWishlist I think what you want from epoll_wait() can be done with timerfd. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [RFC 5/5] x86,perf: Only allow rdpmc if a perf_event is mapped

2014-10-21 Thread Andy Lutomirski
On Tue, Oct 21, 2014 at 2:14 AM, Peter Zijlstra wrote: > On Mon, Oct 20, 2014 at 12:51:10PM +0200, Hendrik Brueckner wrote: >> I think it would makes sense to return 0 as default in the >> perf_event_idx_default() and let each PMU/arch that actually supports >> reading PMCs from user space return

Re: [PATCH v3 6/8] phy: miphy28lp: Add SSC support for PCIE

2014-10-21 Thread Gabriel Fernandez
Hi Kishon Okay, i will fix it. Thanks. Gabriel On 21 October 2014 13:49, Kishon Vijay Abraham I wrote: > Hi, > > On Monday 13 October 2014 01:46 PM, Gabriel Fernandez wrote: >> Hi Valdis, >> Thanks for your remark. >> >> Concerning multiple writing in MIPHY_PLL_SBR_1, the writing of the >>

Re: [PATCH v2 01/47] kernel: Add support for poweroff handler call chain

2014-10-21 Thread Guenter Roeck
On Tue, Oct 21, 2014 at 11:34:05AM +0200, Johan Hovold wrote: > On Mon, Oct 20, 2014 at 09:12:17PM -0700, Guenter Roeck wrote: > > > v2: > > - poweroff -> power_off > > Do you want to stick to power[-_ ]off consistently throughout? > The string "poweroff" is used 819 times in today's upstream

Re: [PATCH v3 2/8] phy: miphy28lp: Add MiPHY28lp header file for DT x Driver defines

2014-10-21 Thread Gabriel Fernandez
Hi Kishon, To be sure, if i rename MIPHY_TYPE_SATA into PHY_TYPE_SATA, i have to rename the filename also ? include/dt-bindings/phy/phy-miphy.h into include/dt-bindings/phy/phy.h am I right? Best Regards Gabriel On 21 October 2014 12:38, Kishon Vijay Abraham I wrote: > Hi Gabriel, > > On

Re: [PATCH] cmpxchg: Discard unnecessary cast to volatile

2014-10-21 Thread H. Peter Anvin
On 10/21/2014 03:14 AM, Peter Zijlstra wrote: > On Mon, Oct 20, 2014 at 04:22:27PM -0400, Pranith Kumar wrote: >>> Generating a volatile pointer is really not necessary here. This is the only >>> location where a volatile pointer is being generated for use in asm. >>> >>> This commit removes the

[PATCH] kprobes: add kprobe_is_function_probed()

2014-10-21 Thread Jiri Kosina
Add a function that allows external users (such as live patching mechanisms) to check whether a given function (identified by symbol name) has a kprobe installed in it. Signed-off-by: Jiri Kosina --- include/linux/kprobes.h | 5 + kernel/kprobes.c| 28

Re: [alsa-devel] [PATCH v2 5/6] sound/usb: pcm changes to use media token api

2014-10-21 Thread Hans Verkuil
On 10/16/2014 04:48 PM, Takashi Iwai wrote: At Thu, 16 Oct 2014 08:39:14 -0600, Shuah Khan wrote: On 10/16/2014 08:16 AM, Takashi Iwai wrote: At Thu, 16 Oct 2014 08:10:52 -0600, Shuah Khan wrote: On 10/16/2014 08:01 AM, Takashi Iwai wrote: At Thu, 16 Oct 2014 07:10:37 -0600, Shuah Khan

Re: [PATCH] memcg: remove mem_cgroup_reclaimable check from soft reclaim

2014-10-21 Thread Michal Hocko
On Tue 21-10-14 17:15:50, Vladimir Davydov wrote: > mem_cgroup_reclaimable() checks whether a cgroup has reclaimable pages > on *any* NUMA node. However, the only place where it's called is > mem_cgroup_soft_reclaim(), which tries to reclaim memory from a > *specific* zone. So the way how it's

Re: [Intel-gfx] dmar messages caused by graphics.

2014-10-21 Thread Daniel Vetter
On Fri, Oct 17, 2014 at 05:17:16PM -0400, Dave Jones wrote: > Just hit this while fuzz-testing, (curiously, no graphics > related stuff was happening, X isn't even loaded on that box). > > dmar: DRHD: handling fault status reg 2 > dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr

[PATCH] ASoC: tegra: Read and use the GPIO flags of the headphone detect

2014-10-21 Thread Alban Bedel
The headphone detect was hardcoded to low-active, use the flags from DT to allow high-active as well. Signed-off-by: Alban Bedel --- sound/soc/tegra/tegra_rt5640.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sound/soc/tegra/tegra_rt5640.c

Re: [PATCH] netfilter: xt_hashlimit: Enhance the xt_hashlimit to avoid duplicated codes

2014-10-21 Thread Pablo Neira Ayuso
On Tue, Oct 21, 2014 at 11:23:16PM +0800, Feng Gao wrote: > Hi all, > > Enhance the functions "dsthash_alloc_init" and "hashlimit_mt" in file > "xt_hashlimit.c" to avoid two duplicated codes following: > > - dh->expires = now + msecs_to_jiffies(hinfo->cfg.expire); > -

Re: lockdep splat in CPU hotplug

2014-10-21 Thread Jiri Kosina
On Tue, 21 Oct 2014, Dave Jones wrote: > > I am seeing the lockdep report below when resuming from suspend-to-disk > > with current Linus' tree (c2661b80609). > > > > The reason for CCing Ingo and Peter is that I can't make any sense of one > > of the stacktraces lockdep is providing. >

Re: [PATCH v3 1/3] zram: remove bio parameter from zram_bvec_rw().

2014-10-21 Thread Jerome Marchand
On 10/21/2014 09:27 AM, karam@lge.com wrote: > From: "karam.lee" > > This patch removes an unnecessary parameter(bio) > from zram_bvec_rw() and zram_bvec_read(). > zram_bvec_read() doesn't use a bio parameter, so remove it. > zram_bvec_rw() calls a read/write operation not using bio, so a rw

Re: [PATCH 0/2] Marvell Armada 375/38x MPIC/MSI fixes

2014-10-21 Thread Jason Cooper
On Tue, Oct 21, 2014 at 11:19:31AM -0300, Ezequiel Garcia wrote: > On 10/03/2014 10:50 AM, Jason Cooper wrote: > > On Thu, Sep 25, 2014 at 01:17:17PM +0200, Grzegorz Jaszczyk wrote: > >> This patchset contains a set of fixes for issues found while doing some > >> test > >> with different

Re: [PATCH] staging: rtl8712: Remove redundant cast

2014-10-21 Thread Dan Carpenter
On Tue, Oct 21, 2014 at 04:58:26PM +0200, Rasmus Villemoes wrote: > struct firmware::data has type const u8*, as does *ppmappedfw, so the > cast to u8* is unnecessary and slightly confusing. > > Signed-off-by: Rasmus Villemoes > --- > drivers/staging/rtl8712/hal_init.c | 2 +- > 1 file changed,

Re: lockdep splat in CPU hotplug

2014-10-21 Thread Dave Jones
On Tue, Oct 21, 2014 at 01:09:04PM +0200, Jiri Kosina wrote: > Hi, > > I am seeing the lockdep report below when resuming from suspend-to-disk > with current Linus' tree (c2661b80609). > > The reason for CCing Ingo and Peter is that I can't make any sense of one > of the stacktraces

[RFCv2 7/8] ARM: OMAP2: RX-51: update si4713 platform data

2014-10-21 Thread Sebastian Reichel
This updates platform data related to Si4713, which has been updated to be compatible with DT interface. Signed-off-by: Sebastian Reichel --- arch/arm/mach-omap2/board-rx51-peripherals.c | 69 +--- 1 file changed, 31 insertions(+), 38 deletions(-) diff --git

[RFCv2 4/8] [media] si4713: use managed irq request

2014-10-21 Thread Sebastian Reichel
Introduce the usage of managed irq request to simplify the code slightly. Signed-off-by: Sebastian Reichel --- drivers/media/radio/si4713/si4713.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/media/radio/si4713/si4713.c

[RFCv2 8/8] [media] si4713: cleanup platform data

2014-10-21 Thread Sebastian Reichel
Remove unreferenced members from the platform data's structure. Signed-off-by: Sebastian Reichel --- include/media/si4713.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/media/si4713.h b/include/media/si4713.h index 343b8fb5..be4f58e 100644 --- a/include/media/si4713.h +++

[RFCv2 6/8] [media] si4713: add DT binding documentation

2014-10-21 Thread Sebastian Reichel
This patch adds the DT bindings documentation for Silicon Labs Si4713 FM radio transmitter. Signed-off-by: Sebastian Reichel --- Documentation/devicetree/bindings/media/si4713.txt | 30 ++ 1 file changed, 30 insertions(+) create mode 100644

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