[ 19/75] tty/8250_pnp: serial port detection regression since v3.7

2013-03-18 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Sean Young s...@mess.org commit 77e372a3d82e5e4878ce1962207edd766773cc76 upstream. The InsydeH2O BIOS (version dated 09/12/2011) has the following in its pnp resouces for its serial ports: $

[ 18/75] ext3: Fix format string issues

2013-03-18 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Lars-Peter Clausen l...@metafoo.de commit 8d0c2d10dd72c5292eda7a06231056a4c972e4cc upstream. ext3_msg() takes the printk prefix as the second parameter and the format string as the third

[ 16/75] qcserial: bind to DM/DIAG port on Gobi 1K devices

2013-03-18 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams d...@redhat.com commit 3f8bc5e4da29c7e05edeca6b475abb4fb01a5a13 upstream. Turns out we just need altsetting 1 and then we can talk to it. Signed-off-by: Dan Williams

[ 15/75] staging: comedi: dt9812: use CR_CHAN() for channel number

2013-03-18 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Ian Abbott abbo...@mev.co.uk commit 564c526a1bed5e42b5cd52cfe1752c4296ef17a6 upstream. As pointed out by Dan Carpenper in

[ 03/75] virtio: rng: disallow multiple device registrations, fixes crashes

2013-03-18 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Amit Shah amit.s...@redhat.com commit e84e7a56a3aa2963db506299e29a5f3f09377f9b upstream. The code currently only supports one virtio-rng device at a time. Invoking guests with multiple devices

[ 12/75] USB: EHCI: work around silicon bug in Intels EHCI controllers

2013-03-18 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Alan Stern st...@rowland.harvard.edu commit 6402c796d3b4205d3d7296157956c5100a05d7d6 upstream. This patch (as1660) works around a hardware problem present in some (if not all) Intel EHCI

[ 01/75] qcaux: add Franklin U600

2013-03-18 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams d...@redhat.com commit 2d90e63603ac235aecd7d20e234616e0682c8b1f upstream. 4 ports; AT/PPP is standard CDC-ACM. The other three (added by this patch) are QCDM/DIAG, possibly GPS,

[ 05/75] USB: cdc-wdm: fix buffer overflow

2013-03-18 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Oliver Neukum oneu...@suse.de commit c0f5ecee4e741667b2493c742b60b6218d40b3aa upstream. The buffer for responses must not overflow. If this would happen, set a flag, drop the data and return an

[ 07/75] usb: dwc3: core: dont forget to free coherent memory

2013-03-18 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Felipe Balbi ba...@ti.com commit d9b4330adec006c2e8907bdcacd9dcc0e8874d18 upstream. commit 3921426 (usb: dwc3: core: move event buffer allocation out of dwc3_core_init()) introduced a memory

[ 11/75] USB: storage: fix Huawei mode switching regression

