Re: [BUG REPORT] [mm-hotplug, aio] aio ring_pages can't be offlined

2012-11-30 Thread Andrew Morton
On Fri, 30 Nov 2012 16:13:16 +0900 Kamezawa Hiroyuki wrote: > > What about futexes? > > > > IIUC, futex's key is now a pair of (mm,address) or (inode, pgoff). > Then, get_user_page() in futex.c will release the page by put_page(). > 'struct page' is just touched by get_futex_key() to obtain pag

Re: [PATCH 1/1] ARM: tegra: bus_notifier registers IOMMU devices

2012-11-30 Thread Hiroshi Doyu
Mark Zhang wrote @ Fri, 30 Nov 2012 05:59:32 +0100: > On 11/28/2012 09:48 PM, Hiroshi Doyu wrote: > > Hiroshi Doyu wrote @ Mon, 24 Sep 2012 14:50:14 +0300 > > (EEST): > > ... > > On Mon, 2012-09-24 at 12:04 +0300, Hiroshi Doyu wrote: > >> diff --git a/drivers/base/platform.c b/drivers/b

Re: [PATCH 8/8] srcu: use ACCESS_ONCE() to access sp->completed in srcu_read_lock()

2012-11-30 Thread Lai Jiangshan
On 11/30/2012 06:05 AM, Paul E. McKenney wrote: > On Thu, Nov 29, 2012 at 04:46:09PM +0800, Lai Jiangshan wrote: >> Old srcu implement requires sp->completed is loaded in >> RCU-sched(preempt_disable()) section. >> >> The new srcu is now not RCU-sched based, it doesn't require the load of >> sp->co

[PATCH v3] [resend] Enable A20 using KBC for some MSI laptops to fix S3 resume

2012-11-30 Thread Ondrej Zary
Some MSI laptop BIOSes are broken - INT 15h code uses port 92h to enable A20 line but resume code assumes that KBC was used. The laptop will not resume from S3 otherwise but powers off after a while and then powers on again stuck with a blank screen. Fix it by enabling A20 using KBC. Affected lapt

Re: [PATCH] ARM: sunxi: add missing include for mdelay()

2012-11-30 Thread Maxime Ripard
Le 30/11/2012 02:37, Josh Cartwright a écrit : > CC arch/arm/mach-sunxi/sunxi.o > ./arch/arm/mach-sunxi/sunxi.c: In function 'sunxi_restart': > ./arch/arm/mach-sunxi/sunxi.c:55:3: error: implicit declaration of function > 'mdelay' [-Werror=implicit-function-declaration] > > Signed-off-by:

Re: [patch v2 6/6] cgroup: remove css_get_next

2012-11-30 Thread Michal Hocko
On Fri 30-11-12 13:12:29, KAMEZAWA Hiroyuki wrote: > (2012/11/27 3:47), Michal Hocko wrote: > > Now that we have generic and well ordered cgroup tree walkers there is > > no need to keep css_get_next in the place. > > > > Signed-off-by: Michal Hocko > > Hm, then, the next think will be css_is_an

Re: [PATCH 1/2] Boottime: A tool for automatic measurement of kernel/bootloader boot time

2012-11-30 Thread Lee Jones
On Thu, 29 Nov 2012, Simon Glass wrote: > Hi, > > On Tue, Nov 20, 2012 at 8:16 AM, Lee Jones wrote: > >> > > +/* for automatic boot timing testcases */ > >> > > +#define ATAG_BOOTTIME 0x41000403 > >> > Where can I refer this ATAG usage? can you point out the reference URL > >> > or patches? > >

Re: [PATCH] staging/serqt_usb2: Refactor qt_status_change_check() in serqt_usb2.c

2012-11-30 Thread Dan Carpenter
On Thu, Nov 29, 2012 at 06:10:26PM -0800, Greg Kroah-Hartman wrote: > On Thu, Nov 29, 2012 at 01:57:56PM +0900, YAMANE Toshiaki wrote: > > > > - ProcessLineStatus(qt_port, data[i + 3]); > > - > > i += 3; > > + Process

Re: [PATCH v2 3/3] pppoatm: protect against freeing of vcc

2012-11-30 Thread David Woodhouse
On Fri, 2012-11-30 at 01:57 +, David Woodhouse wrote: > I think it's actually fixed for pppoatm by the bh_lock_sock() and the > sock_owned_by_user() check. As soon as vcc_release() calls lock_sock(), > pppoatm stops accepting packets. > > It should be simple enough to do the same in br2684. U

Re: [PATCH 036/270] kbuild: Do not package /boot and /lib in make tar-pkg

2012-11-30 Thread Jonathan Nieder
Greg Kroah-Hartman wrote: > On Tue, Nov 27, 2012 at 02:26:27AM +, Ben Hutchings wrote: >> On Mon, 2012-11-26 at 14:55 -0200, Herton Ronaldo Krzesinski wrote: >>> commit fe04ddf7c2910362f3817c8156e41cbd6c0ee35d upstream. >>> >>> There were reports of users destroying their Fedora installs by a

Re: [PATCHSET cgroup/for-3.8] cpuset: decouple cpuset locking from cgroup core

2012-11-30 Thread Michal Hocko
On Fri 30-11-12 12:21:32, KAMEZAWA Hiroyuki wrote: > (2012/11/29 6:34), Tejun Heo wrote: > > Hello, guys. > > > > Depending on cgroup core locking - cgroup_mutex - is messy and makes > > cgroup prone to locking dependency problems. The current code already > > has lock dependency loop - memcg nes

RE: [PATCH] fs/configfs: allow to create groups on demand

