Re: [PATCH 0/5] Memory policy corruption fixes -stable

2012-10-10 Thread Greg KH
On Tue, Oct 09, 2012 at 05:58:36PM +0100, Mel Gorman wrote: This is a backport of the series Memory policy corruption fixes V2. This should apply to 3.6-stable, 3.5-stable, 3.4-stable and 3.0-stable without any difficulty. It will not apply cleanly to 3.2 but just drop the revert patch and

[RESEND PATCH v2] nohz: fix idle ticks in cpu summary line of /proc/stat

2012-10-10 Thread Srivatsa S. Bhat
From: Michal Hocko mho...@suse.cz Git commit 09a1d34f8535ecf9 nohz: Make idle/iowait counter update conditional introduced a bug in regard to cpu hotplug. The effect is that the number of idle ticks in the cpu summary line in /proc/stat is still counting ticks for offline cpus. Reproduction is

[PATCH for 3.7] mtd: nand: fix Samsung SLC NAND identification regression

2012-10-10 Thread Brian Norris
A combination of the following two commits caused a regression in 3.7-rc1 when identifying some Samsung NAND, so that some previously working NAND were no longer detected properly: commit e3b88bd604283ef83ae6e8f53622d5b1ffe9d43a mtd: nand: add generic READ ID length calculation functions

Re: [PATCH] [RESEND] mm, slab: release slab_mutex earlier in kmem_cache_destroy()

2012-10-10 Thread Pekka Enberg
On Mon, Oct 8, 2012 at 10:26 AM, Jiri Kosina jkos...@suse.cz wrote: Commit 1331e7a1bbe1 (rcu: Remove _rcu_barrier() dependency on __stop_machine()) introduced slab_mutex - cpu_hotplug.lock dependency through kmem_cache_destroy() - rcu_barrier() - _rcu_barrier() - get_online_cpus(). Lockdep

Re: [PATCH for 3.7] mtd: nand: fix Samsung SLC NAND identification regression

2012-10-10 Thread David Woodhouse
On Tue, 2012-10-09 at 23:26 -0700, Brian Norris wrote: I have heuristically determined that all the chips that use the new table have ID strings which wrap around after the 6th byte. I'd be happier if we had confirmation of that from Samsung... -- dwmw2 smime.p7s Description: S/MIME

[patch for-linus] memcg, kmem: fix build error when CONFIG_INET is disabled

