Re: [RFC][PATCH] sched: Fix a deadlock of cpu-hotplug

2012-10-24 Thread 陈华才
On Wed, 2012-10-24 at 20:34 +0800, 陈华才 wrote: I see, this is an arch-specific bug, sorry for my carelessness and thank you for your tips. What arch are you using? And what exactly did the arch do wrong? Most of the code involved seems to be common code. Going by c0_compare_interrupt, this

Re: [PATCH 2/2] arm: mvebu: Add hardware I/O Coherency support

2012-10-24 Thread Gregory CLEMENT
On 10/24/2012 02:24 PM, Arnd Bergmann wrote: On Wednesday 24 October 2012, Gregory CLEMENT wrote: On 10/24/2012 01:48 PM, Gregory CLEMENT wrote: On 10/24/2012 01:36 PM, Arnd Bergmann wrote: I think it would be cleaner to statically define the operations in a constant structure and point

Re: [PATCH] usb: gadget: ncm: correct endianess conversion

2012-10-24 Thread Sebastian Andrzej Siewior
On Mon, Oct 08, 2012 at 11:59:03PM +0300, Dmytro Milinevskyy wrote: Convert USB descriptor's fields to CPU byte order before using locally in USB NCM gadget driver. Tested on MIPS32 big-endian device. Signed-off-by: Dmytro Milinevskyy milinevs...@gmail.com --- drivers/usb/gadget/f_ncm.c

[PATCH v2 0/2] common entry point for kmem_cache_free

2012-10-24 Thread Glauber Costa
The goal of this patchset is to provide a single entry point for kmem_cache_free. Other functions, such as the allocation itself, and kmalloc could easily follow. The main problem here, is that if we keep the allocator-specific functions in their .c file, we lose the ability to inline their fast

[PATCH v2 2/2] slab: move kmem_cache_free to common code

2012-10-24 Thread Glauber Costa
In the effort of commonizing the slab allocators, it would be better if we had a single entry-point for kmem_cache_free. The low-level freeing is still left to the allocators, But at least the tracing can be done in slab_common.c Signed-off-by: Glauber Costa glom...@parallels.com CC: Joonsoo Kim

[PATCH v2 1/2] kmem_cache: include allocators code directly into slab_common

2012-10-24 Thread Glauber Costa
While the goal of slab_common.c is to have a common place for all allocators, we face two different goals that are in opposition to each other: 1) Have the different layouts be the business of each allocator, in their .c 2) inline as much as we can for fast paths Because of that, we either have

Re: [PATCH 2/2] arm: mvebu: adding SATA support: dt binding and config update

2012-10-24 Thread Thomas Petazzoni
Hello, Shouldn't you split into one commit adding the SATA definition in the .dtsi + doing the defconfig change (the SoC level modifications), and then another commit for the .dts change? I don't really care personally, it's really up to Jason/Andrew on this. Another comment below, though. On

Re: [PATCH 2/2] arm: mvebu: adding SATA support: dt binding and config update

2012-10-24 Thread Gregory CLEMENT
On 10/24/2012 04:01 PM, Thomas Petazzoni wrote: Hello, Shouldn't you split into one commit adding the SATA definition in the .dtsi + doing the defconfig change (the SoC level modifications), and then another commit for the .dts change? I don't really care personally, it's really up to

Re: [PATCH 2/2] arm: mvebu: adding SATA support: dt binding and config update

2012-10-24 Thread Andrew Lunn
On Wed, Oct 24, 2012 at 03:49:21PM +0200, Gregory CLEMENT wrote: From: Lior Amsalem al...@marvell.com Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com Signed-off-by: Lior Amsalem al...@marvell.com --- arch/arm/boot/dts/armada-370-db.dts |3 +++

Re: [BUG] checkpatch.pl with commit 058806007450489bb8f457b275e5cb5c946320c1

2012-10-24 Thread Joe Perches
On Wed, 2012-10-24 at 04:00 -0700, Jeff Kirsher wrote: With the recent commit to checkpatch.pl: commit 058806007450489bb8f457b275e5cb5c946320c1 Author: Joe Perches j...@perches.com Date: Thu Oct 4 17:13:35 2012 -0700 checkpatch: check networking specific block comment style We

Re: Fix memory leak in sierra_release()

2012-10-24 Thread Lennart Sorensen
On Wed, Oct 24, 2012 at 01:00:21PM +0200, Bjørn Mork wrote: Lennart Sorensen lsore...@csclub.uwaterloo.ca writes: I found a memory leak in sierra_release() (well sierra_probe() I guess) that looses 8 bytes each time the driver releases a device. Here is the patch to fix it. diff

Fix memory leak in sierra_release() (this time with signed-off-by)

2012-10-24 Thread Lennart Sorensen
I found a memory leak in sierra_release() (well sierra_probe() I guess) that looses 8 bytes each time the driver releases a device. Signed-off-by: Len Sorensen lsore...@csclub.uwaterloo.ca diff --git a/drivers/usb/serial/sierra.c b/drivers/usb/serial/sierra.c index 01d882c..76ef95b 100644 ---

[RFC PATCH v2] gpiolib: add gpio get direction callback support