2012-11-30 Thread Andrzej Pietrasiewicz
On Thursday, November 29, 2012 5:41 PM Sebastian Andrzej Siewior wrote: > Subject: [PATCH] fs/configfs: allow to create groups on demand > > This patch adds a function add a group to an existing one and its > counterart. The newly created group behaves as it would be created via > default_groups[]

Re: [RFC PATCH v2] Add rcu user eqs exception hooks for async page fault

2012-11-30 Thread Li Zhong
On Thu, 2012-11-29 at 19:25 +0200, Gleb Natapov wrote: > On Thu, Nov 29, 2012 at 03:40:05PM +0100, Frederic Weisbecker wrote: > > 2012/11/29 Li Zhong : > > > On Wed, 2012-11-28 at 13:55 +0100, Frederic Weisbecker wrote: > > >> > With rcu_user_exit() at the beginning, now rcu_irq_enter() only > > >

[PATCH RFC] PM/Devfreq: Add Exynos5-bus devfreq driver for Exynos5250.

2012-11-30 Thread Abhilash Kesavan
Exynos5-bus device devfreq driver monitors PPMU counters and adjusts operating frequencies and voltages with OPP. ASV should be used to provide appropriate voltages as per the speed group of the SoC rather than using a constant 1.025V. Signed-off-by: Abhilash Kesavan Cc: Jonghwan Choi Cc: Kukjin

Re: [PATCH 0/6] drivers: convert struct spinlock to spinlock_t

2012-11-30 Thread Arend van Spriel
On 11/29/2012 09:45 PM, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > Turns out a few drivers have strayed away from using the > spinlock_t typedef and decided to use struct spinlock > directly. This series converts these drivers to use > spinlock_t. Each change has been compile tested

[PATCH 3/4 v8] AMD64 EDAC: Fix PCI function lookup

2012-11-30 Thread Daniel J Blueman
Fix locating sibling memory controller PCI functions by using the correct PCI domain and use Northbridge only if found. Tested on multi-socket server and multi-server, multi-socket NumaConnect setup. v7: Refactor patches grouping changes v8: Restructure searching for PCI function for clarity; use

[PATCH 4/4 v8] AMD64 EDAC: Fix type usage in NB IDs and memory ranges

2012-11-30 Thread Daniel J Blueman
Use appropriate types for northbridge IDs and memory ranges. Mark immutable data const and keep within compilation unit on related structures. Tested on multi-socket server and multi-server, multi-socket NumaConnect setup. v7: Refactor patches grouping changes v8: Drop unneeded change; use const a

[PATCH v2 04/10] x86/microcode_intel_lib.c: Early update ucode on Intel's CPU

2012-11-30 Thread Fenghua Yu
From: Fenghua Yu Define interfaces microcode_sanity_check() and get_matching_microcode(). They are called both in early boot time and in microcode Intel driver. Signed-off-by: Fenghua Yu --- arch/x86/kernel/microcode_intel_lib.c | 174 + 1 files changed, 174 in

[PATCH v2 06/10] x86/head_32.S: Early update ucode in 32-bit

2012-11-30 Thread Fenghua Yu
From: Fenghua Yu This updates ucode in 32-bit kernel. At this point, there is no paging and no virtual address yet. Signed-off-by: Fenghua Yu --- arch/x86/kernel/head_32.S |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/arch/x86/kernel/head_32.S b/arch/x86/kernel/

[PATCH v2 03/10] x86/microcode_core_early.c: Define interfaces for early loading ucode

2012-11-30 Thread Fenghua Yu
From: Fenghua Yu Define interfaces load_ucode_bsp() and load_ucode_ap() to load ucode on BSP and AP in early boot time. These are generic interfaces. Internally they call vendor specific implementations. Signed-off-by: Fenghua Yu --- arch/x86/include/asm/microcode.h | 23 ++ ar

[PATCH v2 09/10] x86/mm/init.c: Copy ucode from initrd image to memory

2012-11-30 Thread Fenghua Yu
From: Fenghua Yu Before initrd image is freed, copy valid ucode patches from initrd image to kernel virtual memory. The saved ucode will be used to update AP in resume. Signed-off-by: Fenghua Yu --- arch/x86/mm/init.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff -

[PATCH v2 10/10] x86/Kconfig: Configurations to enable/disable the feature

2012-11-30 Thread Fenghua Yu
From: Fenghua Yu MICROCODE_INTEL_LIB, MICROCODE_INTEL_EARLY, and MICROCODE_EARLY are three new configurations to enable or disable the feature. Signed-off-by: Fenghua Yu --- arch/x86/Kconfig | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/arch/x86/Kco

Re: [RFC v2 1/8] video: tegra: Add nvhost driver

2012-11-30 Thread Lucas Stach
Am Donnerstag, den 29.11.2012, 11:38 -0700 schrieb Stephen Warren: > On 11/29/2012 04:47 AM, Thierry Reding wrote: > > I agree. But I also fear that there will be changes eventually and > > having both go in via different tree requires those trees to be > > merged in a specific order to avoid brea

[PATCH v2 00/11] x86/microcode: Early load microcode

2012-11-30 Thread Fenghua Yu
From: Fenghua Yu The problem in current microcode loading method is that we load a microcode way, way too late; ideally we should load it before turning paging on. This may only be practical on 32 bits since we can't get to 64-bit mode without paging on, but we should still do it as early as at

[PATCH v2 08/10] x86/smpboot.c: Early update ucode on AP

2012-11-30 Thread Fenghua Yu
From: Fenghua Yu This updates ucode on AP. At this point, BSP should store some valid ucode patches in memory if it finds the ucode patches in initrd. AP searches the stored ucode and uploads the ucode. Signed-off-by: Fenghua Yu --- arch/x86/kernel/smpboot.c |7 +++ 1 files changed, 7