2012-10-10 Thread David Rientjes
Commit e1aab161e013 (socket: initial cgroup code.) causes a build error when CONFIG_INET is disabled in Linus' tree: net/built-in.o: In function `sk_update_clone': net/core/sock.c:1336: undefined reference to `sock_update_memcg' sock_update_memcg() is only defined when CONFIG_INET is enabled,

Re: [PATCH for 3.7] mtd: nand: fix Samsung SLC NAND identification regression

2012-10-10 Thread Brian Norris
On Tue, Oct 9, 2012 at 11:31 PM, David Woodhouse dw...@infradead.org wrote: On Tue, 2012-10-09 at 23:26 -0700, Brian Norris wrote: I have heuristically determined that all the chips that use the new table have ID strings which wrap around after the 6th byte. I'd be happier if we had

Re: [PATCH 3/3] ARM: integrator: use __iomem pointers for MMIO, part 2

2012-10-10 Thread Linus Walleij
On Tue, Oct 9, 2012 at 5:34 PM, Arnd Bergmann a...@arndb.de wrote: Due to some interesting merges in the integrator code, not all users of mmio pointers were converted before, this fixes all warnings that got introduced as a consequence. Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Linus

Re: [PATCH 2/9] ARM: export set_irq_flags

2012-10-10 Thread Linus Walleij
On Tue, Oct 9, 2012 at 5:22 PM, Arnd Bergmann a...@arndb.de wrote: The recently added Emma Mobile GPIO driver calls set_irq_flags and irq_set_chip_and_handler for the interrupts it exports and it can be built as a module, which currently fails with ERROR: set_irq_flags

Re: [PATCH] pinctrl: fix return value in bcm2835_pinctrl_probe()

2012-10-10 Thread Linus Walleij
On Sun, Oct 7, 2012 at 4:01 PM, Wei Yongjun weiyj...@gmail.com wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn In case of error, the function pinctrl_register() returns NULL not ERR_PTR(). The PTR_ERR() in the return value should be replaced with error no. dpatch engine is used to

Re: [PATCH] pinctrl: remove duplicated include from pinctrl-bcm2835.c

2012-10-10 Thread Linus Walleij
On Sun, Oct 7, 2012 at 3:28 PM, Wei Yongjun weiyj...@gmail.com wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn Remove duplicated include. dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn

Re: [PATCH] ARM: OMAP2+: gpmc: Fix kernel BUG for DT boot mode

2012-10-10 Thread Afzal Mohammed
On Tuesday 09 October 2012 02:27 PM, Vaibhav Hiremath wrote: This patch adds of_have_populated_dt() check before creating Signed-off-by: Vaibhav Hiremathhvaib...@ti.com Cc: Afzal Mohammedaf...@ti.com Reviewed-by: Afzal Mohammed af...@ti.com -- To unsubscribe from this list: send the line

[git pull] drm nouveau fixes

2012-10-10 Thread Dave Airlie
Hi Linus, just a bunch of nouveau fixes, Ben wants to get some alternate versions into stable. Dave. The following changes since commit 1f31c69dac71bebc0f00bc8534a6345782045501: Merge branch 'drm-intel-fixes' of git://people.freedesktop.org/~danvet/drm-intel into drm-next (2012-10-07

Re: [PATCH] extcon : register for cable interest by cable name

2012-10-10 Thread MyungJoo Ham
There are some scnearios where a driver/framework needs to register interest for a particular cable without specifying the extcon device name. One such scenario is charger notifications. The platform will have charger cabel which will be bound to any extcon device. It's not mandatory for the

RE: [PATCH 0/2] Convert davinci ASoC to genalloc SRAM

2012-10-10 Thread Kumar, Anil
On Thu, Oct 04, 2012 at 15:45:43, Porter, Matt wrote: This series converts davinci ASoC to use genalloc and enables that support on DA850. It applies on top of the uio_pruss/genalloc series [1] which allows DaVinci to provide a gen_pool via pdata for driver use. I've tested this on the

Re: [PATCH 2/4 v2] irqdomain: augment add_simple() to allocate descs

2012-10-10 Thread Linus Walleij
On Mon, Oct 1, 2012 at 2:11 PM, Rob Herring robherri...@gmail.com wrote: On 10/01/2012 02:35 AM, Linus Walleij wrote: From: Linus Walleij linus.wall...@linaro.org Currently we rely on all IRQ chip instances to dynamically allocate their IRQ descriptors unless they use the linear IRQ domain.

Re: [PATCH 0/2] Convert davinci ASoC to genalloc SRAM

2012-10-10 Thread Daniel Mack
On 10.10.2012 08:54, Kumar, Anil wrote: On Thu, Oct 04, 2012 at 15:45:43, Porter, Matt wrote: This series converts davinci ASoC to use genalloc and enables that support on DA850. It applies on top of the uio_pruss/genalloc series [1] which allows DaVinci to provide a gen_pool via pdata for

Re: [PATCH] IB/lmx4: silence GCC warning

2012-10-10 Thread Jack Morgenstein
You could use: u16 uninitialized_var(vlan); instead. Although this in the special QP data flow, I still prefer to avoid adding extra code (even setting initial values at procedure entry). The line above will also do the job. uninitialized_var is used elsewhere in the driver. See, for

Re: [PATCH v4 1/3] devfreq: Core updates to support devices which can idle

2012-10-10 Thread Rajagopal Venkat
On 8 October 2012 13:44, MyungJoo Ham myungjoo@samsung.com wrote: Prepare devfreq core framework to support devices which can idle. When device idleness is detected perhaps through runtime-pm, need some mechanism to suspend devfreq load monitoring and resume back when device is online.

Re: [PATCH v3] video: imxfb: Do not crash on reboot

2012-10-10 Thread Sascha Hauer
On Tue, Oct 09, 2012 at 10:32:21AM -0300, Fabio Estevam wrote: Issuing a reboot command after the LCD times out causes the following warnings: This happens because reboot triggers imxfb_shutdown(), which calls imxfb_disable_controller with the clocks already disabled. To prevent this, add

[RESEND PATCH v1 0/3] cpuidle: (pSeries) pseries idle driver fixes.

2012-10-10 Thread Deepthi Dharwar
The following series consists of a bunch of fixes for cpuidle back-end driver for ppc64 (pSeries) platform. The series applies on 3.6-rc7 and has been tested on ppc64 pSeries POWER7 system with snooze and nap states. With these fixes, avg idle residency for nap on 50 percent idle system

[RESEND PATCH v1 1/3] cpuidle: (POWER) Fix target residency initialisation in pseries cpuidle

2012-10-10 Thread Deepthi Dharwar
Remove the redundant target residency initialisation in pseries_cpuidle_driver_init(). This is currently over-writing the residency time updated as part of the static table, resulting in all the idle states having the same target residency of 100us which is incorrect. This may result in the menu

[RESEND PATCH v1 3/3] cpuidle: (POWER) Fix snooze state problem persistant in the current cpuidle design on pseries.

2012-10-10 Thread Deepthi Dharwar
Earlier without cpuidle framework on pseries, the native arch idle routine comprised of both snooze and nap states. smt_snooze_delay variable was used to delay the idle process entry to deeper idle state like nap. With the coming of cpuidle, this arch specific idle was replaced by two different

[RESEND PATCH v1 2/3] cpuidle: (POWER) Fix smt_snooze_delay functionality.

2012-10-10 Thread Deepthi Dharwar
smt_snooze_delay was designed to delay idle loop's nap entry in the native idle code before it got ported over to use as part of the cpuidle framework. A -ve value assigned to smt_snooze_delay should result in busy looping, in other words disabling the entry to nap state. -

Re: [git pull] IOMMU Updates for v3.7-rc1

2012-10-10 Thread Joerg Roedel
Hi Andrew, On Tue, Oct 09, 2012 at 10:45:32PM +0100, Andrew Oakley wrote: On Fri, 5 Oct 2012 17:23:12 +0200 Joerg Roedel joro-zlv9swrftaidnm+yrof...@public.gmane.org wrote: ACPI: Core revision 20120711 ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 Kernel panic - not syncing: timer

Re: [PATCH for 3.7] mtd: nand: fix Samsung SLC NAND identification regression

2012-10-10 Thread David Woodhouse
On Tue, 2012-10-09 at 23:39 -0700, Brian Norris wrote: I can see if that's possible, but I think it's unlikely. They don't even bother following standards (ONFI). Is this an obstacle to merging? No. I already pushed it. smime.p7s Description: S/MIME cryptographic signature

Re: [PATCH] pidns: remove recursion from free_pid_ns (v3)

2012-10-10 Thread Greg KH
On Tue, Oct 09, 2012 at 12:08:31PM -0700, Andrew Morton wrote: On Tue, 9 Oct 2012 12:03:00 -0700 Greg KH g...@kroah.com wrote: On Tue, Oct 09, 2012 at 11:48:21AM -0700, Andrew Morton wrote: On Sat, 6 Oct 2012 23:56:33 +0400 Andrew Vagin ava...@openvz.org wrote: Here is a stack

Re: [PATCH 3/3] mfd: tps6586x: implement gpio_to_irq

2012-10-10 Thread Linus Walleij
On Mon, Oct 8, 2012 at 6:13 PM, Laxman Dewangan ldewan...@nvidia.com wrote: The TPS6586x adds the interrupt of this device using linear mapping on irq domain. Hence, implement gpio_to_irq to get the irq number corresponding to TPS6586x GPIOs which is created dynamically. Signed-off-by:

[PATCH v3 0/2] Reset PCIe devices to address DMA problem on kdump with iommu

2012-10-10 Thread Takao Indoh
These patches reset PCIe devices at boot time to address DMA problem on kdump with iommu. When reset_devices is specified, a hot reset is triggered on each PCIe root port and downstream port to reset its downstream endpoint. Background: A kdump problem about DMA has been discussed for a long

[PATCH v3 1/2] x86, pci: Reset PCIe devices at boot time

2012-10-10 Thread Takao Indoh
This patch resets PCIe devices at boot time by hot reset when reset_devices is specified. Signed-off-by: Takao Indoh indou.ta...@jp.fujitsu.com --- arch/x86/include/asm/pci-direct.h |1 arch/x86/kernel/setup.c |3 arch/x86/pci/early.c | 299

[PATCH v3 2/2] x86, pci: Enable PCI INTx when MSI is disabled

2012-10-10 Thread Takao Indoh
This patch enables INTx if MSI is disabled in pcibios_enable_device(). In normal case interrupt disable bit in command register is 0b on boot time, but in case of kdump, this bit may be 1b. It causes problems of some drivers. At leaset I confirmed mptsas driver does not work in such a case. This

Re: [PATCH] pinctrl: sirf: remove sirfsoc_gpio_set_pull function

2012-10-10 Thread Linus Walleij
On Tue, Oct 9, 2012 at 5:35 PM, Arnd Bergmann a...@arndb.de wrote: The prima2 platform advertises needing no mach/gpio.h header file, but its pinctrl driver now has a sirfsoc_gpio_set_pull function that uses constants defined in arch/arm/mach-prima2/include/mach/gpio.h, which fails to build.

Re: hot-added cpu is not asiggned to the correct node

2012-10-10 Thread Wen Congyang
At 09/12/2012 01:33 PM, Yasuaki Ishimatsu Wrote: When I hot-added CPUs and memories simultaneously using container driver, all the hot-added CPUs were mistakenly assigned to node0. The reason is that we don't online the node when the cpu is hotadded. In current kernel, we online a node when:

Re: [Xen-devel] [PATCH 5/9] ARM: Xen: fix initial build problems:

2012-10-10 Thread Ian Campbell
On Tue, 2012-10-09 at 19:21 +0100, Arnd Bergmann wrote: On Tuesday 09 October 2012, Stefano Stabellini wrote: config XEN bool Xen guest support on ARM (EXPERIMENTAL) depends on EXPERIMENTAL ARM OF + depends on !CPU_V6 help Say Y if you want to

RE: [PATCH 00/16] f2fs: introduce flash-friendly file system

2012-10-10 Thread Vyacheslav Dubeyko
On Tue, 2012-10-09 at 16:08 +0900, Jaegeuk Kim wrote: -Original Message- From: Vyacheslav Dubeyko [mailto:sl...@dubeyko.com] Sent: Tuesday, October 09, 2012 4:23 AM To: Jaegeuk Kim Cc: 'Marco Stornelli'; 'Jaegeuk Kim'; 'Al Viro'; ty...@mit.edu; gre...@linuxfoundation.org;

Re: [PATCH 1/8] exofs: drop lock/unlock super

2012-10-10 Thread Marco Stornelli
2012/10/9 Al Viro v...@zeniv.linux.org.uk: On Tue, Oct 09, 2012 at 05:55:12PM +0200, Marco Stornelli wrote: Thanks Al. For me there aren't problems to push it via Al or via other trees. For example the patch for ext4 is in Ted's tree. You tell me what you want and I do it :) Um... Then I'd

RE: [PATCH 00/16] f2fs: introduce flash-friendly file system

2012-10-10 Thread Vyacheslav Dubeyko
On Tue, 2012-10-09 at 14:53 -0500, Jooyoung Hwang wrote: On Tue, 2012-10-09 at 16:08 +0900, Jaegeuk Kim wrote: -Original Message- From: Vyacheslav Dubeyko [mailto:sl...@dubeyko.com] Sent: Tuesday, October 09, 2012 4:23 AM To: Jaegeuk Kim Cc: 'Marco Stornelli'; 'Jaegeuk

Re: ODEBUG: free active (active state 0) object type: work_struct hint: flush_to_ldisc+0x0/0x1a0

2012-10-10 Thread Jiri Slaby
On 10/10/2012 06:26 AM, Dave Jones wrote: Just hit this.. That'd be me perhaps. Do you have some serial device connected? Or is it a pure terminals + ptys? Did you do something special? This very smells like tty_port is being freed while flushing work_struct is still active. WARNING: at

Re: [PATCH 00/16] f2fs: introduce flash-friendly file system

2012-10-10 Thread Theodore Ts'o
On Tue, Oct 09, 2012 at 01:01:24PM +0200, Lukáš Czerner wrote: Do not get me wrong, I do not think it is worth to wait for vendors to come to their senses, but it is worth constantly reminding that we *need* this kind of information and those heuristics are not feasible in the long run anyway.

Re: [PATCH v5] create sun sysfs file

2012-10-10 Thread Yasuaki Ishimatsu
Hi Len, How about v5 patch? Thanks, Yasuaki Ishimatsu 2012/10/09 15:49, Yasuaki Ishimatsu wrote: _SUN method provides the slot unique-ID in the ACPI namespace. And The value is written in Advanced Configuration and Power Interface Specification as follows: The _SUN value is required to

Re: [PATCH] mm: Fix XFS oops due to dirty pages without buffers on s390

2012-10-10 Thread Jan Kara
On Tue 09-10-12 19:19:09, Hugh Dickins wrote: On Tue, 9 Oct 2012, Jan Kara wrote: On Mon 08-10-12 21:24:40, Hugh Dickins wrote: On Mon, 1 Oct 2012, Jan Kara wrote: On s390 any write to a page (even from kernel itself) sets architecture specific page dirty bit. Thus when a page is

Re: [patch for-linus] memcg, kmem: fix build error when CONFIG_INET is disabled

2012-10-10 Thread Glauber Costa
On 10/10/2012 10:32 AM, David Rientjes wrote: Commit e1aab161e013 (socket: initial cgroup code.) causes a build error when CONFIG_INET is disabled in Linus' tree: unlikely that something that old would cause a build bug now, specially that commit, that actually wraps things inside

Re: [git pull] IOMMU Updates for v3.7-rc1

2012-10-10 Thread Andrew Oakley
On Wed, 10 Oct 2012 09:30:22 +0200 Joerg Roedel j...@8bytes.org wrote: Hi Andrew, On Tue, Oct 09, 2012 at 10:45:32PM +0100, Andrew Oakley wrote: On Fri, 5 Oct 2012 17:23:12 +0200 Joerg Roedel joro-zlv9swrftaidnm+yrof...@public.gmane.org wrote: ACPI: Core revision 20120711 ..TIMER:

Re: [PATCH 2/4] dmaengine: dw_dmac: add module alias

2012-10-10 Thread Andy Shevchenko
On Tue, 2012-10-02 at 14:41 +0300, Andy Shevchenko wrote: From: Heikki Krogerus heikki.kroge...@linux.intel.com It's good to have a quasistatic name for the platform driver. Please, do not push this one. It makes no sense now. Better we have it after a split. Signed-off-by: Heikki

Re: [PATCH 00/16] f2fs: introduce flash-friendly file system

2012-10-10 Thread Theodore Ts'o
On Tue, Oct 09, 2012 at 02:53:26PM -0500, Jooyoung Hwang wrote: I'd like you to refer to the following link as well which is about mobile workload pattern. http://www.cs.cmu.edu/~fuyaoz/courses/15712/report.pdf It's reported that in Android there are frequent issues of fsync and most of them

Re: [PATCH v4 08/14] res_counter: return amount of charges after res_counter_uncharge

2012-10-10 Thread Glauber Costa
On 10/09/2012 07:35 PM, Michal Hocko wrote: On Tue 09-10-12 19:14:57, Glauber Costa wrote: On 10/09/2012 07:08 PM, Michal Hocko wrote: As I have already mentioned in my previous feedback this is cetainly not atomic as you the lock protects only one group in the hierarchy. How is the return

Re: [PATCH 1/4] dmaengine: dw_dmac: use helper macro module_platform_driver()

2012-10-10 Thread Andy Shevchenko
On Tue, 2012-10-02 at 14:41 +0300, Andy Shevchenko wrote: From: Heikki Krogerus heikki.kroge...@linux.intel.com Since v3.2 we have nice macro to define the platform driver's init and exit calls. This patch simplifies the dw_dmac driver by using that macro. Actually we can't do this. It will

Re: [PATCH 1/4] dmaengine: dw_dmac: use helper macro module_platform_driver()

2012-10-10 Thread viresh kumar
On Wed, Oct 10, 2012 at 2:34 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: On Tue, 2012-10-02 at 14:41 +0300, Andy Shevchenko wrote: From: Heikki Krogerus heikki.kroge...@linux.intel.com Since v3.2 we have nice macro to define the platform driver's init and exit calls. This

Re: [PATCH] Do not use cpu_to_node() to find an offlined cpu's node.

2012-10-10 Thread Peter Zijlstra
On Tue, 2012-10-09 at 16:27 -0700, David Rientjes wrote: On Tue, 9 Oct 2012, Peter Zijlstra wrote: Well the code they were patching is in the wakeup path. As I think Tang said, we leave !runnable tasks on whatever cpu they ran on last, even if that cpu is offlined, we try and fix up state

Re: dtc: import latest upstream dtc

2012-10-10 Thread David Gibson
On Tue, Oct 09, 2012 at 10:43:50PM -0600, Warner Losh wrote: On Oct 9, 2012, at 6:04 PM, Scott Wood wrote: On 10/09/2012 06:20:53 PM, Mitch Bradley wrote: On 10/9/2012 11:16 AM, Stephen Warren wrote: On 10/01/2012 12:39 PM, Jon Loeliger wrote: What more do you think needs

[GIT PULL] s390 patches for the 3.7 merge window #2

2012-10-10 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: The big thing in this pull request is the UAPI patch from David, and worth mentioning is the page table dumper. The rest are

Re: [PATCH] pidns: remove recursion from free_pid_ns (v3)

2012-10-10 Thread Xiaotian Feng
On Wed, Oct 10, 2012 at 3:49 PM, Greg KH g...@kroah.com wrote: On Tue, Oct 09, 2012 at 12:08:31PM -0700, Andrew Morton wrote: On Tue, 9 Oct 2012 12:03:00 -0700 Greg KH g...@kroah.com wrote: On Tue, Oct 09, 2012 at 11:48:21AM -0700, Andrew Morton wrote: On Sat, 6 Oct 2012 23:56:33 +0400

Re: [Patch v2 2/7] Regulator: DA9055 Regulator driver

2012-10-10 Thread Ashish Jangam
On Wed, 2012-10-10 at 12:56 +0900, Mark Brown wrote: On Tue, Oct 09, 2012 at 04:30:16PM +0530, Ashish Jangam wrote: On Tue, 2012-10-09 at 15:37 +0530, Mark Brown wrote: On Mon, Oct 08, 2012 at 07:00:39PM +0530, Ashish Jangam wrote: + /* Set the GPIO I/P pin for

Re: [PATCH] [ARM] Use AT() in the linker script to create correct program headers

2012-10-10 Thread Dave Martin
On Tue, Oct 09, 2012 at 11:37:06AM -0600, Jason Gunthorpe wrote: On Mon, Oct 08, 2012 at 11:24:13AM +0100, Dave Martin wrote: Partly this came from some side speculation about whether we could do things like privileged read-only permissions on newer CPUs, for preventing unintended or

Re: [PATCH] pidns: remove recursion from free_pid_ns (v3)

2012-10-10 Thread Xiaotian Feng
On Wed, Oct 10, 2012 at 5:12 PM, Xiaotian Feng xtf...@gmail.com wrote: On Wed, Oct 10, 2012 at 3:49 PM, Greg KH g...@kroah.com wrote: On Tue, Oct 09, 2012 at 12:08:31PM -0700, Andrew Morton wrote: On Tue, 9 Oct 2012 12:03:00 -0700 Greg KH g...@kroah.com wrote: On Tue, Oct 09, 2012 at

Re: [PATCH 1/4] dmaengine: dw_dmac: use helper macro module_platform_driver()

2012-10-10 Thread Andy Shevchenko
On Wed, Oct 10, 2012 at 12:08 PM, viresh kumar viresh.ku...@linaro.org wrote: On Wed, Oct 10, 2012 at 2:34 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: On Tue, 2012-10-02 at 14:41 +0300, Andy Shevchenko wrote: From: Heikki Krogerus heikki.kroge...@linux.intel.com Since v3.2

Re: [PATCH] pidns: remove recursion from free_pid_ns (v3)

2012-10-10 Thread Cyrill Gorcunov
On Wed, Oct 10, 2012 at 05:12:21PM +0800, Xiaotian Feng wrote: Is a kref even the correct thing here? Can we fix this by this way? free_pid_ns just release ns itself, we check the return value of kref_put, if kref_put returns 1, means ns-kref is removed, then we kref_put(ns-parent).

Re: [PATCH 1/4] dmaengine: dw_dmac: use helper macro module_platform_driver()

2012-10-10 Thread Viresh Kumar
On 10 October 2012 14:51, Andy Shevchenko andy.shevche...@gmail.com wrote: We have spi, i2c and hsuart devices connected to the DMA controller. In case we would like to use DMA we have to have the dw_dmac loaded before them. Currently we have spi driver on subsys_initcall level, and Mika, who

Re: [patch for-linus] memcg, kmem: fix build error when CONFIG_INET is disabled

2012-10-10 Thread Michal Hocko
On Wed 10-10-12 12:56:26, Glauber Costa wrote: On 10/10/2012 10:32 AM, David Rientjes wrote: Commit e1aab161e013 (socket: initial cgroup code.) causes a build error when CONFIG_INET is disabled in Linus' tree: unlikely that something that old would cause a build bug now, specially that

Re: [patch for-linus] memcg, kmem: fix build error when CONFIG_INET is disabled

2012-10-10 Thread Michal Hocko
On Tue 09-10-12 23:32:35, David Rientjes wrote: Commit e1aab161e013 (socket: initial cgroup code.) causes a build error when CONFIG_INET is disabled in Linus' tree: net/built-in.o: In function `sk_update_clone': net/core/sock.c:1336: undefined reference to `sock_update_memcg'

