[PATCH 0/2] ACPI / scan: Additional changes

2013-01-26 Thread Rafael J. Wysocki
Hi All, The following patches make two more changes to the ACPI namespace scanning code that I think are more-or-less useful: [1/2] Introduce lock to prevent acpi_bus_scan() from running in parallel with acpi_bus_trim() to avoid removing device nodes while we're setting them up.

[PATCH -v3 1/2] x86, Kconfig: Move PARAVIRT_DEBUG into the paravirt menu

2013-01-26 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de This should be under the PARAVIRT_GUEST menu. Signed-off-by: Borislav Petkov b...@suse.de --- arch/x86/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 2d621032525a..201b8aa93f8f 100644

[PATCH -v3 2/2] x86: Make Linux guest support optional

2013-01-26 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de Put all config options needed to run Linux as a guest behind a CONFIG_HYPERVISOR_GUEST menu so that they don't get built-in by default but be selectable by the user. Also, make all units which depend on x86_hyper, depend on this new symbol so that compilation

Re: [PATCH 1/2] ACPI / scan: Make namespace scanning and trimming mutually exclusive

2013-01-26 Thread Yinghai Lu
On Sat, Jan 26, 2013 at 2:41 PM, Rafael J. Wysocki r...@sisk.pl wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com There is no guarantee that acpi_bus_scan() and acpi_bus_trim() will not be run in parallel for the same scope of the ACPI namespace, which may lead to a great deal of

Re: [PATCH, resubmit] ax88179_178a: ASIX AX88179_178A USB 3.0/2.0 to gigabit ethernet adapter driver

2013-01-26 Thread Michael Leun
On Wed, 23 Jan 2013 10:32:17 +0800 Freddy Xin fre...@asix.com.tw wrote: This is a resubmission. Fixed coding style errors. [...] This patch adds a driver for ASIX's AX88179 family of USB 3.0/2.0 to gigabit ethernet adapters. It's based on the AX88xxx driver but I hope, there is some

Re: [PATCH 2/2] ACPI / scan: Make scanning of fixed devices follow the general scheme

2013-01-26 Thread Yinghai Lu
On Sat, Jan 26, 2013 at 2:43 PM, Rafael J. Wysocki r...@sisk.pl wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com Make acpi_bus_scan_fixed() use device_attach() directly to attach drivers, if any, to the fixed devices in analogy with how acpi_bus_scan() works, which allows the last

Re: [PATCH v10 00/11] PCI, ACPI: pci root bus hotplug support / pci match_driver

2013-01-26 Thread Yinghai Lu
On Fri, Jan 25, 2013 at 4:04 PM, Bjorn Helgaas bhelg...@google.com wrote: On Tue, Jan 22, 2013 at 3:19 PM, Yinghai Lu ying...@kernel.org wrote: I first pulled in git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git acpi-scan again (to pci/acpi-scan2), added your acks, Rafael, and

Re: [3.8-rc4 arm] SCSI_SYM53C8XX_2 module cannot register IRQ