[PATCH v2 05/10] x86/microcode_intel_early.c: Early update ucode on Intel's CPU

2012-11-30 Thread Fenghua Yu
From: Fenghua Yu Implementation of early update ucode on Intel's CPU. load_ucode_intel_bsp() scans ucode in initrd image file which is a cpio format ucode followed by ordinary initrd image file. The binary ucode file is stored in kernel/x86/microcode/GenuineIntel/microcode.hex in the cpio data.

[PATCH v2 02/10] x86/microcode_intel.h: Define functions and macros for early loading ucode

2012-11-30 Thread Fenghua Yu
From: Fenghua Yu Define some functions and macros that will be used in early loading ucode. Some of them are moved from microcode_intel.c driver in order to be called in early boot phase before module can be called. Signed-off-by: Fenghua Yu --- arch/x86/include/asm/microcode_intel.h | 106 ++

[PATCH v2 01/10] Documentation/x86: Early load microcode

2012-11-30 Thread Fenghua Yu
From: Fenghua Yu Documenation for early loading microcode methodology. Signed-off-by: Fenghua Yu --- Documentation/x86/early-microcode.txt | 43 + 1 files changed, 43 insertions(+), 0 deletions(-) create mode 100644 Documentation/x86/early-microcode.txt diff

Re: [RFC v2 1/8] video: tegra: Add nvhost driver

2012-11-30 Thread Terje Bergström
On 29.11.2012 13:47, Thierry Reding wrote: > On Thu, Nov 29, 2012 at 12:21:04PM +0200, Terje Bergström wrote: >> Tegra20 and Tegra30 are compatible, but future chips are not. I was >> hoping we would be ready in upstream kernel for future chips. > > I think we should ignore that problem for now. G

[PATCH] regulator: tps51632: Ensure [base|max]_voltage_uV pdata settings are valid

2012-11-30 Thread Axel Lin
If pdata->base_voltage_uV is missing or the settings of pdata->base_voltage_uV and pdata->max_voltage_uV are out of range, TPS51632_VOLT_VSEL macro returns wrong vsel. Thus add checking [base|max]_voltage_uV pdata settings in probe. Signed-off-by: Axel Lin --- drivers/regulator/tps51632-regulat

Re: [PATCH] OMAPDSS: Add terminating entry for picodlp_i2c_id table

2012-11-30 Thread Tomi Valkeinen
Hi, On 2012-11-30 06:30, Axel Lin wrote: > The i2c_device_id table is supposed to be zero-terminated. > > Signed-off-by: Axel Lin > --- > drivers/video/omap2/displays/panel-picodlp.c |1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/video/omap2/displays/panel-picodlp.c > b/d

Re: [PATCHSET cgroup/for-3.8] cpuset: decouple cpuset locking from cgroup core

2012-11-30 Thread Glauber Costa
On 11/30/2012 07:21 AM, Kamezawa Hiroyuki wrote: > (2012/11/29 6:34), Tejun Heo wrote: >> Hello, guys. >> >> Depending on cgroup core locking - cgroup_mutex - is messy and makes >> cgroup prone to locking dependency problems. The current code already >> has lock dependency loop - memcg nests get_o

Re: [PATCH] irqdomain: stop screaming about preallocated irqdescs

2012-11-30 Thread Grant Likely
On Tue, 27 Nov 2012 01:20:32 +0100, Linus Walleij wrote: > From: Linus Walleij > > In the simple irqdomain: don't shout warnings to the user, > there is no point. An informational print is sufficient. > > Cc: Rob Herring > Cc: Grant Likely > Cc: Thomas Gleixner > Signed-off-by: Linus Wallei

Re: [PATCH]realtek:r8169: Bugfix or workaround for missing extended GigaMAC registers settings

2012-11-30 Thread Wang YanQing
On Fri, Nov 30, 2012 at 07:35:00AM +0100, Francois Romieu wrote: > Which kernel version is it ? I have done the test and debug with mainline e23739b4ade80a3a7f87198f008f6c44a7cbc9fd, v3.7-rc7-51-ge23739b > I'd rather see the GigaMAC registers written through a call to > rtl_rar_set when the mac

Re: [PATCH] scsi: prevent stack buffer overflow in host_reset

