[PATCH 3/6] rcu,nohz: run vtime_user_enter/exit only when state == IN_USER

2015-02-09 Thread riel
From: Rik van Riel Only run vtime_user_enter, vtime_user_exit, and the user enter & exit trace points when we are entering or exiting user state, respectively. The RCU code only distinguishes between "idle" and "not idle or kernel". There should be no need to add an additional (unused) state

[PATCH 4/6] nohz,kvm: export context_tracking_user_enter/exit

2015-02-09 Thread riel
From: Rik van Riel Export context_tracking_user_enter/exit so it can be used by KVM. Signed-off-by: Rik van Riel --- kernel/context_tracking.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/context_tracking.c b/kernel/context_tracking.c index 2d94147c07b2..8c5f2e939eee 100644

randconfig build error with next-20150209, in arch/x86/mm/kasan_init_64.c

2015-02-09 Thread Jim Davis
Building with the attached random configuration file, arch/x86/built-in.o: In function `populate_zero_shadow': kasan_init_64.c:(.init.text+0xe2cc): undefined reference to `vmemmap_alloc_block' kasan_init_64.c:(.init.text+0xe3ab): undefined reference to `vmemmap_alloc_block'

[PATCH 1/6] rcu,nohz: add state parameter to context_tracking_user_enter/exit

2015-02-09 Thread riel
From: Rik van Riel Add the expected ctx_state as a parameter to context_tracking_user_enter and context_tracking_user_exit, allowing the same functions to not just track kernel <> user space switching, but also kernel <> guest transitions. Catalin, Will: this patch and the next one break ARM,

[PATCH -v3 0/6] rcu,nohz,kvm: use RCU extended quiescent state when running KVM guest

2015-02-09 Thread riel
When running a KVM guest on a system with NOHZ_FULL enabled, and the KVM guest running with idle=poll mode, we still get wakeups of the rcuos/N threads. This problem has already been solved for user space by telling the RCU subsystem that the CPU is in an extended quiescent state while running

Re: [PATCH 3.18 00/39] 3.18.7-stable review

2015-02-09 Thread Sedat Dilek
On Mon, Feb 9, 2015 at 4:58 PM, Sedat Dilek wrote: > On Mon, Feb 9, 2015 at 4:44 PM, Greg Kroah-Hartman > wrote: >> On Mon, Feb 09, 2015 at 04:35:53PM +0100, Sedat Dilek wrote: >>> Hi Greg, >>> >>> nice to see the kbuild and trace patches I was involved are in this series. >>> >>> Unfortunately,

Re: [PATCH] Documentation: Fix the wrong command `echo -1 > set_ftrace_pid` for cleaning the filter.

2015-02-09 Thread Steven Rostedt
On Mon, 9 Feb 2015 10:57:29 -0500 Jonathan Corbet wrote: > On Thu, 5 Feb 2015 05:16:14 + > Wang Long wrote: > > > The command `echo > set_ftrace_pid` should be used to clean the filter > > quietly. > > because the command `echo -1 > set_ftrace_pid` will output the following: > > "bash:

Re: [PATCH 0/2] ARM: omap2+: omap_hwmod: Fix false lockdep warning

2015-02-09 Thread Paul Walmsley
On Mon, 9 Feb 2015, Peter Ujfalusi wrote: > On 02/06/2015 09:26 PM, Peter Ujfalusi wrote: > >> Yeah, I've never really bothered with data too much, its a debug > >> feature. So lock_class_key is 8 bytes, and strictly speaking you could > >> union them over other fields, all we really need is

Re: [PATCH RFC v4 1/3] PM / Runtime: Add an API pm_runtime_set_slave

2015-02-09 Thread Alan Stern
On Mon, 9 Feb 2015, Amit Daniel Kachhap wrote: > This API creates a pm runtime slave type device which does not itself > participates in pm runtime but depends on the master devices to power > manage them. This makes no sense. How can a master device manage a slave device? Devices are managed

[PATCH] vt: use msecs_to_jiffies for time conversion

2015-02-09 Thread Nicholas Mc Guire
--- Patch was compile tested with x86_64_defconfig (implies CONFIG_HW_CONSOLE=y and CONFIG_VT=y) Patch is against 3.19.0-rc7 (localversion-next is -next-20150209) drivers/tty/vt/vt.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c ind

[GIT PULL for v3.20-rc1] media updates

2015-02-09 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media tags/media/v3.20-1 For: - Some documentation updates and a few new pixel formats; - Stop btcx-risc abuse by cx88 and move it to bt8xx driver; - New platform driver: am437x; - New webcam

[PATCH] vt: vt_ioctl: use msecs_to_jiffies for time conversion

2015-02-09 Thread Nicholas Mc Guire
as compile tested with x86_64_defconfig (implies CONFIG_HW_CONSOLE=y and CONFIG_VT=y) Patch is against 3.19.0-rc7 (localversion-next is -next-20150209) drivers/tty/vt/vt_ioctl.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/vt/vt_ioctl.c b/drivers/tty/vt/

Re: [PATCH] Documentation: Fix the wrong command `echo -1 > set_ftrace_pid` for cleaning the filter.

2015-02-09 Thread Jonathan Corbet
On Thu, 5 Feb 2015 05:16:14 + Wang Long wrote: > The command `echo > set_ftrace_pid` should be used to clean the filter > quietly. > because the command `echo -1 > set_ftrace_pid` will output the following: > "bash: echo: write error: Invalid argument". > > so update the file