2013-01-26 Thread Linus Walleij
On Sat, Jan 26, 2013 at 9:17 AM, Tetsuo Handa penguin-ker...@i-love.sakura.ne.jp wrote: I did a blind git bisection (i.e. starting $ qemu-system-arm -M versatilepb -hda hda.img -kernel arch/arm/boot/zImage -append root=/dev/sda1 init=/bin/sh -nographic and watching top for %CPU usage of

[PATCH tip/core/rcu 0/4] v2 Documentation and rcutorture changes for 3.9

2013-01-26 Thread Paul E. McKenney
Hello! The following are changes to documentation and rcutorture: 1. Export trace_clock_local() in order to allow rcutorture event tracing to emit the time of the beginning of the RCU read-side critical section at the point where a failure is detected. 2. Reduce

[PATCH tip/core/rcu 1/4] tracing: Export trace_clock_local()

2013-01-26 Thread Paul E. McKenney
From: Paul E. McKenney paul.mcken...@linaro.org The rcutorture tests need to be able to trace the time of the beginning of an RCU read-side critical section, and thus need access to trace_clock_local(). This commit therefore adds a the needed EXPORT_SYMBOL_GPL(). Signed-off-by: Paul E. McKenney

[PATCH tip/core/rcu 4/4] rcu: Make rcutorture's shuffler task shuffle recently added tasks

2013-01-26 Thread Paul E. McKenney
From: Paul E. McKenney paul...@linux.vnet.ibm.com A number of kthreads have been added to rcutorture, but the shuffler task was not informed of them, and thus did not shuffle them. This commit therefore adds the requisite shuffling. Signed-off-by: Paul E. McKenney paul...@linux.vnet.ibm.com ---

[PATCH tip/core/rcu 3/4] Documentation: Memory barrier semantics of atomic_xchg()

2013-01-26 Thread Paul E. McKenney
From: Richard Braun rbr...@sceen.net Add atomic_xchg() to documentation for atomic operations and memory barriers. Signed-off-by: Richard Braun rbr...@sceen.net Signed-off-by: Paul E. McKenney paul...@linux.vnet.ibm.com Reviewed-by: Josh Triplett j...@joshtriplett.org ---

Re: [PATCH] mfd: prcmu: delete pin control helpers

2013-01-26 Thread Samuel Ortiz
Hi Linus, On Tue, Jan 22, 2013 at 02:25:35PM +0100, Linus Walleij wrote: On Tue, Jan 22, 2013 at 4:25 AM, Samuel Ortiz sa...@linux.intel.com wrote: On Mon, Jan 07, 2013 at 09:13:18AM +0100, Linus Walleij wrote: From: Linus Walleij linus.wall...@linaro.org These static inlines are

[PATCH tip/core/rcu 01/10] rcu: Fix blimit type for trace_rcu_batch_start()

2013-01-26 Thread Paul E. McKenney
From: Paul E. McKenney paul...@linux.vnet.ibm.com When the type of global variable blimit changed from int to long, the type of the blimit argument of trace_rcu_batch_start() needed to have changed. This commit fixes this issue. Signed-off-by: Paul E. McKenney paul...@linux.vnet.ibm.com

[PATCH tip/core/rcu 10/10] context_tracking: Add comments on interface and internals

2013-01-26 Thread Paul E. McKenney
From: Frederic Weisbecker fweis...@gmail.com This subsystem lacks many explanations on its purpose and design. Add these missing comments. v4: Document function parameter to be more kernel-doc friendly, as per Namhyung suggestion. Reported-by: Andrew Morton a...@linux-foundation.org

[PATCH] x86, numa: Use __pa_nodebug instead

2013-01-26 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de ... and fix the following warning: arch/x86/mm/numa.c: In function ‘setup_node_data’: arch/x86/mm/numa.c:222:3: warning: passing argument 1 of ‘__phys_addr_nodebug’ makes integer from pointer without a cast [enabled by default] In file included from

[PATCH tip/core/rcu 07/10] rcu: Consolidate debugging Kconfig options

2013-01-26 Thread Paul E. McKenney
From: Dave Hansen d...@linux.vnet.ibm.com The RCU-related debugging Kconfig options are in two different places, and consume too much screen real estate. This commit therefore consolidates them into their own menu. Signed-off-by: Dave Hansen d...@linux.vnet.ibm.com Signed-off-by: Paul E.

[PATCH tip/core/rcu 03/10] rcu: Use new nesting value for rcu_dyntick trace in rcu_eqs_enter_common

2013-01-26 Thread Paul E. McKenney
From: Li Zhong zh...@linux.vnet.ibm.com This patch uses the real new value of dynticks_nesting instead of 0 in rcu_eqs_enter_common(). Signed-off-by: Li Zhong zh...@linux.vnet.ibm.com Signed-off-by: Paul E. McKenney paul...@linux.vnet.ibm.com Reviewed-by: Josh Triplett j...@joshtriplett.org ---

[PATCH tip/core/rcu 04/10] rcu: Silence compiler array out-of-bounds false positive

2013-01-26 Thread Paul E. McKenney
From: Paul E. McKenney paul...@linux.vnet.ibm.com It turns out that gcc 4.8 warns on array indexes being out of bounds unless it can prove otherwise. It gives this warning on some RCU initialization code. Because this is far from any fastpath, add an explicit check for array bounds and panic if

[PATCH tip/core/rcu 06/10] rcu: Correct 'optimized' to 'optimize' in header comment

2013-01-26 Thread Paul E. McKenney
From: Cody P Schafer c...@linux.vnet.ibm.com Small grammar fix in rcutree comment regarding 'rcu_scheduler_active' var. Signed-off-by: Cody P Schafer c...@linux.vnet.ibm.com Signed-off-by: Paul E. McKenney paul...@linux.vnet.ibm.com Reviewed-by: Josh Triplett j...@joshtriplett.org ---

[PATCH tip/core/rcu 05/10] rcutorture: Don't compare ptr with 0

2013-01-26 Thread Paul E. McKenney
From: Sasha Levin sasha.le...@oracle.com Signed-off-by: Sasha Levin sasha.le...@oracle.com Reviewed-by: Josh Triplett j...@joshtriplett.org Signed-off-by: Paul E. McKenney paul...@linux.vnet.ibm.com --- kernel/rcutorture.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH tip/core/rcu 08/10] rcu: Remove unused code originally used for context tracking

2013-01-26 Thread Paul E. McKenney
From: Li Zhong zh...@linux.vnet.ibm.com As context tracking subsystem evolved, it stopped using ignore_user_qs and in_user defined in the rcu_dynticks structure. This commit therefore removes them. Signed-off-by: Li Zhong zh...@linux.vnet.ibm.com Signed-off-by: Paul E. McKenney

Re: [3.8-rc4 arm] SCSI_SYM53C8XX_2 module cannot register IRQ

2013-01-26 Thread Tetsuo Handa
Linus Walleij wrote: I'm trying to reproduce this, but how do you reconfigure the kernel to get PCI, SCSI and such stuff enabled? The stock versatile_defconfig does not even have SCSI enabled... I'm using a customized config for qemu. I've just updated the config to

[PATCH tip/core/rcu 0/2] Callback tagging for 3.9

2013-01-26 Thread Paul E. McKenney
Hello! This series contains callback-tagging patches. These were sent earlier in the idle/no-CBs series, but have been isolated as the more trustworthy part of that series. 1. Tag callback lists with the grace-period number that they are waiting for. This change enables a number