Re: [PATCH] Do not use cpu_to_node() to find an offlined cpu's node.

2012-10-10 Thread Wen Congyang
At 10/10/2012 05:10 PM, Peter Zijlstra Wrote: On Tue, 2012-10-09 at 16:27 -0700, David Rientjes wrote: On Tue, 9 Oct 2012, Peter Zijlstra wrote: Well the code they were patching is in the wakeup path. As I think Tang said, we leave !runnable tasks on whatever cpu they ran on last, even if

Re: [patch for-linus] memcg, kmem: fix build error when CONFIG_INET is disabled

2012-10-10 Thread Glauber Costa
On 10/10/2012 01:27 PM, Michal Hocko wrote: On Wed 10-10-12 12:56:26, Glauber Costa wrote: On 10/10/2012 10:32 AM, David Rientjes wrote: Commit e1aab161e013 (socket: initial cgroup code.) causes a build error when CONFIG_INET is disabled in Linus' tree: unlikely that something that old

RE: [PATCH 00/16] f2fs: introduce flash-friendly file system

2012-10-10 Thread Jaegeuk Kim
[snip] How about the following scenario? 1. data a is newly written. 2. checkpoint A is done. 3. data a is truncated. 4. checkpoint B is done. If fs supports multiple snapshots like A and B to users, it cannot reuse the space allocated by data a after checkpoint B even though

