[PATCH v3 RESEND 02/17] ARM: add self test for runtime patch mechanism

2012-09-21 Thread Cyril Chemparathy
This patch adds basic sanity tests to ensure that the instruction patching results in valid instruction encodings. This is done by verifying the output of the patch process against a vector of assembler generated instructions at init time. Signed-off-by: Cyril Chemparathy cy...@ti.com ---

[PATCH v3 RESEND 15/17] ARM: mm: use physical addresses in highmem sanity checks

2012-09-21 Thread Cyril Chemparathy
This patch modifies the highmem sanity checking code to use physical addresses instead. This change eliminates the wrap-around problems associated with the original virtual address based checks, and this simplifies the code a bit. The one constraint imposed here is that low physical memory must

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

2012-09-21 Thread David Vrabel
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 not properly shutdown. So, treat an unexpected backend CLOSED state

[PATCH 1/6] xen-netfront: handle backend CLOSED without CLOSING

2012-09-21 Thread David Vrabel
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 not properly shutdown. So, treat an unexpected backend CLOSED state

[PATCH 0/6] xen: frontend devices should handle missed backend CLOSING

2012-09-21 Thread David Vrabel
The series makes all the Xen frontend drivers handle the backend transitioning to CLOSED without the frontend having previously seen the backend in the CLOSING state. Backends shouldn't do this but some do. e.g., if the host is XenServer and the toolstack decides to do a forced shutdown of a

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

2012-09-21 Thread David Vrabel
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 not properly shutdown. So, treat an unexpected backend CLOSED state

[PATCH 6/6] xen/hvc: handle backend CLOSED without CLOSING

2012-09-21 Thread David Vrabel
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 not properly shutdown. So, treat an unexpected backend CLOSED state

[PATCH 2/6] xen-blkfront: handle backend CLOSED without CLOSING

2012-09-21 Thread David Vrabel
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 not properly shutdown. So, treat an unexpected backend CLOSED state

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

2012-09-21 Thread David Vrabel
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 not properly shutdown. So, treat an unexpected backend CLOSED state

[PATCH v4] PCI: introduce two interfaces to walk PCI buses

2012-09-21 Thread Jiang Liu
The pci_find_next_bus() is not hotplug safe, so introduce PCI hotplug safe interfaces to walk PCI buses. To avoid some deadlock scenarios, two interfaces are introduced. The first one is pci_for_each_bus(), which walks all PCI buses holding read lock on the pci_bus_sem. The second one is

[PATCH] [V3]power: battery: Generic battery driver using IIO

2012-09-21 Thread anish kumar
From: anish kumar anish198519851...@gmail.com In last version: Addressed concerns raised by lars: a. made the adc_bat per device. b. get the IIO channel using hardcoded channel names. c. Minor issues related to gpio_is_valid and some code refactoring. In V1: Addressed concerns raised by

Re: [PATCH 0/4] x86: xor-block handling adjustments