Re: [PATCH 0/3] Fix two bugs in rtl8411

2013-01-26 Thread Samuel Ortiz
Hi Wei, On Wed, Jan 23, 2013 at 09:51:03AM +0800, wei_w...@realsil.com.cn wrote: From: Wei WANG wei_w...@realsil.com.cn 1. The method to switch output voltage is different in rtl8411 2. Fix the formula to calculate N from SD clock if clock divider is more than 1 Wei WANG (3):

[PATCH tip/core/rcu 2/4] rcu: Reduce rcutorture tracing

2013-01-26 Thread Paul E. McKenney
From: Paul E. McKenney paul.mcken...@linaro.org Currently, rcutorture traces every read-side access. This can be problematic because even a two-minute rcutorture run on a two-CPU system can generate 28,853,363 reads. Normally, only a failing read is of interest, so this commit traces adjusts

Re: [PATCH 1/1] mfd: wm8994: Use devm_regulator_bulk_get API

2013-01-26 Thread Samuel Ortiz
Hi Sachin, On Thu, Jan 24, 2013 at 09:13:20AM +0530, Sachin Kamat wrote: Hi Samuel, On 8 January 2013 16:06, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Tue, Jan 08, 2013 at 02:01:22PM +0530, Sachin Kamat wrote: devm_regulator_bulk_get is device managed and saves some

[PATCH tip/core/rcu 02/10] rcu: Make rcu_is_cpu_rrupt_from_idle helper functions static

2013-01-26 Thread Paul E. McKenney
From: Josh Triplett j...@joshtriplett.org Both rcutiny and rcutree define a helper function named rcu_is_cpu_rrupt_from_idle(), each used exactly once, later in the same file. This commit therefore declares these helper functions static. Signed-off-by: Josh Triplett j...@joshtriplett.org

Re: [PATCH 0/4] mfd: palma: add RTC and GPIO support

2013-01-26 Thread Samuel Ortiz
Hi Laxman, On Thu, Jan 03, 2013 at 04:16:56PM +0530, Laxman Dewangan wrote: This series add the RTC and gpio driver for the TI Palma series PMIC. The changes are splitted so that easy to apply in different sub systems. Laxman Dewangan (4): mfd: palmas: add rtc irq number as irq resource

[PATCH tip/core/rcu 0/10] v2 RCU fixes for 3.9

2013-01-26 Thread Paul E. McKenney
Hello! The following fixes are intended for 3.9: 1. Fix int/long type confusion in trace_rcu_start_batch(). 2. Declare rcu_is_cpu_rrupt_from_idle() static, courtesy of Josh Triplett. 3. Make rcu_eqs_enter_common() trace the new nesting value instead of zero,

[PATCH tip/core/rcu 09/10] rcu: Remove obsolete Kconfig option from comment

2013-01-26 Thread Paul E. McKenney
From: Paul E. McKenney paul...@linux.vnet.ibm.com Signed-off-by: Paul E. McKenney paul...@linux.vnet.ibm.com --- include/linux/rcupdate.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h index 275aa3f..7e12dba 100644

Re: [PATCH] mfd: pcf50633: Init pcf-dev before using it

2013-01-26 Thread Samuel Ortiz
Hi Axel, On Fri, Jan 25, 2013 at 11:08:00AM +0800, Axel Lin wrote: 2013/1/22 Samuel Ortiz sa...@linux.intel.com Hi Axel, On Tue, Dec 25, 2012 at 10:52:49AM +0800, Axel Lin wrote: Current code uses pcf-dev in the dev_err call before setting it to client-dev. Fix it.

Re: [PATCH v1/1] mfd: i2c issue fix for da9052/53

2013-01-26 Thread Samuel Ortiz
Hi Ashish, On Fri, Jan 25, 2013 at 02:03:49PM +0530, Ashish Jangam wrote: An issue has been reported where the PMIC either locks up or fails to respond following a system Reset. This could result in a second write in which the bus writes the current content of the write buffer to address of

[PATCH tip/core/rcu 02/12] rcu: Provide compile-time control for no-CBs CPUs

2013-01-26 Thread Paul E. McKenney
From: Paul E. McKenney paul.mcken...@linaro.org Currently, the only way to specify no-CBs CPUs is via the rcu_nocbs kernel command-line parameter. This is inconvenient in some cases, particularly for randconfig testing, so this commit adds a new RCU_NOCB_CPU_DEFAULT kernel configuration

Re: [PATCH 09/19] mfd/twl4030: don't warn about uninitialized return code

2013-01-26 Thread Samuel Ortiz
Hi Arnd, On Fri, Jan 25, 2013 at 10:44:08PM +, Arnd Bergmann wrote: If the twl4030_write_script function gets called with a zero length argument, its return value does not get set. We know that all scripts have a nonzero length, but returning an error in case they ever do is probably

[PATCH tip/core/rcu 01/12] rcu: Remove restrictions on no-CBs CPUs

2013-01-26 Thread Paul E. McKenney
From: Paul E. McKenney paul...@linux.vnet.ibm.com Currently, CPU 0 is constrained to not be a no-CBs CPU, and furthermore at least one no-CBs CPU must remain online at any given time. These restrictions are problematic in some situations, such as cases where all CPUs must run a real-time