Re: [Xen-devel] [PATCH 5/9] ARM: Xen: fix initial build problems:

2012-10-10 Thread Ian Campbell
On Tue, 2012-10-09 at 19:19 +0100, Arnd Bergmann wrote: On Tuesday 09 October 2012, Ian Campbell wrote: On Tue, 2012-10-09 at 16:39 +0100, Arnd Bergmann wrote: On Tuesday 09 October 2012, Ian Campbell wrote: * The tmem hypercall is not available on ARM * ARMv6 does not

Re: [PATCH 2/2] Drivers: hv: Add Hyper-V balloon driver

2012-10-10 Thread Avi Kivity
On 10/09/2012 09:44 PM, Andrew Morton wrote: On Sun, 7 Oct 2012 16:59:46 -0700 K. Y. Srinivasan k...@microsoft.com wrote: Add the basic balloon driver. hm, how many balloon drivers does one kernel need? Although I see that the great majority of this code is hypervisor-specific. Much

Re: [PATCH] Do not use cpu_to_node() to find an offlined cpu's node.

2012-10-10 Thread Peter Zijlstra
On Wed, 2012-10-10 at 17:33 +0800, Wen Congyang wrote: Hmm, if per-cpu memory is preserved, and we can't offline and remove this memory. So we can't offline the node. But, if the node is hot added, and per-cpu memory doesn't use the memory on this node. We can hotremove cpu/memory on this

