Re: [PATCH 3/7] mfd: db8500-prcmu: Ensure AB8500 platform data is passed through MFD Core

2012-07-27 Thread Samuel Ortiz
Hi Lee, On Fri, Jul 27, 2012 at 01:38:50PM +0100, Lee Jones wrote: When booting via platform code the AB8500 platform data is now passed in though the DB8500. However, if pdata_size is not set it will not be subsequently passed onto subordinate devices. This patch correctly populates

Re: [PATCH 4/7] mfd: ab8500-core: Apply the AB8500 CODEC's compatible string to its MFD cell

2012-07-27 Thread Samuel Ortiz
Hi Lee, On Fri, Jul 27, 2012 at 01:38:51PM +0100, Lee Jones wrote: Provide a compatible string for the AB8500 CODEC to aid in configuration property look-up from its associated Device Tree node. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mfd/ab8500-core.c |1 + 1 file

[PATCH] n_tty: Don't lose characters when PARMRK is enabled

2012-07-27 Thread Jaeden Amero
When PARMRK is set and large transfers of characters that will get marked are being received, n_tty could drop data silently (i.e. without reporting any error to the client). This is because characters have the potential to take up to three bytes in the line discipline (when they get marked with

Re: [Xen-devel] [PATCH 02/24] xen/arm: hypercalls

2012-07-27 Thread Stefano Stabellini
On Fri, 27 Jul 2012, Ian Campbell wrote: Should this comment be by 'privcmd_call'? When we add a 5 argument hypercall I suppose we'll see the required push/pop of r4 added to this macro too. For performance and simplicity I would add a second macro that push/pop r4, only

Re: [Xen-devel] [PATCH 03/24] xen/arm: page.h definitions

2012-07-27 Thread Stefano Stabellini
On Thu, 26 Jul 2012, Konrad Rzeszutek Wilk wrote: On Thu, Jul 26, 2012 at 04:33:45PM +0100, Stefano Stabellini wrote: ARM Xen guests always use paging in hardware, like PV on HVM guests in the X86 world. Nice, so no dealing with the P2M at all in the guest? Nope ;-) Signed-off-by:

[RFC patch] vm: clear swap entry before copying pte

2012-07-27 Thread Hillf Danton
If swap entry is cleared, we can see the reason that copying pte is interrupted. If due to page table lock held long enough, no need to increase swap count. Signed-off-by: Hillf Danton dhi...@gmail.com --- --- a/mm/memory.c Fri Jul 27 21:33:32 2012 +++ b/mm/memory.c Fri Jul 27

[PATCH v2] regmap: Don't lock in regmap_reinit_cache()

2012-07-27 Thread Dimitris Papastamos
When bus-fast_io is set, the locking here is done with spinlocks. This is currently true for the regmap-mmio bus implementation. While holding a spinlock we can't go to sleep, various operations like removing the debugfs entries or re-initializing the cache will sleep, therefore, shift the

Re: [Ksummit-2012-discuss] ARM mini-summit

2012-07-27 Thread Igor Grinberg
On 07/13/12 10:18, Tony Lindgren wrote: * Kukjin Kim kgene@samsung.com [120712 15:13]: +1 same here, I'm interested in ARM mini-summit :) Yeah me too! +1 very interested and we have lot's of stuff to discuss -- Regards, Igor. -- To unsubscribe from this list: send the line

[PATCH v2] regmap: Add regmap dummy driver

2012-07-27 Thread Dimitris Papastamos
Add a pseudo-driver for debugging and stress-testing the regmap/regcache APIs. A standard set of tools for working with this driver (mainly sh scripts) will be put in a repo at https://github.com/quantumdream/regmap-tools Some of these tests will require one to build with

Re: [PATCH 02/24] xen/arm: hypercalls

2012-07-27 Thread Stefano Stabellini
On Fri, 27 Jul 2012, Christopher Covington wrote: On 07/27/2012 05:19 AM, Ian Campbell wrote: On Thu, 2012-07-26 at 20:19 +0100, Christopher Covington wrote: Hi Stefano, On 07/26/2012 11:33 AM, Stefano Stabellini wrote: Use r12 to pass the hypercall number to the hypervisor. We need

[PATCH] tcp: perform DMA to userspace only if there is a task waiting for it

2012-07-27 Thread Jiri Kosina
Back in 2006, commit 1a2449a87b ([I/OAT]: TCP recv offload to I/OAT) added support for receive offloading to IOAT dma engine if available. The code in tcp_rcv_established() tries to perform early DMA copy if applicable. It however does so without checking whether the userspace task is actually

[1/3][PATCH][v2] Adding documentation for TDM

2012-07-27 Thread sandeep
From: Sandeep Singh sand...@freescale.com tdm-summary.txt contains general description about TDM. tdm-framework.txt contains specific description of TDM framework. Signed-off-by: Sandeep Singh sand...@freescale.com Signed-off-by: Poonam Aggrwal poonam.aggr...@freescale.com --- Changes since

[3/3][PATCH][v2] Added TDM device support and Freescale Starlite driver

2012-07-27 Thread sandeep
From: Sandeep Singh sand...@freescale.com Freescale TDM controller consists of a TDM module supporting 128 channels running at up to 50 Mbps with 8-bit and 16-bit word size. The TDM bus connects gluelessly to most T1/E1 frames as well as to common buses such as the H.110, SCAS, and MVIP. TDM also

[2/3][PATCH][v2] TDM Framework