2012-10-24 Thread Mathias Nyman
Add .get_direction callback to gpio_chip. This allows gpiolib to check the current direction of a gpio. Used to show the correct gpio direction in sysfs and debug entries. If callback is not set then gpiolib will work as previously; e.g. guessing everything is input until a direction is set.

Re: lockdep says circular locking since tty: localise the lock

2012-10-24 Thread Sebastian Andrzej Siewior
On Wed, Oct 17, 2012 at 09:20:35PM +0200, Sebastian Andrzej Siewior wrote: With dummy_hcd and g_nokia (that is CONFIG_USB_GADGET=m, CONFIG_USB_DUMMY_HCD=m, CONFIG_USB_G_NOKIA=m) I see a lockdep complaing about a circular locking dependency after executing ping? Or is it an obvious false

Re: [PATCH v2 1/2] kmem_cache: include allocators code directly into slab_common

2012-10-24 Thread Christoph Lameter
On Wed, 24 Oct 2012, Glauber Costa wrote: Because of that, we either have to move all the entry points to the mm/slab.h and rely heavily on the pre-processor, or include all .c files in here. Hmm... That is a bit of a radical solution. The global optimizations now possible with the new gcc

[PATCH] [trivial] tty: Fix typo in tty drivers

2012-10-24 Thread Masanari Iida
Correct spelling typo in debug messages within tty drivers. Signed-off-by: Masanari Iida standby2...@gmail.com --- drivers/tty/hvc/hvc_opal.c | 2 +- drivers/tty/hvc/hvc_vio.c | 2 +- drivers/tty/serial/8250/Kconfig | 2 +- drivers/tty/serial/bfin_uart.c | 2 +-

Re: [PATCH V2 6/6] Thermal: Add ST-Ericsson DB8500 thermal properties and platform data.

2012-10-24 Thread Joe Perches
On Wed, 2012-10-24 at 19:58 +0800, hongbo.zhang wrote: This patch adds device tree properties for ST-Ericsson DB8500 thermal driver, also adds the platform data to support the old fashion. Just a trivial note: diff --git a/arch/arm/mach-ux500/board-mop500.c

Re: [PATCH 181/193] net/sctp: remove CONFIG_EXPERIMENTAL

2012-10-24 Thread Vlad Yasevich
On 10/23/2012 04:04 PM, Kees Cook wrote: This config item has not carried much meaning for a while now and is almost always enabled by default. As agreed during the Linux kernel summit, remove it. CC: Vlad Yasevich vyasev...@gmail.com CC: Sridhar Samudrala s...@us.ibm.com CC: David S. Miller

Re: [PATCH v2 1/2] kmem_cache: include allocators code directly into slab_common

2012-10-24 Thread Glauber Costa
On 10/24/2012 06:29 PM, Christoph Lameter wrote: On Wed, 24 Oct 2012, Glauber Costa wrote: Because of that, we either have to move all the entry points to the mm/slab.h and rely heavily on the pre-processor, or include all .c files in here. Hmm... That is a bit of a radical solution. The

Re: [PATCH] Documentation/SubmittingPatches: implicit permission for public reports

2012-10-24 Thread Jonathan Corbet
On Wed, 24 Oct 2012 10:22:02 -0400 Ed Cashin ecas...@coraid.com wrote: +contribution. Please note that this tag should not be added without +the reporter's permission unless the problem was reported in a public +forum. That said, if we diligently credit our bug reporters, they I know what

Re: [PATCH V2 5/6] Thermal: Add ST-Ericsson DB8500 thermal dirver.

2012-10-24 Thread Viresh Kumar
On 24 October 2012 17:28, hongbo.zhang hongbo.zh...@linaro.org wrote: From: hongbo.zhang hongbo.zh...@linaro.com This diver is based on the thermal management framework in thermal_sys.c. A thermal zone device is created with the trip points to which cooling devices can be bound, the current

[PATCH] Documentation/SubmittingPatches: implicit permission for public reports

2012-10-24 Thread Ed Cashin
The current text of SubmittingPatches recommends asking permission before using Reported-By: even when the report was made to a public forum. This patch updates the text to better reflect the current convention of including the tag when the report was public. Signed-off-by: Ed Cashin

Re: [PATCH 2/2] arm: mvebu: Add hardware I/O Coherency support

