Re: [PATCH v2 0/3] move slabinfo processing to common code

2012-10-19 Thread Glauber Costa
On 09/28/2012 07:03 PM, Glauber Costa wrote: Hi, This patch moves on with the slab caches commonization, by moving the slabinfo processing to common code in slab_common.c. It only touches slub and slab, since slob doesn't create that file, which is protected by a Kconfig switch. Enjoy,

[PATCH 1/3] ARM: dts: Update board files for pwm support

2012-10-19 Thread Tony Prisk
This patch adds pwm support to arch-vt8500 board files, and adds the use-case of pwm-backlight. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- arch/arm/boot/dts/vt8500-bv07.dts |8 arch/arm/boot/dts/vt8500.dtsi | 29 +

Re: [PATCH 1/10] memory-hotplug : check whether memory is offline or not when removing memory

2012-10-19 Thread Wen Congyang
At 10/06/2012 03:27 AM, KOSAKI Motohiro Wrote: On Thu, Oct 4, 2012 at 10:25 PM, Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com wrote: When calling remove_memory(), the memory should be offline. If the function is used to online memory, kernel panic may occur. So the patch checks whether

[PATCH 2/3] PWM: vt8500: Update vt8500 PWM driver support

2012-10-19 Thread Tony Prisk
This patch updates pwm-vt8500.c to support devicetree probing and make use of the common clock subsystem. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/pwm/pwm-vt8500.c | 79 ++ 1 file changed, 51 insertions(+), 28 deletions(-) diff

[PATCH v3 resend] USB: PHY: Re-organize Tegra USB PHY driver

2012-10-19 Thread Venu Byravarasu
NVIDIA produces several Tegra SoCs viz Tegra20, Tegra30 etc. In order to support USB PHY drivers on these SoCs, existing PHY driver is split into SoC agnostic common USB PHY driver and Tegra20-specific USB phy driver. This will facilitate easy addition and deletion of phy drivers for Tegra SoCs.

[PATCH 3/3] DOC: PWM: Adding binding document for via,vt8500-pwm

2012-10-19 Thread Tony Prisk
Add a binding document describing the PWM controller found on arch-vt8500 supported SoCs. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- .../devicetree/bindings/pwm/vt8500-pwm.txt | 17 + 1 file changed, 17 insertions(+) create mode 100644

Re: [PATCH v4] posix timers: allocate timer id per process

2012-10-19 Thread Eric Dumazet
On Fri, 2012-10-19 at 13:38 +0400, Stanislav Kinsbursky wrote: 19.10.2012 11:56, Eric Dumazet пишет: I wonder if some applications relied on our idr, assuming they would get low values for their timer id. (We could imagine some applications use a table indexed by the timer id) Hmm.

[PATCH] arm/dts: am33xx rtc node