2012-11-30 Thread James Bottomley
On Thu, 2012-11-15 at 15:51 -0500, Sasha Levin wrote: > diff --git a/drivers/scsi/scsi_sysfs.c b/drivers/scsi/scsi_sysfs.c > index ce5224c..77ba946 100644 > --- a/drivers/scsi/scsi_sysfs.c > +++ b/drivers/scsi/scsi_sysfs.c > @@ -249,9 +249,9 @@ static DEVICE_ATTR(active_mode, S_IRUGO | S_IWUSR, >

Re: [patch v2 5/6] memcg: further simplify mem_cgroup_iter

2012-11-30 Thread Glauber Costa
On 11/26/2012 10:47 PM, Michal Hocko wrote: > The code would be much more easier to follow if we move the iteration > outside of the function (to __mem_cgrou_iter_next) so the distinction > is more clear. totally nit: Why is it call __mem_cgrou ? What happened to your p ? -- To unsubscribe from t

Re: [PATCH v2 0/5] Add movablecore_map boot option

2012-11-30 Thread Lai Jiangshan
On 11/28/2012 12:08 PM, Jiang Liu wrote: > On 2012-11-28 11:24, Bob Liu wrote: >> On Tue, Nov 27, 2012 at 8:49 PM, Tang Chen wrote: >>> On 11/27/2012 08:09 PM, Bob Liu wrote: On Tue, Nov 27, 2012 at 4:29 PM, Tang Chen wrote: > > Hi Liu, > > > This feature is used

Re: [PATCH 5/5] arcmsr: Modify ARC-1214 IO Behavior

2012-11-30 Thread James Bottomley
On Fri, 2012-11-16 at 19:56 +0800, NickCheng wrote: > From: Nick Cheng > > Modify ARC-1214 IO behavior to make up for HW seldom malfunction. > Signed-off-by: Nick Cheng This still isn't right. I said you could ignore most of the warnings (like lines over 80 characters), but you have a lot of t

[RFC PATCH v3] Add rcu user eqs exception hooks for async page fault

2012-11-30 Thread Li Zhong
This patch adds user eqs exception hooks for async page fault page not present code path, to exit the user eqs and re-enter it as necessary. Async page fault is different from other exceptions that it may be triggered from idle process, so we still need rcu_irq_enter() and rcu_irq_exit() to exit

Re: 3.6.7-rt18 ARM BUG_ON() at kernel/sched/core.c:3817

2012-11-30 Thread Thomas Gleixner
On Wed, 28 Nov 2012, Frank Rowand wrote: > 3.6.7-rt18: kernel BUG at .../kernel/sched/core.c:3817! > > Grant reported this same problem for 3.6.5-rt15. > > I am seeing it on a different arm board. > > Here is the BUG_ON(): > >asmlinkage void __sched preempt_schedule_irq(void) >{ >

Re: [PATCHSET cgroup/for-3.8] cpuset: decouple cpuset locking from cgroup core

2012-11-30 Thread Michal Hocko
On Fri 30-11-12 13:00:36, Glauber Costa wrote: > On 11/30/2012 07:21 AM, Kamezawa Hiroyuki wrote: > > (2012/11/29 6:34), Tejun Heo wrote: > >> Hello, guys. > >> > >> Depending on cgroup core locking - cgroup_mutex - is messy and makes > >> cgroup prone to locking dependency problems. The current c

RE: [PATCH 2/2] rtc-tps65910: enable RTC power domain on initialization

2012-11-30 Thread Venu Byravarasu
> -Original Message- > From: Kim, Milo [mailto:milo@ti.com] > Sent: Friday, November 30, 2012 4:42 AM > To: Venu Byravarasu > Cc: Andrew Morton; Samuel Ortiz; a.zu...@towertech.it; > swar...@wwwdotorg.org; Sivaram Nair; linux-kernel@vger.kernel.org > Subject: RE: [PATCH 2/2] rtc-tps6591

Re: [PATCHSET cgroup/for-3.8] cpuset: decouple cpuset locking from cgroup core

2012-11-30 Thread Glauber Costa
On 11/30/2012 01:24 PM, Michal Hocko wrote: > On Fri 30-11-12 13:00:36, Glauber Costa wrote: >> On 11/30/2012 07:21 AM, Kamezawa Hiroyuki wrote: >>> (2012/11/29 6:34), Tejun Heo wrote: Hello, guys. Depending on cgroup core locking - cgroup_mutex - is messy and makes cgroup prone

[PATCH v2]realtek:r8169: Bugfix or workaround for missing extended GigaMAC registers settings

2012-11-30 Thread Wang YanQing
I get a board with 8168e-vl(10ec:8168 with RTL_GIGA_MAC_VER_34), everything looks well first, I can use ifconfig to set ip, netmask, etc. And the rx/tx statistics show by ifconfig looks good when I ping another host or ping it from another host. But it don't work, I can't get ICMP REPLAY from both

Re: SPARC and OF_GPIO

2012-11-30 Thread Grant Likely
On Wed, 07 Nov 2012 02:34:19 -0500 (EST), David Miller wrote: > From: Thierry Reding > Date: Wed, 7 Nov 2012 07:52:58 +0100 > > > It seems like OF_ADDRESS would be trickier. A comment around line 60 in > > drivers/of/platform.c says that SPARC doesn't need functions defined in > > the enclosing

Re: SPARC and OF_GPIO

2012-11-30 Thread Thierry Reding
On Fri, Nov 30, 2012 at 09:35:20AM +, Grant Likely wrote: > On Wed, 07 Nov 2012 02:34:19 -0500 (EST), David Miller > wrote: > > From: Thierry Reding > > Date: Wed, 7 Nov 2012 07:52:58 +0100 > > > > > It seems like OF_ADDRESS would be trickier. A comment around line 60 in > > > drivers/of/pl

Re: [PATCHSET cgroup/for-3.8] cpuset: decouple cpuset locking from cgroup core

2012-11-30 Thread Glauber Costa
On 11/30/2012 01:24 PM, Michal Hocko wrote: > On Fri 30-11-12 13:00:36, Glauber Costa wrote: >> On 11/30/2012 07:21 AM, Kamezawa Hiroyuki wrote: >>> (2012/11/29 6:34), Tejun Heo wrote: Hello, guys. Depending on cgroup core locking - cgroup_mutex - is messy and makes cgroup prone

[PATCH] power_supply: add watchdog and safety timer expiries under PROP_HEALTH_*

2012-11-30 Thread Ramakrishna Pallala
As most of the charger chips come with two kinds of safety features related to timing. 1. Watchdog Timer (interms of seconds/mins) 2. Safety Timer (interms of hours) This patch adds these to fault causes in POWER_SUPPLY_PROP_HEALTH_* enums so that whenever there is either watchdog timeout or safet

RE: [PATCH v5 00/12] Support for AM33xx PWM Subsystem

2012-11-30 Thread Philip, Avinash
On Wed, Nov 28, 2012 at 19:51:01, Thierry Reding wrote: > On Tue, Nov 27, 2012 at 02:18:05PM +0530, Philip, Avinash wrote: > > In AM33xx PWM sub modules like ECAP, EHRPWM & EQEP are integrated to > > PWM subsystem. All these submodules shares the resources (clock) & has > > a clock gating register

Re: [PATCH v3 0/9] Media Controller capture driver for DM365

2012-11-30 Thread Sakari Ailus
On Wed, Nov 28, 2012 at 04:12:00PM +0530, Prabhakar Lad wrote: > From: Manjunath Hadli > > Mauro/Greg, > The below series of patches have gone through good amount of reviews, and > agreed by Laurent, Hans and Sakari to be part of the staging tree. I am > combining > the patchs with the pull req

Re: [PATCH] of: When constructing the bus id consider assigned-addresses as well

2012-11-30 Thread Grant Likely
On Thu, 29 Nov 2012 12:38:29 -0700, Jason Gunthorpe wrote: > On Thu, Nov 29, 2012 at 04:26:48PM +, Grant Likely wrote: > > > Hmmm. okay that makes sense, but something still isn't quite right. So > > of_translate_address should take care of drilling down through the bus > > layers, and when

Re: [PATCH 1/3] ARM/dts: omap3: Add generic DT support for IGEP devices

2012-11-30 Thread Matthias Brugger
On 11/29/2012 12:14 AM, Javier Martinez Canillas wrote: Add a generic .dtsi device tree source file for the common characteristics across IGEP Technology devices. Signed-off-by: Javier Martinez Canillas --- Acked-by: Matthias Brugger arch/arm/boot/dts/omap3-igep.dtsi | 93 ++

Re: [PATCH 2/3] ARM/dts: omap3: Add support for IGEPv2 board

2012-11-30 Thread Matthias Brugger
On 11/29/2012 12:14 AM, Javier Martinez Canillas wrote: ISEE IGEPv2 is an TI OMAP3 SoC based embedded board. This patch adds an initial device tree support to boot an IGEPv2 from the MMC/SD. Currently is working everything that is supported by DT on OMAP3 SoCs (MMC/SD, GPIO LEDs, EEPROM, TWL403

RE: [PATCH 2/2] rtc-tps65910: enable RTC power domain on initialization

2012-11-30 Thread Venu Byravarasu
> -Original Message- > From: Andrew Morton [mailto:a...@linux-foundation.org] > Sent: Friday, November 30, 2012 5:44 AM > To: Kim, Milo > Cc: Venu Byravarasu; Samuel Ortiz; a.zu...@towertech.it; > swar...@wwwdotorg.org; Sivaram Nair; linux-kernel@vger.kernel.org > Subject: Re: [PATCH 2/2] r

Re: [PATCHSET cgroup/for-3.8] cpuset: decouple cpuset locking from cgroup core

2012-11-30 Thread Michal Hocko
On Fri 30-11-12 13:42:28, Glauber Costa wrote: [...] > Speaking of it: Tejun's tree still lacks the kmem bits. How hard would > it be for you to merge his branch into a temporary branch of your tree? review-cpuset-locking is based on a post merge window merges so I cannot merge it as is. I could c

Re: [PATCH v2 3/3] pppoatm: protect against freeing of vcc

2012-11-30 Thread Krzysztof Mazur
On Fri, Nov 30, 2012 at 08:25:22AM +, David Woodhouse wrote: > On Fri, 2012-11-30 at 01:57 +, David Woodhouse wrote: > > I think it's actually fixed for pppoatm by the bh_lock_sock() and the > > sock_owned_by_user() check. As soon as vcc_release() calls lock_sock(), > > pppoatm stops accept

Re: [PATCH -next] of: export "allnodes" to fixx w1-gpio.c modular build

2012-11-30 Thread Grant Likely
On Thu, 29 Nov 2012 15:43:08 -0800, Randy Dunlap wrote: > From: Randy Dunlap > > Fix build when CONFIG_W1_MASTER_GPIO=m by exporting "allnodes". > > ERROR: "allnodes" [drivers/w1/masters/w1-gpio.ko] undefined! > > Signed-off-by: Randy Dunlap > Cc: Ville Syrjala > --- > drivers/of/base.c |

Re: [PATCH v3 0/9] Media Controller capture driver for DM365

2012-11-30 Thread Hans Verkuil
On Fri November 30 2012 10:47:39 Sakari Ailus wrote: > On Wed, Nov 28, 2012 at 04:12:00PM +0530, Prabhakar Lad wrote: > > From: Manjunath Hadli > > > > Mauro/Greg, > > The below series of patches have gone through good amount of reviews, and > > agreed by Laurent, Hans and Sakari to be part of t

Re: SPARC and OF_GPIO

2012-11-30 Thread Grant Likely
On Fri, Nov 30, 2012 at 9:40 AM, Thierry Reding wrote: > On Fri, Nov 30, 2012 at 09:35:20AM +, Grant Likely wrote: >> On Wed, 07 Nov 2012 02:34:19 -0500 (EST), David Miller >> wrote: >> > From: Thierry Reding >> > Date: Wed, 7 Nov 2012 07:52:58 +0100 >> > >> > > It seems like OF_ADDRESS wou

Re: [PATCHSET cgroup/for-3.8] cpuset: decouple cpuset locking from cgroup core

2012-11-30 Thread Glauber Costa
On 11/30/2012 01:49 PM, Michal Hocko wrote: > On Fri 30-11-12 13:42:28, Glauber Costa wrote: > [...] >> Speaking of it: Tejun's tree still lacks the kmem bits. How hard would >> it be for you to merge his branch into a temporary branch of your tree? > > review-cpuset-locking is based on a post mer

Re: [PATCH]realtek:r8169: Bugfix or workaround for missing extended GigaMAC registers settings

2012-11-30 Thread Wang YanQing
On Fri, Nov 30, 2012 at 05:04:29PM +0800, Wang YanQing wrote: > On Fri, Nov 30, 2012 at 07:35:00AM +0100, Francois Romieu wrote: > > Which kernel version is it ? > I have done the test and debug with mainline > e23739b4ade80a3a7f87198f008f6c44a7cbc9fd, v3.7-rc7-51-ge23739b More exactly, I find th

[PATCH] Fix build when CONFIG_W1_MASTER_GPIO=m b exporting "allnodes"

2012-11-30 Thread Grant Likely
From: Randy Dunlap ERROR: "allnodes" [drivers/w1/masters/w1-gpio.ko] undefined! Signed-off-by: Randy Dunlap [grant.likely: allnodes is too generic; rename to of_allnodes] Signed-off-by: Grant Likely Cc: Ville Syrjala --- arch/arm/mach-vexpress/v2m.c |2 +- drivers/of/base.c|

[PATCH v2 2/3] ARM/dts: omap3: Add support for IGEPv2 board

2012-11-30 Thread Javier Martinez Canillas
ISEE IGEPv2 is an TI OMAP3 SoC based embedded board. This patch adds an initial device tree support to boot an IGEPv2 from the MMC/SD. Currently is working everything that is supported by DT on OMAP3 SoCs (MMC/SD, GPIO LEDs, EEPROM, TWL4030 audio and pinctrl based mux). Signed-off-by: Javier Mar

[PATCH v2 3/3] ARM/dts: omap3: Add support for IGEP COM Module

2012-11-30 Thread Javier Martinez Canillas
ISEE IGEP COM Module is an TI OMAP3 SoC computer on module. This patch adds an initial device tree support to boot an IGEP COM Module from the MMC/SD. Signed-off-by: Javier Martinez Canillas Acked-by: Matthias Brugger --- Changes since v1: - Use default-state = "on" instead default-trigger

[PATCH v2 0/3] ARM/dts: omap3: Add DT support for IGEP devices

2012-11-30 Thread Javier Martinez Canillas
IGEP technology devices are TI OMAP3 SoC based industrial embedded and computer-on-module boards. This patch-set adds initial device tree support for these devices. The device tree allows to boot from an MMC/SD and are working all the components that already have device tree support on OMAP3 SoCs:

[PATCH v2 1/3] ARM/dts: omap3: Add generic DT support for IGEP devices

2012-11-30 Thread Javier Martinez Canillas
Add a generic .dtsi device tree source file for the common characteristics across IGEP Technology devices. Signed-off-by: Javier Martinez Canillas Acked-by: Matthias Brugger --- arch/arm/boot/dts/omap3-igep.dtsi | 93 + 1 files changed, 93 insertions(+), 0

Re: [RFC PATCH v2] Add rcu user eqs exception hooks for async page fault

2012-11-30 Thread Gleb Natapov
On Fri, Nov 30, 2012 at 04:36:46PM +0800, Li Zhong wrote: > On Thu, 2012-11-29 at 19:25 +0200, Gleb Natapov wrote: > > On Thu, Nov 29, 2012 at 03:40:05PM +0100, Frederic Weisbecker wrote: > > > 2012/11/29 Li Zhong : > > > > On Wed, 2012-11-28 at 13:55 +0100, Frederic Weisbecker wrote: > > > >> > Wi

[PATCH 01/16] GFS2: Review bug traps in glops.c

2012-11-30 Thread Steven Whitehouse
Two of the bug traps here could really be warnings. The others are converted from BUG() to GLOCK_BUG_ON() since we'll most likely need to know the glock state in order to debug any issues which arise. As a result of this, __dump_glock has to be renamed and is no longer static. Signed-off-by: Steve

[PATCH 03/16] GFS2: Rename glops go_xmote_th to go_sync

2012-11-30 Thread Steven Whitehouse
From: Bob Peterson [Editorial: This is a nit, but has been a minor irritation for a long time:] This patch renames glops structure item for go_xmote_th to go_sync. The functionality is unchanged; it's just for readability. Signed-off-by: Bob Peterson Signed-off-by: Steven Whitehouse diff --g

[PATCH 12/16] GFS2: only use lvb on glocks that need it

2012-11-30 Thread Steven Whitehouse
From: David Teigland Save the effort of allocating, reading and writing the lvb for most glocks that do not use it. Signed-off-by: David Teigland Signed-off-by: Steven Whitehouse diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c index 9d29a51..2284de4 100644 --- a/fs/gfs2/glock.c +++ b/fs/gfs2/g

[PATCH 15/16] GFS2: add error check while allocating new inodes

2012-11-30 Thread Steven Whitehouse
From: Bob Peterson This patch adds a return code check after attempting to allocate a new inode during dinode creation. Signed-off-by: Bob Peterson Signed-off-by: Steven Whitehouse diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c index e321333..2405695 100644 --- a/fs/gfs2/inode.c +++ b/fs/gfs2

[PATCH 14/16] GFS2: don't reference inode's glock during block allocation trace

2012-11-30 Thread Steven Whitehouse
From: Bob Peterson This patch changes the block allocation trace so that it references the rgd's glock rather than the inode's glock. Now that the order of inode creation is switched, this prevents a reference to the glock which may not be set yet. Signed-off-by: Bob Peterson Signed-off-by: Ste

Re: [PATCH] mfd: wm8994: Make current device behaviour the default

2012-11-30 Thread Samuel Ortiz
Hi Mark, On Tue, Nov 27, 2012 at 03:23:30PM +, Mark Brown wrote: > As the wm8994 series of devices are now very mature make the current > behaviour of the devices the default behaviour, any future revisions are > likely to have only minor updates. > > Signed-off-by: Mark Brown > --- > drive

[PATCH 16/16] GFS2: Set gl_object during inode create

2012-11-30 Thread Steven Whitehouse
From: Bob Peterson This patch fixes a cluster coherency problem that occurs when one node creates a file, does several writes, then a different node tries to write to the same file. When the inode's glock is demoted, the inode wasn't synced to the media properly because the gl_object wasn't set.

Re: [PATCH] mfd: arizona: Register haptics devices

2012-11-30 Thread Samuel Ortiz
Hi Mark, On Tue, Nov 27, 2012 at 05:37:13PM +, Mark Brown wrote: > Both WM5102 and WM5110 support haptics, register the device. > > Signed-off-by: Mark Brown > --- > drivers/mfd/arizona-core.c |2 ++ > 1 file changed, 2 insertions(+) I applied this one. Please let me know if you want to

Re: [PATCH v2 0/5] Add movablecore_map boot option

2012-11-30 Thread Glauber Costa
On 11/30/2012 06:58 AM, Luck, Tony wrote: >> If any significant percentage of memory is in ZONE_MOVABLE then the memory >> hotplug people will have to deal with all the lowmem/highmem problems >> that used to be faced by 32-bit x86 with PAE enabled. > > While these problems may still exist on lar

Re: [PATCH] mfd: wm5102: Correct default for LDO1_CONTROL_2

2012-11-30 Thread Samuel Ortiz
Hi Mark, On Wed, Nov 28, 2012 at 06:47:28PM +, Mark Brown wrote: > Signed-off-by: Mark Brown > --- > drivers/mfd/wm5102-tables.c |1 + > 1 file changed, 1 insertion(+) Applied, thanks. Cheers, Samuel. -- Intel Open Source Technology Centre http://oss.intel.com/ -- To unsubscribe from

Re: [PATCH] gpio: New driver for GPO emulation using PWM generators

2012-11-30 Thread Grant Likely
On Fri, 30 Nov 2012 07:47:52 +0100, Thierry Reding wrote: > On Thu, Nov 29, 2012 at 04:10:24PM +, Grant Likely wrote: > > On Wed, 28 Nov 2012 09:54:57 +0100, Peter Ujfalusi > > wrote: > > > Hi Grant, Lars, Thierry, > > > > > > On 11/26/2012 04:46 PM, Grant Likely wrote: > > > > You're effe

[PATCH 11/16] GFS2: skip dlm_unlock calls in unmount

2012-11-30 Thread Steven Whitehouse
From: David Teigland When unmounting, gfs2 does a full dlm_unlock operation on every cached lock. This can create a very large amount of work and can take a long time to complete. However, the vast majority of these dlm unlock operations are unnecessary because after all the unlocks are done, g

Re: [PATCH] mfd: wm5102: Mark DSP memory regions as volatile

2012-11-30 Thread Samuel Ortiz
Hi Mark, On Wed, Nov 28, 2012 at 07:04:16PM +, Mark Brown wrote: > We can cache some of them but this is simpler for now. > > Signed-off-by: Mark Brown > --- > drivers/mfd/wm5102-tables.c |3 +++ > 1 file changed, 3 insertions(+) Patch applied, thanks. Cheers, Samuel. -- Intel Open S

[PATCH 13/16] GFS2: remove redundant lvb pointer

2012-11-30 Thread Steven Whitehouse
From: David Teigland The lksb struct already contains a pointer to the lvb, so another directly from the glock struct is not needed. Signed-off-by: David Teigland Signed-off-by: Steven Whitehouse diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c index 2284de4..274b6be 100644 --- a/fs/gfs2/glock.

Re: [PATCH V2 00/23] printk: refactoring

2012-11-30 Thread Jan H. Schönherr
Am 29.11.2012 23:53, schrieb Kay Sievers: > On Thu, Nov 29, 2012 at 11:46 PM, Joe Perches wrote: > >> It's still a scheduling issue with Kay and Jan's patches. >> Does anyone have any idea if/when those patches are going in? > > I was expecting that Jan rebases the patches incorporating > the la

[PATCH 09/16] GFS2: Eliminate redundant buffer_head manipulation in gfs2_unlink_inode

2012-11-30 Thread Steven Whitehouse
From: Bob Peterson Since we now have a dirty_inode that takes care of manipulating the inode buffer and writing from the inode to the buffer, we can eliminate some unnecessary buffer manipulations in gfs2_unlink_inode that are now redundant. Signed-off-by: Bob Peterson Signed-off-by: Steven Whi

GFS2: Pre-pull patch posting (merge window)

2012-11-30 Thread Steven Whitehouse
Hi, So yes, this is a bit early, but the tree seems to have settled down now, and I'd like to hold off any further feature patches until the subsequent merge window at this stage. The main feature this time is the new Orlov allocator and the patches leading up to it which allow us to allocate new

[PATCH 05/16] GFS2: Use proper allocation context for new inodes

2012-11-30 Thread Steven Whitehouse
Rather than using the parent directory's allocation context, this patch allocated the new inode earlier in the process and then uses it to contain all the information required. As a result, we can now use the new inode's own allocation context to allocate it rather than having to use the parent dir

[PATCH 08/16] GFS2: Use dirty_inode in gfs2_dir_add

2012-11-30 Thread Steven Whitehouse
From: Bob Peterson This patch changes the gfs2_dir_add function so that it uses the dirty_inode function (via mark_inode_dirty) rather than manually updating the dinode. Signed-off-by: Bob Peterson Signed-off-by: Steven Whitehouse diff --git a/fs/gfs2/dir.c b/fs/gfs2/dir.c index 259b088..9a35

Re: [PATCH] mfd: wm5102: Treat future revisions as revision B

2012-11-30 Thread Samuel Ortiz
Hi Mark, On Thu, Nov 29, 2012 at 05:49:17PM +, Mark Brown wrote: > The expectation is that future revisions will behave as revision B. > > Signed-off-by: Mark Brown > --- > drivers/mfd/wm5102-tables.c |4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) This one does not apply. I'm

[PATCH 10/16] GFS2: Fix one RG corner case

2012-11-30 Thread Steven Whitehouse
For filesystems with only a single resource group, we need to be careful that the allocation loop will not land up with a NULL resource group. This fixes a bug in a previous patch where the gfs2_rgrpd_get_next() function was being used instead of gfs2_rgrpd_get_first() Signed-off-by: Steven Whiteh

[PATCH 07/16] GFS2: Fix truncation of journaled data files

2012-11-30 Thread Steven Whitehouse
This patch fixes an issue relating to not having enough revokes available when truncating journaled data files. In order to ensure that we do no run out, the truncation is broken into separate pieces if it is large enough. Tested using fsx on a journaled data file. Signed-off-by: Steven Whitehous

Re: [patch v2 5/6] memcg: further simplify mem_cgroup_iter

2012-11-30 Thread Michal Hocko
On Fri 30-11-12 13:08:35, Glauber Costa wrote: > On 11/26/2012 10:47 PM, Michal Hocko wrote: > > The code would be much more easier to follow if we move the iteration > > outside of the function (to __mem_cgrou_iter_next) so the distinction > > is more clear. > totally nit: Why is it call __mem_cgr

[PATCH 06/16] GFS2: Add Orlov allocator

2012-11-30 Thread Steven Whitehouse
Just like ext3, this works on the root directory and any directory with the +T flag set. Also, just like ext3, any subdirectory created in one of the just mentioned cases will be allocated to a random resource group (GFS2 equivalent of a block group). If you are creating a set of directories, each

[PATCH 04/16] GFS2: Add test for resource group congestion status

2012-11-30 Thread Steven Whitehouse
This patch uses information gathered by the recent glock statistics patch in order to derrive a boolean verdict on the congestion status of a resource group. This is then used when making decisions on which resource group to choose during block allocation. The aim is to avoid resource groups which

[PATCH 02/16] GFS2: Speed up gfs2_rbm_from_block

2012-11-30 Thread Steven Whitehouse
From: Bob Peterson This patch is a rewrite of function gfs2_rbm_from_block. Rather than looping to find the right bitmap, the code now does a few simple math calculations. I compared the performance of both algorithms side by side and the new algorithm is noticeably faster. Sample instrumentatio

Re: [RFC PATCH v3] Add rcu user eqs exception hooks for async page fault

2012-11-30 Thread Gleb Natapov
On Fri, Nov 30, 2012 at 05:18:41PM +0800, Li Zhong wrote: > This patch adds user eqs exception hooks for async page fault page not > present code path, to exit the user eqs and re-enter it as necessary. > > Async page fault is different from other exceptions that it may be > triggered from idle p

Re: [BUG REPORT] [mm-hotplug, aio] aio ring_pages can't be offlined

2012-11-30 Thread Lin Feng
On 11/30/2012 03:55 PM, Andrew Morton wrote: > On Fri, 30 Nov 2012 15:01:26 +0800 Lin Feng wrote: > >> >> >> On 11/30/2012 01:57 PM, Andrew Morton wrote: >>> On Fri, 30 Nov 2012 11:42:05 +0800 Lin Feng wrote: >>> hi Andrew, On 11/30/2012 07:39 AM, Andrew Morton wrote: > Tric

Re: [RFC v2 1/8] video: tegra: Add nvhost driver

2012-11-30 Thread Thierry Reding
On Fri, Nov 30, 2012 at 10:56:39AM +0200, Terje Bergström wrote: > On 29.11.2012 13:47, Thierry Reding wrote: > > On Thu, Nov 29, 2012 at 12:21:04PM +0200, Terje Bergström wrote: > >> Tegra20 and Tegra30 are compatible, but future chips are not. I was > >> hoping we would be ready in upstream kerne

[PATCH 2/2 v6] loop: Limit the number of requests in the bio list

2012-11-30 Thread Lukas Czerner
Currently there is not limitation of number of requests in the loop bio list. This can lead into some nasty situations when the caller spawns tons of bio requests taking huge amount of memory. This is even more obvious with discard where blkdev_issue_discard() will submit all bios for the range and

[PATCH 1/2 v3] wait: add wait_event_lock_irq() interface

2012-11-30 Thread Lukas Czerner
New wait_event{_interruptible}_lock_irq{_cmd} macros added. This commit moves the private wait_event_lock_irq() macro from MD to regular wait includes, introduces new macro wait_event_lock_irq_cmd() instead of using the old method with omitting cmd parameter which is ugly and makes a use of new mac

Re: [BUG REPORT] [mm-hotplug, aio] aio ring_pages can't be offlined

2012-11-30 Thread Andrew Morton
On Fri, 30 Nov 2012 18:29:30 +0800 Lin Feng wrote: > > add a new library function which callers can use before (or after?) > > calling get_user_pages[_fast](). > Sorry, I'm not quite understand what "library function" function means.. > Does it means a function aids get_user_pages() or totally wr

Re: [PATCH] gpio: New driver for GPO emulation using PWM generators

2012-11-30 Thread Peter Ujfalusi
On 11/30/2012 11:20 AM, Grant Likely wrote: > Umm, I agree with you on duty cycle, but that's got nothing to do with > period. 100% duty cycle looks exactly the same whether the period is > 10ns or 100s. Yes this is true. But some PWM hw can select it's clock based on the period_ns provided. In mo

  1   2   3   4   5   6   7   >