2012-09-21 Thread H. Peter Anvin
On 09/21/2012 08:28 AM, Jan Beulich wrote: I see (albeit I'm puzzled by the patch there being just 2 days old, yet your reply was sent over 10 days ago) - I'll probably re-submit once I merged with the 3.7-rc-s, the more that I still didn't get anything back from hpa regarding the stack

perf bench unexpected behaviour

2012-09-21 Thread Richard Kennedy
Hi all, If I run perf bench --format=simple all test.out I get this line repeated hundreds of times in test.out # Running sched/messaging benchmark... interleaved with the useful output. It's only printed once if I call it from the command line, it just redirecting to a file

[PATCH] Documentation: RCU: update the stall warning message timer=-1 to match reality

2012-09-21 Thread Paul Walmsley
The CONFIG_RCU_FAST_NO_HZ stall warning messages can never emit timer=-1. This is because the printf() format specifier to generate that number is '%lu'. So, update the documentation to use the unsigned long equivalent instead, timer=4294967295. This is what actually shows up in traces.

Re: [PATCH] rtlwifi/rtl8712u Revert firmware

2012-09-21 Thread Larry Finger
On 09/20/2012 05:31 PM, Ben Hutchings wrote: On Mon, 2012-09-10 at 11:26 -0500, Larry Finger wrote: Although the newest firmware for the RTL8192SU, which is found in vendor driver rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404, works with most devices, it causes drops of the wireless

Re: TRACE_EVENT without ARGS

2012-09-21 Thread Steven Rostedt
On Fri, 2012-09-21 at 17:35 +0200, Wolfgang Grandegger wrote: Hello, I would like to define trace events for functions without arguments, e.g. my_yield(). But TRACE_EVENT requires at least one argument to be defined and I also have not found an example in the kernel sources, apart from:

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

2012-09-21 Thread Stephen Warren
On 09/21/2012 07:09 AM, ABRAHAM, KISHON VIJAY wrote: Hi, On Fri, Sep 21, 2012 at 5:50 PM, Venu Byravarasu vbyravar...@nvidia.com wrote: 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

Re: [Xen-devel] [PATCH] Persistent grant maps for xen blk drivers

2012-09-21 Thread David Vrabel
On 21/09/12 15:27, Konrad Rzeszutek Wilk wrote: On Fri, Sep 21, 2012 at 01:23:48PM +0100, David Vrabel wrote: It's not just virtual space. blkback in pvops kernels allocates its pages from the balloon and if there aren't enough ballooned out pages it has to allocate real pages (releasing the

Re: [PATCH v2 5/5] ARM: tegra: enable brcmfmac in defconfig

2012-09-21 Thread Stephen Warren
On 09/21/2012 08:39 AM, Arend van Spriel wrote: On 09/21/2012 10:55 AM, Wei Ni wrote: New options enabled: * CFG80211_WEXT: (dependency) * BRCMFMAC: wlan driver, enable as module. Signed-off-by: Wei Ni w...@nvidia.com --- arch/arm/configs/tegra_defconfig |2 ++ 1 files changed, 2

Re: [PATCH 01/11] ARM: defconfig: Remove CONFIG_MISC_DEVICES

2012-09-21 Thread Arnd Bergmann
On Friday 21 September 2012, Fabio Estevam wrote: Hi Arnd, On Thu, Sep 6, 2012 at 7:25 PM, Fabio Estevam feste...@gmail.com wrote: I am not sure who would pick up this series. Is it possible for you to apply these patches? Is this something you can help with? Hi Fabio, Sorry for

Re: Helping with backports: linux-next, linux, linux-stable - a few enhancements

2012-09-21 Thread Luis R. Rodriguez
On Fri, Sep 21, 2012 at 1:16 AM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Thu, Sep 20, 2012 at 03:45:46PM -0700, Luis R. Rodriguez wrote: Greg, Stephen, Konstantin, so for the Linux backports project [0] we rely on a few git trees: * linux-next.git * linux-stable.git *

[PATCH 2/3] c6x: switch to generic kernel_execve

2012-09-21 Thread Mark Salter
Signed-off-by: Mark Salter msal...@redhat.com --- arch/c6x/include/asm/unistd.h |2 ++ arch/c6x/kernel/entry.S | 13 ++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/arch/c6x/include/asm/unistd.h b/arch/c6x/include/asm/unistd.h index 6d54ea4..1ce3a6f 100644

[PATCH 3/3] c6x: switch to generic sys_execve

2012-09-21 Thread Mark Salter
Signed-off-by: Mark Salter msal...@redhat.com --- arch/c6x/include/asm/syscalls.h |5 - arch/c6x/include/asm/unistd.h |1 + arch/c6x/kernel/entry.S | 23 --- arch/c6x/kernel/process.c | 22 -- 4 files changed, 1

Re: [RFC] status of execve() work - per-architecture patches solicited

2012-09-21 Thread Mark Salter
Here are a set of c6x patches to work with your experimental-kernel_thread branch. Mark Salter (3): c6x: add ret_from_kernel_thread(), simplify kernel_thread() c6x: switch to generic kernel_execve c6x: switch to generic sys_execve arch/c6x/include/asm/syscalls.h |5 ---

[PATCH 1/3] c6x: add ret_from_kernel_thread(), simplify kernel_thread()

2012-09-21 Thread Mark Salter
Signed-off-by: Mark Salter msal...@redhat.com --- arch/c6x/kernel/entry.S | 20 arch/c6x/kernel/process.c | 38 -- 2 files changed, 32 insertions(+), 26 deletions(-) diff --git a/arch/c6x/kernel/entry.S b/arch/c6x/kernel/entry.S

Re: RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)

2012-09-21 Thread Thanasis
on 09/21/2012 06:28 PM Francois Romieu wrote the following: insert your ip addr add ... / link up and test sequence here I don't get what you mean by the above step. Could you be more explicit please? -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: [PATCH 1/3] Add a core driver for SI476x MFD

2012-09-21 Thread andrey.smir...@convergeddevices.net
On 09/21/2012 12:31 AM, Hans Verkuil wrote: On Fri September 21 2012 03:05:41 andrey.smir...@convergeddevices.net wrote: On 09/13/2012 11:44 PM, Hans Verkuil wrote: Hi Andrey! Thanks for posting this driver. One request for the future: please split this patch up in smaller pieces: one for

Re: [PATCH v3 04/13] kmem accounting basic infrastructure

2012-09-21 Thread Tejun Heo
On Tue, Sep 18, 2012 at 06:04:01PM +0400, Glauber Costa wrote: #ifdef CONFIG_MEMCG_KMEM +static struct cftype kmem_cgroup_files[] = { + { + .name = kmem.limit_in_bytes, + .private = MEMFILE_PRIVATE(_KMEM, RES_LIMIT), + .write_string =

TRACE_EVENT without ARGS

2012-09-21 Thread Wolfgang Grandegger
Hello, I would like to define trace events for functions without arguments, e.g. my_yield(). But TRACE_EVENT requires at least one argument to be defined and I also have not found an example in the kernel sources, apart from: $ cat include/trace/events/xen.h ...

Re: [PATCH 01/11] ARM: defconfig: Remove CONFIG_MISC_DEVICES

2012-09-21 Thread Fabio Estevam
Hi Arnd, On Fri, Sep 21, 2012 at 11:49 AM, Arnd Bergmann a...@arndb.de wrote: Sorry for not replying earlier. We could merge these through the arm-soc tree, but I'm not actually sure if they are necessary. For all I know, listing a nonexisting configuration option in a defconfig file has no

Re: [PATCH] Fix uninitialized variable in ath6kl ath6kl_sdio_enable_scatter

2012-09-21 Thread Kalle Valo
On 09/03/2012 11:15 PM, Andi Kleen wrote: gcc 4.8 warns /backup/lsrc/git/linux-lto-2.6/drivers/net/wireless/ath/ath6kl/sdio.c: In function 'ath6kl_sdio_enable_scatter': /backup/lsrc/git/linux-lto-2.6/drivers/net/wireless/ath/ath6kl/sdio.c:748:16: warning: 'ret' may be used uninitialized in

Re: RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)