Re: [PATCH 1/11] ksm: allow trees per NUMA node

2013-01-26 Thread Simon Jeons
Hi Hugh, On Fri, 2013-01-25 at 17:54 -0800, Hugh Dickins wrote: From: Petr Holasek phola...@redhat.com Introduces new sysfs boolean knob /sys/kernel/mm/ksm/merge_across_nodes which control merging pages across different numa nodes. When it is set to zero only pages from the same node are

Re: [PATCH -v2 2/2] x86: Make Linux guest support optional

2013-01-26 Thread H. Peter Anvin
On 01/25/2013 10:43 AM, Borislav Petkov wrote: On Fri, Jan 25, 2013 at 07:35:07PM +0100, Borislav Petkov wrote: Ok, if you prefer. We can definitely make all .o's which depend on x86_hyper also depend on CONFIG_HYPERVISOR_GUEST - this solves the whole deal trivially. I'll respin the patches.

Re: [PATCH v2] mm: clean up soft_offline_page()

2013-01-26 Thread Andi Kleen
On Sat, Jan 26, 2013 at 12:02:11AM -0500, Naoya Horiguchi wrote: Currently soft_offline_page() is hard to maintain because it has many return points and goto statements. All of this mess come from get_any_page(). This function should only get page refcount as the name implies, but it does some

Re: [ 00/22] 3.4.28-stable review

2013-01-26 Thread Satoru Takeuchi
At Thu, 24 Jan 2013 13:15:21 -0800, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.4.28 release. There are 22 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.

Re: [ 00/46] 3.7.5-stable review

2013-01-26 Thread Satoru Takeuchi
At Thu, 24 Jan 2013 13:12:38 -0800, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.7.5 release. There are 46 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.

Re: boot warnings due to swap: make each swap partition have one address_space

2013-01-26 Thread Hugh Dickins
On Fri, 25 Jan 2013, Shaohua Li wrote: On Thu, Jan 24, 2013 at 10:45:57PM -0500, Sasha Levin wrote: Hi folks, Commit swap: make each swap partition have one address_space is triggering a series of warnings on boot: [3.446071] [ cut here ] [3.446664]

Re: [PATCH 5/11] ksm: get_ksm_page locked

2013-01-26 Thread Simon Jeons
Hi Hugh, On Fri, 2013-01-25 at 18:00 -0800, Hugh Dickins wrote: In some places where get_ksm_page() is used, we need the page to be locked. In function get_ksm_page, why check page-mapping = get_page_unless_zero = check page-mapping instead of get_page_unless_zero = check page-mapping,

Re: [patch v4 0/18] sched: simplified fork, release load avg and power awareness scheduling

2013-01-26 Thread Alex Shi
On 01/24/2013 11:07 PM, Alex Shi wrote: On 01/24/2013 05:44 PM, Borislav Petkov wrote: On Thu, Jan 24, 2013 at 11:06:42AM +0800, Alex Shi wrote: Since the runnable info needs 345ms to accumulate, balancing doesn't do well for many tasks burst waking. After talking with Mike Galbraith, we are

Re: 3.8.0-rc4+ - Oops on removing WinTV-HVR-1400 expresscard TV Tuner

2013-01-26 Thread Yijing Wang
于 2013-01-27 4:54, Chris Clayton 写道: Hi Martin, On 01/24/13 19:21, Martin Mokrejs wrote: Hi Chris, try to include in kernel only acpiphp and omit pciehp. Don't use modules but include them statically. And try, in addition, check whether pcie_aspm=off in grub.conf helped. Thanks

Re: [PATCH 5/11] ksm: get_ksm_page locked