Re: [PATCH] [ARM] Use AT() in the linker script to create correct program headers

2012-10-10 Thread Dave Martin
On Tue, Oct 09, 2012 at 12:25:14PM -0600, Jason Gunthorpe wrote: On Mon, Oct 08, 2012 at 11:46:49AM +0100, Dave Martin wrote: Yes, but we still need rely on complex code like I2C/MTD to create a correct DTB, which again puts us back to patching the kernel for that functionality.

Re: [PATCH] USB: usb-skeleton.c: fix compilation error and restore kref_put on fail in skel_open

2012-10-10 Thread Oliver Neukum
On Sunday 07 October 2012 11:57:12 Constantine Shulyupin wrote: From: Constantine Shulyupin co...@makelinux.com Function skel_open increments usage count for the device with kref_get and the usage count should be decremented on the function failure. Some last changes in function skel_open

RE: [PATCH 0/2] Convert davinci ASoC to genalloc SRAM

2012-10-10 Thread Kumar, Anil
On Wed, Oct 10, 2012 at 12:34:47, Daniel Mack wrote: On 10.10.2012 08:54, Kumar, Anil wrote: On Thu, Oct 04, 2012 at 15:45:43, Porter, Matt wrote: This series converts davinci ASoC to use genalloc and enables that support on DA850. It applies on top of the uio_pruss/genalloc series [1]