2012-09-21 Thread Thanasis
on 09/21/2012 06:28 PM Francois Romieu wrote the following: Thanasis thana...@asyr.hopto.org : on 09/21/2012 02:20 AM Francois Romieu wrote the following: [...] Thanasis, can you narrow down a bit the failing revision ? Sure, let me know how to do it please. A rough kernel estimate had

Re: [PATCH 1/3] Add a core driver for SI476x MFD

2012-09-21 Thread Hans Verkuil
On Fri September 21 2012 18:33:45 andrey.smir...@convergeddevices.net wrote: On 09/21/2012 12:31 AM, Hans Verkuil wrote: On Fri September 21 2012 03:05:41 andrey.smir...@convergeddevices.net wrote: On 09/13/2012 11:44 PM, Hans Verkuil wrote: Hi Andrey! Thanks for posting this driver.

Re: [PATCH 1/2] ARM: add finit_module syscall to ARM

2012-09-21 Thread Russell King
On Fri, Sep 21, 2012 at 08:58:00AM -0700, Kees Cook wrote: Add finit_module syscall to the ARM syscall list. Signed-off-by: Kees Cook keesc...@chromium.org Cc: Russell King r...@arm.linux.org.uk --- arch/arm/include/asm/unistd.h |1 + arch/arm/kernel/calls.S |1 + 2 files

Re: Query of zram/zsmalloc promotion

2012-09-21 Thread Konrad Rzeszutek Wilk
On Wed, Sep 12, 2012 at 11:39:14AM +0900, Minchan Kim wrote: Hi all, I would like to promote zram/zsmalloc from staging tree. I already tried it https://lkml.org/lkml/2012/8/8/37 but I didn't get any response from you guys. I think zram/zsmalloc's code qulity is good and they are used

[PATCH] vfio: Fix virqfd release race

2012-09-21 Thread Alex Williamson
vfoi-pci supports a mechanism like KVM's irqfd for unmasking an interrupt through an eventfd. There are two ways to shutdown this interface: 1) close the eventfd, 2) ioctl (such as disabling the interrupt). Both of these do the release through a workqueue, which can result in a segfault if two

Re: [PATCH] PCI, x86: clear initial value for root info resources

2012-09-21 Thread Konrad Rzeszutek Wilk
On Wed, Sep 19, 2012 at 10:49:00AM -0700, Yinghai Lu wrote: Found one system one root bus hot remove get panic. Boy, this is mangled. Can you include the name of the system? Perhaps you can rephrase this to say: On XYZ removing the root bus (through ACPI unplug) causes a panic. Panic happens

Re: [PATCH v2] arm: introduce a DTS for Xen unprivileged virtual machines

2012-09-21 Thread Pawel Moll
On Thu, 2012-09-20 at 16:47 +0100, Stefano Stabellini wrote: Given that the xenvm machine is based on vexpress but with an extremely limited selection of peripherals (the guest is supposed to use virtual devices instead), add xen,xenvm to the list of compatible machines in mach-vexpress.

Re: [RFC PATCH 08/13] mmc: omap_hsmmc: limit max_segs with the EDMA DMAC

2012-09-21 Thread S, Venkatraman
On Thu, Sep 20, 2012 at 8:13 PM, Matt Porter mpor...@ti.com wrote: The EDMA DMAC has a hardware limitation that prevents supporting scatter gather lists with any number of segments. Since the EDMA DMA Engine driver sets the maximum segments to 16, we do the same. Note: this can be removed

Re: [RFC PATCH 08/13] mmc: omap_hsmmc: limit max_segs with the EDMA DMAC

2012-09-21 Thread S, Venkatraman
On Fri, Sep 21, 2012 at 10:45 PM, S, Venkatraman svenk...@ti.com wrote: On Thu, Sep 20, 2012 at 8:13 PM, Matt Porter mpor...@ti.com wrote: The EDMA DMAC has a hardware limitation that prevents supporting scatter gather lists with any number of segments. Since the EDMA DMA Engine driver sets

Re: [PATCH] rds: Error on offset mismatch if not loopback

2012-09-21 Thread David Miller
From: John Jolly jjo...@suse.com Date: Thu, 20 Sep 2012 01:11:34 -0600 Attempting an rds connection from the IP address of an IPoIB interface to itself causes a kernel panic due to a BUG_ON() being triggered. Making the test less strict allows rds-ping to work without crashing the machine.