2013-03-18 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Bjørn Mork bj...@mork.no commit ab4b71644a26d1ab92b987b2fd30e17c25e89f85 upstream. This reverts commit 200e0d99 (USB: storage: optimize to match the Huawei USB storage devices and support new

[ 10/75] usb: serial: Add Rigblaster Advantage to device table

2013-03-18 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Steve Conklin sconk...@canonical.com commit a57e82a18779ab8a5e5a1f5841cef937cf578913 upstream. The Rigblaster Advantage is an amateur radio interface sold by West Mountain Radio. It contains a

[ 09/75] USB: added support for Cinterions products AH6 and PLS8

2013-03-18 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Christian Schmiedl christian.schmi...@gemalto.com commit 1941138e1c024ecb5bd797d414928d3eb94d8662 upstream. add support for Cinterion's products AH6 and PLS8 by adding Product IDs and

[ 08/75] usb: cp210x new Vendor/Device IDs

2013-03-18 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Matwey V. Kornilov mat...@sai.msu.ru commit be3101c23394af59694c8a2aae6d07f5da62fea5 upstream. This patch adds support for the Lake Shore Cryotronics devices to the CP210x driver. These lines

Re: [3.9-rc1] irq 16: nobody cared (was [3.9-rc1] very poor interrupt responses)

2013-03-18 Thread Jiri Kosina
On Mon, 18 Mar 2013, Daniel Vetter wrote: Yep, there's a big comment in the irq handler for that chipset that we have a gaping race with when using MSI interrupts. Although the comment bodly claims that the race is small enough to avoid the dreaded nobody cared message. Looks like gmbus is

[ 04/75] USB: option: add Huawei E5331

2013-03-18 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Bjørn Mork bj...@mork.no commit daec90e7382cbd0e73eb6861109b3da91e5ab1f3 upstream. Another device using CDC ACM with vendor specific protocol to mark serial functions. Signed-off-by: Bjørn

Re: [3.9-rc1] irq 16: nobody cared (was [3.9-rc1] very poor interrupt responses)

2013-03-18 Thread Jiri Kosina
On Mon, 18 Mar 2013, Yinghai Lu wrote: Yes, switching from MSI to IO-APIC-fasteoi makes the report about lost interrupts go away. My understanding from the other mail is that DAniel Vetter already has an idea what might be going wrong with IRQ acking on GM45 chipsets; hopefully this

[ 02/75] xen/pciback: Dont disable a PCI device that is already disabled.

2013-03-18 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Konrad Rzeszutek Wilk konrad.w...@oracle.com commit bdc5c1812cea6efe1aaefb3131fcba28cd0b2b68 upstream. While shuting down a HVM guest with pci devices passed through we get this: pciback

[PATCH 0/4] Misc MRF24J40 Fixes

2013-03-18 Thread Alan Ott
These are fairly straight-forward. Alan Ott (4): mrf24j40: pinctrl support mrf24j40: Warn if transmit interrupts timeout mrf24j40: Increase max SPI speed to 10MHz mrf24j40: Fix byte-order of IEEE address drivers/net/ieee802154/mrf24j40.c | 15 +++ 1 file changed, 11

[PATCH 1/4] mrf24j40: pinctrl support

2013-03-18 Thread Alan Ott
Activate pinctrl settings when used with a DT system. Signed-off-by: Alan Ott a...@signal11.us --- drivers/net/ieee802154/mrf24j40.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/ieee802154/mrf24j40.c b/drivers/net/ieee802154/mrf24j40.c index 3f2c7aa..3106895 100644 ---

[PATCH 4/4] mrf24j40: Fix byte-order of IEEE address

2013-03-18 Thread Alan Ott
Load the 64-bit Extended (IEEE) address into the hardware in the proper byte order. Signed-off-by: Alan Ott a...@signal11.us --- drivers/net/ieee802154/mrf24j40.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ieee802154/mrf24j40.c

[PATCH 3/4] mrf24j40: Increase max SPI speed to 10MHz

2013-03-18 Thread Alan Ott
Upon consulting the datasheet further, it does indicates a maximum speed for SCK at 10MHz. Signed-off-by: Alan Ott a...@signal11.us --- drivers/net/ieee802154/mrf24j40.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/ieee802154/mrf24j40.c

[PATCH 2/4] mrf24j40: Warn if transmit interrupts timeout

2013-03-18 Thread Alan Ott
Issue a warning if a transmit complete interrupt doesn't happen in time. Signed-off-by: Alan Ott a...@signal11.us --- drivers/net/ieee802154/mrf24j40.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ieee802154/mrf24j40.c b/drivers/net/ieee802154/mrf24j40.c index

[PATCH 0/2] Address issues in dma-debug API

2013-03-18 Thread Alexander Duyck
Christoph Paasch recently reported a device driver failed to check map error on igb. However after reviewing the code there was no possibility of that. On closer inspection there was a bug in the DMA debug API that was causing the issue. These two patches address the issues I found. The first

Re: [PATCH 0/7] HID: multitouch: support of hybrid finger/pen devices

2013-03-18 Thread Jiri Kosina
On Wed, 27 Feb 2013, Benjamin Tissoires wrote: So the solution consists in relying inconditionaly to the quirk MULTI_INPUT for hid-multitouch. Before registering the input device in hid-input, we can test if it has been populated, and if not, then we simply don't register it. In order to

[PATCH 2/2] dma-debug: Update DMA debug API to better handle multiple mappings of a buffer

2013-03-18 Thread Alexander Duyck
There were reports of the igb driver unmapping buffers without calling dma_mapping_error. On closer inspection issues were found in the DMA debug API and how it handled multiple mappings of the same buffer. The issue I found is the fact that the debug_dma_mapping_error would only set the

[PATCH 1/2] dma-debug: Fix locking bug in check_unmap

2013-03-18 Thread Alexander Duyck
In check_unmap it is possible to get into a dead-locked state if dma_mapping_error is called. The problem is that the bucket is locked in check_unmap, and locked again by debug_dma_mapping_error which is called by dma_mapping_error. To resolve that we must release the lock on the bucket before

Re: [PATCH 5/5] KVM: MMU: fast invalid all mmio sptes

2013-03-18 Thread Eric Northup
On Fri, Mar 15, 2013 at 8:29 AM, Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com wrote: This patch tries to introduce a very simple and scale way to invalid all mmio sptes - it need not walk any shadow pages and hold mmu-lock KVM maintains a global mmio invalid generation-number which is

Re: [Patch v1] rtc: fix for the DA9052 rtc device registration

2013-03-18 Thread Andrew Morton
On Fri, 15 Mar 2013 13:59:39 +0530 Ashish Jangam ashish.jan...@kpitcummins.com wrote: DA9052/53 MFD core handles only virtual irq therefore rtc driver needs to be updated to work on virtual irq. Without this update DA9052/53 rtc driver will fail during its registration. Also getting irq by

Re: [PATCH] nohz1: Documentation

2013-03-18 Thread Paul E. McKenney
On Mon, Mar 18, 2013 at 09:48:31PM +0100, Frederic Weisbecker wrote: 2013/3/18 Rob Landley r...@landley.net: On 03/18/2013 01:46:32 PM, Frederic Weisbecker wrote: [ . . . ] +o At least one CPU must keep the scheduling-clock interrupt going + in order to support accurate

Re: [PATCH] mm: Make snapshotting pages for stable writes a per-bio operation

2013-03-18 Thread Jan Kara
On Fri 15-03-13 16:28:16, Darrick J. Wong wrote: Walking a bio's page mappings has proved problematic, so create a new bio flag to indicate that a bio's data needs to be snapshotted in order to guarantee stable pages during writeback. Next, for the one user (ext3/jbd) of snapshotting, hook

Re: [PATCH] bounce:fix bug, avoid to flush dcache on slab page from jbd2.

2013-03-18 Thread Jan Kara
On Fri 15-03-13 10:54:41, Darrick J. Wong wrote: On Fri, Mar 15, 2013 at 11:01:05AM +0100, Jan Kara wrote: On Thu 14-03-13 15:42:43, Darrick J. Wong wrote: On Wed, Mar 13, 2013 at 10:02:16PM +0100, Jan Kara wrote: On Wed 13-03-13 12:44:29, Darrick J. Wong wrote: On Wed, Mar 13, 2013

Re: [PATCH 3/4] capability: Create a new capability CAP_SIGNED

2013-03-18 Thread Eric W. Biederman
Adding Serge as he is the sometimes capabilities maintainer to this discussion. Casey Schaufler ca...@schaufler-ca.com writes: On 3/18/2013 11:30 AM, Vivek Goyal wrote: On Mon, Mar 18, 2013 at 10:50:21AM -0700, Casey Schaufler wrote: On 3/18/2013 10:05 AM, Vivek Goyal wrote: On Fri, Mar 15,

Re: [PATCH 3/4] writeback: replace custom worker pool implementation with unbound workqueue

2013-03-18 Thread Jan Kara
On Tue 12-03-13 16:05:10, Jan Kara wrote: On Thu 07-03-13 13:44:08, Tejun Heo wrote: Writeback implements its own worker pool - each bdi can be associated with a worker thread which is created and destroyed dynamically. The worker thread for the default bdi is always present and serves as

Re: [PATCH 3/4] writeback: replace custom worker pool implementation with unbound workqueue

2013-03-18 Thread Tejun Heo
Hello, Jan. On Mon, Mar 18, 2013 at 11:32:44PM +0100, Jan Kara wrote: I realized there may be one issue - so far we have a clear identification which thread works for which bdi in the thread name (flush-x:y naming). That was useful when debugging things. Now with your worker pool this is

Re: [3.9-rc1] irq 16: nobody cared (was [3.9-rc1] very poor interrupt responses)

2013-03-18 Thread Yinghai Lu
On Mon, Mar 18, 2013 at 3:05 PM, Jiri Kosina jkos...@suse.cz wrote: On Mon, 18 Mar 2013, Yinghai Lu wrote: Yes, switching from MSI to IO-APIC-fasteoi makes the report about lost interrupts go away. My understanding from the other mail is that DAniel Vetter already has an idea what

Re: [PATCH] x86: mm: accurate the comments for STEP_SIZE_SHIFT macro

2013-03-18 Thread H. Peter Anvin
On 03/18/2013 02:19 PM, Yinghai Lu wrote: On Mon, Mar 18, 2013 at 12:14 PM, H. Peter Anvin h...@zytor.com wrote: Instead, try to explain why 5 is the correct value in the current code and how it is (or should be!) derived. initial mapped size is PMD_SIZE, aka 2M. if we use step_size to be

Re: [PATCH v3] x86, kdump: Set crashkernel_low automatically

2013-03-18 Thread H. Peter Anvin
On 03/18/2013 02:25 PM, Yinghai Lu wrote: Current code does not set low range for crashkernel if the user does not specify that. That cause regressions on system that does not support intel_iommu properly. Chao said that his system does work well on 3.8 without extra parameter. even

Re: [PATCH] KVM: allow host header to be included even for !CONFIG_KVM

2013-03-18 Thread Marcelo Tosatti
On Thu, Mar 14, 2013 at 05:13:46PM -0700, Kevin Hilman wrote: The new context tracking subsystem unconditionally includes kvm_host.h headers for the guest enter/exit macros. This causes a compile failure when KVM is not enabled. Fix by adding an IS_ENABLED(CONFIG_KVM) check to kvm_host so

Re: [ 29/75] perf,x86: fix kernel crash with PEBS/BTS after suspend/resume

2013-03-18 Thread Greg Kroah-Hartman
On Mon, Mar 18, 2013 at 10:35:27PM +0100, Stephane Eranian wrote: On Mon, Mar 18, 2013 at 10:20 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Mon, Mar 18, 2013 at 10:11:28PM +0100, Stephane Eranian wrote: On Mon, Mar 18, 2013 at 10:06 PM, Greg Kroah-Hartman

Re: [PATCH 2/9] vfs: export do_splice_direct() to modules

2013-03-18 Thread Al Viro
On Mon, Mar 18, 2013 at 09:53:34PM +, Al Viro wrote: On Mon, Mar 18, 2013 at 04:39:36PM +0100, Jan Kara wrote: IMO the deadlock is real. In freeze_super() we wait for all writers to the filesystem to finish while blocking beginning of any further writes. So we have a deadlock scenario

Re: [PATCH] mm: Make snapshotting pages for stable writes a per-bio operation

2013-03-18 Thread Darrick J. Wong
On Mon, Mar 18, 2013 at 06:41:34PM +0100, Jan Kara wrote: On Fri 15-03-13 16:28:16, Darrick J. Wong wrote: Walking a bio's page mappings has proved problematic, so create a new bio flag to indicate that a bio's data needs to be snapshotted in order to guarantee stable pages during

[PATCH] [trivial] f2fs: Fix typo in comments

2013-03-18 Thread Masanari Iida
Correct spelling typo in comments Signed-off-by: Masanari Iida standby2...@gmail.com --- fs/f2fs/f2fs.h | 2 +- fs/f2fs/gc.c| 2 +- fs/f2fs/super.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index cc2213a..201c8d3 100644 ---

[PATCH v3] mm: Make snapshotting pages for stable writes a per-bio operation

2013-03-18 Thread Darrick J. Wong
Walking a bio's page mappings has proved problematic, so create a new bio flag to indicate that a bio's data needs to be snapshotted in order to guarantee stable pages during writeback. Next, for the one user (ext3/jbd) of snapshotting, hook all the places where writes can be initiated without

Re: [PATCH] usb: Make USB persist default configurable

2013-03-18 Thread Greg Kroah-Hartman
On Wed, Mar 13, 2013 at 03:57:31PM -0700, Julius Werner wrote: Commit 9214d1d8 set the USB persist flag as a default for all devices. This might be desirable for some distributions, but it certainly has its trade-offs... most importantly, it can significantly increase system resume time,

Re: [PATCH 4/7] n_tty: Encapsulate minimum_to_wake within N_TTY

2013-03-18 Thread Greg Kroah-Hartman
On Wed, Mar 06, 2013 at 08:38:22AM -0500, Peter Hurley wrote: minimum_to_wake is unique to N_TTY processing, and belongs in per-ldisc data. Add the ldisc method, ldisc_ops::fasync(), to notify line disciplines when signal-driven I/O is enabled or disabled. When enabled for N_TTY (by

Re: [PATCH 05/16] TTY: add tty_port_tty_wakeup helper

2013-03-18 Thread Greg KH
On Fri, Mar 08, 2013 at 08:02:09PM +0100, Jiri Slaby wrote: On 03/08/2013 04:02 PM, Peter Hurley wrote: On Thu, 2013-03-07 at 13:12 +0100, Jiri Slaby wrote: It allows for cleaning up on a considerable amount of places. They did port_get, wakeup, kref_put. Now the only thing needed is to

[PATCH] sgy-cts1000: Remove __dev* attributes

2013-03-18 Thread Ben Collins
Somehow the driver snuck in with these still in it. Signed-off-by: Ben Collins be...@servergy.com --- arch/powerpc/platforms/85xx/sgy_cts1000.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/platforms/85xx/sgy_cts1000.c

[PATCH 1/3] rbtree_test: use pr_info for module prefix in messages

2013-03-18 Thread Davidlohr Bueso
This provides nicer message output. Since it seems more appropriate for the nature of this module, also use KERN_INFO instead of other levels. Signed-off-by: Davidlohr Bueso davidlohr.bu...@hp.com --- lib/rbtree_test.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff

[PATCH 3/3] rbtree_test: add more rbtree integrity checks

2013-03-18 Thread Davidlohr Bueso
When checking the rbtree, account for more properties: - Both children of a red node are black. - The tree has at least 2**bh(v)-1 internal nodes. Signed-off-by: Davidlohr Bueso davidlohr.bu...@hp.com --- lib/rbtree_test.c | 24 +++- 1 file changed, 19 insertions(+), 5

[PATCH 2/3] rbtree_test: add __init/__exit annotations

2013-03-18 Thread Davidlohr Bueso
Signed-off-by: Davidlohr Bueso davidlohr.bu...@hp.com --- lib/rbtree_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/rbtree_test.c b/lib/rbtree_test.c index 66ca26d..0fea14e 100644 --- a/lib/rbtree_test.c +++ b/lib/rbtree_test.c @@ -151,7 +151,7 @@ static void

Re: [PATCH v3] x86, kdump: Set crashkernel_low automatically

2013-03-18 Thread Yinghai Lu
On Mon, Mar 18, 2013 at 3:52 PM, H. Peter Anvin h...@zytor.com wrote: On 03/18/2013 02:25 PM, Yinghai Lu wrote: Current code does not set low range for crashkernel if the user does not specify that. That cause regressions on system that does not support intel_iommu properly. Chao said that

Re: [PATCH v3 0/6] TTY: port hangup and close fixes

2013-03-18 Thread Greg Kroah-Hartman
On Thu, Mar 07, 2013 at 03:55:47PM +0100, Johan Hovold wrote: These patches against 3.9-rc1 fix a few issues with tty-port hangup and close. all 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: [ 04/21] target/pscsi: Fix page increment

2013-03-18 Thread Ben Hutchings
On Mon, 2013-03-18 at 14:00 -0700, Nicholas A. Bellinger wrote: On Mon, 2013-03-18 at 13:35 +0800, Asias He wrote: On Sat, Mar 16, 2013 at 02:10:22AM +, Ben Hutchings wrote: On Tue, 2013-03-12 at 15:44 -0700, Greg Kroah-Hartman wrote: 3.0-stable review patch. If anyone has any

Re: [PATCH 1/2] regmap: core: Split out in place value parsing

2013-03-18 Thread Stephen Warren
seems to break audio on my Tegra system with a WM8903 CODEC. In next-20130318, reverting this plus regmap: cache: Store caches in native register format where possible which depends on it does solve the problem. Looking at the raw WM8903 registers using i2cdump shows that for example without

Re: [PATCH 1/3] rbtree_test: use pr_info for module prefix in messages

2013-03-18 Thread Joe Perches
On Mon, 2013-03-18 at 16:20 -0700, Davidlohr Bueso wrote: This provides nicer message output. Since it seems more appropriate for the nature of this module, also use KERN_INFO instead of other levels. [] diff --git a/lib/rbtree_test.c b/lib/rbtree_test.c [] @@ -153,7 +156,7 @@ static int

Re: [PATCH 1/3] rbtree_test: use pr_info for module prefix in messages

2013-03-18 Thread Davidlohr Bueso
On Mon, 2013-03-18 at 16:44 -0700, Joe Perches wrote: On Mon, 2013-03-18 at 16:20 -0700, Davidlohr Bueso wrote: This provides nicer message output. Since it seems more appropriate for the nature of this module, also use KERN_INFO instead of other levels. [] diff --git a/lib/rbtree_test.c

Re: [PATCH v5 00/44] ldisc patchset

2013-03-18 Thread Greg Kroah-Hartman
On Mon, Mar 11, 2013 at 04:44:20PM -0400, Peter Hurley wrote: Greg, This patchset includes 'tty: Drop lock contention stat from ldsem trylocks' so no need to apply that on this series. Also, I noticed you kept the 'tty is NULL' removal on a different branch so I left my patch in this

[PATCH] target: close target_put_sess_cmd() vs. core_tmr_abort_task() race

2013-03-18 Thread Jörn Engel
It is possible for one thread to to take se_sess-sess_cmd_lock in core_tmr_abort_task() before taking a reference count on se_cmd-cmd_kref, while another thread in target_put_sess_cmd() drops se_cmd-cmd_kref before taking se_sess-sess_cmd_lock. This introduces kref_put_and_lock() and uses it in

Re: [PATCH] [media] ir: IR_RX51 only works on OMAP2

2013-03-18 Thread Mauro Carvalho Chehab
Em Thu, 14 Mar 2013 22:56:44 +0100 Arnd Bergmann a...@arndb.de escreveu: This driver can be enabled on OMAP1 at the moment, which breaks allyesconfig for that platform. Let's mark it OMAP2PLUS-only in Kconfig, since that is the only thing it builds on. Signed-off-by: Arnd Bergmann

Re: [PATCH v5 26/44] tty: Add read-recursive, writer-prioritized rw semaphore

2013-03-18 Thread Greg Kroah-Hartman
On Mon, Mar 11, 2013 at 04:44:46PM -0400, Peter Hurley wrote: The semantics of a rw semaphore are almost ideally suited for tty line discipline lifetime management; multiple active threads obtain references (read locks) while performing i/o to prevent the loss or change of the current line

Re: [PATCH v5 28/44] tty: Remove ldsem recursion support

2013-03-18 Thread Greg Kroah-Hartman
On Mon, Mar 11, 2013 at 04:44:48PM -0400, Peter Hurley wrote: Read lock recursion is no longer required for ldisc references; remove mechanism. Signed-off-by: Peter Hurley pe...@hurleysoftware.com --- drivers/tty/tty_ldsem.c | 83 +--

Re: [PATCH 03/10] mm: vmscan: Flatten kswapd priority loop

2013-03-18 Thread Simon Jeons
Hi Mel, On 03/17/2013 09:04 PM, Mel Gorman wrote: kswapd stops raising the scanning priority when at least SWAP_CLUSTER_MAX pages have been reclaimed or the pgdat is considered balanced. It then rechecks if it needs to restart at DEF_PRIORITY and whether high-order reclaim needs to be reset.

Re: [PATCH 01/10] mm: vmscan: Limit the number of pages kswapd reclaims at each priority

2013-03-18 Thread Simon Jeons
Hi Mel, On 03/17/2013 09:04 PM, Mel Gorman wrote: The number of pages kswapd can reclaim is bound by the number of pages it scans which is related to the size of the zone and the scanning priority. In many cases the priority remains low because it's reset every SWAP_CLUSTER_MAX reclaimed pages

Re: [PATCH v5 28/44] tty: Remove ldsem recursion support

2013-03-18 Thread Peter Hurley
On Mon, 2013-03-18 at 16:59 -0700, Greg Kroah-Hartman wrote: On Mon, Mar 11, 2013 at 04:44:48PM -0400, Peter Hurley wrote: Read lock recursion is no longer required for ldisc references; remove mechanism. Signed-off-by: Peter Hurley pe...@hurleysoftware.com ---

Re: [PATCH] usb: Make USB persist default configurable

2013-03-18 Thread Julius Werner
Why can't you just revert this in userspace? Isn't that easier than doing a kernel patch and providing an option that we need to now maintain for pretty much forever? I could solve it in userspace, but that really feels like a hacky workaround and not a long term solution. It would mean that

Re: [PATCH] target: close target_put_sess_cmd() vs. core_tmr_abort_task() race

2013-03-18 Thread Greg Kroah-Hartman
On Mon, Mar 18, 2013 at 06:28:53PM -0400, Jörn Engel wrote: It is possible for one thread to to take se_sess-sess_cmd_lock in core_tmr_abort_task() before taking a reference count on se_cmd-cmd_kref, while another thread in target_put_sess_cmd() drops se_cmd-cmd_kref before taking

Re: [PATCH v5 28/44] tty: Remove ldsem recursion support

2013-03-18 Thread Greg Kroah-Hartman
On Mon, Mar 18, 2013 at 08:01:01PM -0400, Peter Hurley wrote: On Mon, 2013-03-18 at 16:59 -0700, Greg Kroah-Hartman wrote: On Mon, Mar 11, 2013 at 04:44:48PM -0400, Peter Hurley wrote: Read lock recursion is no longer required for ldisc references; remove mechanism. Signed-off-by:

Re: [PATCH] usb: Make USB persist default configurable

2013-03-18 Thread Greg Kroah-Hartman
On Mon, Mar 18, 2013 at 05:02:19PM -0700, Julius Werner wrote: Why can't you just revert this in userspace? Isn't that easier than doing a kernel patch and providing an option that we need to now maintain for pretty much forever? I could solve it in userspace, but that really feels like

Re: [PATCH 1/9] migrate: add migrate_entry_wait_huge()

2013-03-18 Thread Naoya Horiguchi
On Mon, Mar 18, 2013 at 03:51:59PM +0100, Michal Hocko wrote: On Thu 21-02-13 14:41:40, Naoya Horiguchi wrote: [...] diff --git v3.8.orig/mm/migrate.c v3.8/mm/migrate.c index 2fd8b4a..7d84f4c 100644 --- v3.8.orig/mm/migrate.c +++ v3.8/mm/migrate.c @@ -236,6 +236,30 @@ void

Re: [PATCH 2/9] migrate: make core migration code aware of hugepage

2013-03-18 Thread Naoya Horiguchi
On Mon, Mar 18, 2013 at 04:33:00PM +0100, Michal Hocko wrote: On Mon 18-03-13 16:22:24, Michal Hocko wrote: On Thu 21-02-13 14:41:41, Naoya Horiguchi wrote: [...] diff --git v3.8.orig/include/linux/mempolicy.h v3.8/include/linux/mempolicy.h index 0d7df39..2e475b5 100644 ---

Re: [PATCH 5/9] migrate: enable migrate_pages() to migrate hugepage

2013-03-18 Thread Naoya Horiguchi
On Mon, Mar 18, 2013 at 04:40:57PM +0100, Michal Hocko wrote: On Thu 21-02-13 14:41:44, Naoya Horiguchi wrote: This patch extends check_range() to handle vma with VM_HUGETLB set. With this changes, we can migrate hugepage with migrate_pages(2). Note that for larger hugepages (covered by pud

Re: [PATCH 9/9] remove /proc/sys/vm/hugepages_treat_as_movable

2013-03-18 Thread Naoya Horiguchi
On Mon, Mar 18, 2013 at 04:51:25PM +0100, Michal Hocko wrote: On Thu 21-02-13 14:41:48, Naoya Horiguchi wrote: Now hugepages are definitely movable. So allocating hugepages from ZONE_MOVABLE is natural and we have no reason to keep this parameter. The sysctl is a part of user interface so

Re: [PATCH v5 28/44] tty: Remove ldsem recursion support

2013-03-18 Thread Peter Hurley
On Mon, 2013-03-18 at 17:05 -0700, Greg Kroah-Hartman wrote: On Mon, Mar 18, 2013 at 08:01:01PM -0400, Peter Hurley wrote: On Mon, 2013-03-18 at 16:59 -0700, Greg Kroah-Hartman wrote: On Mon, Mar 11, 2013 at 04:44:48PM -0400, Peter Hurley wrote: Read lock recursion is no longer required

Re: [PATCH] sysfs: use atomic_inc_unless_negative in sysfs_get_active

2013-03-18 Thread Greg KH
On Fri, Mar 08, 2013 at 04:07:27PM +0100, Maarten Lankhorst wrote: It seems that sysfs has an interesting way of doing the same thing. This removes the cpu_relax unfortunately, but if it's really needed, it would be better to add this to include/linux/atomic.h to benefit all atomic ops users.

Re: [PATCH 0/2] Some cleanup in driver core

2013-03-18 Thread Greg KH
On Thu, Mar 07, 2013 at 10:22:44AM +0800, Wei Yang wrote: These two patches do some cleanup in the driver core. No they do not. I understand the need to fix code, but please, do so if it is broken. These patches don't help, and in fact, they hurt things. Next time, if you wish to send me

Re: [PATCH 1/2] driver core: remove device_add_attrs() in drivers/base/bus.c

2013-03-18 Thread Greg KH
On Thu, Mar 07, 2013 at 10:22:45AM +0800, Wei Yang wrote: Originally, we have two functions named device_add_attrs() in drivers/base/bus.c and drivers/base/core.c. This will cause some confusion when reading the code. Why? It's just static functions. And the one in drivers/base/bus.c do the

linux-next: manual merge of the l2-mtd tree with Linus' tree

2013-03-18 Thread Stephen Rothwell
Hi Artem, Today's linux-next merge of the l2-mtd tree got a conflict in drivers/mtd/nand/nand_ids.c between commit 5bc7c33ca93a (mtd: nand: reintroduce NAND_NO_READRDY as NAND_NEED_READRDY) from Linus' tree and commit dc65c450 (mtd: add 4 Toshiba nand chips for the full-id case) from the

Re: [PATCH] target: close target_put_sess_cmd() vs. core_tmr_abort_task() race

2013-03-18 Thread Jörn Engel
On Mon, 18 March 2013 17:04:11 -0700, Greg Kroah-Hartman wrote: On Mon, Mar 18, 2013 at 06:28:53PM -0400, Jörn Engel wrote: It is possible for one thread to to take se_sess-sess_cmd_lock in core_tmr_abort_task() before taking a reference count on se_cmd-cmd_kref, while another thread in

Re: [PATCH v3 0/5] zcache: Support zero-filled pages more efficiently

2013-03-18 Thread Greg Kroah-Hartman
On Fri, Mar 15, 2013 at 10:34:15AM +0800, Wanpeng Li wrote: Changelog: v2 - v3: * increment/decrement zcache_[eph|pers]_zpages for zero-filled pages, spotted by Dan * replace zero or zero page by zero_filled_page, spotted by Dan v1 - v2: * avoid changing tmem.[ch] entirely,

Re: [PATCH] target: close target_put_sess_cmd() vs. core_tmr_abort_task() race

2013-03-18 Thread Greg Kroah-Hartman
On Mon, Mar 18, 2013 at 06:56:57PM -0400, Jörn Engel wrote: On Mon, 18 March 2013 17:04:11 -0700, Greg Kroah-Hartman wrote: On Mon, Mar 18, 2013 at 06:28:53PM -0400, Jörn Engel wrote: It is possible for one thread to to take se_sess-sess_cmd_lock in core_tmr_abort_task() before taking a

Re: RFC (v2): Intel QST sensor driver

2013-03-18 Thread Guenter Roeck
Hi Simon, On Mon, Mar 18, 2013 at 09:20:53PM +, Simon J. Rowe wrote: Hello, I've made changes to my driver for the Intel Quiet System Technology (QST) function that I posted at the end of last year and would again appreciate feedback on it. As before the git repo can be found here:

Re: [PATCH 1/3] rbtree_test: use pr_info for module prefix in messages

2013-03-18 Thread Joe Perches
On Mon, 2013-03-18 at 16:47 -0700, Davidlohr Bueso wrote: On Mon, 2013-03-18 at 16:44 -0700, Joe Perches wrote: On Mon, 2013-03-18 at 16:20 -0700, Davidlohr Bueso wrote: This provides nicer message output. Since it seems more appropriate for the nature of this module, also use KERN_INFO

Re: [PATCH] sysfs: use atomic_inc_unless_negative in sysfs_get_active

2013-03-18 Thread Tejun Heo
On Mon, Mar 18, 2013 at 05:14:18PM -0700, Greg KH wrote: On Fri, Mar 08, 2013 at 04:07:27PM +0100, Maarten Lankhorst wrote: It seems that sysfs has an interesting way of doing the same thing. This removes the cpu_relax unfortunately, but if it's really needed, it would be better to add this

Re: [PATCH v3] x86, kdump: Set crashkernel_low automatically

2013-03-18 Thread H. Peter Anvin
On 03/18/2013 04:26 PM, Yinghai Lu wrote: now only have: swiotlb overflow buffer v_overflow_buffer = alloc_bootmem_low_pages_nopanic( PAGE_ALIGN(io_tlb_overflow)); and /* * When the IOMMU overflows we return a fallback

[PATCH v2] target: close target_put_sess_cmd() vs. core_tmr_abort_task() race

2013-03-18 Thread Jörn Engel
On Mon, 18 March 2013 17:27:42 -0700, Greg Kroah-Hartman wrote: On Mon, Mar 18, 2013 at 06:56:57PM -0400, Jörn Engel wrote: Back when I originally wrote this patch, kref_put_mutex() didn't exist yet. So there is my evil predetermined plan to introduce random inconsistencies by being

Re: [PATCH 2/4] Input: cyapa - Firmware update via request firmware

2013-03-18 Thread Benson Leung
On Sat, Mar 16, 2013 at 1:00 PM, Henrik Rydberg rydb...@euromail.se wrote: Userspace can initiate the firmware update procedure by copying cyapa.bin to /lib/firmware, and then writing anything to the device sysfs attribute: /sys/bus/i2c/devices/7-0067/update_fw Why do you need to trigger

[PATCH] drivers: ptp: Use memdup_user function

2013-03-18 Thread Alexandru Gheorghiu
Used memdup_user function instead of kmalloc followed by copy_from_user. Also, handled return error using IS_ERR and PTR_ERR. Patch found using coccinelle. Signed-off-by: Alexandru Gheorghiu gheorghiuan...@gmail.com --- drivers/ptp/ptp_chardev.c | 11 +++ 1 file changed, 3

Re: [PATCH v5 1/3] gpio: gpio-generic: Add 16 and 32 bit big endian byte order support

2013-03-18 Thread Anton Vorontsov
On Fri, Mar 15, 2013 at 02:45:38PM +0100, Andreas Larsson wrote: There is no general support for 64-bit big endian accesses, so that is left unsupported. Signed-off-by: Andreas Larsson andr...@gaisler.com This looks perfect, thanks a lot! Acked-by: Anton Vorontsov an...@enomsg.org -- To

[PATCH] memstick: r592: make r592_pm_ops static

2013-03-18 Thread Jingoo Han
r592_pm_ops is not exported. Also, CONFIG_PM_SLEEP is used to remove unnecessary ifdefs. Signed-off-by: Jingoo Han jg1@samsung.com Cc: Maxim Levitsky maximlevit...@gmail.com --- drivers/memstick/host/r592.c |8 +++- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git

Re: [ 00/40] 3.0.70-stable review

2013-03-18 Thread Shuah Khan
On Mon, Mar 18, 2013 at 3:10 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: This is the start of the stable review cycle for the 3.0.70 release. There are 40 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied,

Re: [PATCH v3 2/5] zero-filled pages awareness

2013-03-18 Thread Greg Kroah-Hartman
On Fri, Mar 15, 2013 at 10:34:17AM +0800, Wanpeng Li wrote: Compression of zero-filled pages can unneccessarily cause internal fragmentation, and thus waste memory. This special case can be optimized. This patch captures zero-filled pages, and marks their corresponding zcache backing page

Re: [ 00/48] 3.4.37-stable review

2013-03-18 Thread Shuah Khan
On Mon, Mar 18, 2013 at 3:08 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: This is the start of the stable review cycle for the 3.4.37 release. There are 48 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied,

Re: [ 00/75] 3.8.4-stable review

2013-03-18 Thread Shuah Khan
On Mon, Mar 18, 2013 at 3:06 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: This is the start of the stable review cycle for the 3.8.4 release. There are 75 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please

Re: [ 00/75] 3.8.4-stable review

2013-03-18 Thread Greg Kroah-Hartman
On Mon, Mar 18, 2013 at 06:51:37PM -0600, Shuah Khan wrote: On Mon, Mar 18, 2013 at 3:06 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: This is the start of the stable review cycle for the 3.8.4 release. There are 75 patches in this series, all will be posted as a response to

Re: [ 04/21] target/pscsi: Fix page increment

2013-03-18 Thread Asias He
On Mon, Mar 18, 2013 at 11:30:47PM +, Ben Hutchings wrote: On Mon, 2013-03-18 at 14:00 -0700, Nicholas A. Bellinger wrote: On Mon, 2013-03-18 at 13:35 +0800, Asias He wrote: On Sat, Mar 16, 2013 at 02:10:22AM +, Ben Hutchings wrote: On Tue, 2013-03-12 at 15:44 -0700, Greg

Re: [ 00/48] 3.4.37-stable review

2013-03-18 Thread Parag Warudkar
On Mon, 18 Mar 2013, Shuah Khan wrote: I am seeing the following warning after suspend and resume: [ 665.841331] Component: resume devices, time: 10628 [snip] [ 665.841446] Pid: 2686, comm: bash Not tainted 3.4.37-rc1+ #13 [ 665.841450] Call Trace: [ 665.841463] [8105136f]

[PATCH v3] target: close target_put_sess_cmd() vs. core_tmr_abort_task() race

2013-03-18 Thread Jörn Engel
And because I'm lame and stupid, here's v3. It is possible for one thread to to take se_sess-sess_cmd_lock in core_tmr_abort_task() before taking a reference count on se_cmd-cmd_kref, while another thread in target_put_sess_cmd() drops se_cmd-cmd_kref before taking se_sess-sess_cmd_lock. This

Re: [PATCH v5 26/44] tty: Add read-recursive, writer-prioritized rw semaphore

2013-03-18 Thread Peter Hurley
On Mon, 2013-03-18 at 16:58 -0700, Greg Kroah-Hartman wrote: On Mon, Mar 11, 2013 at 04:44:46PM -0400, Peter Hurley wrote: The semantics of a rw semaphore are almost ideally suited for tty line discipline lifetime management; multiple active threads obtain references (read locks) while

Re: [PATCH] ath9k : Fix ieee80211 work while going to suspend

2013-03-18 Thread Parag Warudkar
On Mon, 18 Mar 2013, Luis R. Rodriguez wrote: Note that what this will do is call later mod_timer() for rx_poll_timer, the right thing to do then, which would be equivalent to your patch is to modify the ath_start_rx_poll() to instead use the new API mod_timer_pending() added on v2.6.30

Re: [PATCH] usb: Make USB persist default configurable

2013-03-18 Thread Julius Werner
What drivers/devices don't work with persist? We need to know that now, otherwise all other distros and users have problems, right? We have seen a problem with the LTE modem in the Chromebook Pixel using the usb/serial/option.c driver, but we are not quite sure of the root cause yet. It

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