Re: Proposal for virtio standardization.

2012-10-10 Thread Rusty Russell
Cornelia Huck cornelia.h...@de.ibm.com writes: On Thu, 27 Sep 2012 09:59:33 +0930 Rusty Russell ru...@rustcorp.com.au wrote: 3) Various clarifications, formalizations and cleanups to the spec text, and possibly elimination of old deprecated features. 4) The only significant change to the

Re: [GIT PULL] Asymmetric keys and module signing

2012-10-10 Thread Rusty Russell
Kasatkin, Dmitry dmitry.kasat...@intel.com writes: http://git.kernel.org/?p=linux/kernel/git/rusty/linux.git;a=commit;h=a15e196c5543d1d2d7f0cd70e62351aeb1f8b871 It breaks bisect.. CC kernel/module_signing.o kernel/module_signing.c: In function ‘mod_verify_sig’:

[PULL] modules

2012-10-10 Thread Rusty Russell
The following changes since commit 925a6f0bf8bd122d5d2429af7f0ca0fecf4ae71f: Merge tag 'hwspinlock-3.6-fix' of git://git.kernel.org/pub/scm/linux/kernel/git/ohad/hwspinlock (2012-09-18 11:58:54 -0700) are available in the git repository at:

Re: [PATCH 0/2] Convert davinci ASoC to genalloc SRAM