Re: [PATCH 0/6] xen: frontend devices should handle missed backend CLOSING

2012-09-21 Thread Konrad Rzeszutek Wilk
On Fri, Sep 21, 2012 at 05:04:18PM +0100, David Vrabel wrote: The series makes all the Xen frontend drivers handle the backend transitioning to CLOSED without the frontend having previously seen the backend in the CLOSING state. Backends shouldn't do this but some do. e.g., if the host is

Re: [RFC PATCH 08/13] mmc: omap_hsmmc: limit max_segs with the EDMA DMAC

2012-09-21 Thread Felipe Balbi
On Fri, Sep 21, 2012 at 10:47:30PM +0530, S, Venkatraman wrote: On Fri, Sep 21, 2012 at 10:45 PM, S, Venkatraman svenk...@ti.com wrote: On Thu, Sep 20, 2012 at 8:13 PM, Matt Porter mpor...@ti.com wrote: The EDMA DMAC has a hardware limitation that prevents supporting scatter gather lists

Re: [PATCH v3 12/13] execute the whole memcg freeing in rcu callback

2012-09-21 Thread Tejun Heo
Hello, Glauber. On Tue, Sep 18, 2012 at 06:04:09PM +0400, Glauber Costa wrote: A lot of the initialization we do in mem_cgroup_create() is done with softirqs enabled. This include grabbing a css id, which holds ss-id_lock-rlock, and the per-zone trees, which holds rtpz-lock-rlock. All of those

Re: [Xen-devel] [PATCH] Persistent grant maps for xen blk drivers

2012-09-21 Thread Konrad Rzeszutek Wilk
On Fri, Sep 21, 2012 at 05:17:36PM +0100, David Vrabel wrote: On 21/09/12 15:27, Konrad Rzeszutek Wilk wrote: On Fri, Sep 21, 2012 at 01:23:48PM +0100, David Vrabel wrote: It's not just virtual space. blkback in pvops kernels allocates its pages from the balloon and if there aren't

Re: [PATCH 1/2] ARM: add finit_module syscall to ARM

2012-09-21 Thread Kees Cook
On Fri, Sep 21, 2012 at 9:51 AM, Russell King r...@arm.linux.org.uk wrote: On Fri, Sep 21, 2012 at 08:58:00AM -0700, Kees Cook wrote: Add finit_module syscall to the ARM syscall list. Signed-off-by: Kees Cook keesc...@chromium.org Cc: Russell King r...@arm.linux.org.uk ---

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

2012-09-21 Thread Raghavendra K T
On 09/21/2012 06:32 PM, Rik van Riel wrote: On 09/21/2012 08:00 AM, Raghavendra K T wrote: From: Raghavendra K T raghavendra...@linux.vnet.ibm.com When total number of VCPUs of system is less than or equal to physical CPUs, PLE exits become costly since each VCPU can have dedicated PCPU, and

Re: RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)

2012-09-21 Thread Thanasis
on 09/21/2012 07:30 PM Thanasis wrote the following: on 09/21/2012 06:28 PM Francois Romieu wrote the following: insert your ip addr add ... / link up and test sequence here I don't get what you mean by the above step. Could you be more explicit please? Hmm, think I got it ... Here is what I

Re: [PATCH v3 03/16] slab: Ignore the cflgs bit in cache creation