Re: [PATCH] thermal: ti-soc-thermal: fix compilation warnings when !CONFIG_PM_SLEEP

2015-02-09 Thread Paul Walmsley
On Mon, 9 Feb 2015, Nishanth Menon wrote: > On 00:17-20150207, Paul Walmsley wrote: > > > > When CONFIG_PM_SLEEP=n, the following compilation warnings appear: > > > > drivers/thermal/ti-soc-thermal/ti-bandgap.c:1478:12: warning: > > ‘ti_bandgap_suspend’ defined but not used [-Wunused-function]

Re: linux-next: build failure after merge of the pm tree

2015-02-09 Thread Lorenzo Pieralisi
On Mon, Feb 09, 2015 at 03:21:25PM +, Jiang Liu wrote: > On 2015/2/9 23:10, Rafael J. Wysocki wrote: > > On Monday, February 09, 2015 06:23:40 AM Lorenzo Pieralisi wrote: > >> On Mon, Feb 09, 2015 at 05:36:07AM +, Jiang Liu wrote: > >>> Hi Rafael and Lorenzo, > >>> With more closer

Re: [PATCH 0/6 v3] perf: Have perf become tracefs aware

2015-02-09 Thread Steven Rostedt
If you already applied v2, here's the patch that changes v3. -- Steve >From 55989e0e3e9c15d755a9cf0d8c6a899a0de7d1eb Mon Sep 17 00:00:00 2001 From: "Steven Rostedt (Red Hat)" Date: Mon, 9 Feb 2015 10:42:59 -0500 Subject: [PATCH] perf: Fix directory name in error message for tracefs If tracefs

Re: [PATCH v4 0/5] ARM: at91: fix irq_pm_install_action WARNING

2015-02-09 Thread Boris Brezillon
Hi Thomas, Any chance this could go in the next kernel release ? More and more people are complaining about this backtrace :-/. Regards, Boris On Thu, 29 Jan 2015 11:33:35 +0100 Boris Brezillon wrote: > Commit cab303be91dc47942bc25de33dc1140123540800 [1] introduced a WARN_ON > test which

Re: [PATCH 3.18 00/39] 3.18.7-stable review

2015-02-09 Thread Greg Kroah-Hartman
On Mon, Feb 09, 2015 at 04:35:53PM +0100, Sedat Dilek wrote: > Hi Greg, > > nice to see the kbuild and trace patches I was involved are in this series. > > Unfortunately, I see the following in my logs... > > [2.117022] Request for unknown module key 'Magrathea: Glacier > signing key:

Re: [Update 2x] Re: [PATCH v3]PM/Sleep: Timer quiesce in freeze state

2015-02-09 Thread Peter Zijlstra
On Mon, Feb 09, 2015 at 03:54:22AM +0100, Rafael J. Wysocki wrote: > Complete patch with that modification is appended. In the next few days I'm > going to split it into smaller parts and send along with cpuidle driver > patches implementing ->enter_freeze. > > Please let me know what you think.

Re: [PATCH 1/5] rcu,nohz: add state parameter to context_tracking_user_enter/exit

2015-02-09 Thread Rik van Riel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/07/2015 03:06 PM, Paul E. McKenney wrote: > On Sat, Feb 07, 2015 at 09:30:41AM +0100, Frederic Weisbecker > wrote: >> On Fri, Feb 06, 2015 at 11:14:53PM -0800, Paul E. McKenney >> wrote: >>> On Fri, Feb 06, 2015 at 10:34:21PM -0800, Paul E.

[PATCH 5/6 v3] tools lib api fs: Add {tracefs,debugfs}_configured() functions

2015-02-09 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Add tracefs_configured() to return true if tracefs is configured in the kernel (succeeds to find tracefs), and debugfs_configured() if debugfs is configured in the kernel (succeeds to find debugfs). Signed-off-by: Steven Rostedt --- tools/lib/api/fs/debugfs.c

[PATCH 3/6 v3] tools lib api fs: Add tracefs mount helper functions

2015-02-09 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Since tracefs will now hold the event directory for perf, and even though by default, debugfs still mounts tracefs on the debugfs/tracing directory, the system admin may now choose to not mount debugfs and instead just mount tracefs instead. Having tracefs

[PATCH 2/6 v3] tools lib fs: Add helper to find mounted file systems

2015-02-09 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" In preparation for adding tracefs for perf to use, create a findfs helper utility that find_debugfs uses instead of hard coding the search in the code. This will allow for a find_tracefs to be used as well. Signed-off-by: Steven Rostedt ---

[PATCH 0/6 v3] perf: Have perf become tracefs aware

2015-02-09 Thread Steven Rostedt
As I'm trying to move the tracing directory from debugfs, perf needs to be aware of this as system admins will now be able to mount the tracing directory without needing to mount debugfs. This patch series addresses this and makes perf aware of tracefs. You can also get this series from my repo

[PATCH 4/6 v3] tools lib api fs: Add DEBUGFS_DEFAULT_PATH macro

2015-02-09 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Instead of hard coding "/sys/kernel/debug" everywhere, create a macro to hold where the default path exists. Signed-off-by: Steven Rostedt --- tools/lib/api/fs/debugfs.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git

[PATCH 1/6 v3] perf: Do not check debugfs MAGIC for tracing files