2012-10-19 Thread Afzal Mohammed
add am33xx rtc node. Signed-off-by: Afzal Mohammed af...@ti.com --- Based on v3.7-rc1, Dependent on series rtc: omap dt support (for am33xx), (https://lkml.org/lkml/2012/10/19/163) Tested on Beagle Bone. arch/arm/boot/dts/am33xx.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git

[PATCH 1/4 v2] gpio/tc3589x: convert to use the simple irqdomain

2012-10-19 Thread Linus Walleij
The special checks for whether we have a base IRQ offset or not is surplus if we use the simple IRQ domain. The IRQ offset zero will be interpreted as a linear domain case. Plus this makes sure we allocate descriptors where need be, or warn if they are preallocated with SPARSE_IRQ. Cc: Grant

[PATCH 2/4 v2] gpio/em: convert to linear IRQ domain

2012-10-19 Thread Linus Walleij
The code in the em driver seems to want to try to do the job of the linear IRQ domain (allocate descriptors and grab a virtual range). So why not just use the linear IRQ domain? The code is now cut down so we don't need isolated functions for this. Also note that we use irq_create_mapping() to

[PATCH 3/4 v2] gpio/mvebu: convert to use irq_domain_add_simple()

2012-10-19 Thread Linus Walleij
The MVEBU driver probably just wants a few IRQs. Using the simple domain has the upside of allocating IRQ descriptors if need be, especially in a SPARSE_IRQ environment. Cc: Rob Herring rob.herr...@calxeda.com Cc: Grant Likely grant.lik...@secretlab.ca Cc: Thomas Petazzoni

[PATCH 4/4 v2] gpio/tegra: convert to use linear irqdomain

2012-10-19 Thread Linus Walleij
The Tegra driver tries to do the work of irq_domain_add_linear() by reserving a bunch of descriptors somewhere and keeping track of the base offset, then calling irq_domain_add_legacy(). Let's stop doing that and simply use the linear IRQ domain. For this to work: use irq_create_mapping() in the

RE: [PATCH] arm/dts: am33xx rtc node

2012-10-19 Thread Mohammed, Afzal
+ linux-omap and Daniel On Fri, Oct 19, 2012 at 16:20:21, Mohammed, Afzal wrote: add am33xx rtc node. Signed-off-by: Afzal Mohammed af...@ti.com --- Based on v3.7-rc1, Dependent on series rtc: omap dt support (for am33xx), (https://lkml.org/lkml/2012/10/19/163) Tested on Beagle Bone.

[PATCH] mm: Simplify for_each_populated_zone()

2012-10-19 Thread Srivatsa S. Bhat
Move the check for populated_zone() to the control statement of the 'for' loop and get rid of the odd looking if/else block. Signed-off-by: Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com --- include/linux/mmzone.h |7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git

Re: [PATCH 4/6] cgroups: forbid pre_destroy callback to fail

2012-10-19 Thread Michal Hocko
On Fri 19-10-12 17:33:18, Li Zefan wrote: On 2012/10/17 21:30, Michal Hocko wrote: Now that mem_cgroup_pre_destroy callback doesn't fail finally we can safely move on and forbit all the callbacks to fail. The last missing piece is moving cgroup_call_pre_destroy after cgroup_clear_css_refs

Re: [RFC PATCH v3 00/16] DMA Engine support for AM33XX

2012-10-19 Thread Matt Porter
On Fri, Oct 19, 2012 at 10:26:20AM +, Bedia, Vaibhav wrote: Hi Matt, On Thu, Oct 18, 2012 at 18:56:39, Porter, Matt wrote: Changes since v2: - Rebased on 3.7-rc1 - Fixed bug in DT/pdata parsing first found by Gururaja that turned out to be masked by some toolchains

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

2012-10-19 Thread Peter Zijlstra
On Wed, 2012-10-17 at 20:29 -0700, David Rientjes wrote: Ok, thanks for the update. I agree that we should be clearing the mapping at node hot-remove since any cpu that would subsequently get onlined and assume one of the previous cpu's ids is not guaranteed to have the same affinity.

Re: RFC: sign the modules at install time

2012-10-19 Thread David Howells
Rusty Russell ru...@rustcorp.com.au wrote: (Side note: I hope people realize that the random key is generated with a 100-year lifespan. So if you build a kernel today, you do potentially have a year-2112 problem. I'm not horribly worried, but I *am* a bit worried about 32-bit time_t

Re: RFC: sign the modules at install time

2012-10-19 Thread David Howells
Stephen Rothwell s...@canb.auug.org.au wrote: So, this still generates the keys during the normal build, right? That would be a problem for build servers that have limited randomness available to them, I think. openssl uses /dev/urandom (unlike gpg), so that's less of a problem. David -- To

[PATCH 1/1] HID: microsoft, fix invalid rdesc for 3k kbd

2012-10-19 Thread Jiri Slaby
Microsoft Digital Media Keyboard 3000 has two interfaces, and the second one has a report descriptor with a bug. The second collection says: 05 01 -- global; usage page -- 01 -- Generic Desktop Controls 09 80 -- local; usage -- 80 -- System Control a1 01 -- main; collection -- 01 -- application

Re: [PATCH v2] arm/dts: AM33XX: Add SPI device tree data

2012-10-19 Thread Matt Porter
On Fri, Oct 19, 2012 at 10:24:15AM +0200, Benoit Cousson wrote: Hi Avinash, This look good to me except the: status = disabled. The disabled should be reserved for variant that does not contain the IP. Is it the case here? http://comments.gmane.org/gmane.linux.drivers.devicetree/18968 is

Re: RFC: sign the modules at install time

2012-10-19 Thread Stephen Rothwell
Hi David, On Fri, 19 Oct 2012 12:25:23 +0100 David Howells dhowe...@redhat.com wrote: Stephen Rothwell s...@canb.auug.org.au wrote: So, this still generates the keys during the normal build, right? That would be a problem for build servers that have limited randomness available to

Re: [PATCH 1/4] module: add syscall to load module from fd

2012-10-19 Thread Alon Ziv
H. Peter Anvin hpa at zytor.com writes: It is a bit more indirect, but also in practice it's a bit trickier than that. We need to ensure the memory doesn't change underneath us and stays attached to that fd. I can easily see that code slipping and ending in an exploit. But that may

Re: RFC: sign the modules at install time

2012-10-19 Thread Alexander Holler
Am 19.10.2012 13:25, schrieb David Howells: Stephen Rothwell s...@canb.auug.org.au wrote: So, this still generates the keys during the normal build, right? That would be a problem for build servers that have limited randomness available to them, I think. openssl uses /dev/urandom (unlike

Re: [PATCH 2/2] rename NUMA fault handling functions

2012-10-19 Thread Peter Zijlstra
On Thu, 2012-10-18 at 17:20 -0400, Rik van Riel wrote: Having the function name indicate what the function is used for makes the code a little easier to read. Furthermore, the fault handling code largely consists of do__page functions. I don't much care either way, but I was thinking

Re: [PATCH 1/2] add credits for NUMA placement

2012-10-19 Thread Peter Zijlstra
On Thu, 2012-10-18 at 17:19 -0400, Rik van Riel wrote: The NUMA placement code has been rewritten several times, but the basic ideas took a lot of work to develop. The people who put in the work deserve credit for it. Thanks Andrea Peter :) The Documentation/scheduler/numa-problem.txt file

Re: RFC: sign the modules at install time

2012-10-19 Thread Josh Boyer
On Thu, Oct 18, 2012 at 8:48 PM, Rusty Russell ru...@rustcorp.com.au wrote: Josh Boyer jwbo...@gmail.com writes: It might even be able to be moved entirely into scripts/Makefile.modinst but I haven't gotten that far yet. Thanks, I'll add this. Excellent. Note it was word-wrapped here

Re: [PATCH] x86/dt: use linear irq domain for ioapic(s).

2012-10-19 Thread Florian Fainelli
Sebastian Andrzej Siewior bigeasy at linutronix.de writes: No. You do have a compatible entry. It first appeared on the ce4100 CPU. If it happens to also work on the n450 then it seems to be compatible with that one. This is documented somewhere… Usually you add 'compatible = your cpu,

Re: RFC: sign the modules at install time

2012-10-19 Thread Josh Boyer
On Thu, Oct 18, 2012 at 9:16 PM, Rusty Russell ru...@rustcorp.com.au wrote: Josh Boyer jwbo...@gmail.com writes: On Thu, Oct 18, 2012 at 2:46 PM, Linus Torvalds torva...@linux-foundation.org wrote: On Wed, Oct 17, 2012 at 10:34 PM, Rusty Russell ru...@rustcorp.com.au wrote: Hacking the

Re: [PATCH RFC 02/15 v5] gpio: Add sysfs support to block GPIO API

2012-10-19 Thread Roland Stigge
On 10/19/2012 12:35 PM, Linus Walleij wrote: On Thu, Oct 18, 2012 at 12:07 PM, Roland Stigge sti...@antcom.de wrote: On 10/17/2012 09:05 PM, Greg KH wrote: +if (value != exported) { +if (value) +status = gpio_block_value_export(block); +else

[PATCH 0/3] x86: ce4100: various fixes

2012-10-19 Thread Florian Fainelli
Hi all, This patch serie contains shutdown/reboot fixes for the CE4100 platform as well as a PCI controller fix for devices without an interrupt line. Florian Fainelli (3): x86: ce4100: implement pm_poweroff x86: ce4100: force reboot method to be KBD x86: ce4100: fixup PCI configuration

[PATCH 1/3] x86: ce4100: implement pm_poweroff

2012-10-19 Thread Florian Fainelli
The CE4100 platform is currently missing a proper pm_poweroff implementation leading to poweroff making the CPU spin forever and the CE4100 platform does not enter a low-power mode where the external Power Management Unit can properly power off the system. Power off on this platform is implemented

[PATCH 2/3] x86: ce4100: force reboot method to be KBD

2012-10-19 Thread Florian Fainelli
From: Maxime Bizon mbi...@freebox.fr The default reboot is via ACPI for this platform, and the CEFDK bootloader actually supports this, but will issue a system power off instead of a real reboot. Setting the reboot method to be KBD instead of ACPI ensures proper system reboot. Signed-off-by:

[PATCH 3/3] x86: ce4100: fixup PCI configuration register access for devices without interrupts

2012-10-19 Thread Florian Fainelli
From: Maxime Bizon mbi...@freebox.fr Some CE4100 devices such as the: - DFX module (01:0b.7) - entertainment encryption device (01:10.0) - multimedia controller (01:12.0) do not have a device interrupt at all. This patch fixes the PCI controller code to declare the missing PCI configuration

[3.6.2] oops @ opteron server: mgag200 Fatal error during GPU init

2012-10-19 Thread Paweł Sikora
Hi, on the new opteron server i'm observing an oops during matrox video initialization. here's the dmesg from pure 3.6.2 kernel: [ 20.598985] [drm] Initialized drm 1.1.0 20060810 [ 20.642302] [drm:mga_vram_init] *ERROR* can't reserve VRAM [ 20.642307] mgag200 :01:04.0: Fatal error

[PATCH] pstore/ram: fix undefined usage of rounddown_pow_of_two.

2012-10-19 Thread Florian Fainelli
From: Maxime Bizon mbi...@freebox.fr record_size / console_size / ftrace_size can be 0 (this is how you disable the feature), but rounddown_pow_of_two(0) is undefined. This problem has been present since commit 1894a253 (ramoops: Move to fs/pstore/ram.c). Signed-off-by: Maxime Bizon

[tip:numa/core] numa: Add credits for NUMA placement

2012-10-19 Thread tip-bot for Rik van Riel
Commit-ID: c1a305006e4dd428001852923c11806d754db9f1 Gitweb: http://git.kernel.org/tip/c1a305006e4dd428001852923c11806d754db9f1 Author: Rik van Riel r...@redhat.com AuthorDate: Thu, 18 Oct 2012 17:19:28 -0400 Committer: Ingo Molnar mi...@kernel.org CommitDate: Fri, 19 Oct 2012 13:45:48

RE: [RFC PATCH v3 00/16] DMA Engine support for AM33XX

2012-10-19 Thread Bedia, Vaibhav
On Fri, Oct 19, 2012 at 16:45:58, Porter, Matt wrote: On Fri, Oct 19, 2012 at 10:26:20AM +, Bedia, Vaibhav wrote: [...] I didn't see all the patches that you posted on edma-dmaengine-v3 but I do seem them on edma-dmaengine-am33xx-v3 branch. I see I referenced the wrong branch in the

Re: [PATCH] kconfig/menuconfig: use TAILQ instead of CIRCLEQ

2012-10-19 Thread Tetsuo Handa
Yann E. MORIN wrote: Some systems (eg. Cygwin, FreeBSD) are missing the CIRCLEQ macros. They were removed in Y2000 from FreeBSD: http://svnweb.freebsd.org/base?view=revisionrevision=70469 The reason was that TAILQ are perfectly capable of doing the exact same things:

Re: [PATCH 4/4] power/jz4740.c: Simplify exit of function

2012-10-19 Thread Lars-Peter Clausen
On 10/19/2012 01:41 AM, Marcos Paulo de Souza wrote: This commit simplifies the exit of probe function, by returning directly when it don't need to release any resources. Signed-off-by: Marcos Paulo de Souza marcos.souza@gmail.com Looks good, but I'd just fold the relevant parts in the

Re: [patch 15/16] sched: implement usage tracking

2012-10-19 Thread Vincent Guittot
Hi Paul, I think that you have forgot to reset .usage_avg_sum in the __sched_fork as it's already done for .runnable_avg_sum and .usage_avg_sum And it seems that this reset is not corrected in the latest version in your git repo:

[RFC] linux/time.h vs. sys/time.h mess (was [PATCH 1/2] [media] remove include/linux/dvb/dmx.h)

2012-10-19 Thread Laurent Pinchart
Hi Mauro, (CC'ing LKML) On Friday 19 October 2012 08:21:16 Mauro Carvalho Chehab wrote: Em Fri, 19 Oct 2012 07:43:11 -0300 Mauro Carvalho Chehab mche...@redhat.com escreveu: -#include linux/time.h -#include uapi/linux/dvb/dmx.h - -#endif /*_DVBDMX_H_*/ Just to not discard a valid

[PATCH] x86/efi: Fix oops caused by incorrect set_memory_uc() usage

2012-10-19 Thread Matt Fleming
From: Matt Fleming matt.flem...@intel.com Calling __pa() with an ioremap'd address is invalid. If we encounter an efi_memory_desc_t without EFI_MEMORY_WB set in -attribute we currently call set_memory_uc(), which in turn calls __pa() on a potentially ioremap'd address. On CONFIG_X86_32 this

Re: [PATCH 1/3] mm/slob: Drop usage of page-private for storing page-sized allocations

2012-10-19 Thread Ezequiel Garcia
On Thu, Oct 18, 2012 at 7:46 PM, David Rientjes rient...@google.com wrote: On Thu, 18 Oct 2012, Ezequiel Garcia wrote: This field was being used to store size allocation so it could be retrieved by ksize(). However, it is a bad practice to not mark a page as a slab page and then use fields

[PATCH v2 1/3] mm/slob: Drop usage of page-private for storing page-sized allocations

2012-10-19 Thread Ezequiel Garcia
This field was being used to store size allocation so it could be retrieved by ksize(). However, it is a bad practice to not mark a page as a slab page and then use fields for special purposes. There is no need to store the allocated size and ksize() can simply return PAGE_SIZE

[PATCH 2/3] mm/slob: Use object_size field in kmem_cache_size()

2012-10-19 Thread Ezequiel Garcia
Fields object_size and size are not the same: the latter might include slab metadata. Return object_size field in kmem_cache_size(). Also, improve trace accuracy by correctly tracing reported size. Cc: Christoph Lameter c...@linux-foundation.org Cc: Pekka Enberg penb...@kernel.org Cc: Matt

[PATCH v2 3/3] mm/sl[aou]b: Move common kmem_cache_size() to slab.h

2012-10-19 Thread Ezequiel Garcia
This function is identically defined in all three allocators and it's trivial to move it to slab.h Since now it's static, inline, header-defined function this patch also drops the EXPORT_SYMBOL tag. Cc: Christoph Lameter c...@linux-foundation.org Cc: Pekka Enberg penb...@kernel.org Cc: Matt

Re: [PATCH 1/2] brw_mutex: big read-write mutex

2012-10-19 Thread Peter Zijlstra
On Thu, 2012-10-18 at 15:28 -0400, Mikulas Patocka wrote: On Thu, 18 Oct 2012, Oleg Nesterov wrote: Ooooh. And I just noticed include/linux/percpu-rwsem.h which does something similar. Certainly it was not in my tree when I started this patch... percpu_down_write() doesn't allow

Re: [PATCH v2] arm/dts: AM33XX: Add SPI device tree data

2012-10-19 Thread Benoit Cousson
Hi Matt, On 10/19/2012 01:30 PM, Matt Porter wrote: On Fri, Oct 19, 2012 at 10:24:15AM +0200, Benoit Cousson wrote: Hi Avinash, This look good to me except the: status = disabled. The disabled should be reserved for variant that does not contain the IP. Is it the case here?

Re: [PATCH v2 3/3] lp8788-charger: fix wrong ADC conversion

2012-10-19 Thread Lars-Peter Clausen
On 10/19/2012 02:12 AM, Kim, Milo wrote: To get the battery voltage and temperature, IIO ADC functions are used. LP8788 ADC driver provides RAW and SCALE channel information. This patch fixes wrong ADC result. Patch v2. Use simple iio_read_channel_processed() function rather than

Re: MAX_LOCKDEP_ENTRIES too low (called from ioc_release_fn)

2012-10-19 Thread Peter Zijlstra
On Fri, 2012-10-19 at 01:21 -0400, Dave Jones wrote: Not sure why you are CC'ing a call site, rather than the maintainers of the code. Just looks like lockdep is using too small a static value. Though it is pretty darn large... You're right, it's a huge chunk of memory. It looks like

Re: [PATCH] pinctrl: reserve pins when states are activated

2012-10-19 Thread Linus Walleij
On Fri, Oct 19, 2012 at 1:33 AM, Stephen Warren swar...@wwwdotorg.org wrote: On 10/18/2012 04:01 AM, Linus Walleij wrote: This switches the way that pins are reserved for multiplexing: The conceptual change makes perfect sense to me. Thanks... diff --git a/drivers/pinctrl/pinmux.c

Re: [RESEND PATCH 2/4] asm-generic: io: don't perform swab during {in,out} string functions

2012-10-19 Thread Will Deacon
On Thu, Oct 18, 2012 at 06:48:16AM +0100, Geert Uytterhoeven wrote: On Thu, Oct 18, 2012 at 2:04 AM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: The sort story is that endianness is not a property of the IO port but of the information that transit through it. If you're just going

Re: [PATCH 2/2] Input: matrix-keypad - Add device tree support

2012-10-19 Thread Rob Herring
On 10/19/2012 02:06 AM, AnilKumar Ch wrote: Add device tree support to matrix keypad driver and usage details are added to device tree documentation. Driver was tested on AM335x EVM. Signed-off-by: AnilKumar Ch anilku...@ti.com --- .../devicetree/bindings/input/matrix-keypad.txt| 52

nfsd bugfixes for 3.7

2012-10-19 Thread J. Bruce Fields
Please pull nfsd bugfixes for 3.7 from the for-3.7 branch at: git://linux-nfs.org/~bfields/linux.git for-3.7 --b. Sasha Levin (1): SUNRPC: Prevent kernel stack corruption on long values of flush Trond Myklebust (1):

Re: [PATCH v2] epoll: Support for disabling items, and a self-test app.

2012-10-19 Thread Paolo Bonzini
Il 18/10/2012 20:05, Andy Lutomirski ha scritto: Unless something is rather buggy in kernel land (and I don't think it is), once EPOLL_CTL_DEL has returned, no call to epoll_wait that starts *after* EPOLL_CTL_DEL finishes will return that object. This suggests an RCU-like approach: once

[PATCH v2 2/3] virtio: 9p: correctly pass physical address to userspace for high pages

2012-10-19 Thread Will Deacon
When using a virtio transport, the 9p net device may pass the physical address of a kernel buffer to userspace via a scatterlist inside a virtqueue. If the kernel buffer is mapped outside of the linear mapping (e.g. highmem), then virt_to_page will return a bogus value and we will populate the

[PATCH v2 1/3] mm: highmem: export kmap_to_page for modules

2012-10-19 Thread Will Deacon
Some virtio device drivers (9p) need to translate high virtual addresses to physical addresses, which are inserted into the virtqueue for processing by userspace. This patch exports the kmap_to_page symbol, so that the affected drivers can be compiled as modules. Signed-off-by: Will Deacon

[PATCH v2 3/3] virtio: force vring descriptors to be allocated from lowmem

2012-10-19 Thread Will Deacon
Virtio devices may attempt to add descriptors to a virtqueue from atomic context using GFP_ATOMIC allocation. This is problematic because such allocations can fall outside of the lowmem mapping, causing virt_to_phys to report bogus physical addresses which are subsequently passed to userspace via

[PATCH v2] pinctrl: reserve pins when states are activated

2012-10-19 Thread Linus Walleij
From: Linus Walleij linus.wall...@linaro.org This switches the way that pins are reserved for multiplexing: We used to do this when the map was parsed, at the creation of the settings inside the pinctrl handle, in pinmux_map_to_setting(). However this does not work for us, because we want to

[RFC PATCH] init: Use the stringify operator for the __define_initcall macro

2012-10-19 Thread Matthew Leach
Currently the __define_initcall macro takes three arguments, fn, id and level. The level argument is exactly the same as the id argument but wrapped in quotes. To overcome this need to specify three arguments to the __define_initcall macro, where one argument is the stringification of another, we

Re: [PATCH 3/5] xen-pcifront: handle backend CLOSED without CLOSING

2012-10-19 Thread Konrad Rzeszutek Wilk
On Thu, Oct 18, 2012 at 11:03:36AM +0100, David Vrabel wrote: From: David Vrabel david.vra...@citrix.com Backend drivers shouldn't transistion to CLOSED unless the frontend is CLOSED. If a backend does transition to CLOSED too soon then the frontend may not see the CLOSING state and will

Re: [PATCH 4/5] xen-fbfront: handle backend CLOSED without CLOSING

2012-10-19 Thread Konrad Rzeszutek Wilk
On Thu, Oct 18, 2012 at 11:03:37AM +0100, David Vrabel wrote: From: David Vrabel david.vra...@citrix.com Backend drivers shouldn't transistion to CLOSED unless the frontend is CLOSED. If a backend does transition to CLOSED too soon then the frontend may not see the CLOSING state and will

Re: [PATCH 5/5] xen-kbdfront: handle backend CLOSED without CLOSING

2012-10-19 Thread Konrad Rzeszutek Wilk
On Thu, Oct 18, 2012 at 11:03:38AM +0100, David Vrabel wrote: From: David Vrabel david.vra...@citrix.com Backend drivers shouldn't transistion to CLOSED unless the frontend is CLOSED. If a backend does transition to CLOSED too soon then the frontend may not see the CLOSING state and will

Re: [PATCH 1/2] unicore32: switch to generic kernel_thread()/kernel_execve()

2012-10-19 Thread Al Viro
On Fri, Oct 19, 2012 at 04:43:09PM +0800, Guan Xuetao wrote: From: Al Viro v...@zeniv.linux.org.uk Signed-off-by: Al Viro v...@zeniv.linux.org.uk Acked-and-Tested-by: Guan Xuetao g...@mprc.pku.edu.cn You mean, it worked modulo obvious missing ')'? Wow... OK, merged into signal.git#for-next,

Re: [PATCH V3 1/6]: PVH: basic and header changes, elfnote changes, ...

2012-10-19 Thread Konrad Rzeszutek Wilk
On Wed, Oct 17, 2012 at 05:26:42PM -0700, Mukesh Rathor wrote: [PATCH 1/6] PVH: is a PV linux guest that has extended capabilities. This patch allows it to be configured and enabled. Also, basic header file changes to add new subcalls to physmap hypercall. Lastly, mfn_to_local_pfn must

Re: [PATCH 3/6] memcg: Simplify mem_cgroup_force_empty_list error handling

2012-10-19 Thread Michal Hocko
On Thu 18-10-12 15:16:54, Tejun Heo wrote: Hello, Michal. On Wed, Oct 17, 2012 at 03:30:45PM +0200, Michal Hocko wrote: mem_cgroup_force_empty_list currently tries to remove all pages from the given LRU. To prevent from temoporary failures (EBUSY returned by mem_cgroup_move_parent) it

Re: [PATCH 1/2] unicore32: switch to generic kernel_thread()/kernel_execve()

2012-10-19 Thread guanxuetao
On Fri, Oct 19, 2012 at 04:43:09PM +0800, Guan Xuetao wrote: From: Al Viro v...@zeniv.linux.org.uk Signed-off-by: Al Viro v...@zeniv.linux.org.uk Acked-and-Tested-by: Guan Xuetao g...@mprc.pku.edu.cn You mean, it worked modulo obvious missing ')'? Wow... OK, merged into

Re: [PATCH V3 1/6]: PVH: basic and header changes, elfnote changes, ...

2012-10-19 Thread Konrad Rzeszutek Wilk
+config XEN_X86_PVH + bool Support for running as a PVH guest (EXPERIMENTAL) + depends on X86_64 XEN EXPERIMENTAL + default n + help + This option enables support for running as a PVH guest (PV guest + using hardware extensions) under a suitably capable

[PATCH 1/2] ASoC: Ux500: Fixup complile errors due to merge

2012-10-19 Thread Ulf Hansson
From: Ulf Hansson ulf.hans...@linaro.org Likely during merge of the below commits ended up breaking compilation: ASoC: Ux500: Enable ux500 MSP driver for Device Tree ASoC: ux500_msp_i2s: better use devm functions and fix error return code Signed-off-by: Ulf Hansson ulf.hans...@linaro.org ---

[PATCH 2/2] ASoC: Ux500: Fixup compile error

2012-10-19 Thread Ulf Hansson
From: Ulf Hansson ulf.hans...@linaro.org The below commit introduced a compile error for a missing include file. ASoC: ux500_msp_i2s: better use devm functions and fix error return code Signed-off-by: Ulf Hansson ulf.hans...@linaro.org --- sound/soc/ux500/ux500_msp_i2s.c |1 + 1 file

Re: [PATCH RFC 1/2] kvm: Handle undercommitted guest case in PLE handler

2012-10-19 Thread Andrew Theurer
On Fri, 2012-10-19 at 14:00 +0530, Raghavendra K T wrote: On 10/15/2012 08:04 PM, Andrew Theurer wrote: On Mon, 2012-10-15 at 17:40 +0530, Raghavendra K T wrote: On 10/11/2012 01:06 AM, Andrew Theurer wrote: On Wed, 2012-10-10 at 23:24 +0530, Raghavendra K T wrote: On 10/10/2012 08:29 AM,

Re: [PATCH V3 5/6]: PVH:balloon and grant changes

2012-10-19 Thread Konrad Rzeszutek Wilk
On Thu, Oct 18, 2012 at 12:44:16PM +0100, Stefano Stabellini wrote: On Thu, 18 Oct 2012, Mukesh Rathor wrote: PVH: balloon and grant changes. For balloon changes we skip setting of local p2m as it's updated in xen. For grant, the shared grant frame is the pfn and not mfn, hence its mapped

Re: [PATCH 4/6] cgroups: forbid pre_destroy callback to fail

2012-10-19 Thread Michal Hocko
On Thu 18-10-12 15:41:48, Tejun Heo wrote: Hello, Michal. On Wed, Oct 17, 2012 at 03:30:46PM +0200, Michal Hocko wrote: Now that mem_cgroup_pre_destroy callback doesn't fail finally we can safely move on and forbit all the callbacks to fail. The last missing piece is moving

Re: [PATCH 4/6] cgroups: forbid pre_destroy callback to fail

2012-10-19 Thread Michal Hocko
On Thu 18-10-12 15:46:06, Tejun Heo wrote: On Thu, Oct 18, 2012 at 03:41:48PM -0700, Tejun Heo wrote: Note that the patch is broken in a couple places but it does show the general direction. I'd prefer if patch #3 simply makes pre_destroy() return 0 and drop __DEPRECATED_clear_css_refs

Re: [PATCH] perf: Fix UAPI fallout

2012-10-19 Thread David Howells
Ingo Molnar mi...@kernel.org wrote: What we want in .c files are not ../.. inclusions but the 'seemless' linux/abc.h inclusions. Which is the overwhelming majority, gladly. Do we want to make that the 100% majority? I think this is going to be necessary for when x86 gets merged. x86's

[GIT PULL] RAS fix for tip/x86/urgent

2012-10-19 Thread Borislav Petkov
Hi guys, below is a RAS fix which reverts the addition of a sysfs attribute which we agreed is not needed, post-factum. And this should go in now because that sysfs attribute is going to end up in 3.7 otherwise and thus exposed to userspace; removing it then would be a lot harder. Thanks. The

Re: [PATCH v2] epoll: Support for disabling items, and a self-test app.

2012-10-19 Thread Paul Holland
On 10/19/12 6:03 AM, Paolo Bonzini pbonz...@redhat.com wrote: Il 18/10/2012 20:05, Andy Lutomirski ha scritto: Unless something is rather buggy in kernel land (and I don't think it is), once EPOLL_CTL_DEL has returned, no call to epoll_wait that starts *after* EPOLL_CTL_DEL finishes will

Re: [PATCH v2] epoll: Support for disabling items, and a self-test app.

2012-10-19 Thread Paolo Bonzini
Il 19/10/2012 15:29, Paul Holland ha scritto: A disadvantage of solutions in this direction, which was not preset in Paton's patch, is that all calls to epoll_wait would need to specify some timeout value (!= -1) to guarantee that they each come out of epoll_wait and execute the pass the buck

Re: [PATCH] x86/dt: use linear irq domain for ioapic(s).

2012-10-19 Thread Florian Fainelli
On Friday 19 October 2012 11:36:25 Fainelli wrote: Sebastian Andrzej Siewior bigeasy at linutronix.de writes: No. You do have a compatible entry. It first appeared on the ce4100 CPU. If it happens to also work on the n450 then it seems to be compatible with that one. This is documented

Re: [PATCH] sched, autogroup: fix kernel crashes caused by runtime disable autogroup

2012-10-19 Thread Peter Zijlstra
Always try and CC people who wrote the code.. On Fri, 2012-10-19 at 16:36 +0800, Xiaotian Feng wrote: There's a regression from commit 800d4d30, in autogroup_move_group() p-signal-autogroup = autogroup_kref_get(ag); if (!ACCESS_ONCE(sysctl_sched_autogroup_enabled))

Re: [PATCH v2 2/5] memory-hotplug: update mce_bad_pages when removing the memory

2012-10-19 Thread Dave Hansen
On 10/18/2012 03:20 PM, Andrew Morton wrote: On Wed, 17 Oct 2012 08:09:55 -0700 Dave Hansen d...@linux.vnet.ibm.com wrote: +#ifdef CONFIG_MEMORY_FAILURE +static void clear_hwpoisoned_pages(struct page *memmap, int nr_pages) +{ + int i; + + if (!memmap) + return; I guess

Re: [PATCH V2] PWM: Add SPEAr PWM chip driver support

2012-10-19 Thread Viresh Kumar
On 19 October 2012 15:45, Shiraz Hashim shiraz.has...@st.com wrote: diff --git a/Documentation/devicetree/bindings/pwm/spear-pwm.txt b/Documentation/devicetree/bindings/pwm/spear-pwm.txt +pwm: pwm@a800 { +compatible =st,spear320-pwm; +reg = 0xa800

remoteproc open issues (was [RFC 1/4] remoteproc: Bugfix assign device address to carveout (noiommu)

2012-10-19 Thread Sjur Brændeland
Hi, On Fri, Aug 10, 2012 at 5:30 PM, Ohad Ben-Cohen o...@wizery.com wrote: The general direction I have in mind is to put the resource table in its final location while we do the first pass of fw parsing. This will solve all sort of open issues we have (or going to have soon): 1.

Re: [PATCH 5/6] memcg: make mem_cgroup_reparent_charges non failing

2012-10-19 Thread Michal Hocko
This is an updated version of the patch. I have dropped .__DEPRECATED_clear_css_refs in this one as it makes the best sense to me. I didn't add Tejun's Reviewed-by because of this change. Could you recheck, please? --- From 6c1f2e76e254e7638ad8cc87f319e3492ac80c5b Mon Sep 17 00:00:00 2001 From:

Re: [PATCH v2] arm/dts: AM33XX: Add SPI device tree data

2012-10-19 Thread Matt Porter
On Fri, Oct 19, 2012 at 02:40:58PM +0200, Benoit Cousson wrote: Hi Matt, On 10/19/2012 01:30 PM, Matt Porter wrote: On Fri, Oct 19, 2012 at 10:24:15AM +0200, Benoit Cousson wrote: Hi Avinash, This look good to me except the: status = disabled. The disabled should be reserved for

Re: [tip:numa/core] sched/numa/mm: Improve migration

2012-10-19 Thread Johannes Weiner
On Thu, Oct 18, 2012 at 10:05:39AM -0700, tip-bot for Peter Zijlstra wrote: Commit-ID: 713f937655c4b15131b5a0eae4610918a4febe17 Gitweb: http://git.kernel.org/tip/713f937655c4b15131b5a0eae4610918a4febe17 Author: Peter Zijlstra a.p.zijls...@chello.nl AuthorDate: Fri, 12 Oct 2012

Re: [PATCH] mm: Simplify for_each_populated_zone()

2012-10-19 Thread Johannes Weiner
On Fri, Oct 19, 2012 at 04:25:47PM +0530, Srivatsa S. Bhat wrote: Move the check for populated_zone() to the control statement of the 'for' loop and get rid of the odd looking if/else block. Signed-off-by: Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com --- include/linux/mmzone.h |

[PATCH 2/2] mmc: core: bus.c: re-aligned the line over 80 chars

2012-10-19 Thread Sangho Yi
I made a correction on a line which has 80 characters also, aligned the consecutive line to meet the --strict rule. Signed-off-by: Sangho Yi antir...@gmail.com --- drivers/mmc/core/bus.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/core/bus.c

Re: [PATCH v2 1/2] ARM: multi_v7_defconfig: Add ARCH_MXC

2012-10-19 Thread Rob Herring
Adding Arnd and Olof. On 10/18/2012 07:04 PM, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Let ARCH_MXC be covered by multi_v7_defconfig. Allow booting mx6 via NFS. Now we can start debating what should or shouldn't be in shared defconfigs. :) My intent with this

Re: [PATCH v2 1/2] Replace if statement with WARN_ON_ONCE() in cmci_rediscover().

2012-10-19 Thread Greg KH
On Fri, Oct 19, 2012 at 01:45:27PM +0800, Tang Chen wrote: cmci_rediscover() is only called by the CPU_POST_DEAD event handler, which means the corresponding cpu has already dead. As a result, it won't be accessed in the for_each_online_cpu loop. So, we could change the if(cpu == dying)

Re: [PATCH 2/2] rename NUMA fault handling functions

2012-10-19 Thread Rik van Riel
On 10/19/2012 07:41 AM, Peter Zijlstra wrote: On Thu, 2012-10-18 at 17:20 -0400, Rik van Riel wrote: Having the function name indicate what the function is used for makes the code a little easier to read. Furthermore, the fault handling code largely consists of do__page functions. I

Re: perf: p6 PMU working by accident, should we fix it and KNC?

2012-10-19 Thread Peter Zijlstra
On Wed, 2012-10-17 at 11:35 -0400, Vince Weaver wrote: This is by accident; it looks like the code does val |= ARCH_PERFMON_EVENTSEL_ENABLE; in p6_pmu_disable_event() so that events are never truly disabled (is this a bug? should it be =~ instead?). I think that's on purpose.. from

Re: [PATCH v2 3/3] mm/sl[aou]b: Move common kmem_cache_size() to slab.h

2012-10-19 Thread Christoph Lameter
On Fri, 19 Oct 2012, Ezequiel Garcia wrote: This function is identically defined in all three allocators and it's trivial to move it to slab.h Since now it's static, inline, header-defined function this patch also drops the EXPORT_SYMBOL tag. Acked-by: Christoph Lameter c...@linux.com -- To

Re: [PATCH 2/3] mm/slob: Use object_size field in kmem_cache_size()

2012-10-19 Thread Christoph Lameter
On Fri, 19 Oct 2012, Ezequiel Garcia wrote: Fields object_size and size are not the same: the latter might include slab metadata. Return object_size field in kmem_cache_size(). Also, improve trace accuracy by correctly tracing reported size. Acked-by: Christoph Lameter c...@linux.com -- To

Re: [PATCH 1/10] memory-hotplug : check whether memory is offline or not when removing memory

2012-10-19 Thread Wen Congyang
At 2012/10/19 18:44, Wen Congyang Wrote: At 10/06/2012 03:27 AM, KOSAKI Motohiro Wrote: On Thu, Oct 4, 2012 at 10:25 PM, Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com wrote: When calling remove_memory(), the memory should be offline. If the function is used to online memory, kernel panic

Re: remoteproc open issues (was [RFC 1/4] remoteproc: Bugfix assign device address to carveout (noiommu)

2012-10-19 Thread Ohad Ben-Cohen
On Fri, Oct 19, 2012 at 3:45 PM, Sjur Brændeland sjurb...@gmail.com wrote: Has anyone started looking into any of the open issues mentioned above? No - feel free to take a stab at it. Thanks, Ohad. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

[PATCH v5 00/18] slab accounting for memcg

2012-10-19 Thread Glauber Costa
Note: This is basically the same as v4. During this week, I made some changes to this series in advance based on the feedback I had in the kmemcg-stack last submission. Although the last series was not yet extensively reviewed, I opted for sending this out so you guys have the most up2date code to

[PATCH v5 10/18] sl[au]b: always get the cache from its page in kfree

2012-10-19 Thread Glauber Costa
struct page already have this information. If we start chaining caches, this information will always be more trustworthy than whatever is passed into the function A parent pointer is added to the slub structure, so we can make sure the freeing comes from either the right slab, or from its

[PATCH v5 05/18] slab/slub: struct memcg_params

2012-10-19 Thread Glauber Costa
For the kmem slab controller, we need to record some extra information in the kmem_cache structure. Signed-off-by: Glauber Costa glom...@parallels.com Signed-off-by: Suleiman Souhlal sulei...@google.com CC: Christoph Lameter c...@linux.com CC: Pekka Enberg penb...@cs.helsinki.fi CC: Michal Hocko

<    3   4   5   6   7   8   9   10   11   12   >