2012-07-27 Thread sandeep
From: Sandeep Singh sand...@freescale.com TDM Framework is an attempt to provide a platform independent layer which can offer a standard interface for TDM access to different client modules. Beneath, the framework layer can house different types of TDM drivers to handle various TDM devices, the

Re: [Xen-devel] [PATCH 17/24] xen: allow privcmd for HVM guests

2012-07-27 Thread Stefano Stabellini
On Fri, 27 Jul 2012, Jan Beulich wrote: On 26.07.12 at 17:33, Stefano Stabellini stefano.stabell...@eu.citrix.com wrote: In order for privcmd mmap to work correctly, xen_remap_domain_mfn_range needs to be implemented for HVM guests. If it is not, mmap is going to fail later on.

Re: [2/3][PATCH][v2] TDM Framework

2012-07-27 Thread John Stoffel
From: Sandeep Singh sand...@freescale.com TDM Framework is an attempt to provide a platform independent layer which can offer a standard interface for TDM access to different client modules. Please don't use TLAs (Three Letter Acronyms) like TDM without explaining the clearly and up front.

[RFC PATCH 3/3] dma-bikeshed-fence: Hardware dma-buf implementation of fencing

2012-07-27 Thread Maarten Lankhorst
This type of fence can be used with hardware synchronization for simple hardware that can block execution until the condition dma_buf[offset] = value has been met, accounting for wraparound. A software fallback still has to be provided in case the fence is used with a device that doesn't support

[RFC PATCH 2/3] dma-buf-mgr: multiple dma-buf synchronization (v2)

2012-07-27 Thread Maarten Lankhorst
Signed-off-by: Maarten Lankhorst maarten.lankho...@canonical.com dma-buf-mgr handles the case of reserving single or multiple dma-bufs while trying to prevent deadlocks from buffers being reserved simultaneously. For this to happen extra functions have been introduced: + dma_buf_reserve() +

[RFC PATCH 1/3] dma-fence: dma-buf synchronization (v5)

2012-07-27 Thread Maarten Lankhorst
A dma-fence can be attached to a buffer which is being filled or consumed by hw, to allow userspace to pass the buffer without waiting to another device. For example, userspace can call page_flip ioctl to display the next frame of graphics after kicking the GPU but while the GPU is still

Re: [Xen-devel] [PATCH 02/24] xen/arm: hypercalls