2012-10-10 Thread Daniel Mack
On 10.10.2012 11:59, Kumar, Anil wrote: On Wed, Oct 10, 2012 at 12:34:47, Daniel Mack wrote: On 10.10.2012 08:54, Kumar, Anil wrote: On Thu, Oct 04, 2012 at 15:45:43, Porter, Matt wrote: This series converts davinci ASoC to use genalloc and enables that support on DA850. It applies on top of

Re: [PATCH] Do not use cpu_to_node() to find an offlined cpu's node.

2012-10-10 Thread Wen Congyang
At 10/10/2012 05:51 PM, Peter Zijlstra Wrote: On Wed, 2012-10-10 at 17:33 +0800, Wen Congyang wrote: Hmm, if per-cpu memory is preserved, and we can't offline and remove this memory. So we can't offline the node. But, if the node is hot added, and per-cpu memory doesn't use the memory on

Re: [PATCH] Do not use cpu_to_node() to find an offlined cpu's node.

2012-10-10 Thread Peter Zijlstra
On Wed, 2012-10-10 at 18:10 +0800, Wen Congyang wrote: I use ./scripts/get_maintainer.pl, and it doesn't tell me that I should cc you when I post that patch. That script doesn't look at all usage sites of the code you modify does it? You need to audit the entire tree for usage of the

[RFC v3 01/13] btrfs: add one new mount option '-o hot_track'

2012-10-10 Thread zwu . kernel
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Introduce one new mount option '-o hot_track', and add its parsing support. Its usage looks like: mount -o hot_track mount -o nouser,hot_track mount -o nouser,hot_track,loop mount -o hot_track,nouser Signed-off-by: Zhi Yong Wu

[RFC v3 03/13] vfs: Initialize and free main data structures

2012-10-10 Thread zwu . kernel
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Add initialization function to create some key data structures when hot tracking is enabled; Clean up them when hot tracking is disabled Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- fs/btrfs/super.c |8 +++

[RFC v3 02/13] vfs: introduce private radix tree structures

2012-10-10 Thread zwu . kernel
From: Zhi Yong Wu wu...@linux.vnet.ibm.com One root structure hot_info is defined, is hooked up in super_block, and will be used to hold radix tree root, hash list root and some other information, etc. Adds hot_inode_tree struct to keep track of frequently accessed files, and be keyed by

[RFC v3 06/13] vfs: add hooks to enable hot data tracking

2012-10-10 Thread zwu . kernel
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Miscellaneous features that implement hot data tracking and generally make the hot data functions a bit more friendly. Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- fs/direct-io.c |8 fs/hot_tracking.h |5 +

[RFC v3 08/13] vfs: add aging function for old map info

2012-10-10 Thread zwu . kernel
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- fs/hot_tracking.c | 57 + fs/hot_tracking.h |6 + 2 files changed, 63 insertions(+), 0 deletions(-) diff --git a/fs/hot_tracking.c

[RFC v3 10/13] vfs: register one memory shrinker

2012-10-10 Thread zwu . kernel
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Register a shrinker to control the amount of memory that is used in tracking hot regions - if we are throwing inodes out of memory due to memory pressure, we most definitely are going to need to reduce the amount of memory the tracking code is using,

[RFC v3 12/13] vfs: add debugfs support

2012-10-10 Thread zwu . kernel
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Add a /sys/kernel/debug/hot_track/device_name/ directory for each volume that contains two files. The first, `inode_data', contains the heat information for inodes that have been brought into the hot data map structures. The second, `range_data',

[RFC v3 07/13] vfs: add function for updating map arrays

2012-10-10 Thread zwu . kernel
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- fs/hot_tracking.c | 153 + fs/hot_tracking.h | 60 + 2 files changed, 213 insertions(+), 0 deletions(-) diff --git

[RFC v3 11/13] vfs: add 3 new ioctl interfaces

2012-10-10 Thread zwu . kernel
From: Zhi Yong Wu wu...@linux.vnet.ibm.com FS_IOC_GET_HEAT_INFO: return a struct containing the various metrics collected in btrfs_freq_data structs, and also return a calculated data temperature based on those metrics. Optionally, retrieve the temperature from the hot data hash list instead of

[RFC v3 09/13] vfs: add one wq to update map info periodically

2012-10-10 Thread zwu . kernel
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Add a per-superblock workqueue and a work_struct to run periodic work to update map info on each superblock. Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- fs/hot_tracking.c| 94 ++

[RFC v3 13/13] vfs: add documentation

2012-10-10 Thread zwu . kernel
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- Documentation/filesystems/00-INDEX |2 + Documentation/filesystems/hot_tracking.txt | 165 2 files changed, 167 insertions(+), 0 deletions(-) create mode

[RFC v3 04/13] vfs: add function for collecting raw access info

2012-10-10 Thread zwu . kernel
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Add some utils helpers to update access frequencies for one file or its range. Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- fs/hot_tracking.c| 190 ++ fs/hot_tracking.h| 12

[RFC v3 05/13] vfs: add two map arrays

2012-10-10 Thread zwu . kernel
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Adds two map arrays which contains a lot of list and is used to efficiently look up the data temperature of a file or its ranges. In each list of map arrays, the array node will keep track of temperature info. Signed-off-by: Zhi Yong Wu

RE: X9SCM-F/82574L/e1000e lag / high latency (e1000e/Intel bug)