2013-01-26 Thread Simon Jeons
On Fri, 2013-01-25 at 18:00 -0800, Hugh Dickins wrote: In some places where get_ksm_page() is used, we need the page to be locked. When KSM migration is fully enabled, we shall want that to make sure that the page just acquired cannot be migrated beneath us (raised page count is only

Re: [PATCH 11/19] regmap: regmap: avoid spurious warning in regmap_read_debugfs

2013-01-26 Thread Mark Brown
On Sat, Jan 26, 2013 at 11:45:35AM +, Arnd Bergmann wrote: Gcc warns about the case where regmap_read_debugfs tries to walk an empty map-debugfs_off_cache list, which would results in uninitialized variable getting returned, if we hadn't checked the same condition just before that.

Re: [PATCH 1/11] ksm: allow trees per NUMA node

2013-01-26 Thread Hugh Dickins
On Sat, 26 Jan 2013, Simon Jeons wrote: On Fri, 2013-01-25 at 17:54 -0800, Hugh Dickins wrote: From: Petr Holasek phola...@redhat.com @@ -1122,6 +1166,18 @@ struct rmap_item *unstable_tree_search_i return NULL; } + /* +* If

Re: [PATCH 1/3] regulator: max8907: Fix using wrong dev argument for calling of_regulator_match

2013-01-26 Thread Mark Brown
On Fri, Jan 25, 2013 at 10:20:29AM +0800, Axel Lin wrote: The dev parameter is the device requesting the data. In this case it should be pdev-dev rather than pdev-dev.parent. Applied all, thanks. signature.asc Description: Digital signature

Re: [PATCH] regulator: lp8755: Use LP8755_BUCK_MAX instead of magic number

2013-01-26 Thread Mark Brown
On Sat, Jan 26, 2013 at 01:19:47PM +0800, Axel Lin wrote: Signed-off-by: Axel Lin axel@ingics.com Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH 1/11] ksm: allow trees per NUMA node

2013-01-26 Thread Simon Jeons
On Sat, 2013-01-26 at 18:54 -0800, Hugh Dickins wrote: On Sat, 26 Jan 2013, Simon Jeons wrote: On Fri, 2013-01-25 at 17:54 -0800, Hugh Dickins wrote: From: Petr Holasek phola...@redhat.com @@ -1122,6 +1166,18 @@ struct rmap_item *unstable_tree_search_i return NULL;

Re: [PATCH 4/6] davinci: regulator: tps6507x: add device tree support.

2013-01-26 Thread Mark Brown
On Thu, Jan 24, 2013 at 04:25:18PM +0530, Vishwanathrao Badarkhe, Manish wrote: Add device tree based initialization support for TI's tps6507x regulators. Applied, thanks. Please always use subject lines appropriate for the subsystem you are submitting against - this is not a DaVinci change.

Re: [PATCH] mc13892-regulator: correct/refine handling of the SWxHI bit

2013-01-26 Thread Mark Brown
On Mon, Jan 21, 2013 at 11:38:40AM -0600, Matt Sealey wrote: MC13892 PMIC supports a HI bit for 3 of it's 4 buck switcher outputs, which enables a higher set of voltage ranges. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH] mc13892: sanity check num_regulators parsed vs. registered

2013-01-26 Thread Mark Brown
On Mon, Jan 21, 2013 at 12:25:45PM -0600, Matt Sealey wrote: Imagine a situation where a device tree has a few regulators in an appropriate node: Applied, thanks. Always use subject lines appropriate for the subsystem. signature.asc Description: Digital signature

Re: [PATCH 1/3] spi: Add helper functions for setting up transfers

2013-01-26 Thread Mark Brown
On Wed, Jan 09, 2013 at 06:31:09PM +0100, Lars-Peter Clausen wrote: The second function spi_sync_transfer() takes a SPI device and an array of spi_transfers. It will allocate a new spi_message (on the stack) and add all transfers in the array to the message. Finally it will call spi_sync() on

Re: [PATCH 0/3] Include kernel config by default

2013-01-26 Thread Andreas Mohr
Hi, [CC'd extract-ikconfig creator] I've seen too many systems where the config to build the used kernel got lost and people were unable to diagnose problems or to rebuild a modified or updated kernel. It's a subject which worries me since several years. I'm strongly in favour of such a

[PATCH 03/10] mfd: arizona: Register MICVDD supply first to ensure no retries

2013-01-26 Thread Mark Brown
Not strictly required as probe deferral will take care of everything but it makes boot a little smoother. Reported-by: Ryo Tsutsui ryo.tsut...@wolfsonmicro.com Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com --- drivers/mfd/arizona-core.c |4 ++-- 1 file changed, 2

[PATCH 09/10] mfd: wm5102: Update rev B patch for latest evaluation

2013-01-26 Thread Mark Brown
The latest evaluation of the revision B silicon suggests some changes to the tuning applied for optimal performance. Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com --- drivers/mfd/wm5102-tables.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git

[PATCH 10/10] mfd: arizona: Disable interrupts during resume

2013-01-26 Thread Mark Brown
Runtime power management does not function during system suspend but the Arizona devices need to use runtime power management to power up the device in order to handle interrupts. Try to avoid interrupts firing during resume by disabling the primary IRQ before interrupts are reenabled on resume

[PATCH 02/10] mfd: wm5102: Mark only extant DSP registers volatile

2013-01-26 Thread Mark Brown
Since regmap sometimes uses volatile as a proxy for readable simply having a blanket condition can mark too many registers as readable. Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com --- drivers/mfd/wm5102-tables.c | 11 +++ 1 file changed, 7 insertions(+), 4

[PATCH 04/10] mfd: arizona: Disable control interface reporting for WM5102 and WM5110

2013-01-26 Thread Mark Brown
Rather than disabling the error reporting only for earlier revisions unconditionally disable it. Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com --- drivers/mfd/arizona-irq.c | 18 ++ 1 file changed, 2 insertions(+), 16 deletions(-) diff --git

[PATCH 06/10] mfd: arizona: Allow customisation of microphone detection levels

2013-01-26 Thread Mark Brown
The microphone detection levels for Arizona parts can be customised. Allow this to be done via platform data, the values chosen will depend on the system design and determined in discussion with Wolfson. Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com --- drivers/mfd/arizona-core.c

[PATCH 05/10] mfd: arizona: Check errors from regcache_sync()

2013-01-26 Thread Mark Brown
If the control bus is unrelabile we may hit errors during regcache_sync(), especially given that it tends to be one the most dense bursts of I/O in many systems. Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com --- drivers/mfd/arizona-core.c |7 ++- 1 file changed, 6

[PATCH 07/10] mfd: wm5102: Add registers for microphone detection level configuration

2013-01-26 Thread Mark Brown
Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com --- drivers/mfd/wm5102-tables.c |8 1 file changed, 8 insertions(+) diff --git a/drivers/mfd/wm5102-tables.c b/drivers/mfd/wm5102-tables.c index 0317d11..167e6c4 100644 --- a/drivers/mfd/wm5102-tables.c +++

[PATCH 01/10] mfd: wm5102: Mark DSP memory regions as volatile and readable

2013-01-26 Thread Mark Brown
We can cache some of them but this is simpler for now. Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com --- drivers/mfd/wm5102-tables.c |8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/mfd/wm5102-tables.c b/drivers/mfd/wm5102-tables.c index

[PATCH 08/10] mfd: wm5102: Refresh register defaults

2013-01-26 Thread Mark Brown
The WM5102 register defaults are not up to date with the current register map, synchronise them with those for current devices. Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com --- drivers/mfd/wm5102-tables.c | 95 +++ 1 file changed, 33

Re: [patch v4 0/18] sched: simplified fork, release load avg and power awareness scheduling

2013-01-26 Thread Mike Galbraith
On Sun, 2013-01-27 at 10:41 +0800, Alex Shi wrote: On 01/24/2013 11:07 PM, Alex Shi wrote: On 01/24/2013 05:44 PM, Borislav Petkov wrote: On Thu, Jan 24, 2013 at 11:06:42AM +0800, Alex Shi wrote: Since the runnable info needs 345ms to accumulate, balancing doesn't do well for many tasks

Re: [PATCH 6/11] ksm: remove old stable nodes more thoroughly

2013-01-26 Thread Simon Jeons
Hi Hugh, On Fri, 2013-01-25 at 18:01 -0800, Hugh Dickins wrote: Switching merge_across_nodes after running KSM is liable to oops on stale nodes still left over from the previous stable tree. It's not something that people will often want to do, but it would be lame to demand a reboot when

[PATCH tip/core/rcu 2/2] rcu: Allow TREE_PREEMPT_RCU on UP systems

2013-01-26 Thread Paul E. McKenney
From: Paul E. McKenney paul...@linux.vnet.ibm.com The TINY_PREEMPT_RCU is complex, does not provide that much memory savings, and therefore TREE_PREEMPT_RCU should be used instead. The systems where the difference between TINY_PREEMPT_RCU and TREE_PREEMPT_RCU are quite small compared to the

[PATCH tip/core/rcu 12/12] rcu: Make rcu_accelerate_cbs() note need for future grace periods

2013-01-26 Thread Paul E. McKenney
From: Paul E. McKenney paul.mcken...@linaro.org Now that rcu_start_future_gp() has been abstracted from rcu_nocb_wait_gp(), rcu_accelerate_cbs() can invoke rcu_start_future_gp() so as to register the need for any future grace periods needed by a CPU about to enter dyntick-idle mode. This commit

[PATCH tip/core/rcu 11/12] rcu: Abstract rcu_start_future_gp() from rcu_nocb_wait_gp()

2013-01-26 Thread Paul E. McKenney
From: Paul E. McKenney paul.mcken...@linaro.org CPUs going idle will need to record the need for a future grace period, but won't actually need to block waiting on it. This commit therefore splits rcu_start_future_gp(), which does the recording, from rcu_nocb_wait_gp(), which now invokes

[PATCH tip/core/rcu 1/2] rcu: Tag callback lists with corresponding grace-period number

2013-01-26 Thread Paul E. McKenney
From: Paul E. McKenney paul...@linux.vnet.ibm.com Currently, callbacks are advanced each time the corresponding CPU notices a change in its leaf rcu_node structure's -completed value (this value counts grace-period completions). This approach has worked quite well, but with the advent of

[PATCH tip/core/rcu 2/2] rcu: Trace callback acceleration

2013-01-26 Thread Paul E. McKenney
From: Paul E. McKenney paul...@linux.vnet.ibm.com This commit adds event tracing for callback acceleration to allow better tracking of callbacks through the system. Signed-off-by: Paul E. McKenney paul...@linux.vnet.ibm.com --- include/trace/events/rcu.h |6 -- kernel/rcutree.c

[PATCH tip/core/rcu 07/12] rcu: Rearrange locking in rcu_start_gp()

2013-01-26 Thread Paul E. McKenney
From: Paul E. McKenney paul.mcken...@linaro.org If CPUs are to give prior notice of needed grace periods, it will be necessary to invoke rcu_start_gp() without dropping the root rcu_node structure's -lock. This commit takes a first step in this direction by moving the release of this lock to the

[PATCH tip/core/rcu 0/2] v2 Tiny RCU changes for 3.9

2013-01-26 Thread Paul E. McKenney
Hello! This series provides a couple of tiny-RCU changes: 1. Make Tiny RCU emit RCU CPU stall warnings when RCU_TRACE=y. 2. Allow TREE_PREEMPT_RCU to be used on UP systems. Changes since v1: o Updated #1 as suggested by Josh Triplett to simplify the #if expressions. o

[PATCH tip/core/rcu 04/12] rcu: Export RCU_FAST_NO_HZ parameters to sysfs

2013-01-26 Thread Paul E. McKenney
From: Paul E. McKenney paul.mcken...@linaro.org RCU_FAST_NO_HZ operation is controlled by four compile-time C-preprocessor macros, but some use cases benefit greatly from runtime adjustment, particularly when tuning devices. This commit therefore creates the corresponding sysfs entries.

[PATCH tip/core/rcu 05/12] rcu: Accelerate RCU callbacks at grace-period end

2013-01-26 Thread Paul E. McKenney
From: Paul E. McKenney paul.mcken...@linaro.org Now that callback acceleration is idempotent, it is safe to accelerate callbacks during grace-period cleanup on any CPUs that the kthread happens to be running on. This commit therefore propagates the completion of the grace period to the per-CPU

[PATCH tip/core/rcu 06/12] rcu: Make RCU_FAST_NO_HZ take advantage of numbered callbacks

2013-01-26 Thread Paul E. McKenney
From: Paul E. McKenney paul.mcken...@linaro.org Because RCU callbacks are now associated with the number of the grace period that they must wait for, CPUs can now take advance callbacks corresponding to grace periods that ended while a given CPU was in dyntick-idle mode. This eliminates the need

[PATCH tip/core/rcu 1/2] rcu: Provide RCU CPU stall warnings for tiny RCU

2013-01-26 Thread Paul E. McKenney
From: Paul E. McKenney paul.mcken...@linaro.org Tiny RCU has historically omitted RCU CPU stall warnings in order to reduce memory requirements, however, lack of these warnings caused Thomas Gleixner some debugging pain recently. Therefore, this commit adds RCU CPU stall warnings to tiny RCU if

[PATCH tip/core/rcu 09/12] rcu: Push lock release to rcu_start_gp()'s callers

2013-01-26 Thread Paul E. McKenney
From: Paul E. McKenney paul.mcken...@linaro.org If CPUs are to give prior notice of needed grace periods, it will be necessary to invoke rcu_start_gp() without dropping the root rcu_node structure's -lock. This commit takes a second step in this direction by moving the release of this lock to

[PATCH tip/core/rcu 03/12] rcu: Distinguish rcuo kthreads by RCU flavor

2013-01-26 Thread Paul E. McKenney
From: Paul E. McKenney paul.mcken...@linaro.org Currently, the per-no-CBs-CPU kthreads are named rcuo followed by the CPU number, for example, rcuo. This is problematic given that there are either two or three RCU flavors, each of which gets a per-CPU kthread with exactly the same name. This

[PATCH tip/core/rcu 10/12] rcu: Rename n_nocb_gp_requests to need_future_gp

2013-01-26 Thread Paul E. McKenney
From: Paul E. McKenney paul.mcken...@linaro.org CPUs going idle need to be able to indicate their need for future grace periods. A mechanism for doing this already exists for no-callbacks CPUs, so the idea is to re-use that mechanism. This commit therefore moves the -n_nocb_gp_requests field of

[PATCH tip/core/rcu 08/12] rcu: Repurpose no-CBs event tracing to future-GP events

2013-01-26 Thread Paul E. McKenney
From: Paul E. McKenney paul.mcken...@linaro.org Dyntick-idle CPUs need to be able to pre-announce their need for grace periods. This can be done using something similar to the mechanism used by no-CB CPUs to announce their need for grace periods. This commit moves in this direction by renaming

[PATCH tip/core/rcu 0/14] v2 RCU idle/no-CB changes for 3.9

2013-01-26 Thread Paul E. McKenney
Hello! This series contains changes to RCU_FAST_NO_HZ idle entry/exit and also removes restrictions on no-CBs CPUs. This series contains some commits that are still a bit on experimental side, so you should avoid using these patches unless you would like to help debug them. ;-) 1. Remove

Re: [PATCH 7/11] ksm: make KSM page migration possible

2013-01-26 Thread Simon Jeons
On Fri, 2013-01-25 at 18:03 -0800, Hugh Dickins wrote: KSM page migration is already supported in the case of memory hotremove, which takes the ksm_thread_mutex across all its migrations to keep life simple. But the new KSM NUMA merge_across_nodes knob introduces a problem, when it's set to

Re: [PATCH v2 1/4] regulator-core: support shared enable GPIO concept

2013-01-26 Thread Mark Brown
On Tue, Jan 15, 2013 at 04:35:41AM +, Kim, Milo wrote: A Regulator can be enabled by external GPIO pin. This is configurable in the regulator_config. Please use subject lines matching the subsystem - not doing this makes it more likely that patches will be missed or responses delayed.

Re: [PATCH v2 2/4] regulator-core: manage enable GPIO list

2013-01-26 Thread Mark Brown
On Tue, Jan 15, 2013 at 04:35:46AM +, Kim, Milo wrote: +/** + * Balance enable_count of each GPIO and actual GPIO pin control. + * GPIO is enabled in case of initial use. (enable_count is 0) + * GPIO is disabled when it is not shared any more. (enable_count is 1) + */ +static void