2012-10-24 Thread Gregory CLEMENT
On 10/24/2012 02:27 PM, Thomas Petazzoni wrote: [...] I will fixed the spelling and complete the comments as suggested [...] +struct dma_map_ops armada_xp_dma_ops; static OK +static inline void armada_xp_sync_io_barrier(void) +{ +writel(0x1, coherency_cpu_base +

Re: 3.6.0 kernel - ext4 corruption, or?

2012-10-24 Thread tytso
On Wed, Oct 24, 2012 at 08:15:37AM -0400, Justin Piszcz wrote: I read there was a bug in 3.6.2, is there also one in 3.6.0, or can someone help explain this? The problem which we are currently trying to investigate was reportedly introduced in v3.6.1. So far that's about how we know; we have

Re: [PATCH] Documentation/SubmittingPatches: implicit permission for public reports

2012-10-24 Thread Ed Cashin
On Oct 24, 2012, at 10:36 AM, Jonathan Corbet wrote: On Wed, 24 Oct 2012 10:22:02 -0400 Ed Cashin ecas...@coraid.com wrote: +contribution. Please note that this tag should not be added without +the reporter's permission unless the problem was reported in a public +forum. That said, if we

[GIT PULL] amd64_edac fix for 3.7-rc3

2012-10-24 Thread Borislav Petkov
Hi Linus, please pull this fix for when setting the memory controller scrub rate in amd64_edac. Thanks. The following changes since commit 6f0c0580b70c89094b3422ba81118c7b959c7556: Linux 3.7-rc2 (2012-10-20 12:11:32 -0700) are available in the git repository at:

[PATCH] usb/gadget: let file storage gadget select libcomposite

2012-10-24 Thread Sebastian Andrzej Siewior
From: Sebastian Andrzej Siewior bige...@linutronix.de Date: Wed, 24 Oct 2012 16:40:10 +0200 found by randconfig, Randy Dunlap and Stephen Rothwell: |drivers/built-in.o: In function `fsg_setup': |file_storage.c:(.text+0x24db7c): undefined reference to `usb_gadget_config_buf'

[PATCH 0/6] ux500 fixes bound for the -rcs

2012-10-24 Thread Lee Jones
This patch-set contains a bunch of fixes which are bound for the v3.6 Release Candidates. Each of them provides a fix for something which went wrong during the merge window. Without them we either can't build the kernel, have no GPIOs, only have one running CPU core, see unnecessary WARN()s, or

[PATCH 5/6] ARM: ux500: Correct SDI5 address and add some format changes

2012-10-24 Thread Lee Jones
Here we fix a simple copy and paste error and bring some node spaces back into line with the remainder of the tree. Signed-off-by: Lee Jones lee.jo...@linaro.org --- arch/arm/boot/dts/dbx5x0.dtsi |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git

[PATCH 6/6] ARM: ux500: Convert DT_MACHINE_START to use SMP operations

2012-10-24 Thread Lee Jones
The Device Tree machine description for the ux5x0 was moved recently and as a consequence missed the addition of SMP operations. Without this patch SMP doesn't work and only one CPU is present after booting. Signed-off-by: Lee Jones lee.jo...@linaro.org --- arch/arm/mach-ux500/cpu-db8500.c |

[PATCH 4/6] ARM: ux500: Specify AMBA Primecell IDs for Nomadik I2C in DT

2012-10-24 Thread Lee Jones
Now the Nomadik I2C driver has been converted to an AMBA one, we are required to provide the Primecell IDs via platform code. When booting with DT enabled these have to be specified in the device nodes. We do that here. Signed-off-by: Lee Jones lee.jo...@linaro.org ---

Re: [PATCH 2/2] arm: mvebu: adding SATA support: dt binding and config update

2012-10-24 Thread Gregory CLEMENT
On 10/24/2012 04:08 PM, Andrew Lunn wrote: On Wed, Oct 24, 2012 at 03:49:21PM +0200, Gregory CLEMENT wrote: From: Lior Amsalem al...@marvell.com Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com Signed-off-by: Lior Amsalem al...@marvell.com ---

[PATCH 1/6] mfd: ab8500-core: Remove unused ab8500-gpio IRQ ranges

2012-10-24 Thread Lee Jones
The IRQ ranges provided in ab8500-core to be passed on to the ab8500-gpio driver are not only redundant, but they are also causing a warning in the boot log. These IRQ ranges, like any other MFD related IRQ resource are passed though MFD core for automatic conversion to virtual IRQs; however, MFD

[PATCH 3/6] ARM: ux500: Fix build error relating to IRQCHIP_SKIP_SET_WAKE

2012-10-24 Thread Lee Jones
This patch fixes the build error below: arch/arm/mach-ux500/cpu.c: In function ‘ux500_init_irq’: arch/arm/mach-ux500/cpu.c:55:2: error: invalid use of undefined type ‘struct irq_chip’ arch/arm/mach-ux500/cpu.c:55:24: error: ‘IRQCHIP_SKIP_SET_WAKE’ undeclared (first use in this function)

[PATCH 2/6] pinctrl: Update clock handling for the pinctrl-nomadik GPIO driver

2012-10-24 Thread Lee Jones
The clock framework has changed somewhat and it's now better to invoke clock_prepare_enable() and clk_disable_unprepare() rather than the legacy clk_enable() and clk_disable() calls. This patch converts the Nomadik Pin Control driver to the new framework. Signed-off-by: Lee Jones

Re: [PATCH V2 6/6] Thermal: Add ST-Ericsson DB8500 thermal properties and platform data.

2012-10-24 Thread Viresh Kumar
On 24 October 2012 17:28, hongbo.zhang hongbo.zh...@linaro.org wrote: From: hongbo.zhang hongbo.zh...@linaro.com This patch adds device tree properties for ST-Ericsson DB8500 thermal driver, also adds the platform data to support the old fashion. Signed-off-by: hongbo.zhang

Re: [PATCH 1/2] staging: android: checkpatch.pl fixes

2012-10-24 Thread kernel kernel
I'll try again. With regard to the 3 copies, that was due a malfunction of my mail program. Apologies. On Mon, Oct 22, 2012 at 9:03 PM, Greg KH gre...@linuxfoundation.org wrote: On Sat, Oct 20, 2012 at 11:33:19PM +0100, Ken O'Brien wrote: Fixed all instances of strings spanning multiple lines

Re: [PATCH 1/1] mmc: Standardise capability type

2012-10-24 Thread Lee Jones
On Wed, 24 Oct 2012, Arnd Bergmann wrote: On Wednesday 24 October 2012, Lee Jones wrote: There are discrepancies with regards to how MMC capabilities are carried throughout the subsystem. Let's standardise them to elevate any confusion. Cc: Chris Ball c...@laptop.org Cc:

[PATCH] [trivial] isdn: Fix typo in isdn drivers

2012-10-24 Thread Masanari Iida
Fix spelling typo in debug messages within drivers/isdn. Signed-off-by: Masanari Iida standby2...@gmail.com --- drivers/isdn/hardware/mISDN/mISDNisar.c | 2 +- drivers/isdn/hisax/amd7930_fn.c | 2 +- drivers/isdn/hisax/isar.c | 2 +- drivers/isdn/pcbit/layer2.c

Re: [PATCH 2/2] arm: mvebu: Add hardware I/O Coherency support

2012-10-24 Thread Thomas Petazzoni
Dear Gregory CLEMENT, On Wed, 24 Oct 2012 16:39:13 +0200, Gregory CLEMENT wrote: As others said, the prefix is wrong. Since the file is named coherency, maybe just coherency_ as the prefix? Not sure, though. Shouldn't the file be named coherency-armada-370-xp.c, as we have done for the irq

Re: Fix memory leak in sierra_release() (this time with signed-off-by)

2012-10-24 Thread Johan Hovold
On Wed, Oct 24, 2012 at 10:23:09AM -0400, Lennart Sorensen wrote: I found a memory leak in sierra_release() (well sierra_probe() I guess) that looses 8 bytes each time the driver releases a device. Good catch! I missed this one when I fixed a bunch of other memory leaks in the sierra with

Re: [PATCH 0/2] struct pid-ify autofs4

2012-10-24 Thread Miklos Szeredi
Ian Kent ra...@themaw.net writes: Yeah, the problem with that is that autofs doesn't work if containers are used is ill defined since there are use cases where it does, I believe. At the very least, ill defined in my view of things. Customer says: There is no interaction between host

[PATCH v2] procfs: Improve Scaling in proc

2012-10-24 Thread Nathan Zimmer
I am currently tracking a hotlock reported by a customer on a large, 512 cores, system, I am currently running 3.7.0 rc1 but the issue looks like it has been this way for a very long time. The offending lock is proc_dir_entry-pde_unload_lock. This patch converts the replaces the lock with the

Re: [PATCH v5] dma-debug: New interfaces to debug dma mapping errors

2012-10-24 Thread Joerg Roedel
On Mon, Oct 08, 2012 at 11:08:06AM -0600, Shuah Khan wrote: Add dma-debug interface debug_dma_mapping_error() to debug drivers that fail to check dma mapping errors on addresses returned by dma_map_single() and dma_map_page() interfaces. This interface clears a flag set by debug_dma_map_page()

Re: [PATCH v2] Documentation DMA-API-HOWTO.txt Add dma mapping error check usage examples

2012-10-24 Thread Joerg Roedel
On Thu, Oct 18, 2012 at 02:00:58PM -0600, Shuah Khan wrote: Enhance the document to discuss the importance of dma mapping error checks after dma_map_single() and dma_map_page() calls. Also added usage examples that include unmap examples in error paths when dma mapping error is returned.

Re: [PATCH 1/2] percpu-rw-semaphores: use light/heavy barriers

2012-10-24 Thread Oleg Nesterov
On 10/23, Peter Zijlstra wrote: On Tue, 2012-10-23 at 21:23 +0200, Oleg Nesterov wrote: static void mb_ipi(void *arg) { smp_mb(); /* unneeded ? */ } static void force_mb_on_each_cpu(void) { smp_mb();

Re: [PATCH 04/21] procfs: drop vmtruncate

2012-10-24 Thread Christoph Hellwig
On Sat, Oct 20, 2012 at 02:17:33PM +0200, Marco Stornelli wrote: Removed vmtruncate Signed-off-by: Marco Stornelli marco.storne...@gmail.com As Al pointed out we probably shouldn't even allow truncate on procfs. Can look into refusing it instead, please? -- To unsubscribe from this list:

Re: lockdep says circular locking since tty: localise the lock

2012-10-24 Thread Alan Stern
On Wed, 24 Oct 2012, Sebastian Andrzej Siewior wrote: On Wed, Oct 17, 2012 at 09:20:35PM +0200, Sebastian Andrzej Siewior wrote: With dummy_hcd and g_nokia (that is CONFIG_USB_GADGET=m, CONFIG_USB_DUMMY_HCD=m, CONFIG_USB_G_NOKIA=m) I see a lockdep complaing about a circular locking

Re: [RFC 2/6] sched: add a new SD SHARE_POWERLINE flag for sched_domain

2012-10-24 Thread Santosh Shilimkar
Vincent, Few comments/questions. On Sunday 07 October 2012 01:13 PM, Vincent Guittot wrote: This new flag SD SHARE_POWERLINE reflects the sharing of the power rail between the members of a domain. As this is the current assumption of the scheduler, the flag is added to all sched_domain

Re: [RFC 3/6] sched: pack small tasks

2012-10-24 Thread Santosh Shilimkar
Vincent, Few comments/questions. On Sunday 07 October 2012 01:13 PM, Vincent Guittot wrote: During sched_domain creation, we define a pack buddy CPU if available. On a system that share the powerline at all level, the buddy is set to -1 On a dual clusters / dual cores system which can

Re: [PATCH v2] x86: efi: Turn off efi_enabled after setup on mixed fw/kernel

2012-10-24 Thread Olof Johansson
Hi, On Wed, Oct 24, 2012 at 1:40 AM, Maarten Lankhorst maarten.lankho...@canonical.com wrote: Op 24-10-12 08:24, Olof Johansson schreef: When 32-bit EFI is used with 64-bit kernel (or vice versa), turn off efi_enabled once setup is done. Beyond setup, it is normally used to determine if

Re: [RFC 4/6] sched: secure access to other CPU statistics

2012-10-24 Thread Santosh Shilimkar
$subject is bit confusing here. On Sunday 07 October 2012 01:13 PM, Vincent Guittot wrote: The atomic update of runnable_avg_sum and runnable_avg_period are ensured by their size and the toolchain. But we must ensure to not read an old value for one field and a newly updated value for the other

Re: [RFC 5/6] sched: pack the idle load balance

2012-10-24 Thread Santosh Shilimkar
On Sunday 07 October 2012 01:13 PM, Vincent Guittot wrote: Look for an idle CPU close the pack buddy CPU whenever possible. s/close/close to The goal is to prevent the wake up of a CPU which doesn't share the power line of the pack CPU Signed-off-by: Vincent Guittot vincent.guit...@linaro.org

Re: [RFC 6/6] ARM: sched: clear SD_SHARE_POWERLINE

2012-10-24 Thread Santosh Shilimkar
On Sunday 07 October 2012 01:13 PM, Vincent Guittot wrote: The ARM platforms take advantage of packing small tasks on few cores. This is true even when the cores of a cluster can't be powergated independently. Signed-off-by: Vincent Guittot vincent.guit...@linaro.org ---

[PATCH RESEND] xen/arm: use the __HVC macro

2012-10-24 Thread Stefano Stabellini
Use the new __HVC macro in hypercall.S. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- arch/arm/xen/hypercall.S | 14 +- 1 files changed, 5 insertions(+), 9 deletions(-) diff --git a/arch/arm/xen/hypercall.S b/arch/arm/xen/hypercall.S index

[BUG] lkvm crash on crashkernel boot

2012-10-24 Thread Kirill A. Shutemov
Hi, I've tried to play with kexec using lkvm. Unfortunately, lkvm crashes when I try to switch to crashkernel. I use Linus tree + penberg/kvmtool/next + one x86 mm patch[1]. Kernel is defconfig + kvmconfig. I use the same kernel image for system and crash env. Host: % lkvm run --cpus 1 -m

Re: [RFC PATCH 0/5] amd_iommu: Refactor IOMMU group and support virtual aliases

2012-10-24 Thread Joerg Roedel
On Thu, Oct 18, 2012 at 03:29:10PM -0600, Alex Williamson wrote: I think this series is good-to-go, modulo any testing you may be able to do on it. I'm going to be offline for a couple weeks so feel free to incorporate this RFC directly or I can re-spin something when I'm back. Okay, I

[PATCH v8 3/5] ipc: message queue receive cleanup

2012-10-24 Thread Stanislav Kinsbursky
This patch moves all message related manipulation into one function msg_fill(). Actually, two functions because of the compat one. Signed-off-by: Stanislav Kinsbursky skinsbur...@parallels.com --- include/linux/msg.h |5 +++-- ipc/compat.c| 45

[PATCH 0/8] at91: 3.7 fixes patch series

2012-10-24 Thread Nicolas Ferre
Hi all, I am posting this patch series just before sending a pull-request to Arnd and Olof. There are 2 new patches that I have just cooked today about external IRQ handling: please review. I would like you to double check that I have not made any mistake while collecting the other patches...

Re: [PATCH v2 1/2] kmem_cache: include allocators code directly into slab_common

2012-10-24 Thread Andi Kleen
On Wed, Oct 24, 2012 at 02:29:09PM +, Christoph Lameter wrote: On Wed, 24 Oct 2012, Glauber Costa wrote: Because of that, we either have to move all the entry points to the mm/slab.h and rely heavily on the pre-processor, or include all .c files in here. Hmm... That is a bit of a

Re: [PATCH] x86/amd: disable way access filter on affected CPUs

2012-10-24 Thread Andre Przywara
On 10/24/2012 12:46 PM, Ingo Molnar wrote: * Andre Przywara andre.przyw...@amd.com wrote: The WAF may hurt the performance of some workloads, caused by aliasing issues in the L1 cache. Disable it on the affected CPUs. Signed-off-by: Andre Przywara andre.przyw...@amd.com ---

[PATCH 1/8] ARM: at91/tc: fix typo in the DT document

2012-10-24 Thread Nicolas Ferre
From: Josh Wu josh...@atmel.com Signed-off-by: Josh Wu josh...@atmel.com Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com Cc: stable sta...@vger.kernel.org [v3.4] --- Documentation/devicetree/bindings/arm/atmel-at91.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 3/8] ARM: at91: fix external interrupts in non-DT case

2012-10-24 Thread Nicolas Ferre
Management of external interrupts has changed but the non-DT code has not integrated these changes. Add a mask to pass external irq specification from SoC specific code to the at91_aic_init() function. Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com Cc: stable sta...@vger.kernel.org [v3.6]

[PATCH 4/8] ARM: at91: fix external interrupt specification in board code

2012-10-24 Thread Nicolas Ferre
Since the switch to sparse irq, we have to add the NR_IRQS_LEGACY offset to static irq numbers. It has been forgotten on these SPI irq definitions in board code. Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com Cc: stable sta...@vger.kernel.org [v3.6] ---

[PATCH 5/8] ARM: at91/dts: at91sam9g20ek_common: Fix typos in buttons labels.

2012-10-24 Thread Nicolas Ferre
From: Marek Belisko marek.beli...@open-nandra.com Signed-off-by: Marek Belisko marek.beli...@open-nandra.com Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- arch/arm/boot/dts/at91sam9g20ek_common.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 6/8] ARM: at91/i2c: change id to let i2c-gpio work

2012-10-24 Thread Nicolas Ferre
From: Bo Shen voice.s...@atmel.com The i2c core driver will turn the platform device ID to busnum When using platfrom device ID as -1, it means dynamically assigned the busnum. When writing code, we need to make sure the busnum, and call i2c_register_board_info(int busnum, ...) to register device

[PATCH 8/8] ARM: at91: drop duplicated config SOC_AT91SAM9 entry

2012-10-24 Thread Nicolas Ferre
From: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- arch/arm/mach-at91/Kconfig | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git

[PATCH 7/8] ARM: at91/i2c: change id to let i2c-at91 work

2012-10-24 Thread Nicolas Ferre
From: Bo Shen voice.s...@atmel.com The i2c core driver will turn the platform device ID to busnum When using platfrom device ID as -1, it means dynamically assigned the busnum. When writing code, we need to make sure the busnum, and call i2c_register_board_info(int busnum, ...) to register device

[PATCH v8 5/5] test: IPC message queue copy feture test

2012-10-24 Thread Stanislav Kinsbursky
This test can be used to check wheither kernel supports IPC message queue copy and restore features (required by CRIU project). Signed-off-by: Stanislav Kinsbursky skinsbur...@parallels.com --- tools/testing/selftests/ipc/Makefile | 25 tools/testing/selftests/ipc/msgque.c | 231

[RFC PATCH v8 0/5] IPC: checkpoint/restore in userspace enhancements

2012-10-24 Thread Stanislav Kinsbursky
v8: This respin of the patch set was significantly reworked. Most part of new API was replaced by sysctls (by one per messages, semaphores and shared memory), allowing to preset desired id for next new IPC object. This patch set is aimed to provide additional functionality for all IPC objects,

[PATCH 2/8] ARM: at91: at91sam9g10: fix SOC type detection

2012-10-24 Thread Nicolas Ferre
From: Ivan Shugov ivan.shu...@gmail.com Newer at91sam9g10 SoC revision can't be detected, so the kernel can't boot with this kind of kernel panic: AT91: Impossible to detect the SOC type CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177 CPU: VIVT data cache, VIVT instruction cache

[PATCH v8 1/5] ipc: remove forced assignment of selected message

2012-10-24 Thread Stanislav Kinsbursky
This is a cleanup patch. The assignment is redundant. Signed-off-by: Stanislav Kinsbursky skinsbur...@parallels.com --- ipc/msg.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/ipc/msg.c b/ipc/msg.c index a71af5a..2f272fa 100644 --- a/ipc/msg.c +++ b/ipc/msg.c @@

[PATCH v8 4/5] ipc: message queue copy feature introduced

2012-10-24 Thread Stanislav Kinsbursky
This patch is required for checkpoint/restore in userspace. IOW, c/r requires some way to get all pending IPC messages without deleting them from the queue (checkpoint can fail and in this case tasks will be resumed, so queue have to be valid). To achive this, new operation flag MSG_COPY for

[PATCH v8 2/5] ipc: add sysctl to specify desired next object id

2012-10-24 Thread Stanislav Kinsbursky
This patch adds 3 new variables and sysctls to tune them (by one next_id variable for messages, semaphores and shared memory respectively). This variable can be used to set desired id for next allocated IPC object. By default it's equal to -1 and old behaviour is preserved. If this variable is

Re: [ 02/37] lockd: use rpc clients cl_nodename for id encoding

2012-10-24 Thread Greg Kroah-Hartman
On Mon, Oct 22, 2012 at 05:02:52PM +, Myklebust, Trond wrote: On Sun, 2012-10-21 at 09:26 -0700, Greg Kroah-Hartman wrote: On Sat, Oct 20, 2012 at 12:15:18AM +0100, Ben Hutchings wrote: On Thu, Oct 18, 2012 at 08:16:25PM -0700, Greg Kroah-Hartman wrote: 3.0-stable review patch. If

Re: [PATCH 0/8] at91: 3.7 fixes patch series

2012-10-24 Thread Jean-Christophe PLAGNIOL-VILLARD
Acked-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com Best Regards, J. On 17:33 Wed 24 Oct , Nicolas Ferre wrote: Hi all, I am posting this patch series just before sending a pull-request to Arnd and Olof. There are 2 new patches that I have just cooked today about external

Re: [PATCH] mm: memmap_init_zone() performance improvement

2012-10-24 Thread Mike Yoknis
On Sat, 2012-10-20 at 09:29 +0100, Mel Gorman wrote: On Fri, Oct 19, 2012 at 01:53:18PM -0600, Mike Yoknis wrote: On Tue, 2012-10-09 at 08:56 -0600, Mike Yoknis wrote: On Mon, 2012-10-08 at 16:16 +0100, Mel Gorman wrote: On Wed, Oct 03, 2012 at 08:56:14AM -0600, Mike Yoknis wrote:

Re: [PATCH] use clamp_t in UNAME26 fix

2012-10-24 Thread Greg KH
On Fri, Oct 19, 2012 at 09:30:24PM -0700, Kees Cook wrote: Argh, whoops. Greg, can you please include 31fd84b95eb211d5db460a1dda85e004800a7b52 in stable? Now applied, thanks. greg k-h -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH v2] x86: efi: Turn off efi_enabled after setup on mixed fw/kernel