2012-09-21 Thread Tejun Heo
On Tue, Sep 18, 2012 at 06:11:57PM +0400, Glauber Costa wrote: No cache should ever pass that as a creation flag, since this bit is used to mark an internal decision of the slab about object placement. We can just ignore this bit if it happens to be passed (such as when duplicating a cache in

Re: [RFC PATCH 08/13] mmc: omap_hsmmc: limit max_segs with the EDMA DMAC

2012-09-21 Thread S, Venkatraman
On Fri, Sep 21, 2012 at 10:48 PM, Felipe Balbi ba...@ti.com wrote: On Fri, Sep 21, 2012 at 10:47:30PM +0530, S, Venkatraman wrote: On Fri, Sep 21, 2012 at 10:45 PM, S, Venkatraman svenk...@ti.com wrote: On Thu, Sep 20, 2012 at 8:13 PM, Matt Porter mpor...@ti.com wrote: The EDMA DMAC has a

Re: [PATCH v2] ipconfig: add nameserver IPs to kernel-parameter ip=

2012-09-21 Thread David Miller
From: Christoph Fritz chf.fr...@googlemail.com Date: Thu, 20 Sep 2012 23:48:50 +0200 diff --git a/Documentation/filesystems/nfs/nfsroot.txt b/Documentation/filesystems/nfs/nfsroot.txt index ffdd9d8..4ed7875 100644 --- a/Documentation/filesystems/nfs/nfsroot.txt +++

Re: [PATCH v3 02/17] ARM: add self test for runtime patch mechanism

2012-09-21 Thread Nicolas Pitre
On Tue, 11 Sep 2012, Cyril Chemparathy wrote: This patch adds basic sanity tests to ensure that the instruction patching results in valid instruction encodings. This is done by verifying the output of the patch process against a vector of assembler generated instructions at init time.

Re: [PATCH RFC 0/2] kvm: Improving undercommit,overcommit scenarios in PLE handler

2012-09-21 Thread Raghavendra K T
On 09/21/2012 06:48 PM, Chegu Vinod wrote: On 9/21/2012 4:59 AM, Raghavendra K T wrote: In some special scenarios like #vcpu = #pcpu, PLE handler may prove very costly, Yes. because there is no need to iterate over vcpus and do unsuccessful yield_to burning CPU. An idea to solve this is: 1)

Re: [PATCH v2] pwm_backlight: Add device tree support for Low Threshold Brightness

2012-09-21 Thread Stephen Warren
On 09/21/2012 12:03 AM, Philip, Avinash wrote: Hi Stephen, On Fri, Sep 21, 2012 at 10:46:45, Stephen Warren wrote: On 09/20/2012 10:51 PM, Philip, Avinash wrote: Some backlights perform poorly when driven by a PWM with a short duty-cycle. For such devices, the low threshold can be used to

Re: [PATCH RESEND 00/12] ACPI: add module_acpi_driver() and convert drivers to it

2012-09-21 Thread Len Brown
Thanks for the refresh, Mika. It is always a pleasure to apply patches that remove so much more code than they add! Len Brown, Intel Open Source Technology Center -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

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

2012-09-21 Thread Stephen Warren
On 09/21/2012 06:20 AM, Venu Byravarasu wrote: 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

Re: [PATCH 1/9] Revert mm: compaction: check lock contention first before taking lock

2012-09-21 Thread Rafael Aquini
On Fri, Sep 21, 2012 at 11:46:15AM +0100, Mel Gorman wrote: This reverts mm-compaction-check-lock-contention-first-before-taking-lock.patch as it is replaced by a later patch in the series. Signed-off-by: Mel Gorman mgor...@suse.de Acked-by: Rafael Aquini aqu...@redhat.com -- To

Re: rcu self-detected stall messages on OMAP3, 4 boards

2012-09-21 Thread Paul Walmsley
Hi Paul On Thu, 20 Sep 2012, Paul Walmsley wrote: On Thu, 20 Sep 2012, Paul E. McKenney wrote: Paul Walmsley, please let me know if the config below doesn't clear things up for you or if there is some reason why this config is infeasible. Will certainly test it here once things settle

Re: [PATCH 2/9] Revert mm-compaction-abort-compaction-loop-if-lock-is-contended-or-run-too-long-fix

2012-09-21 Thread Rafael Aquini
On Fri, Sep 21, 2012 at 11:46:16AM +0100, Mel Gorman wrote: This reverts mm-compaction-abort-compaction-loop-if-lock-is-contended-or-run-too-long-fix as it is replaced by a later patch in the series. Signed-off-by: Mel Gorman mgor...@suse.de Acked-by: Rafael Aquini aqu...@redhat.com -- To

Re: [PATCH 3/9] Revert mm: compaction: abort compaction loop if lock is contended or run too long

2012-09-21 Thread Rafael Aquini
On Fri, Sep 21, 2012 at 11:46:17AM +0100, Mel Gorman wrote: This reverts mm-compaction-abort-compaction-loop-if-lock-is-contended-or-run-too-long.patch as it is replaced by a later patch in the series. Signed-off-by: Mel Gorman mgor...@suse.de Acked-by: Rafael Aquini aqu...@redhat.com --

Re: [PATCH RFC 2/2] kvm: Be courteous to other VMs in overcommitted scenario in PLE handler

2012-09-21 Thread Raghavendra K T
On 09/21/2012 07:22 PM, Rik van Riel wrote: On 09/21/2012 09:46 AM, Takuya Yoshikawa wrote: On Fri, 21 Sep 2012 17:30:20 +0530 Raghavendra K T raghavendra...@linux.vnet.ibm.com wrote: From: Raghavendra K T raghavendra...@linux.vnet.ibm.com When PLE handler fails to find a better candidate to

Re: [PATCH] mISDN: suppress compiler warning

2012-09-21 Thread David Miller
From: Paul Bolle pebo...@tiscali.nl Date: Fri, 21 Sep 2012 12:25:24 +0200 Building the hfcpci driver triggers this GCC warning: drivers/isdn/hardware/mISDN/hfcpci.c:2298:2: warning: ignoring return value of 'driver_for_each_device', declared with attribute warn_unused_result

Re: Work queue questions

2012-09-21 Thread Tejun Heo
On Fri, Sep 21, 2012 at 06:35:25PM +0100, Dinky Verma wrote: I have one question regarding concurrency managed workqueue. In the previous kernel versions, I was using create_singlethread_workqueue(driver_wq) e.g workqueue name is driver_wq. In my device driver with the latest kernel version, I

Re: [PATCH RESEND] PM / Runtime: let rpm_resume() succeed if RPM_ACTIVE, even when disabled

2012-09-21 Thread Alan Stern
On Thu, 20 Sep 2012, Rafael J. Wysocki wrote: On Thursday, September 20, 2012, Kevin Hilman wrote: From: Kevin Hilman khil...@ti.com When runtime PM is disabled, what we want is for callbacks not to be called from then on. However, currently, when runtime PM is disabled, operations

Re: [PATCH 4/9] mm: compaction: Abort compaction loop if lock is contended or run too long

2012-09-21 Thread Rafael Aquini
On Fri, Sep 21, 2012 at 11:46:18AM +0100, Mel Gorman wrote: From: Shaohua Li s...@fusionio.com Changelog since V2 o Fix BUG_ON triggered due to pages left on cc.migratepages o Make compact_zone_order() require non-NULL arg `contended' Changelog since V1 o only abort the compaction if

Re: rcu self-detected stall messages on OMAP3, 4 boards

2012-09-21 Thread Paul Walmsley
On Fri, 21 Sep 2012, Paul Walmsley wrote: The config used was 'omap2plus_defconfig', and enabled CONFIG_CPU_IDLE by hand. One other thing I forgot to mention - CONFIG_RCU_CPU_STALL_INFO was enabled by hand also. Below is the diff between omap2plus_defconfig and the config that was used

Re: [PATCH 5/9] mm: compaction: Acquire the zone-lru_lock as late as possible

2012-09-21 Thread Rafael Aquini
On Fri, Sep 21, 2012 at 11:46:19AM +0100, Mel Gorman wrote: Compactions migrate scanner acquires the zone-lru_lock when scanning a range of pages looking for LRU pages to acquire. It does this even if there are no LRU pages in the range. If multiple processes are compacting then this can cause

Re: [PATCH 6/9] mm: compaction: Acquire the zone-lock as late as possible

2012-09-21 Thread Rafael Aquini
On Fri, Sep 21, 2012 at 11:46:20AM +0100, Mel Gorman wrote: Compactions free scanner acquires the zone-lock when checking for PageBuddy pages and isolating them. It does this even if there are no PageBuddy pages in the range. This patch defers acquiring the zone lock for as long as possible.

Re: [PATCH 7/9] Revert mm: have order 0 compaction start off where it left

2012-09-21 Thread Rafael Aquini
On Fri, Sep 21, 2012 at 11:46:21AM +0100, Mel Gorman wrote: This reverts commit 7db8889a (mm: have order 0 compaction start off where it left) and commit de74f1cc (mm: have order 0 compaction start near a pageblock with free pages). These patches were a good idea and tests confirmed that

Re: [PATCH 8/9] mm: compaction: Cache if a pageblock was scanned and no pages were isolated

2012-09-21 Thread Rafael Aquini
On Fri, Sep 21, 2012 at 11:46:22AM +0100, Mel Gorman wrote: When compaction was implemented it was known that scanning could potentially be excessive. The ideal was that a counter be maintained for each pageblock but maintaining this information would incur a severe penalty due to a shared

Re: [PATCH 9/9] mm: compaction: Restart compaction from near where it left off

2012-09-21 Thread Rafael Aquini
On Fri, Sep 21, 2012 at 11:46:23AM +0100, Mel Gorman wrote: This is almost entirely based on Rik's previous patches and discussions with him about how this might be implemented. Order 0 compaction stops when enough free pages of the correct page order have been coalesced. When doing

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

2012-09-21 Thread John Johansen
On 09/20/2012 07:22 PM, James Morris wrote: On Thu, 20 Sep 2012, Kees Cook wrote: Earlier proposals for appending signatures to kernel modules would not be useful in Chrome OS, since it would involve adding an additional set of keys to our kernel and builds for no good reason: we already

[PATCH v11] kvm: Add resampling irqfds for level triggered interrupts

2012-09-21 Thread Alex Williamson
To emulate level triggered interrupts, add a resample option to KVM_IRQFD. When specified, a new resamplefd is provided that notifies the user when the irqchip has been resampled by the VM. This may, for instance, indicate an EOI. Also in this mode, posting of an interrupt through an irqfd only

Re: [RFC][PATCH] Reset PCIe devices to address DMA problem on kdump with iommu

2012-09-21 Thread Don Dutile
On 09/14/2012 04:03 PM, Konrad Rzeszutek Wilk wrote: As to the boot parameter to enable this function, you suggested using reset_devices. I found that on a certain platform resetting devices caused PCIe error due to a hardware bug. Therefore I think we need new parameter apart from reset_devices

Re: rcu self-detected stall messages on OMAP3, 4 boards

2012-09-21 Thread Paul Walmsley
cc Frederic Weisbecker - context is here: http://marc.info/?l=linux-kernelm=134749030206016w=2 On Thu, 20 Sep 2012, Paul E. McKenney wrote: Fair point. I am wondering whether there is some path into the idle loop that somehow avoids telling RCU that the CPU has in face entered idle.

Re: [PATCH v3 01/17] ARM: add mechanism for late code patching

2012-09-21 Thread Nicolas Pitre
On Tue, 11 Sep 2012, Cyril Chemparathy wrote: The original phys_to_virt/virt_to_phys patching implementation relied on early patching prior to MMU initialization. On PAE systems running out of 4G address space, this would have entailed an additional round of patching after switching over to

[RFC v3 0/2] PCI-Express Non-Transparent Bridge Support

2012-09-21 Thread Jon Mason
Version 3 of the patch that adds support for PCI-Express Non-Transparent Bridges in Linux. This version incorporates changes to conform NTB and client devices to the Linux device model (per Greg KH's request). Thanks, Jon -- To unsubscribe from this list: send the line unsubscribe

[RFC v3 2/2] net: Add support for NTB virtual ethernet device

2012-09-21 Thread Jon Mason
A virtual ethernet device that uses the NTB transport API to send/receive data. Signed-off-by: Jon Mason jon.ma...@intel.com --- drivers/net/Kconfig |4 + drivers/net/Makefile |1 + drivers/net/ntb_netdev.c | 407 ++ 3 files changed,

Re: RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)

2012-09-21 Thread Francois Romieu
Thanasis thana...@asyr.hopto.org : [...] Hmm, think I got it ... Here is what I put there: ifconfig eth0 192.168.0.19 up ; ping -c 3 192.168.0.1 If it fails with the r8169 driver included in the 3.5 tree, that's what you can use, yes (you may add a second ping with -q -f -l and more packets to

Re: [RFC] mm: add support for zsmalloc and zcache

2012-09-21 Thread Konrad Rzeszutek Wilk
On Fri, Sep 21, 2012 at 05:12:52PM +0100, Mel Gorman wrote: On Tue, Sep 04, 2012 at 04:34:46PM -0500, Seth Jennings wrote: zcache is the remaining piece of code required to support in-kernel memory compression. The other two features, cleancache and frontswap, have been promoted to

Re: [PATCH v4 03/10] pinctrl: mvebu: kirkwood pinctrl driver

2012-09-21 Thread Linus Walleij
On Thu, Sep 20, 2012 at 9:36 PM, Thomas Petazzoni thomas.petazz...@free-electrons.com wrote: If I understand correctly, we would like drivers to be able to read some common system registers to figure out which SoC variant we are running on. Such feature should normally be provided by code in

Re: [RFC v3 1/2] PCI-Express Non-Transparent Bridge Support

2012-09-21 Thread David Miller
From: Jon Mason jon.ma...@intel.com Date: Fri, 21 Sep 2012 11:09:48 -0700 A PCI-Express non-transparent bridge (NTB) is a point-to-point PCIe bus connecting 2 systems, providing electrical isolation between the two subsystems. A non-transparent bridge is functionally similar to a transparent

Re: [PATCH v3 05/16] consider a memcg parameter in kmem_create_cache

2012-09-21 Thread Tejun Heo
Hello, Glauber. On Tue, Sep 18, 2012 at 06:11:59PM +0400, Glauber Costa wrote: +void memcg_register_cache(struct mem_cgroup *memcg, struct kmem_cache *cachep) +{ + int id = -1; + + if (!memcg) + id = ida_simple_get(cache_types, 0, MAX_KMEM_CACHE_TYPES, +

Re: [PATCH v3 03/17] ARM: use late patch framework for phys-virt patching

2012-09-21 Thread Nicolas Pitre
On Tue, 11 Sep 2012, Cyril Chemparathy wrote: This patch replaces the original physical offset patching implementation with one that uses the newly added patching framework. Signed-off-by: Cyril Chemparathy cy...@ti.com Please also remove the MODULE_ARCH_VERMAGIC_P2V entirely from module.h

RE: [RFC 0/5] ARM: dma-mapping: New dma_map_ops to control IOVA more precisely

2012-09-21 Thread Krishna Reddy
The device(H/W controller) need to access few special memory blocks(IOVA==PA) and DRAM as well. OK, so only /some/ of the VA space is VA==PA, and some is remapped; that's a little different that what you originally implied above. BTW, which HW module is this; AVP/COP or something else.

Re: [RFC PATCH 00/13] DMA Engine support for AM33xx

2012-09-21 Thread Matt Porter
On Fri, Sep 21, 2012 at 08:27:07AM +, Hebbar, Gururaja wrote: On Thu, Sep 20, 2012 at 20:13:33, Porter, Matt wrote: This series adds DMA Engine support for AM33xx, which uses an EDMA DMAC. The EDMA DMAC has been previously supported by only a private API implementation (much like the

Re: [RFC PATCH 05/13] dma: Add TI EDMA device tree binding

2012-09-21 Thread Matt Porter
On Fri, Sep 21, 2012 at 08:45:53AM +, Hebbar, Gururaja wrote: On Thu, Sep 20, 2012 at 20:13:38, Porter, Matt wrote: The binding definition is based on the generic DMA controller binding. Signed-off-by: Matt Porter mpor...@ti.com ---

Re: [RFC PATCH 01/13] ARM: davinci: move private EDMA API to arm/common

2012-09-21 Thread Matt Porter
On Fri, Sep 21, 2012 at 07:10:52AM +, Hebbar, Gururaja wrote: On Thu, Sep 20, 2012 at 20:13:34, Porter, Matt wrote: Move mach-davinci/dma.c to common/edma.c so it can be used by OMAP (specifically AM33xx atm) as well. This just moves the private EDMA API but does not support OMAP.

Re: Work queue questions

2012-09-21 Thread Deepawali Verma
Hi Tejun, Actually I want to make parallelization of one task into three tasks. Therefore I created three single threaded work queues means divide the task into three tasks. You are right that I can use one work queue as well. But when I am doing three times schedule on different work queues, I

Re: [PATCH v3 09/17] ARM: LPAE: use phys_addr_t for initrd location and size

2012-09-21 Thread Nicolas Pitre
On Tue, 11 Sep 2012, Cyril Chemparathy wrote: From: Vitaly Andrianov vita...@ti.com This patch fixes the initrd setup code to use phys_addr_t instead of assuming 32-bit addressing. Without this we cannot boot on systems where initrd is located above the 4G physical address limit.

[PATCH v3] ipconfig: add nameserver IPs to kernel-parameter ip=

2012-09-21 Thread Christoph Fritz
On small systems (e.g. embedded ones) IP addresses are often configured by bootloaders and get assigned to kernel via parameter ip=. If set to ip=dhcp, even nameserver entries from DHCP daemons are handled. These entries exported in /proc/net/pnp are commonly linked by /etc/resolv.conf. To

Re: Query of zram/zsmalloc promotion

2012-09-21 Thread Jens Axboe
On 2012-09-21 18:41, Konrad Rzeszutek Wilk wrote: On Wed, Sep 12, 2012 at 11:39:14AM +0900, Minchan Kim wrote: Hi all, I would like to promote zram/zsmalloc from staging tree. I already tried it https://lkml.org/lkml/2012/8/8/37 but I didn't get any response from you guys. I think

Re: [PATCH v3 06/16] memcg: infrastructure to match an allocation to the right cache

2012-09-21 Thread Tejun Heo
On Tue, Sep 18, 2012 at 06:12:00PM +0400, Glauber Costa wrote: diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 04851bb..1cce5c3 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -339,6 +339,11 @@ struct mem_cgroup { #ifdef CONFIG_INET struct tcp_memcontrol tcp_mem; #endif

[RFC PATCH 01/10] sched: entity load-tracking load_avg_ratio

2012-09-21 Thread morten . rasmussen
From: Morten Rasmussen morten.rasmus...@arm.com This patch adds load_avg_ratio to each task. The load_avg_ratio is a variant of load_avg_contrib which is not scaled by the task priority. It is calculated like this: runnable_avg_sum * NICE_0_LOAD / (runnable_avg_period + 1). Signed-off-by:

Conditional Unlink

2012-09-21 Thread Fox, Kevin M
Quick question: Is there a syscall or some algorithm that would allow an unlink that would only happen if no writes to the file have occurred between a stat and an unlink, race free? Background: I'm writing a program that sync's files up to a server. I would like to unlink the files that have

[RFC PATCH 00/10] sched: Task placement for heterogeneous MP systems

2012-09-21 Thread morten . rasmussen
From: Morten Rasmussen morten.rasmus...@arm.com Hi Paul, Paul, Peter, Suresh, linaro-sched-sig, and LKML, As a follow-up on my Linux Plumbers Conference talk about my experiments with scheduling on heterogeneous systems I'm posting a proof-of-concept patch set with my modifications. The

Re: [RFC PATCH 01/13] ARM: davinci: move private EDMA API to arm/common

2012-09-21 Thread Matt Porter
On Fri, Sep 21, 2012 at 10:42:05AM +0100, Russell King wrote: On Fri, Sep 21, 2012 at 09:33:42AM +, Hebbar, Gururaja wrote: On Fri, Sep 21, 2012 at 14:59:23, Russell King - ARM Linux wrote: On Thu, Sep 20, 2012 at 10:43:34AM -0400, Matt Porter wrote: Move mach-davinci/dma.c to

[RFC PATCH 08/10] sched: Add ftrace events for entity load-tracking

2012-09-21 Thread morten . rasmussen
From: Morten Rasmussen morten.rasmus...@arm.com Adds ftrace events for key variables related to the entity load-tracking to help debugging scheduler behaviour. Allows tracing of load contribution and runqueue residency ratio for both entities and runqueues as well as entity CPU usage ratio.

Re: [PATCH v3 10/17] ARM: LPAE: use phys_addr_t in switch_mm()

2012-09-21 Thread Nicolas Pitre
On Tue, 11 Sep 2012, Cyril Chemparathy wrote: This patch modifies the switch_mm() processor functions to use phys_addr_t. On LPAE systems, we now honor the upper 32-bits of the physical address that is being passed in, and program these into TTBR as expected. Signed-off-by: Cyril

Instead of IP addresses the kernel started to show zero's

2012-09-21 Thread Alexey Vlasov
Hi. Here it writes LOG module (netfilter) in syslog: Sep 21 22:24:04 l24 kernel: ipsec:SYN-OUTPUT-HTTP IN= OUT=eth0 SRC= DST= LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=9042 DF PROTO=TCP SPT=51169 DPT=80 WINDOW=14600 RES=0x00 SYN URGP=0 UID=545369 GID=155 This

<    4   5   6   7   8   9   10   11   >