Re: [PATCH review 5/6] userns: Allow the userns root to mount ramfs.

2013-01-26 Thread Eric W. Biederman
Serge E. Hallyn se...@hallyn.com writes: Quoting Eric W. Biederman (ebied...@xmission.com): There is no backing store to ramfs and file creation rules are the same as for any other filesystem so it is semantically safe to allow unprivileged users to mount it. The memory control group

Re: [PATCH v2 3/4] regulator-core: free requested GPIOs and manage the enable list

2013-01-26 Thread Mark Brown
On Tue, Jan 15, 2013 at 04:35:50AM +, Kim, Milo wrote: The regulator_ena_gpio_request() allocates the enable GPIO and add the list. Related resources should be released if they are not used any more. To free requested GPIO and remove it from the enable GPIO list, new function,

[PATCH]video:uvesafb: Fix dereference NULL pointer code path

2013-01-26 Thread Wang YanQing
platform_device_alloc could failed and return NULL, we should check this before call platform_device_put. Signed-off-by: Wang YanQing udkni...@gmail.com --- drivers/video/uvesafb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/video/uvesafb.c

Re: [PATCH v2 4/4] lp8788-ldo: use ena_pin of regulator-core for external control

2013-01-26 Thread Mark Brown
On Tue, Jan 15, 2013 at 04:35:53AM +, Kim, Milo wrote: Regulator core driver provides enable GPIO control for enabling/disabling a regulator. Now, enable GPIO is shared among regulators. Use this internal working, so unnecessary code are removed. GPIO enable pin configurations are