2015-02-09 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" It's rather strange to be checking the debugfs MAGIC number for the tracing directory. A system admin may want to have a custom set of events to trace and it should be allowed to let the admin make a temp file (even for tracing virtual boxes, this is useful).

[PATCH 6/6 v3] perf: Make perf aware of tracefs

2015-02-09 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" As tracefs may be mounted instead of debugfs to get to the event directories, have perf know about tracefs, and use that file system over debugfs if it is present. Signed-off-by: Steven Rostedt --- tools/perf/tests/open-syscall-all-cpus.c | 7 +++-

Re: [PATCH] sb_edac: Fix detection on SNB machines

2015-02-09 Thread Andy Lutomirski
On Mon, Feb 9, 2015 at 7:23 AM, Mauro Carvalho Chehab wrote: > Em Mon, 09 Feb 2015 09:20:58 -0500 > Aristeu Rozanski escreveu: > >> On Mon, Feb 09, 2015 at 01:17:17PM +0100, Borislav Petkov wrote: >> > From: Borislav Petkov >> > Subject: [PATCH] sb_edac: Fix detection on SNB machines >> > >> >

[git pull] m68k updates for 3.20 (fixed branch due to forgotten pull)

2015-02-09 Thread Geert Uytterhoeven
Hi Linus, The following changes since commit b1940cd21c0f4abdce101253e860feff547291b0: Linux 3.19-rc3 (2015-01-05 17:05:20 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.git for-linus for you to fetch changes up to

[git pull] m68k updates for 3.20

2015-02-09 Thread Geert Uytterhoeven
Hi Linus, The following changes since commit b1940cd21c0f4abdce101253e860feff547291b0: Linux 3.19-rc3 (2015-01-05 17:05:20 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.git for-next for you to fetch changes up to

Re: [PATCH] pinctrl: at91: move lock/unlock_as_irq calls into request/release resources methods

2015-02-09 Thread Jean-Christophe PLAGNIOL-VILLARD
> On Feb 9, 2015, at 2:23 AM, Boris Brezillon > wrote: > > The gpiochip_lock_as_irq call can fail and return an error, while the > irq_startup is not expected to fail (returns an unsigned int which is not > checked by irq core code). > > irq_request/release_resources functions have been

Re: [PATCH 6/6 v2] perf: Make perf aware of tracefs

2015-02-09 Thread Steven Rostedt
On Sun, 8 Feb 2015 23:12:46 +0900 Namhyung Kim wrote: > Shouldn't it be /sys/kernel/tracing/ ? > > if (evsel == NULL) { > > - pr_debug("is debugfs mounted on /sys/kernel/debug?\n"); > > + if (tracefs_configured()) > > + pr_debug("is tracefs mounted on

Re: [PATCH] sb_edac: Fix detection on SNB machines

2015-02-09 Thread Mauro Carvalho Chehab
Em Mon, 09 Feb 2015 09:20:58 -0500 Aristeu Rozanski escreveu: > On Mon, Feb 09, 2015 at 01:17:17PM +0100, Borislav Petkov wrote: > > From: Borislav Petkov > > Subject: [PATCH] sb_edac: Fix detection on SNB machines > > > > d0585cd815fa ("sb_edac: Claim a different PCI device") changed the > >

[PATCH 2/2] PCI: Do not call pci_enable_resource when specifying PCI_PROBE_ONLY

2015-02-09 Thread Suravee Suthikulpanit
When using PCI_PROBE_ONLY, Linux does not assign resource to PCI devices. This causes error when calling the pci_enable_resources function, and not allowing driver to set the PCI_COMMAND_IO and PCI_COMMAND_MEMORY flag in the config space of endpoint device since it checks if the resource parent is

[PATCH 0/2] pci: generic: Add supports for ARM64

2015-02-09 Thread Suravee Suthikulpanit
This patch series modifies the current PCI generic host controller to support both ARM32 and ARM64. It has been tested on AMD Seattle platform with the following patch series: 1. Marc Zyngier's patch series (for MSI supports): [PATCH v2 0/8] Introducing per-device MSI domain

[PATCH 1/2] pci: generic: Use the pci_scan_root_bus instead of pci_common_init_dev

2015-02-09 Thread Suravee Suthikulpanit
Replacing pci_common_init_dev with pci_scan_root_bus, and remove reference to struct pci_sys_data and pci_hw, which is specific to ARM32. This allows the PCI host generic driver to also usable in ARM64 architecture. Cc: Bjorn Helgaas Cc: Arnd Bergmann Cc: Will Deacon Cc: Marc Zyngier Cc:

Re: linux-next: build failure after merge of the pm tree

2015-02-09 Thread Jiang Liu
On 2015/2/9 23:10, Rafael J. Wysocki wrote: > On Monday, February 09, 2015 06:23:40 AM Lorenzo Pieralisi wrote: >> On Mon, Feb 09, 2015 at 05:36:07AM +, Jiang Liu wrote: >>> Hi Rafael and Lorenzo, >>> With more closer review, I suspect statement "kfree(bus_range)" >>> in commit

Re: [PATCH] kvm: add halt_poll_ns module parameter

2015-02-09 Thread Radim Krčmář
2015-02-06 13:48+0100, Paolo Bonzini: [...] > Signed-off-by: Paolo Bonzini > --- Reviewed-by: Radim Krčmář Noticed changes since RFC: - polling is used in more situations - new tracepoint - module parameter in nanoseconds - properly handled time - no polling with overcommit > diff --git

[GIT PULL] HSI changes for 3.20

2015-02-09 Thread Sebastian Reichel
Hi Linus, The following changes since commit 29169f823067b07bc2967f64ec4b6c9cd1a714a4: Merge tag 'sound-3.19-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound (2014-12-27 13:12:00 -0800) are available in the git repository at:

Re: [Update 2x] Re: [PATCH v3]PM/Sleep: Timer quiesce in freeze state

2015-02-09 Thread Peter Zijlstra
On Mon, Feb 09, 2015 at 03:54:22AM +0100, Rafael J. Wysocki wrote: > > > > The only remaining issue might be a NMI calling into > > > > ktime_get_mono_fast_ns() before timekeeping is resumed. Its probably a > > > > non issue on x86/tsc, but it might be a problem on other platforms > > > > which

Re: [PATCH V2] x86 spinlock: Fix memory corruption on completing completions

2015-02-09 Thread Oleg Nesterov
On 02/09, Raghavendra K T wrote: > > +static inline void __ticket_check_and_clear_slowpath(arch_spinlock_t *lock) > +{ > + arch_spinlock_t old, new; > + __ticket_t diff; > + > + old.tickets = READ_ONCE(lock->tickets); > + diff = (old.tickets.tail & ~TICKET_SLOWPATH_FLAG) -

[PATCH v3] ASoC: atmel_ssc_dai: Allow more rates

2015-02-09 Thread Peter Rosin
From: Peter Rosin When the SSC acts as BCK master, use a ratnum rule to limit the rate instead of only doing the standard rates. When the SSC acts as BCK slave, allow any BCK frequency up to the SSC master clock, divided by either of 2, 3 or 6. Put a cap at 384kHz. Who's /ever/ going to need

[PATCH v2] i2c: cadence: fixup of wait_for_completion_timeout return handling

2015-02-09 Thread Nicholas Mc Guire
, rename the variable, as suggested by Wolfram Sang . Patch was only compile tested with multi_v7_defconfig (implies CONFIG_I2C_CADENCE=y) Patch is against 3.19.0-rc7 (localversion-next is -next-20150209) drivers/i2c/busses/i2c-cadence.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions

Re: [for-next][PATCH 7/7] tracing: Have mkdir and rmdir be part of tracefs

2015-02-09 Thread Steven Rostedt
On Mon, 9 Feb 2015 15:07:22 +0900 Namhyung Kim wrote: > On Wed, Feb 04, 2015 at 09:34:27AM -0500, Steven Rostedt wrote: > > +static int tracefs_syscall_mkdir(struct inode *inode, struct dentry > > *dentry, umode_t mode) > > +{ > > + char *name; > > + int ret; > > + > > + name =

Re: [for-next][PATCH 5/7] tracing: Automatically mount tracefs on debugfs/tracing

2015-02-09 Thread Steven Rostedt
On Mon, 9 Feb 2015 15:00:02 +0900 Namhyung Kim wrote: > On Wed, Feb 04, 2015 at 09:34:25AM -0500, Steven Rostedt wrote: > > From: "Steven Rostedt (Red Hat)" > > > > As tools currently rely on the tracing directory in debugfs, we can not > > just created a tracefs infrastructure and expect

Re: [for-next][PATCH 3/7] tracefs: Add new tracefs file system

2015-02-09 Thread Steven Rostedt
On Mon, 9 Feb 2015 14:56:19 +0900 Namhyung Kim wrote: > Hi Steve, > > On Wed, Feb 04, 2015 at 09:34:23AM -0500, Steven Rostedt wrote: > > From: "Steven Rostedt (Red Hat)" > > > > Add a separate file system to handle the tracing directory. Currently it > > is part of debugfs, but that is

Re: [PATCH] thermal: ti-soc-thermal: fix compilation warnings when !CONFIG_PM_SLEEP

2015-02-09 Thread Nishanth Menon
On 00:17-20150207, Paul Walmsley wrote: > > When CONFIG_PM_SLEEP=n, the following compilation warnings appear: > > drivers/thermal/ti-soc-thermal/ti-bandgap.c:1478:12: warning: > ‘ti_bandgap_suspend’ defined but not used [-Wunused-function] > static int ti_bandgap_suspend(struct device *dev) >

Re: [PATCH] mtd: pxa3xx_nand: cleanup wait_for_completion handling

2015-02-09 Thread Nicholas Mc Guire
On Mon, 09 Feb 2015, Ezequiel Garcia wrote: > On 02/01/2015 01:55 PM, Nicholas Mc Guire wrote: > > return type of wait_for_completion_timeout is unsigned long not int, this > > patch uses the return value of wait_for_completion_timeout in the condition > > directly rather than assigning it to an

set_freq: ntp_loopfilter.c line 955: invalid struct timex "constant" element value: 0

2015-02-09 Thread Toralf Förster
At a 32 bit Gentoo stable KVM machine I do realized since 3.19.0-rc6 : Feb 2 15:40:55 n22kvm kernel: [0.00] Linux version 3.19.0-rc6 (root@n22kvm) (gcc version 4.8.3 (Gentoo 4.8.3 p1.1, pie-0.5.9) ) #9 SMP Fri Jan 30 18:55:05 CET 2015 Feb 2 15:41:17 n22kvm ntpd[1980]: set_freq:

[GIT PULL] power supply changes for 3.20

2015-02-09 Thread Sebastian Reichel
The following changes since commit 06efe0e54018cb19cf0807447dc3ac747ffcfd1c: Merge tag 'pinctrl-v3.19-3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl (2015-01-20 21:23:41 +1200) are available in the git repository at: git://git.infradead.org/battery-2.6.git

Re: [PATCH v2 1/1] drivers/base: Remove unnecessary OOM message

2015-02-09 Thread Nishanth Menon
On Mon, Feb 9, 2015 at 3:45 AM, Quentin Lambert wrote: > This patch reduces the kernel size by removing error messages that duplicate > the normal OOM message. > > A simplified version of the semantic patch that finds this problem is as > follows: (http://coccinelle.lip6.fr) > > @@ > identifier

Re: [PATCH] mm/slab_common: Use kmem_cache_free

2015-02-09 Thread Christoph Lameter
On Mon, 9 Feb 2015, Vaishali Thakkar wrote: > Here, free memory is allocated using kmem_cache_zalloc. > So, use kmem_cache_free instead of kfree. Acked-by: Christoph Lameter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

RE: [PATCH v2] ASoC: atmel_ssc_dai: Allow more rates

2015-02-09 Thread Peter Rosin
Bo Shen write: > Hi Peter, Hi! [Snip] > > >>> > >>> > >>> /*-*\ > >>> * DAI functions > >>> @@ -200,6 +290,7 @@ static int atmel_ssc_startup(struct > snd_pcm_substream *substream, >

[PATCH 3/3] ARM: dts: am335x: Add Chiliboard DTS

2015-02-09 Thread Rostislav Lisovy
Chiliboard uses ChiliSOM as its base. Hardware specification: * ChiliSOM (am335x, PMIC, DRAM, NAND) * Ethernet PHY (id 0) * USB host (usb1) * microSD slot * 2x GPIO LED Signed-off-by: Rostislav Lisovy --- arch/arm/boot/dts/Makefile | 3 +- arch/arm/boot/dts/am335x-chiliboard.dts

[PATCH 1/3] ARM: dts: Add vendor prefix for Grinn

2015-02-09 Thread Rostislav Lisovy
Grinn is a company located in Poland, Europe producing System on Modules. Webpage: http://www.grinn-global.com/ Signed-off-by: Rostislav Lisovy --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 2/3] ARM: dts: am335x: Add DTS for ChiliSOM module

2015-02-09 Thread Rostislav Lisovy
Since this is a SOM (System on Module) that will be part of another embedded board (and can't really exist on its own) define it as a "dtsi" that will be included in the Device tree describing the whole system later on. Hardware specification: * AM335x SoC * up to 512 MB RAM * NAND Flash (8x

Re: linux-next: build failure after merge of the pm tree

2015-02-09 Thread Rafael J. Wysocki
On Monday, February 09, 2015 06:23:40 AM Lorenzo Pieralisi wrote: > On Mon, Feb 09, 2015 at 05:36:07AM +, Jiang Liu wrote: > > Hi Rafael and Lorenzo, > > With more closer review, I suspect statement "kfree(bus_range)" > > in commit d2be00c0fb5a ("of/pci: Free resources on failure in > >

[PATCH] tty: max3100: use msecs_to_jiffies for time conversion

2015-02-09 Thread Nicholas Mc Guire
-next is -next-20150209) drivers/tty/serial/max3100.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/max3100.c b/drivers/tty/serial/max3100.c index 79f9a9e..0773772 100644 --- a/drivers/tty/serial/max3100.c +++ b/drivers/tty/serial/max3100.c @@ -782,7

Re: [PATCH v2 0/5] Reenable might_sleep() checks for might_fault()

2015-02-09 Thread Peter Zijlstra
On Mon, Jan 12, 2015 at 03:19:11PM +0100, David Hildenbrand wrote: > Thomas, Peter, > > anything that speaks against putting the pagefault_disable counter into > thread_info (my series) instead of task_struct (rt tree)? > > IOW, what would be the right place for it? I think we put it in

Re: gpio-pxa: getting GPIOs by devicetree phandle broken

2015-02-09 Thread Tyler Hall
> The issue with multiple gpiochips per of-node could be worked around as > followed I believe, comments? > > diff --git a/drivers/gpio/gpiolib-of.c b/drivers/gpio/gpiolib-of.c > index 08261f2..43984ab 100644 > --- a/drivers/gpio/gpiolib-of.c > +++ b/drivers/gpio/gpiolib-of.c > @@ -47,11 +47,12

[GIT PULL] PCI changes for v3.20

2015-02-09 Thread Bjorn Helgaas
Hi Linus, Here are the PCI changes intended for v3.20. Bjorn The following changes since commit c3e59ee4e76686b0c84ca8faa1011d10cd4ca1b8: PCI: Mark Atheros AR93xx to avoid bus reset (2015-01-16 10:04:38 -0600) are available in the git repository at:

Re: [LKP] [nfs] mount.nfs: an incorrect mount option was specified

2015-02-09 Thread Christoph Hellwig
On Mon, Feb 09, 2015 at 04:35:42PM +0800, Huang Ying wrote: > FYI, we noticed the below changes on > > git://git.infradead.org/users/hch/pnfs.git pnfs-testing > commit 418f5019f1a8cd6fc50db11303e5a9297522d814 ("nfs: force version 4.1") > > Our test script uses the following command line: > > $

Re: [PATCH] clk: return proper ERR_PTR for clk_get when !HAVE_CLK

2015-02-09 Thread Wolfram Sang
Russell, thanks for the details again! > * Returns a struct clk corresponding to the clock producer, or > ^^^ > * valid IS_ERR() condition containing errno. The implementation > ^ Yes,

Re: [Update] Re: [PATCH v3]PM/Sleep: Timer quiesce in freeze state

2015-02-09 Thread Rafael J. Wysocki
On Monday, February 09, 2015 10:49:26 AM Peter Zijlstra wrote: > On Fri, Feb 06, 2015 at 11:36:12PM +0100, Rafael J. Wysocki wrote: > > On Friday, February 06, 2015 07:29:22 PM Peter Zijlstra wrote: > > > > > So I'm a wee bit confused; if we use an enter_freeze() state that keeps > > > >

Re: [PATCH] Trivial patch in efifb.c to solve common indent issue and indent error

2015-02-09 Thread Lad, Prabhakar
Hi, Thanks for the patch. On Mon, Feb 9, 2015 at 12:55 PM, Parmeshwr Prasad wrote: > Hi All, > > Please review this patch. > this patch is aimed to solve some indentation issue. It has also solved > three trivial error in efifb.c file. > > And I have also changed printk with pr_err, pr_info ...

Hello

2015-02-09 Thread LEUNG CHEUNG
I need your assistance to transfer $22,500,000.00 Dollars from Hong Kong -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

Re: [PATCH] sb_edac: Fix detection on SNB machines

2015-02-09 Thread Aristeu Rozanski
On Mon, Feb 09, 2015 at 01:17:17PM +0100, Borislav Petkov wrote: > From: Borislav Petkov > Subject: [PATCH] sb_edac: Fix detection on SNB machines > > d0585cd815fa ("sb_edac: Claim a different PCI device") changed the > probing of sb_edac to look for PCI device 0x3ca0: > > 3f:0e.0 System

Re: [PATCH 3/3] CRISv32: handle multiple signals

2015-02-09 Thread Guenter Roeck
On 02/09/2015 01:57 AM, Jesper Nilsson wrote: On Sun, Feb 08, 2015 at 06:03:49PM -0800, Guenter Roeck wrote: On Sun, Feb 08, 2015 at 09:45:04PM +0100, Rabin Vincent wrote: Al Viro noted that CRIS fails to handle multiple signals. [snip] Reported-by: Al Viro Link:

Re: [PATCH v2 3/5] MIPS: LLVMLinux: Fix an 'inline asm input/output type mismatch' error.

2015-02-09 Thread Maciej W. Rozycki
On Mon, 9 Feb 2015, Daniel Sanders wrote: > --- a/arch/mips/include/asm/checksum.h > +++ b/arch/mips/include/asm/checksum.h > @@ -228,6 +228,8 @@ static __inline__ __sum16 csum_ipv6_magic(const struct > in6_addr *saddr, > __u32 len, unsigned short proto, >

Re: [PATCH] cfq-iosched: handle failure of cfq group allocation

2015-02-09 Thread Vivek Goyal
On Mon, Feb 09, 2015 at 04:42:49PM +0300, Konstantin Khlebnikov wrote: > Cfq_lookup_create_cfqg() allocates struct blkcg_gq using GFP_ATOMIC. > In cfq_find_alloc_queue() possible allocation failure is not handled. > As a result kernel oopses on NULL pointer dereference when > cfq_link_cfqq_cfqg()

Re: Build regressions/improvements in v3.19

2015-02-09 Thread Geert Uytterhoeven
On Mon, Feb 9, 2015 at 2:37 PM, Geert Uytterhoeven wrote: > JFYI, when comparing v3.19[1] to v3.19-rc7[3], the summaries are: > - build errors: +2/-14 Just two more relocations truncated to fit on ppc64. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots

Re: [patch v2] ALSA: off by one bug in snd_riptide_joystick_probe()

2015-02-09 Thread Takashi Iwai
At Mon, 9 Feb 2015 16:51:40 +0300, Dan Carpenter wrote: > > The problem here is that we check: > > if (dev >= SNDRV_CARDS) > > Then we increment "dev". > >if (!joystick_port[dev++]) > > Then we use it as an offset into a array with SNDRV_CARDS elements. > > if

[PATCH v2] ARM: dts: exynos5420: Add maudio power domain

2015-02-09 Thread Krzysztof Kozlowski
Add maudio power domain to Exynos 5420 DTSI file so its state could be tracked. This actually won't power down this domain because the pl330 dmaengine driver (for adma channel) uses IRQ safe runtime PM. Thus the patch should not introduce any functional change except of visibility of this domain

[PATCH v2] brd: detect zero writes for saving ram

2015-02-09 Thread Akinobu Mita
This introduces a module parameter to detect zero writes and not to allocate memory. Read requests for unallocated (unwritten) region end up by reading zero. So this can save zeroed memory consumption with extra overhead for the detection. This feature is useful for testing filesystems and user

[patch v2] ALSA: off by one bug in snd_riptide_joystick_probe()

2015-02-09 Thread Dan Carpenter
The problem here is that we check: if (dev >= SNDRV_CARDS) Then we increment "dev". if (!joystick_port[dev++]) Then we use it as an offset into a array with SNDRV_CARDS elements. if (!request_region(joystick_port[dev], 8, "Riptide gameport")) { This has 3 effects: 1)

Re: [GIT PULL rcu/next] RCU commits for 3.20

2015-02-09 Thread Paul E. McKenney
On Mon, Feb 09, 2015 at 08:56:10AM +0100, Ingo Molnar wrote: > > * Paul E. McKenney wrote: > > > On Fri, Feb 06, 2015 at 07:28:23PM +0100, Ingo Molnar wrote: > > > > > > * Paul E. McKenney wrote: > > > > > > > On Tue, Feb 03, 2015 at 03:34:45PM +0100, David Hildenbrand wrote: > > > > > > >

Re: [PATCH] cfq-iosched: handle failure of cfq group allocation

2015-02-09 Thread Tejun Heo
On Mon, Feb 09, 2015 at 04:42:49PM +0300, Konstantin Khlebnikov wrote: > Cfq_lookup_create_cfqg() allocates struct blkcg_gq using GFP_ATOMIC. > In cfq_find_alloc_queue() possible allocation failure is not handled. > As a result kernel oopses on NULL pointer dereference when > cfq_link_cfqq_cfqg()

Re: [PATCH 03/16] tty: serial: 8250_core: read only RX if there is something in the FIFO

2015-02-09 Thread Nicolas Schichan
On 09/10/2014 09:29 PM, Sebastian Andrzej Siewior wrote: > The serial8250_do_startup() function unconditionally clears the > interrupts and for that it reads from the RX-FIFO without checking if > there is a byte in the FIFO or not. This works fine on OMAP4+ HW like > AM335x or DRA7. > OMAP3630

[PATCH] cfq-iosched: handle failure of cfq group allocation

2015-02-09 Thread Konstantin Khlebnikov
Cfq_lookup_create_cfqg() allocates struct blkcg_gq using GFP_ATOMIC. In cfq_find_alloc_queue() possible allocation failure is not handled. As a result kernel oopses on NULL pointer dereference when cfq_link_cfqq_cfqg() calls cfqg_get() for NULL pointer. Bug was introduced in v3.5 in commit

Build regressions/improvements in v3.19

2015-02-09 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v3.19[1] compared to v3.18[2]. Summarized: - build errors: +10/-19 - build warnings: +168/-125 JFYI, when comparing v3.19[1] to v3.19-rc7[3], the summaries are: - build errors: +2/-14 - build warnings: +33/-65 Note

Re: [PATCH 03/13] clk: mediatek: Add reset controller support

2015-02-09 Thread Philipp Zabel
Am Montag, den 09.02.2015, 11:47 +0100 schrieb Sascha Hauer: > The pericfg and infracfg units also provide reset lines to several > other SoC internal units. Add support for the reset controller. > > Signed-off-by: Sascha Hauer Acked-by: Philipp Zabel regards Philipp -- To unsubscribe from

Re: [PATCH 01/13] clk: dts: mediatek: add Mediatek MT8135 clock bindings

2015-02-09 Thread Philipp Zabel
Am Montag, den 09.02.2015, 11:47 +0100 schrieb Sascha Hauer: > From: James Liao > > Document the device-tree binding of Mediatek MT8135 SoC, including > TOPCKGEN, PLLs, INFRA and PERI clock controller. > > Signed-off-by: James Liao > Signed-off-by: Henry Chen > Signed-off-by: Sascha Hauer >

Re: [PATCH 1/3] perf/e6500: Make event translations available in sysfs

2015-02-09 Thread Ingo Molnar
* Jiri Olsa wrote: > On Mon, Feb 09, 2015 at 11:07:38AM +0100, Ingo Molnar wrote: > > > > * Peter Zijlstra wrote: > > > > > On Fri, Feb 06, 2015 at 04:43:54PM -0600, Tom Huynh wrote: > > > > arch/powerpc/perf/e6500-events-list.h | 289 > > > > ++ > > > > > >

Re: [PATCH] i2c: cadence: match return type of wait_for_completion_timeout

2015-02-09 Thread Wolfram Sang
On Sun, Feb 08, 2015 at 07:55:55AM -0500, Nicholas Mc Guire wrote: > return type of wait_for_completion_timeout is unsigned long not int. as > ret is only used for wait_for_completion_timeout anyway the type is simply > changed to unsigned long. > > Signed-off-by: Nicholas Mc Guire Same as for

Re: [PATCH] ARM: dts: exynos5420: Add maudio power domain

2015-02-09 Thread Krzysztof Kozlowski
On pon, 2015-02-09 at 13:58 +0100, Javier Martinez Canillas wrote: > Hello Krzysztof, > > On 02/09/2015 01:41 PM, Krzysztof Kozlowski wrote: > > Add maudio power domain to Exynos 5420 DTSI file so its state could be > > tracked. This actually won't power down this domain because the pl330 > >

[PATCH 1/2] ARM: rockchip: decrease the wait time for resume

2015-02-09 Thread Chris Zhong
The delay time for wait the 24MHz OSC stabilization is 750ms, and the delay time for wait the external PMU stabilization is 750ms too, let's decrease them to 30ms. Signed-off-by: Chris Zhong --- arch/arm/mach-rockchip/pm.c | 3 +++ arch/arm/mach-rockchip/pm.h | 4 2 files changed, 7

[PATCH 2/2] ARM: rockchip: disable watchdog during suspend

2015-02-09 Thread Chris Zhong
The watchdog clock should be disable in dw_wdt_suspend, but we set a dummy clock to watchdog for rk3288. So the watchdog will continue to work during suspend. And we switch the system clock to 32khz from 24Mhz, during suspend, so the watchdog timer over count will increase to 755 times, about 12.5

[PATCH] menuconfig: Search from everywhere

2015-02-09 Thread Alexander Kuleshov
If we want to see search window again, for example after typo or for another search, we need to press on '< Exit >' and than execute new search. Let's make '/' active everywhere. Signed-off-by: Alexander Kuleshov --- scripts/kconfig/lxdialog/textbox.c | 4 scripts/kconfig/mconf.c

Re: [PATCH] pci: spear: Drop __initdata from struct platform_driver spear13xx_pcie_driver

2015-02-09 Thread Matwey V. Kornilov
2015-02-09 7:22 GMT+03:00 Viresh Kumar : > On Sun, Feb 8, 2015 at 3:37 PM, Matwey V. Kornilov wrote: >> spear13xx_pcie_driver.driver is allocated in text.init section >> and then the pointer to it is passed futher. This patch is to avoid >> crashes like the following, when freed memory is used:

ARM: CACHE_PL310

2015-02-09 Thread Paul Bolle
Your commit 20e783e39e55 ("ARM: 8296/1: cache-l2x0: clean up aurora cache handling") is included in today's linux-next (ie, next-20150209). I noticed because a script I use to check linux-next spotted a problem with it. That commit removed the only user of the Kconfig symbol CACHE_PL31

Re: [PATCH] mtd: pxa3xx_nand: cleanup wait_for_completion handling

2015-02-09 Thread Ezequiel Garcia
On 02/01/2015 01:55 PM, Nicholas Mc Guire wrote: > return type of wait_for_completion_timeout is unsigned long not int, this > patch uses the return value of wait_for_completion_timeout in the condition > directly rather than assigning it to an incorrect type variable. > > The timeout declaration

[GIT PULL] libata changes for v3.20-rc1

2015-02-09 Thread Tejun Heo
Hello, Linus. Mostly driver-specific changes. Nothing too noteworthy. This pull request contains three merges from for-3.19-fixes. The first two are to pull ahci_xgene and sata_dwc_460ex fix commits which are depended upon by later changes. The last one is to pull in a fix patch which missed

Re: [PATCH] ARM: dts: exynos5420: Add maudio power domain

2015-02-09 Thread Javier Martinez Canillas
Hello Krzysztof, On 02/09/2015 01:41 PM, Krzysztof Kozlowski wrote: > Add maudio power domain to Exynos 5420 DTSI file so its state could be > tracked. This actually won't power down this domain because the pl330 > dmaengine driver (for adma channel) uses IRQ safe runtime PM. Thus the > patch

Re: [PATCH] mtd: pxa3xx_nand: fix driver when num_cs is 0

2015-02-09 Thread Ezequiel Garcia
On 02/08/2015 05:02 PM, Robert Jarzmik wrote: > As the devicetree binding doesn't require num_cs to exist or be strictly > positive, and neither does the platform data case, a bug appear when > num_cs is set to 0 and panics the kernel. > > The issue is that in alloc_nand_resource(), chip is

[PATCH V2] x86 spinlock: Fix memory corruption on completing completions

2015-02-09 Thread Raghavendra K T
Paravirt spinlock clears slowpath flag after doing unlock. As explained by Linus currently it does: prev = *lock; add_smp(>tickets.head, TICKET_LOCK_INC); /* add_smp() is a full mb() */ if (unlikely(lock->tickets.tail &

[PATCH] Trivial patch in efifb.c to solve common indent issue and indent error

2015-02-09 Thread Parmeshwr Prasad
Hi All, Please review this patch. this patch is aimed to solve some indentation issue. It has also solved three trivial error in efifb.c file. And I have also changed printk with pr_err, pr_info ... at respective places. >From c49139fac1d15fe2da80d06e2a79eb8be7c079a7 Mon Sep 17 00:00:00 2001

[GIT PULL] workqueue changes for v3.20-rc1

2015-02-09 Thread Tejun Heo
Hello, again. Once cosmetic cleanup patch. Thanks. The following changes since commit 97bf6af1f928216fd6c5a66e8a57bfa95a659672: Linux 3.19-rc1 (2014-12-20 17:08:50 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq.git for-3.20 for you to

[PATCH] kprobes: x86: mark 2 bytes NOP as boostable.

2015-02-09 Thread Wang Nan
x86 kprobes is unable to probe at 2 bytes nop like: nopl 0x0(%rax,%rax,1) which is 0x0f 0x1f 0x44 0x00 0x00. Such nops have exactly 5 bytes which is able to hold a relative jmp instruction. Boosting them should be obviously safe. This patch enable boosting such nops by simply updating

Re: [PATCH] x86 spinlock: Fix memory corruption on completing completions

2015-02-09 Thread Raghavendra K T
On 02/09/2015 05:32 PM, Peter Zijlstra wrote: On Mon, Feb 09, 2015 at 03:04:22PM +0530, Raghavendra K T wrote: So we have 3 choices, 1. xadd 2. continue with current approach. 3. a read before unlock and also after that. For the truly paranoid we have probe_kernel_address(), suppose the lock

[GIT PULL] cgroup changes for v3.20-rc1

2015-02-09 Thread Tejun Heo
Hello, Linus. Three mostly trivial patches. The biggest change is that blkio is now initialized before memcg which will be needed to make memcg and blkcg cooperate on writeback IOs. Thanks. The following changes since commit 97bf6af1f928216fd6c5a66e8a57bfa95a659672: Linux 3.19-rc1

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