2012-10-10 Thread Justin Piszcz
-Original Message- From: Justin Piszcz [mailto:jpis...@lucidpixels.com] Sent: Tuesday, October 09, 2012 6:15 PM To: linux-kernel@vger.kernel.org; e1000-de...@lists.sf.net Cc: supp...@supermicro.com; a...@solarrain.com Subject: X9SCM-F/82574L/e1000e lag / high latency (e1000e/Intel bug)

[RFC v3 00/13] vfs: hot data tracking

2012-10-10 Thread zwu . kernel
From: Zhi Yong Wu wu...@linux.vnet.ibm.com NOTE: The patchset is currently post out mainly to make sure it is going in the correct direction and hope to get some helpful comments from other guys. For more infomation, please check hot_tracking.txt in Documentation TODO List: 1.) Need to do

Re: [RFC PATCH 06/10] ARM: sched: Use device-tree to provide fast/slow CPU list for HMP

2012-10-10 Thread Morten Rasmussen
On Thu, Oct 04, 2012 at 07:49:32AM +0100, Viresh Kumar wrote: On 22 September 2012 00:02, morten.rasmus...@arm.com wrote: From: Morten Rasmussen morten.rasmus...@arm.com We can't rely on Kconfig options to set the fast and slow CPU lists for HMP scheduling if we want a single kernel

[PATCH] pidns: limit a size of pid to one page

2012-10-10 Thread Andrew Vagin
A size of pid depends on a level of pidns and now a level of pidns is not limited, so it can be more than one page. Looks reasonable, that it should be limited to a page size. On x86_64 it will allow to create 125 nested pid namespaces. I don't know a usecase for which, it will be not enough.

[PATCH v2] USB: usb-skeleton.c: fix compilation error and restore kref_put on fail in skel_open

2012-10-10 Thread Constantine Shulyupin
From: Constantine Shulyupin co...@makelinux.com Function skel_open increments usage count for the device with kref_get and the usage count should be decremented on the function failure. Some last changes in function skel_open and finally commit 52a7499 Revert USB: usb-skeleton.c: fix

Re: [PATCH v3] SUNRPC: set desired file system root before connecting local transports

2012-10-10 Thread Stanislav Kinsbursky
10.10.2012 05:23, J. Bruce Fields пишет: On Tue, Oct 09, 2012 at 03:47:42PM -0700, Eric W. Biederman wrote: J. Bruce Fields bfie...@fieldses.org writes: On Tue, Oct 09, 2012 at 01:20:48PM -0700, Eric W. Biederman wrote: Myklebust, Trond trond.mykleb...@netapp.com writes: On Tue, 2012-10-09

Re: [RFC PATCH 06/10] ARM: sched: Use device-tree to provide fast/slow CPU list for HMP

2012-10-10 Thread Viresh Kumar
On 10 October 2012 15:47, Morten Rasmussen morten.rasmus...@arm.com wrote: On Thu, Oct 04, 2012 at 07:49:32AM +0100, Viresh Kumar wrote: This patch is reuse of a patch by Jon Medhurst t...@linaro.org with a few bits left out. Then probably he must be the author of this commit? Also a SOB

[PATCH] Staging: winbond: wbusb: Fixed coding style issue

2012-10-10 Thread Adil Mujeeb
Removed unnecessary printk and pr_debug tracing calls Signed-off-by: Adil Mujeeb mujeeb.a...@gmail.com --- linux-3.6-rc7/drivers/staging/winbond/wbusb.c | 14 -- 1 files changed, 0 insertions(+), 14 deletions(-) diff --git a/linux-3.6-rc7/drivers/staging/winbond/wbusb.c

Re: [PATCH 00/16] f2fs: introduce flash-friendly file system

2012-10-10 Thread David Woodhouse
On Tue, 2012-10-09 at 10:31 +0200, Lukáš Czerner wrote: I am sorry but this reply makes me smile. How can you design a fs relying on time attack heuristics to figure out what the proper layout should be ? Or even endorse such heuristics to be used in mkfs ? What we should be focusing on is to

Re: [PATCH 1/3] x86, mm: Include the entire kernel memory map in trampoline_pgd

2012-10-10 Thread Matt Fleming
On Thu, 2012-10-04 at 11:01 +0100, Jan Beulich wrote: On 04.10.12 at 11:18, Matt Fleming matt.flem...@intel.com wrote: On Thu, 2012-10-04 at 07:32 +0100, Jan Beulich wrote: Btw., once this set of yours is in - will I need to resubmit the time handling patch that actually triggered this

Re: [PATCH for 3.7] mtd: nand: fix Samsung SLC NAND identification regression

2012-10-10 Thread Marek Vasut
Dear David Woodhouse, On Tue, 2012-10-09 at 23:39 -0700, Brian Norris wrote: I can see if that's possible, but I think it's unlikely. They don't even bother following standards (ONFI). Is this an obstacle to merging? No. I already pushed it. Thanks guys! Best regards, Marek Vasut --

Re: [PATCH] Staging: winbond: wbusb: Fixed coding style issue

2012-10-10 Thread Pavel Machek
On Wed 2012-10-10 16:05:29, Adil Mujeeb wrote: Removed unnecessary printk and pr_debug tracing calls Signed-off-by: Adil Mujeeb mujeeb.a...@gmail.com ACK. -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

  1   2   3   4   5   6   7   8   9   10   >