2012-10-24 Thread Maarten Lankhorst
Op 24-10-12 17:21, Olof Johansson schreef: Hi, On Wed, Oct 24, 2012 at 1:40 AM, Maarten Lankhorst maarten.lankho...@canonical.com wrote: Op 24-10-12 08:24, Olof Johansson schreef: When 32-bit EFI is used with 64-bit kernel (or vice versa), turn off efi_enabled once setup is done. Beyond

RE: 3.6.0 kernel - ext4 corruption, or?

2012-10-24 Thread Justin Piszcz
-Original Message- From: ty...@mit.edu [mailto:ty...@mit.edu] Sent: Wednesday, October 24, 2012 10:40 AM To: Justin Piszcz; Steven J. Magnani Cc: linux-kernel@vger.kernel.org Subject: Re: 3.6.0 kernel - ext4 corruption, or? On Wed, Oct 24, 2012 at 08:15:37AM -0400, Justin Piszcz wrote:

Re: [PATCH] [trivial] tty: Fix typo in tty drivers

2012-10-24 Thread Alan Cox
+++ b/drivers/tty/serial/bfin_uart.c @@ -815,7 +815,7 @@ bfin_serial_set_termios(struct uart_port *port, struct ktermios *termios, lcr = WLS(5); break; default: - printk(KERN_ERR %s: word lengh not supported\n, + printk(KERN_ERR

Re: [PATCH 0/1] staging: Add firewire-serial driver

2012-10-24 Thread Peter Hurley
drivers/staging/fwserial/dma_fifo.c | 310 drivers/staging/fwserial/dma_fifo.h | 130 ++ drivers/staging/fwserial/fwserial.c | 2885 +++ drivers/staging/fwserial/fwserial.h | 355 + drivers/firewire/net.c is 1721 lines, sbp_target is

Re: [PATCH 176/193] net/nfc: remove CONFIG_EXPERIMENTAL

2012-10-24 Thread Samuel Ortiz
Hi Kees, On Tue, Oct 23, 2012 at 01:04:09PM -0700, Kees Cook wrote: This config item has not carried much meaning for a while now and is almost always enabled by default. As agreed during the Linux kernel summit, remove it. CC: Lauro Ramos Venancio lauro.venan...@openbossa.org CC: Aloisio

[PATCH]Documentation:Chinese translation of Documentation/arm64/booting.txt

2012-10-24 Thread Tekkaman Ninja
This is a Chinese translated version of Documentation/arm64/booting.txt Signed-off-by: Fu Wei tekkamanni...@gmail.com --- Documentation/zh_CN/arm64/booting.txt | 156 + 1 file changed, 156 insertions(+) create mode 100644 Documentation/zh_CN/arm64/booting.txt

Re: [PATCH 177/193] net/nfc/llcp: remove CONFIG_EXPERIMENTAL

2012-10-24 Thread Samuel Ortiz
Hi Kees, On Tue, Oct 23, 2012 at 01:04:10PM -0700, Kees Cook wrote: This config item has not carried much meaning for a while now and is almost always enabled by default. As agreed during the Linux kernel summit, remove it. CC: Lauro Ramos Venancio lauro.venan...@openbossa.org CC: Aloisio

[git pull] IOMMU Fixes for v3.7-rc2

2012-10-24 Thread Joerg Roedel
Hi Linus, The following changes since commit ddffeb8c4d0331609ef2581d84de4d763607bd37: Linux 3.7-rc1 (2012-10-14 14:41:04 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git tags/iommu-fixes-v3.7-rc2 for you to fetch changes up to

Re: [RFC] Energy/power monitoring within the kernel

2012-10-24 Thread Pawel Moll
On Tue, 2012-10-23 at 18:43 +0100, Steven Rostedt wrote: ...212.673126: hwmon_attr_update: hwmon4 temp1_input 34361 One issue with this is that some external knowledge is required to relate a number to a processor core. Or maybe it's not an issue at all because it should be left for the

[PATCH]Documentation:Chinese translation of Documentation/arm64/memory.txt

2012-10-24 Thread Tekkaman Ninja
This is a Chinese translated version of Documentation/arm64/memory.txt Signed-off-by: Fu Wei tekkamanni...@gmail.com --- Documentation/zh_CN/arm64/memory.txt | 93 ++ 1 file changed, 93 insertions(+) create mode 100644 Documentation/zh_CN/arm64/memory.txt

Re: [PATCH 02/11] perf: Do not get values from disabled counters in group format read

2012-10-24 Thread Jiri Olsa
On Wed, Oct 24, 2012 at 02:14:06PM +0200, Jiri Olsa wrote: On Wed, Oct 24, 2012 at 02:01:18PM +0200, Peter Zijlstra wrote: SNIP Right, so I don't object to the patch per-se, I was just curious how you ran into it, because ISTR what you just said, we enable all this stuff together.

Re: [RFC] Energy/power monitoring within the kernel

2012-10-24 Thread Pawel Moll
On Tue, 2012-10-23 at 19:49 +0100, Andy Green wrote: A thought on that... from an SoC perspective there are other interesting power rails than go to just the CPU core. For example DDR power and rails involved with other IP units on the SoC such as 3D graphics unit. So tying one number to

Re: Fix memory leak in sierra_release() (this time with signed-off-by)

2012-10-24 Thread Lennart Sorensen
On Wed, Oct 24, 2012 at 04:56:44PM +0200, Johan Hovold wrote: Good catch! I missed this one when I fixed a bunch of other memory leaks in the sierra with recent kernels: http://marc.info/?l=linux-usbm=135100550421848w=2 I'll rebase my patch on top of this one as your patch should be

Re: [PATCH]Documentation:Chinese translation of Documentation/arm64/memory.txt

2012-10-24 Thread Catalin Marinas
2012/10/24 Tekkaman Ninja tekkamanni...@gmail.com: This is a Chinese translated version of Documentation/arm64/memory.txt Signed-off-by: Fu Wei tekkamanni...@gmail.com As long as you maintain it and you keep it in sync: Acked-by: Catalin Marinas catalin.mari...@arm.com I used google

Re: [PATCH 04/21] procfs: drop vmtruncate

2012-10-24 Thread Marco Stornelli
Il 24/10/2012 17:12, Christoph Hellwig ha scritto: On Sat, Oct 20, 2012 at 02:17:33PM +0200, Marco Stornelli wrote: Removed vmtruncate Signed-off-by: Marco Stornelli marco.storne...@gmail.com As Al pointed out we probably shouldn't even allow truncate on procfs. Can look into refusing it

Re: [PATCH 01/11] fuse: general infrastructure for pages[] of variable size

2012-10-24 Thread Miklos Szeredi
Maxim Patlasov mpatla...@parallels.com writes: The patch removes inline array of FUSE_MAX_PAGES_PER_REQ page pointers from fuse_req. Instead of that, req-pages may now point either to small inline array or to an array allocated dynamically. This essentially means that all callers of

Re: [PATCH]Documentation:Chinese translation of Documentation/arm64/booting.txt

2012-10-24 Thread Catalin Marinas
2012/10/24 Tekkaman Ninja tekkamanni...@gmail.com: This is a Chinese translated version of Documentation/arm64/booting.txt Signed-off-by: Fu Wei tekkamanni...@gmail.com Same as my comment on the memory.txt patch, I don't understand what it says, so you need to keep it up to date. Acked-by:

Re: [PATCHv2] Input: omap4-keypad: Add pinctrl support

2012-10-24 Thread Dmitry Torokhov
On Wed, Oct 24, 2012 at 11:37:04AM +0300, Felipe Balbi wrote: Hi, On Tue, Oct 23, 2012 at 01:02:49PM -0700, Dmitry Torokhov wrote: On Tue, Oct 23, 2012 at 11:18:12AM +0200, Benoit Cousson wrote: Hi Dimitry, On 10/22/2012 05:50 PM, Dmitry Torokhov wrote: Hi Sourav, On

Re: [PATCHv2] Input: omap4-keypad: Add pinctrl support

2012-10-24 Thread Dmitry Torokhov
On Wed, Oct 24, 2012 at 02:54:23PM +0200, Linus Walleij wrote: On Tue, Oct 23, 2012 at 10:02 PM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: I have seen just in a few days 3 or 4 drivers having exactly the same change - call to devm_pinctrl_get_select_default(), and I guess I will

Re: lockdep says circular locking since tty: localise the lock

2012-10-24 Thread Sebastian Andrzej Siewior
On Wed, Oct 24, 2012 at 11:13:18AM -0400, Alan Stern wrote: Are you pinging yourself? That's what it looks like... :-) Hehe. It seems that it got the job done :) Alan Stern Sebastian -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH 106/193] drivers/net/wireless/rt2x00: remove CONFIG_EXPERIMENTAL

2012-10-24 Thread Gertjan van Wingerde
On 23 okt. 2012, at 22:02, Kees Cook keesc...@chromium.org wrote: This config item has not carried much meaning for a while now and is almost always enabled by default. As agreed during the Linux kernel summit, remove it. CC: Ivo van Doorn ivdo...@gmail.com CC: Gertjan van Wingerde

Re: [PATCH 02/11] fuse: categorize fuse_get_req()

2012-10-24 Thread Miklos Szeredi
Hi, Sorry about the long delay in responding. See comments below. Thanks, Miklos Maxim Patlasov mpatla...@parallels.com writes: The patch categorizes all fuse_get_req() invocations into two categories: - fuse_get_req_nopages(fc) - when caller doesn't care about req-pages -

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