Re: [PATCH v2] ALSA: ASoC: McASP: Fix data rotation for playback. Enables 24bit audio playback

2013-01-26 Thread Mark Brown
On Fri, Jan 18, 2013 at 10:17:00AM +0100, Michal Bachraty wrote: u32 rotate = (32 - word_length) / 4; This implementation is wrong, but it works only for 16, or 32 bit audio data. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH RESEND] ARM: dts: max77686: Add DTS file for max77686 PMIC

2013-01-26 Thread Mark Brown
On Sat, Jan 26, 2013 at 03:06:53PM +0900, Dongjin Kim wrote: Hello Mark, Yes, this is not ARM-specific chip at all. Just wanted to be reviewed by you and others if the format is ok before integrating to my board file. I had sent similar one before,

Re: [PATCH V8 00/13] MIPS: Add Loongson-3 based machines support

2013-01-26 Thread 陈华才
Hi, John, Compiling fails because __dev* prefix should be removed due to upstream changes. You said that patch 3 need to be rework, but I don't know how to improve... Could you please tell me where is unsane? Maybe you means I should make cpu_has_coherent_cache a runtime value rather than a

Re: [PATCH review 3/6] userns: Recommend use of memory control groups.

2013-01-26 Thread Eric W. Biederman
Serge E. Hallyn se...@hallyn.com writes: Quoting Eric W. Biederman (ebied...@xmission.com): In the help text describing user namespaces recommend use of memory control groups. In many cases memory control groups are the only mechanism there is to limit how much memory a user who can create