2012-07-27 Thread Russell King - ARM Linux
On Fri, Jul 27, 2012 at 02:02:18PM +0100, Stefano Stabellini wrote: +/** + * hypercall.h + * + * Linux-specific hypervisor handling. + * + * Stefano Stabellini stefano.stabell...@eu.citrix.com,

Re: [RFC PATCH] fs/direct-io.c: Set bi_rw when alloc bio.

2012-07-27 Thread Jeff Moyer
majianpeng majianp...@gmail.com writes: When exec bio_alloc, the bi_rw is zero.But after calling bio_add_page, it will use bi_rw. Fox example, in functiion __bio_add_page,it will call merge_bvec_fn(). The merge_bvec_fn of raid456 will use the bi_rw to judge the merge. if ((bvm-bi_rw 1) ==

Re: [PATCH 13/24] xen/arm: get privilege status

2012-07-27 Thread Stefano Stabellini
On Fri, 27 Jul 2012, Ian Campbell wrote: On Thu, 2012-07-26 at 16:33 +0100, Stefano Stabellini wrote: Use Xen features to figure out if we are privileged. XENFEAT_dom0 was introduced by 23735 in xen-unstable.hg. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com ---

Re: [BUG] NTFS code doesn't sanitize folder names sufficiently

2012-07-27 Thread Calvin Walton
On Thu, 2012-07-26 at 20:18 +0200, Marian Beermann wrote: Hello everyone, today I noticed some very odd behaviour, which could lead people to believe a loss of data, because it is possible to create directories with backslashes in them. I am currently running kernel 3.5. To completly

Re: [GIT PULL] New TPM driver and features

2012-07-27 Thread Kent Yoder
Hi, On Thu, Jul 26, 2012 at 02:46:25PM -0700, H. Peter Anvin wrote: On 07/26/2012 07:31 AM, Kent Yoder wrote: hw_random: add support for the TPM chip as a hardware RNG source Could you clarify this? rngd (the user of /dev/hw_random) already has support for the TPM... is this

Re: [PATCH 13/24] xen/arm: get privilege status

2012-07-27 Thread Ian Campbell
On Fri, 2012-07-27 at 15:25 +0100, Stefano Stabellini wrote: On Fri, 27 Jul 2012, Ian Campbell wrote: On Thu, 2012-07-26 at 16:33 +0100, Stefano Stabellini wrote: Use Xen features to figure out if we are privileged. XENFEAT_dom0 was introduced by 23735 in xen-unstable.hg.

Re: [PATCH] kernel/watchdog.c : fix smp_processor_id() warning

2012-07-27 Thread Don Zickus
On Fri, Jul 27, 2012 at 08:38:21AM +0800, Ming Lei wrote: On Fri, Jul 27, 2012 at 3:43 AM, Don Zickus dzic...@redhat.com wrote: On Wed, Jul 25, 2012 at 12:39:45PM +0800, Ming Lei wrote: Use raw_smp_processor_id in lockup_detector_bootcpu_resume() because it is enough when non-boot CPUs are

Re: [Xen-devel] [PATCH 02/24] xen/arm: hypercalls

2012-07-27 Thread Stefano Stabellini
On Fri, 27 Jul 2012, Russell King - ARM Linux wrote: On Fri, Jul 27, 2012 at 02:02:18PM +0100, Stefano Stabellini wrote: +/** + * hypercall.h + * + * Linux-specific hypervisor handling. + * +

Re: [net-next RFC V5 3/5] virtio: intorduce an API to set affinity for a virtqueue

2012-07-27 Thread Paolo Bonzini
Il 05/07/2012 12:29, Jason Wang ha scritto: Sometimes, virtio device need to configure irq affiniry hint to maximize the performance. Instead of just exposing the irq of a virtqueue, this patch introduce an API to set the affinity for a virtqueue. The api is best-effort, the affinity hint

Re: [Xen-devel] [PATCH 02/24] xen/arm: hypercalls

2012-07-27 Thread Ian Campbell
On Fri, 2012-07-27 at 15:21 +0100, Russell King - ARM Linux wrote: On Fri, Jul 27, 2012 at 02:02:18PM +0100, Stefano Stabellini wrote: +/** + * hypercall.h + * + * Linux-specific hypervisor handling.

Re: [PATCH 1/2] sched: recover SD_WAKE_AFFINE in select_task_rq_fair and code clean up

2012-07-27 Thread Alex Shi
On 07/27/2012 04:32 PM, Peter Zijlstra wrote: On Fri, 2012-07-27 at 09:47 +0800, Alex Shi wrote: From 610515185d8a98c14c7c339c25381bc96cd99d93 Mon Sep 17 00:00:00 2001 From: Alex Shi alex@intel.com Date: Thu, 26 Jul 2012 08:55:34 +0800 Subject: [PATCH 1/3] sched: recover SD_WAKE_AFFINE

Re: Direct I/O bug in kernel

2012-07-27 Thread Hillf Danton
On Wed, Jul 25, 2012 at 1:28 AM, Victor Meyerson calculuspeng...@yahoo.com wrote: Still different checksums and I used the same random-file from my first test. Then try the fix at https://lkml.org/lkml/2012/7/27/54 Good Weekend Hillf -- To unsubscribe from this list: send the line

Re: [PATCH 07/24] xen/arm: Xen detection and shared_info page mapping

2012-07-27 Thread Stefano Stabellini
On Fri, 27 Jul 2012, Ian Campbell wrote: On Thu, 2012-07-26 at 16:33 +0100, Stefano Stabellini wrote: Check for a /xen node in the device tree, if it is present set xen_domain_type to XEN_HVM_DOMAIN and continue initialization. Map the real shared info page using XENMEM_add_to_physmap

Re: [PATCH 1/2] tpm: Move tpm_get_random api into the TPM device driver

2012-07-27 Thread Kent Yoder
On Thu, Jul 26, 2012 at 03:12:19PM -0700, H. Peter Anvin wrote: On 06/07/2012 11:47 AM, Kent Yoder wrote: Move the tpm_get_random api from the trusted keys code into the TPM device driver itself so that other callers can make use of it. Also, change the api slightly so that the number of bytes

Re: [PATCH 07/24] xen/arm: Xen detection and shared_info page mapping

2012-07-27 Thread Ian Campbell
On Fri, 2012-07-27 at 15:48 +0100, Stefano Stabellini wrote: On Fri, 27 Jul 2012, Ian Campbell wrote: On Thu, 2012-07-26 at 16:33 +0100, Stefano Stabellini wrote: Check for a /xen node in the device tree, if it is present set xen_domain_type to XEN_HVM_DOMAIN and continue initialization.

Re: [2/3][PATCH][v2] TDM Framework

2012-07-27 Thread Russell King - ARM Linux
On Fri, Jul 27, 2012 at 07:35:38PM +0530, sand...@freescale.com wrote: +static DEFINE_MUTEX(tdm_core_lock); +static DEFINE_IDR(tdm_adapter_idr); +/* List of TDM adapters registered with TDM framework */ +LIST_HEAD(adapter_list); + +/* List of TDM clients registered with TDM framework */

Re: [PATCH 1/2] tpm: Move tpm_get_random api into the TPM device driver

2012-07-27 Thread Kent Yoder
On Thu, Jul 26, 2012 at 05:10:44PM -0700, H. Peter Anvin wrote: On 06/07/2012 11:47 AM, Kent Yoder wrote: Move the tpm_get_random api from the trusted keys code into the TPM device driver itself so that other callers can make use of it. Also, change the api slightly so that the number of bytes

Re: [Xen-devel] [PATCH 02/24] xen/arm: hypercalls

2012-07-27 Thread Russell King - ARM Linux
On Fri, Jul 27, 2012 at 03:39:31PM +0100, Ian Campbell wrote: On Fri, 2012-07-27 at 15:21 +0100, Russell King - ARM Linux wrote: On Fri, Jul 27, 2012 at 02:02:18PM +0100, Stefano Stabellini wrote: +/** + *

Re: [GIT PULL] New TPM driver and features

2012-07-27 Thread H. Peter Anvin
On 07/27/2012 07:29 AM, Kent Yoder wrote: Hi, On Thu, Jul 26, 2012 at 02:46:25PM -0700, H. Peter Anvin wrote: On 07/26/2012 07:31 AM, Kent Yoder wrote: hw_random: add support for the TPM chip as a hardware RNG source Could you clarify this? rngd (the user of /dev/hw_random) already

Re: [PATCH 1/2] tpm: Move tpm_get_random api into the TPM device driver

2012-07-27 Thread H. Peter Anvin
On 07/27/2012 07:49 AM, Kent Yoder wrote: case Opt_new: - ret = my_get_random(payload-key, payload-key_len); + ret = tpm_get_random(TPM_ANY_NUM, payload-key, +payload-key_len); payload-key_len is unsigned int, not

Re: [ 39/40] cpuset: mm: reduce large amounts of memory barrier related damage v3

2012-07-27 Thread Herton Ronaldo Krzesinski
On Thu, Jul 26, 2012 at 02:29:57PM -0700, Greg Kroah-Hartman wrote: From: Greg KH gre...@linuxfoundation.org 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman mgor...@suse.de commit cc9a6c8776615f9c194ccf0b63a0aa5628235545

Re: [PATCH 1/4] EFI: Stash ROMs if they're not in the PCI BAR

2012-07-27 Thread Seth Forshee
On Thu, Jul 26, 2012 at 06:02:46PM -0400, Matthew Garrett wrote: + rom-data.next = NULL; Noticed today that I'm getting an assignment makes integer from pointer without a cast warning from this line. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

Re: [PATCH 3/4] PCI: Add support for non-BAR ROMs

2012-07-27 Thread Seth Forshee
On Thu, Jul 26, 2012 at 06:02:48PM -0400, Matthew Garrett wrote: + return phys_to_virt(pdev-rom); This line is giving me a makes integer from pointer without a cast warning. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [ 39/40] cpuset: mm: reduce large amounts of memory barrier related damage v3

2012-07-27 Thread Mel Gorman
--- a/mm/slub.c +++ b/mm/slub.c @@ -1457,6 +1457,7 @@ static struct page *get_any_partial(stru struct zone *zone; enum zone_type high_zoneidx = gfp_zone(flags); struct page *page; + unsigned int cpuset_mems_cookie; /* * The defrag ratio allows a

[PATCH 4/7] bridge: call NETDEV_RELEASE notifier in br_del_if()

2012-07-27 Thread Cong Wang
When a bridge interface deletes its underlying ports, it should notify netconsole too, like what bonding interface does. Cc: David S. Miller da...@davemloft.net Signed-off-by: Cong Wang amw...@redhat.com --- net/bridge/br_if.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff

[PATCH 3/7] netconsole: do not release spin_lock before calling __netpoll_cleanup

2012-07-27 Thread Cong Wang
With the previous patch applied, __netpoll_cleanup() is non-block now, so we don't need to release the spin_lock before calling it. Cc: David S. Miller da...@davemloft.net Signed-off-by: Cong Wang amw...@redhat.com --- drivers/net/netconsole.c |5 - 1 files changed, 0 insertions(+), 5

[PATCH 1/7] netpoll: use GFP_ATOMIC in slave_enable_netpoll() and __netpoll_setup()

2012-07-27 Thread Cong Wang
slave_enable_netpoll() and __netpoll_setup() may be called with read_lock() held, so should use GFP_ATOMIC to allocate memory. Cc: David S. Miller da...@davemloft.net Reported-by: Dan Carpenter dan.carpen...@oracle.com Signed-off-by: Cong Wang amw...@redhat.com ---

[PATCH 5/7] netpoll: take rcu_read_lock_bh() in netpoll_rx()

2012-07-27 Thread Cong Wang
In __netpoll_rx(), it dereferences -npinfo without rcu_dereference_bh(), this patch fixes it by using the 'npinfo' passed from netpoll_rx() where it is already dereferenced with rcu_dereference_bh(). Cc: David S. Miller da...@davemloft.net Signed-off-by: Cong Wang amw...@redhat.com ---

Re: [2/3][PATCH][v2] TDM Framework

2012-07-27 Thread Francois Romieu
sand...@freescale.com sand...@freescale.com : [...] The main functions of this Framework are: - provides interface to TDM clients to access TDM functionalities. - provides standard interface for TDM drivers to hook with the framework. - handles various data handling stuff and buffer

[PATCH 7/7] netpoll: take rcu_read_lock_bh() in netpoll_send_skb_on_dev()

2012-07-27 Thread Cong Wang
This patch fixes several problems in the call path of netpoll_send_skb_on_dev(): 1. We already disable IRQ's before calling netpoll_send_skb_on_dev(), so we don't need to disable IRQ's again. 2. All the callees of netpoll_send_skb_on_dev() should use rcu_dereference_bh() to dereference

[PATCH 6/7] netpoll: use netpoll_rx_on() in netpoll_rx()

2012-07-27 Thread Cong Wang
The logic of the code is same, just call netpoll_rx_on(). Cc: David S. Miller da...@davemloft.net Signed-off-by: Cong Wang amw...@redhat.com --- include/linux/netpoll.h | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/include/linux/netpoll.h

[PATCH 2/7] netpoll: make __netpoll_cleanup non-block

2012-07-27 Thread Cong Wang
Like the previous patch, slave_disable_netpoll() and __netpoll_cleanup() may be called with read_lock() held too, so we should make them non-block, by moving the cleanup and kfree() to call_rcu_bh() callbacks. Cc: David S. Miller da...@davemloft.net Signed-off-by: Cong Wang amw...@redhat.com ---

[RFC PATCH 0/5] cputime: Generic virtual based cputime accounting

2012-07-27 Thread Frederic Weisbecker
So, This is a proposition to handle the cputime accounting without the tick to prepare for stopping the tick further idle. I have managed to reuse and generalize the kernel/user boundary hooks used by RCU. This way we can minimize the changes in archs that don't support virtual cputime and we

[PATCH 1/5] user_hooks: New user hooks subsystem

2012-07-27 Thread Frederic Weisbecker
Create a new subsystem that handles the hooks on kernel/user boundaries currently used by RCU for its userspace extended quiescent state. We need to pull this up from RCU into this new level of indirection because these hooks are also going to be used to implement an on demand generic virtual

[PATCH 2/5] cputime: Don't allow virtual and irq finegrained cputime accounting simultaneously

2012-07-27 Thread Frederic Weisbecker
We may soon be able to run both at the same time. But we need to rework a bit the irq finegrained accounting before that. Just do a mutual exclusion for now. Signed-off-by: Frederic Weisbecker fweis...@gmail.com Cc: Alessio Igor Bogani abog...@kernel.org Cc: Andrew Morton

[PATCH 4/5] cputime: Rename account_system_vtime to account_vtime

2012-07-27 Thread Frederic Weisbecker
account_system_vtime() can be called from random places: hard/softirq entry/exit, kvm guest entry/exit, and even context switches on powerpc. Rename it to the even more generic account_vtime() name, this reflect well that we are in a random place in the kernel where we have either system, idle or

[PATCH 5/5] cputime: Generic on-demand virtual cputime accounting

2012-07-27 Thread Frederic Weisbecker
If we want to stop the tick further idle, we need to be able to account the cputime without using the tick. Virtual based cputime accounting solves that problem by hooking into kernel/user boundaries. However implementing CONFIG_VIRT_CPU_ACCOUNTING requires to set low level hooks and involves

[PATCH 3/5] cputime: Allow dynamic switch between tick/virtual based cputime accounting

2012-07-27 Thread Frederic Weisbecker
Allow to dynamically switch between tick and virtual based cputime accounting. This way we can provide a kind of on-demand virtual based cputime accounting. In this mode, the kernel will rely on the user hooks subsystem to dynamically hook on kernel boundaries. This is in preparation for beeing

Re: [PATCH] ivtv: Declare MODULE_FIRMWARE usage

2012-07-27 Thread Tim Gardner
On 07/26/2012 04:21 PM, Andy Walls wrote: On Thu, 2012-07-26 at 12:26 -0600, Tim Gardner wrote: Cc: Andy Walls awa...@md.metrocast.net Cc: Mauro Carvalho Chehab mche...@infradead.org Cc: ivtv-de...@ivtvdriver.org Cc: linux-me...@vger.kernel.org Signed-off-by: Tim Gardner

Re: [PATCH 0/3] add new API to sysfs and device core code

2012-07-27 Thread Greg KH
On Fri, Jul 27, 2012 at 12:02:40PM +0800, Bryan Wu wrote: Send out a uevent when create file in sysfs, which is required by userspace application such udev in Android There is no such thing as udev in Android the last time I looked. Has this changed? -- To unsubscribe from this list: send the

Re: [PATCH 4/7] bridge: call NETDEV_RELEASE notifier in br_del_if()

2012-07-27 Thread Stephen Hemminger
On Fri, 27 Jul 2012 23:38:01 +0800 Cong Wang amw...@redhat.com wrote: When a bridge interface deletes its underlying ports, it should notify netconsole too, like what bonding interface does. Cc: David S. Miller da...@davemloft.net Signed-off-by: Cong Wang amw...@redhat.com ---

Re: [PATCH 1/3] sysfs: introduce a sysfs_create_file_uevent new API

2012-07-27 Thread Greg KH
On Fri, Jul 27, 2012 at 12:02:41PM +0800, Bryan Wu wrote: Send a uevent notification whenever a new sysfs file is created to allow userspace processes such as udev to modify permissions on the new files. This makes no sense, why not just call kobject_uevent after creating the file when needed?

Re: [PATCH 12/24] xen/arm: Introduce xen_guest_init

2012-07-27 Thread Stefano Stabellini
On Fri, 27 Jul 2012, Ian Campbell wrote: On Thu, 2012-07-26 at 16:33 +0100, Stefano Stabellini wrote: We used to rely on a core_initcall to initialize Xen on ARM, however core_initcalls are actually called after early consoles are initialized. That means that hvc_xen.c is going to be

pull request: wireless 2012-07-27

2012-07-27 Thread John W. Linville
commit 28ea499ac5b90f6266a24b826c6d469fc503758c Dave, These fixes are intended for the 3.6 stream. Hauke Mehrtens provides a pair of bcma fixes, one to fix a build regression on mips and another to correct a pair of missing iounmap calls. Thomas Huehn offers a mac80211_hwsim fix to avoid a

[GIT PULL] kmap_atomic final cleanups for 3.6

2012-07-27 Thread Cong Wang
Hi, Linus, Please pull my kmap_atomic cleanup's for 3.6, git://github.com/congwang/linux.git kmap_atomic this should be the final round of cleanup, as the definitions of enum km_type finally get removed from the whole tree. The patches stay in linux-next for a long time. Thanks!

Re: [PATCH v3 2/4] ACPI: Update CPU hotplug messages

2012-07-27 Thread Bjorn Helgaas
On Thu, Jul 26, 2012 at 8:39 PM, Toshi Kani toshi.k...@hp.com wrote: On Thu, 2012-07-26 at 13:23 -0600, Bjorn Helgaas wrote: On Wed, Jul 25, 2012 at 5:12 PM, Toshi Kani toshi.k...@hp.com wrote: @@ -560,8 +565,7 @@ static int __cpuinit acpi_processor_add(struct acpi_device *device)

Re: [PATCH 12/24] xen/arm: Introduce xen_guest_init

2012-07-27 Thread Ian Campbell
On Fri, 2012-07-27 at 16:54 +0100, Stefano Stabellini wrote: On Fri, 27 Jul 2012, Ian Campbell wrote: On Thu, 2012-07-26 at 16:33 +0100, Stefano Stabellini wrote: We used to rely on a core_initcall to initialize Xen on ARM, however core_initcalls are actually called after early consoles

Re: lockdep trace from posix timers

2012-07-27 Thread Dave Jones
On Tue, Jul 24, 2012 at 04:36:13PM -0400, Dave Jones wrote: Linus tree as of 5fecc9d8f59e765c2a48379dd7c6f5cf88c7d75a Dave == [ INFO: HARDIRQ-safe - HARDIRQ-unsafe lock order detected ] 3.5.0+ #122 Not tainted

Re: [PATCH 18/24] xen/arm: compile blkfront and blkback

2012-07-27 Thread Stefano Stabellini
On Fri, 27 Jul 2012, Ian Campbell wrote: On Thu, 2012-07-26 at 16:34 +0100, Stefano Stabellini wrote: +#define XEN_IO_PROTO_ABI_ARMarm-abi I wonder if we ought to call this arm-aarch32-abi or something? So aarch64 has just been renamed to arm64 and you want to rename arm-abi to

Re: [PATCH RFC/RFT] i2c/busses: Fix build error if CONFIG_I2C_DESIGNWARE_PLATFORM=y CONFIG_I2C_DESIGNWARE_PCI=y

2012-07-27 Thread Jean Delvare
Hi Axel, On Wed, 13 Jun 2012 20:51:37 +0800, Axel Lin wrote: This patch adds config I2C_DESIGNWARE_CORE in Kconfig, and let I2C_DESIGNWARE_PLATFORM and I2C_DESIGNWARE_PCI select I2C_DESIGNWARE_CORE. Because both I2C_DESIGNWARE_PLATFORM and I2C_DESIGNWARE_PCI can be built as built-in or

Re: [PATCH 1/5] user_hooks: New user hooks subsystem

2012-07-27 Thread Paul E. McKenney
On Fri, Jul 27, 2012 at 05:40:30PM +0200, Frederic Weisbecker wrote: Create a new subsystem that handles the hooks on kernel/user boundaries currently used by RCU for its userspace extended quiescent state. We need to pull this up from RCU into this new level of indirection because these

[PATCH v3] cx18: Declare MODULE_FIRMWARE usage

2012-07-27 Thread Tim Gardner
Cc: Andy Walls awa...@md.metrocast.net Cc: Mauro Carvalho Chehab mche...@infradead.org Cc: ivtv-de...@ivtvdriver.org Cc: linux-me...@vger.kernel.org Signed-off-by: Tim Gardner tim.gard...@canonical.com --- drivers/media/video/cx18/cx18-av-firmware.c |2 ++

[PATCH v2 1/2] hw_random: mxc-rnga: Adapt clocks to new i.mx clock framework

2012-07-27 Thread Fabio Estevam
Adapt clocks to the new i.mx clock framework and fix the following warning: [ cut here ] WARNING: at drivers/clk/clk.c:511 __clk_enable+0x9c/0xac() Modules linked in:

[PATCH v2 2/2] hw_random: mxc-rnga: Access data via structure

2012-07-27 Thread Fabio Estevam
In current driver, everytime we need to access the rng clock (,ie to enable or disable it) a call to clk_get is done. This is not correct and the preferred way is to provide a rng data structure that could be used for accessing rng resources. Cc: Theodore Ts'o ty...@mit.edu Cc: Herbert Xu

Re: [Xen-devel] [PATCH 06/24] xen: missing includes

2012-07-27 Thread Stefano Stabellini
On Fri, 27 Jul 2012, Jan Beulich wrote: On 26.07.12 at 17:33, Stefano Stabellini stefano.stabell...@eu.citrix.com wrote: --- a/include/xen/interface/xen.h +++ b/include/xen/interface/xen.h @@ -10,7 +10,10 @@ #define __XEN_PUBLIC_XEN_H__ #include asm/xen/interface.h +#include

Re: [Xen-devel] [PATCH 10/24] xen: do not compile manage, balloon, pci, acpi and cpu_hotplug on ARM

2012-07-27 Thread Stefano Stabellini
On Fri, 27 Jul 2012, Jan Beulich wrote: On 26.07.12 at 17:33, Stefano Stabellini stefano.stabell...@eu.citrix.com wrote: --- a/drivers/xen/Makefile +++ b/drivers/xen/Makefile @@ -1,11 +1,15 @@ -obj-y += grant-table.o features.o events.o manage.o balloon.o +ifneq

[PATCH V2 3/4] PCI: Add support for non-BAR ROMs

2012-07-27 Thread Matthew Garrett
Platforms may provide their own mechanisms for obtaining ROMs. Add support for using data provided by the platform in that case. Signed-off-by: Matthew Garrett m...@redhat.com Tested-by: Seth Forshee seth.fors...@canonical.com --- drivers/pci/rom.c |9 - include/linux/pci.h |2

[PATCH v2] ene_ub6250: Use macros for firmware names

2012-07-27 Thread Tim Gardner
Advertise firmware files using MODULE_FIRMWARE macros. Fix a debug string: SD_RDWR_PATTERN -- SD_RW_PATTERN Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Cc: linux-...@vger.kernel.org Cc: usb-stor...@lists.one-eyed-alien.net Signed-off-by: Tim Gardner tim.gard...@canonical.com ---

Re: [PATCH 1/2] hw_random: mxc-rnga: Adapt clocks to new i.mx clock framework

2012-07-27 Thread Fabio Estevam
On Mon, Jul 9, 2012 at 4:41 AM, Sascha Hauer s.ha...@pengutronix.de wrote: Uhh, that's a driver bug that should be fixed. Although right now there is no reference counting for clocks, the driver should keep the clk internally instead of simply calling clk_get whenever it needs access to a

[PATCH V2 4/4] X86: Use PCI setup data

2012-07-27 Thread Matthew Garrett
EFI can provide PCI ROMs out of band via boot services, which may not be available after boot. Add support for using the data handed off to us by the boot stub or bootloader. Signed-off-by: Matthew Garrett m...@redhat.com Tested-by: Seth Forshee seth.fors...@canonical.com ---

[PATCH V2 2/4] PCI: Add pcibios_add_device

2012-07-27 Thread Matthew Garrett
Platforms may want to provide architecture-specific functionality during PCI enumeration. Add a pcibios_add_device() call that architectures can override to do so. Signed-off-by: Matthew Garrett m...@redhat.com Tested-by: Seth Forshee seth.fors...@canonical.com --- drivers/pci/bus.c |5

[PATCH V2 1/4] EFI: Stash ROMs if they're not in the PCI BAR

2012-07-27 Thread Matthew Garrett
EFI provides support for providing PCI ROMs via means other than the ROM BAR. This support vanishes after we've exited boot services, so add support for stashing copies of the ROMs in setup_data if they're not otherwise available. Signed-off-by: Matthew Garrett m...@redhat.com Tested-by: Seth

Re: [PATCH 1/5] user_hooks: New user hooks subsystem

2012-07-27 Thread Frederic Weisbecker
On Fri, Jul 27, 2012 at 09:40:54AM -0700, Paul E. McKenney wrote: On Fri, Jul 27, 2012 at 05:40:30PM +0200, Frederic Weisbecker wrote: Create a new subsystem that handles the hooks on kernel/user boundaries currently used by RCU for its userspace extended quiescent state. We need to

[PATCH] efifb: Skip DMI checks if the bootloader knows what it's doing

2012-07-27 Thread Matthew Garrett
The majority of the DMI checks in efifb are for cases where the bootloader has provided invalid information. However, on some machines the overrides may do more harm than good due to configuration differences between machines with the same machine identifier. It turns out that it's possible for

Re: [PATCH] Add Etron XHCI quirk to avoid warning spam

2012-07-27 Thread Sarah Sharp
On Fri, Jul 27, 2012 at 02:40:56PM +0800, Daniel J Blueman wrote: On 27 July 2012 14:14, Sarah Sharp sarah.a.sh...@linux.intel.com wrote: On Fri, Jul 27, 2012 at 12:03:44PM +0800, Daniel J Blueman wrote: When various USB3 devices with Etron XHCI controllers, we see a bunch of warnings:

Re: [PATCH 1/2] Revert hugetlb: avoid taking i_mmap_mutex in unmap_single_vma() for hugetlb

2012-07-27 Thread Aneesh Kumar K.V
Mel Gorman mgor...@suse.de writes: This reverts the patch hugetlb: avoid taking i_mmap_mutex in unmap_single_vma() for hugetlb from mmotm. This patch is possibly a mistake and blocks the merging of a hugetlb fix where page tables can get corrupted (https://lkml.org/lkml/2012/7/24/93). The

Re: [vmw_vmci 11/11] Apply the header code to make VMCI build

2012-07-27 Thread Andrew Stiegmann
Hi Sam, - Original Message - From: Sam Ravnborg s...@ravnborg.org To: Andrew Stiegmann (stieg) astiegm...@vmware.com Cc: linux-kernel@vger.kernel.org, virtualizat...@lists.linux-foundation.org, pv-driv...@vmware.com, vm-crosst...@vmware.com, csch...@vmware.com,

Re: [PATCH v3 2/4] ACPI: Update CPU hotplug messages

2012-07-27 Thread Toshi Kani
On Fri, 2012-07-27 at 10:05 -0600, Bjorn Helgaas wrote: On Thu, Jul 26, 2012 at 8:39 PM, Toshi Kani toshi.k...@hp.com wrote: On Thu, 2012-07-26 at 13:23 -0600, Bjorn Helgaas wrote: On Wed, Jul 25, 2012 at 5:12 PM, Toshi Kani toshi.k...@hp.com wrote: @@ -560,8 +565,7 @@ static int

Re: [PATCH] uprobes: don't enable/disable signle step if the user did it

2012-07-27 Thread Sebastian Andrzej Siewior
On 07/26/2012 07:31 PM, Oleg Nesterov wrote: Well. I agree, this needs changes. To begin with, uprobe should avoid user_enable_single_step() which does access_process_vm(). And I suspect uprobes have the problems with TIF_FORCED_TF logic. Why? Shouldn't wee keep the trap flag if the

Re: [Xen-devel] [PATCH 5/7] xen/p2m: Add logic to revector a P2M tree to use __va leafs.

2012-07-27 Thread Konrad Rzeszutek Wilk
On Fri, Jul 27, 2012 at 12:47:47PM +0100, Jan Beulich wrote: On 27.07.12 at 13:18, Stefano Stabellini stefano.stabell...@eu.citrix.com wrote: On Thu, 26 Jul 2012, Konrad Rzeszutek Wilk wrote: 1) All P2M lookups instead of using the __ka address would use the __va address. This

Re: [Xen-devel] [PATCH 7/7] xen/mmu: Remove from __ka space PMD entries for pagetables.

2012-07-27 Thread Konrad Rzeszutek Wilk
On Fri, Jul 27, 2012 at 12:31:17PM +0100, Stefano Stabellini wrote: On Thu, 26 Jul 2012, Konrad Rzeszutek Wilk wrote: Please first read the description in xen/mmu: Copy and revector the P2M tree. At this stage, the __ka address space (which is what the old P2M tree was using) is

Re: [Xen-devel] [PATCH 3/7] xen/mmu: Release the Xen provided L4 (PGD) back.

2012-07-27 Thread Konrad Rzeszutek Wilk
On Fri, Jul 27, 2012 at 12:37:24PM +0100, Stefano Stabellini wrote: On Thu, 26 Jul 2012, Konrad Rzeszutek Wilk wrote: Since we are not using it and somebody else could use it. make sense except it is almost entirely rewritten by the following patch... Yeah, I should squash them.

Re: [Xen-devel] [PATCH 4/7] xen/mmu: Recycle the Xen provided L4, L3, and L2 pages

2012-07-27 Thread Konrad Rzeszutek Wilk
On Fri, Jul 27, 2012 at 12:45:38PM +0100, Stefano Stabellini wrote: On Thu, 26 Jul 2012, Konrad Rzeszutek Wilk wrote: As we are not using them. We end up only using the L1 pagetables and grafting those to our page-tables. Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com ---

Re: [Xen-devel] [PATCH 2/4] xen/x86: Use memblock_reserve for sensitive areas.

2012-07-27 Thread Konrad Rzeszutek Wilk
On Fri, Jul 27, 2012 at 11:49:02AM +0100, Stefano Stabellini wrote: On Thu, 26 Jul 2012, Konrad Rzeszutek Wilk wrote: instead of a big memblock_reserve. This way we can be more selective in freeing regions (and it also makes it easier to understand where is what). [v1: Move the

Re: [Xen-devel] [PATCH 1/2] xen/swiotlb: If iommu=soft was not passed in on 4GB, don't turn it on.

2012-07-27 Thread Konrad Rzeszutek Wilk
On Fri, Jul 27, 2012 at 08:27:39AM +0100, Jan Beulich wrote: On 26.07.12 at 22:43, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: If we boot a 64-bit guest with more than 4GB memory, the SWIOTLB gets turned on: PCI-DMA: Using software bounce buffering for IO (SWIOTLB) software IO

Re: [Xen-devel] [PATCH 1/2] xen/swiotlb: If iommu=soft was not passed in on 4GB, don't turn it on.

2012-07-27 Thread Konrad Rzeszutek Wilk
On Fri, Jul 27, 2012 at 12:06:27PM +0100, Stefano Stabellini wrote: On Thu, 26 Jul 2012, Konrad Rzeszutek Wilk wrote: If we boot a 64-bit guest with more than 4GB memory, the SWIOTLB gets turned on: PCI-DMA: Using software bounce buffering for IO (SWIOTLB) software IO TLB [mem

[RESEND PATCH 3/4 v3] mm: fix return value in __alloc_contig_migrate_range()

2012-07-27 Thread Joonsoo Kim
migrate_pages() can return positive value while at the same time emptying the list of pages it was called with. Such situation means that it went through all the pages on the list some of which failed to be migrated. If that happens, __alloc_contig_migrate_range()'s loop may finish without

An Andre To Remember

2012-07-27 Thread Jeff Garzik
An Andre To Remember July 2012 Linux lost a friend and advocate this month. Though never a household name, Andre Hedrick had a positive impact on everyone today running Linux, or using a website, with any form of IDE (ATA) or SCSI storage -- that means millions upon millions of

[RESEND PATCH 1/4 v3] mm: correct return value of migrate_pages() and migrate_huge_pages()

2012-07-27 Thread Joonsoo Kim
migrate_pages() should return number of pages not migrated or error code. When unmap_and_move return -EAGAIN, outer loop is re-execution without initialising nr_failed. This makes nr_failed over-counted. So this patch correct it by initialising nr_failed in outer loop. migrate_huge_pages() is

[RESEND PATCH 2/4 v3] mm: fix possible incorrect return value of migrate_pages() syscall

2012-07-27 Thread Joonsoo Kim
do_migrate_pages() can return the number of pages not migrated. Because migrate_pages() syscall return this value directly, migrate_pages() syscall may return the number of pages not migrated. In fail case in migrate_pages() syscall, we should return error value. So change err to -EBUSY

[RESEND PATCH 4/4 v3] mm: fix possible incorrect return value of move_pages() syscall

2012-07-27 Thread Joonsoo Kim
move_pages() syscall may return success in case that do_move_page_to_node_array return positive value which means migration failed. This patch changes return value of do_move_page_to_node_array for not returning positive value. It can fix the problem. Signed-off-by: Joonsoo Kim js1...@gmail.com

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