Re: [PATCH 11/11] ksm: stop hotremove lockdep warning

2013-01-26 Thread Simon Jeons
On Fri, 2013-01-25 at 18:10 -0800, Hugh Dickins wrote: Complaints are rare, but lockdep still does not understand the way ksm_memory_callback(MEM_GOING_OFFLINE) takes ksm_thread_mutex, and holds it until the ksm_memory_callback(MEM_OFFLINE): that appears to be a problem because notifier

Re: [PATCH V8 1/3] virtio-net: fix the set affinity bug when CPU IDs are not consecutive

2013-01-26 Thread David Miller
From: Wanlong Gao gaowanl...@cn.fujitsu.com Date: Fri, 25 Jan 2013 17:51:29 +0800 As Michael mentioned, set affinity and select queue will not work very well when CPU IDs are not consecutive, this can happen with hot unplug. Fix this bug by traversal the online CPUs, and create a per cpu

Re: [PATCH V8 2/3] virtio-net: split out clean affinity function

2013-01-26 Thread David Miller
From: Wanlong Gao gaowanl...@cn.fujitsu.com Date: Fri, 25 Jan 2013 17:51:30 +0800 Split out the clean affinity function to virtnet_clean_affinity(). Cc: Rusty Russell ru...@rustcorp.com.au Cc: Michael S. Tsirkin m...@redhat.com Cc: Jason Wang jasow...@redhat.com Cc: Eric Dumazet

Re: [PATCH V8 3/3] virtio-net: reset virtqueue affinity when doing cpu hotplug

2013-01-26 Thread David Miller
From: Wanlong Gao gaowanl...@cn.fujitsu.com Date: Fri, 25 Jan 2013 17:51:31 +0800 Add a cpu notifier to virtio-net, so that we can reset the virtqueue affinity if the cpu hotplug happens. It improve the performance through enabling or disabling the virtqueue affinity after doing cpu hotplug.

[PATCH] spi: Ensure memory used for spi_write_then_read() is DMA safe

2013-01-26 Thread Mark Brown
Use GFP_DMA in order to ensure that the memory we allocate for transfers in spi_write_then_read() can be DMAed. On most platforms this will have no effect. Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com --- drivers/spi/spi.c |3 ++- 1 file changed, 2 insertions(+), 1

<    1   2   3   4   5   6   >