Re: [PATCH] leds-lm3530: replace pwm platform functions with generic pwm functions

2012-08-19 Thread Thierry Reding
On Mon, Aug 20, 2012 at 05:37:48AM +, Arnd Bergmann wrote: > On Monday 20 August 2012, Kim, Milo wrote: > > +#ifdef CONFIG_PWM > > +static int lm3530_pwm_request(struct lm3530_data *drvdata) > > +{ > > + int pwm_id; > > + > > + /* if the pwm device exists, skip requesting the

Re: changing timeslice in linux

2012-08-19 Thread Mike Galbraith
On Sun, 2012-08-19 at 11:58 -0700, Xin Tong wrote: > I have 2 questions about linux 2.6 x86_64 scheduler. > > 1. is the default scheduling algorithm SCHED_NORMAL in linux ? Yes. > 2. how do i change the time slice in linux source code ? You shouldn't need to. You can tune "slice" by

Re: [PATCH V5 0/5] clk: mmp: add clock framework for mmp

2012-08-19 Thread Arnd Bergmann
On Monday 20 August 2012, Chao Xie wrote: > > From: Chao Xie > > v1->v2: > replace __raw_xxx with xxx_relax > use ioremap to remap the registers. Finaly it will use device tree to > get the physical address. > do not use macro to register clocks, and directly call the functions. > > v2->v3: >

Re: [PATCH] leds-lm3530: replace pwm platform functions with generic pwm functions

2012-08-19 Thread Arnd Bergmann
On Monday 20 August 2012, Kim, Milo wrote: > +#ifdef CONFIG_PWM > +static int lm3530_pwm_request(struct lm3530_data *drvdata) > +{ > + int pwm_id; > + > + /* if the pwm device exists, skip requesting the device */ > + if (drvdata->pwm) > + return 0; > + > +

Re: [PATCH] Add MSI support for SDHCI PCI hosts

2012-08-19 Thread Aaron Lu
Hello, On 08/18/2012 01:06 PM, Daniel J Blueman wrote: > Hi Philip, > > The interrupt could be from another source, though Message Signalled > Interrupts are a PCI (and variants) only feature at present. I'm happy > to split the patch and/or make the module param specific to sdhci-pci. Not sure

Re: [PATCH] x86/fixup_irq: using the cpu_online_mask instead of cpu_all_mask

2012-08-19 Thread Yanmin Zhang
On Tue, 2012-08-14 at 06:55 +, Liu, Chuansheng wrote: > From: liu chuansheng > Subject: [PATCH] x86/fixup_irq: using the cpu_online_mask instead of > cpu_all_mask > > When one CPU is going down, and this CPU is the last one in irq affinity, > current code is setting cpu_all_mask as the new

Re: 3.5.x boot hang after conflicting fb hw usage vs VESA VGA - removing generic driver

2012-08-19 Thread Dave Airlie
On Mon, Aug 20, 2012 at 3:13 PM, Randy Dunlap wrote: > On 08/17/12 15:55, Dave Airlie wrote: > >> On Sat, Aug 18, 2012 at 8:54 AM, Dave Airlie wrote: >>> On Sat, Aug 18, 2012 at 8:28 AM, Randy Dunlap wrote: On 08/17/2012 03:25 PM, Justin M. Forbes wrote: > for , we have verified

Re: 3.5.x boot hang after conflicting fb hw usage vs VESA VGA - removing generic driver

2012-08-19 Thread Randy Dunlap
On 08/17/12 15:55, Dave Airlie wrote: > On Sat, Aug 18, 2012 at 8:54 AM, Dave Airlie wrote: >> On Sat, Aug 18, 2012 at 8:28 AM, Randy Dunlap wrote: >>> On 08/17/2012 03:25 PM, Justin M. Forbes wrote: >>> for , we have verified cases on inteldrmfb, radeondrmfb, and cirrusdrmfb.

Re: [PATCH v7 2/4] virtio_balloon: introduce migration primitives to balloon pages

2012-08-19 Thread Michael S. Tsirkin
On Mon, Aug 20, 2012 at 11:59:11AM +0930, Rusty Russell wrote: > On Wed, 15 Aug 2012 17:40:19 +0300, "Michael S. Tsirkin" > wrote: > > On Wed, Aug 15, 2012 at 09:34:58AM -0300, Rafael Aquini wrote: > > > On Tue, Aug 14, 2012 at 10:31:09PM +0300, Michael S. Tsirkin wrote: > > > > > > now CPU1

Re: [PATCH] leds-lm3530: replace pwm platform functions with generic pwm functions

2012-08-19 Thread Thierry Reding
On Mon, Aug 20, 2012 at 04:02:05AM +, Kim, Milo wrote: [...] > diff --git a/drivers/leds/leds-lm3530.c b/drivers/leds/leds-lm3530.c [...] > @@ -111,6 +114,8 @@ struct lm3530_data { > struct regulator *regulator; > enum led_brightness brightness; > bool enable; > + struct

Re: [PATCH] leds-lm3530: replace pwm platform functions with generic pwm functions

2012-08-19 Thread Thierry Reding
On Mon, Aug 20, 2012 at 04:02:05AM +, Kim, Milo wrote: > use generic pwm functions for changing the duty rather than the platform data pwm -> PWM, duty -> duty-cycle There are more occurrences of "pwm"scattered through the file, please fix those as well. > @@ -153,6 +158,64 @@ static int

Re: [PATCH] perf ui/gtk: Ensure not to call gtk_main_quit() twice

2012-08-19 Thread Pekka Enberg
On Mon, Aug 20, 2012 at 4:59 AM, Namhyung Kim wrote: > Forgot to add the #ifdefery to the below code also. :-/ Anyway, it needs > to expose gtk specifics to general code with the #ifdef's. So I'd still > prefer the original patch. Fair enough. Acked-by: Pekka Enberg -- To unsubscribe from

Re: [RFC v2 1/7] integrity: added digest calculation function

2012-08-19 Thread Rusty Russell
On Wed, 15 Aug 2012 21:43:06 +0300, Dmitry Kasatkin wrote: > + } else { > + struct { > + struct shash_desc shash; > + char ctx[crypto_shash_descsize(tfm)]; > + } desc; Linus had a rant a while ago about using variable-sized

Re: [PATCH v7 2/4] virtio_balloon: introduce migration primitives to balloon pages

2012-08-19 Thread Rusty Russell
On Wed, 15 Aug 2012 17:40:19 +0300, "Michael S. Tsirkin" wrote: > On Wed, Aug 15, 2012 at 09:34:58AM -0300, Rafael Aquini wrote: > > On Tue, Aug 14, 2012 at 10:31:09PM +0300, Michael S. Tsirkin wrote: > > > > > now CPU1 executes the next instruction: > > > > > > > > > > } > > > > > > > > > >

Re: [PATCH] MIPS: Fix module.c build for 32 bit

2012-08-19 Thread Rusty Russell
On Tue, 14 Aug 2012 17:13:45 +0200, Ralf Baechle wrote: > Fixes build failure introduced by "Make most arch asm/module.h files use > asm-generic/module.h" by moving all the RELA processing code to a > separate file to be used only for RELA processing on 64-bit kernels. > > CC

Re: linux-next: Tree for July 26 (uml)

2012-08-19 Thread Rusty Russell
On Tue, 14 Aug 2012 10:41:42 -0700, Randy Dunlap wrote: > On 08/14/2012 08:17 AM, Richard Weinberger wrote: > > > Am 14.08.2012 17:15, schrieb David Howells: > >> How about this then? > >> > >> David > >> --- > >> diff --git a/arch/x86/um/Kconfig b/arch/x86/um/Kconfig > >> index 9926e11..a4b0c10

[PATCH 6/7] perf ui/browser: Use hist_period_print functions

2012-08-19 Thread Namhyung Kim
From: Namhyung Kim Override hpp->color functions for TUI. Because line coloring is done outside of the function, it just sets the percent value and pass it. Signed-off-by: Namhyung Kim --- tools/perf/ui/browsers/hists.c | 94 --

[PATCH 5/7] perf hists: Use hpp_functions->width to calculate the column widths

2012-08-19 Thread Namhyung Kim
From: Namhyung Kim Signed-off-by: Namhyung Kim --- tools/perf/ui/hist.c | 27 +++ tools/perf/util/hist.c | 33 - 2 files changed, 27 insertions(+), 33 deletions(-) diff --git a/tools/perf/ui/hist.c b/tools/perf/ui/hist.c index

[PATCH 3/7] perf hists: Introduce hist_period_print functions

2012-08-19 Thread Namhyung Kim
From: Namhyung Kim Current hist print functions are messy. Refactor them using the hpp callbacks and move common code to ui/hist.c. This will make it easy to add new features. Signed-off-by: Namhyung Kim --- tools/perf/Makefile| 2 + tools/perf/builtin-diff.c | 1 +

[PATCH 4/7] perf hists: Handle field separator properly

2012-08-19 Thread Namhyung Kim
From: Namhyung Kim When a field separator is given, the output format doesn't need to be fancy like aligning to column length, coloring the percent value and so on. And since there's a slight difference to normal format, fix it not to break backward compatibility. Cc: Stephane Eranian

[PATCH 2/7] perf hists: Refactor some functions

2012-08-19 Thread Namhyung Kim
From: Namhyung Kim Rename functions for consistency and move callchain print function into hist_entry__fprintf(). Signed-off-by: Namhyung Kim --- tools/perf/ui/browsers/hists.c | 4 ++-- tools/perf/ui/stdio/hist.c | 51 +++--- tools/perf/util/hist.h

[PATCH 7/7] perf gtk/browser: Use hist_period_print functions

2012-08-19 Thread Namhyung Kim
From: Namhyung Kim Now we can support color using pango markup with this change. Acked-by: Pekka Enberg Signed-off-by: Namhyung Kim --- tools/perf/ui/gtk/browser.c | 101 +--- tools/perf/ui/gtk/gtk.h | 1 + tools/perf/ui/gtk/setup.c | 1 + 3

[PATCH 1/7] perf hists: Separate out hist print functions

2012-08-19 Thread Namhyung Kim
From: Namhyung Kim Separate out those functions into ui/stdio/hist.c. This is required for upcoming changes. Signed-off-by: Namhyung Kim --- tools/perf/Makefile| 3 +- tools/perf/ui/stdio/hist.c | 648 +++ tools/perf/util/hist.c | 677

[PATCHSET 0/7] Cleanup hist printing code (v3)

2012-08-19 Thread Namhyung Kim
Hello, This is a cleanup and refactoring patchset for the hist printing code by adding hist_period_print functions and hpp_context. I believe it makes the code easy to maintain and to add new functionalities like upcoming group viewing and callchain accumulation. Any comments are welcome,

Re: linux-next: build failure after merge of the tip tree

2012-08-19 Thread Stephen Rothwell
Hi Paul, On Fri, 17 Aug 2012 04:50:19 -0700 "Paul E. McKenney" wrote: > > Does the following help? Yes, that fixes the warnings. Please submit those two patches to the tip folks ASAP as I can't build the tip tree without them. -- Cheers, Stephen Rothwell

[RFC PATCH 3/7] perf: make python support based on CONFIG_LIBPYTHON

2012-08-19 Thread David Ahern
Signed-off-by: David Ahern --- tools/perf/Makefile | 117 ++- tools/perf/config/feature-tests.mak |2 +- tools/perf/util/trace-event-scripting.c | 17 ++--- 3 files changed, 60 insertions(+), 76 deletions(-) diff --git

[RFC PATCH 6/7] perf: make dwarf unwind support based on CONFIG_LIBUNWIND

2012-08-19 Thread David Ahern
Signed-off-by: David Ahern --- tools/perf/Makefile | 43 +++ tools/perf/arch/x86/Makefile|2 +- tools/perf/builtin-record.c | 15 ++-- tools/perf/config/feature-tests.mak |2 +- tools/perf/util/unwind.h

[RFC PATCH 1/7] perf: initial infrasructure for kbuild/kconfig

2012-08-19 Thread David Ahern
Need help adapting the build targets from the top level Makefile. For this RFC series, the commands can be run manually: $ cd tools/perf $ ../../scripts/kconfig/conf --allyesconfig Pconfig --> generates .config for perf $ mkdir include/config $ mkdir include/generated $

[RFC PATCH 7/7] perf: make demangle support based on CONFIG_DEMANGLE

2012-08-19 Thread David Ahern
Signed-off-by: David Ahern --- tools/perf/Makefile | 25 ++--- tools/perf/util/symbol.h |6 +++--- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/tools/perf/Makefile b/tools/perf/Makefile index b481d77..d31fe1d 100644 --- a/tools/perf/Makefile +++

[RFC PATCH 5/7] perf: make newt support based on CONFIG_NEWT

2012-08-19 Thread David Ahern
Signed-off-by: David Ahern --- tools/perf/Makefile | 60 --- tools/perf/config/feature-tests.mak |2 +- tools/perf/ui/gtk/util.c|4 +-- tools/perf/ui/helpline.h| 10 +++--- tools/perf/util/annotate.h |

[RFC PATCH 4/7] perf: make gtk2 support based on CONFIG_GTK2

2012-08-19 Thread David Ahern
Signed-off-by: David Ahern --- tools/perf/Makefile | 46 --- tools/perf/config/feature-tests.mak |2 +- tools/perf/ui/helpline.h|9 --- tools/perf/util/cache.h | 13 +- tools/perf/util/debug.c

[RFC PATCH 2/7] perf: make perl support based on CONFIG_LIBPERL

2012-08-19 Thread David Ahern
Signed-off-by: David Ahern --- tools/perf/Makefile | 25 +++-- tools/perf/config/feature-tests.mak |2 +- tools/perf/util/trace-event-scripting.c | 13 +++-- 3 files changed, 19 insertions(+), 21 deletions(-) diff --git

Re: [PATCH 0/4] fat: fix ESTALE errors

2012-08-19 Thread Namjae Jeon
2012/8/18, OGAWA Hirofumi : > Al Viro writes: > >> On Sat, Aug 18, 2012 at 05:41:39AM -0400, Namjae Jeon wrote: >>> From: Namjae Jeon >>> >>> This patch-set eliminates the client side ESTALE errors when >>> a FAT partition exported over NFS has its dentries evicted >>> from the cache. >>> >>>

Re: [PATCH 0/4] fat: fix ESTALE errors

2012-08-19 Thread Namjae Jeon
2012/8/18, Al Viro : > On Sat, Aug 18, 2012 at 05:41:39AM -0400, Namjae Jeon wrote: >> From: Namjae Jeon >> >> This patch-set eliminates the client side ESTALE errors when >> a FAT partition exported over NFS has its dentries evicted >> from the cache. >> >> One of the reasons for this error is

[ 07/16] xhci: Add Etron XHCI_TRUST_TX_LENGTH quirk.

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Sarah Sharp commit 5cb7df2b2d3afee7638b3ef23a5bcb89c6f07bd9 upstream. Gary reports that with recent kernels, he notices more xHCI driver warnings: xhci_hcd :03:00.0: WARN

[ 02/16] fuse: verify all ioctl retry iov elements

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Zach Brown commit fb6ccff667712c46b4501b920ea73a326e49626a upstream. Commit 7572777eef78ebdee1ecb7c258c0ef94d35bad16 attempted to verify that the total iovec from the client

[ 03/16] xen: mark local pages as FOREIGN in the m2p_override

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Stefano Stabellini commit b9e0d95c041ca2d7ad297ee37c2e9cfab67a188f upstream. When the frontend and the backend reside on the same domain, even if we add pages to the

[ 04/16] drm/i915: correctly order the ring init sequence

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Vetter commit 0d8957c8a90bbb5d34fab9a304459448a5131e06 upstream. We may only start to set up the new register values after having confirmed that the ring is truely off.

[ 08/16] xhci: Increase reset timeout for Renesas 720201 host.

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Sarah Sharp commit 22ceac191211cf6688b1bf6ecd93c8b6bf80ed9b upstream. The NEC/Renesas 720201 xHCI host controller does not complete its reset within 250 milliseconds. In fact,

[ 09/16] xhci: Switch PPT ports to EHCI on shutdown.

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Sarah Sharp commit e95829f474f0db3a4d940cae1423783edd966027 upstream. The Intel desktop boards DH77EB and DH77DF have a hardware issue that can be worked around by BIOS. If

[ 06/16] ext4: avoid kmemcheck complaint from reading uninitialized memory

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit 7e731bc9a12339f344cddf82166b82633d99dd86 upstream. Commit 03179fe923 introduced a kmemcheck complaint in ext4_da_get_block_prep() because we save and

[ 13/16] USB: ftdi_sio: Add VID/PID for Kondo Serial USB

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Ozan Çağlayan commit 7724a1edbe463b06d4e7831a41149ba095b16c53 upstream. This adds VID/PID for Kondo Kagaku Co. Ltd. Serial USB Adapter interface:

[ 15/16] rt2x00: Add support for BUFFALO WLI-UC-GNM2 to rt2800usb.

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Jeongdo Son commit a769f9577232afe2c754606a83aad85127e7052a upstream. This is a RT3070 based device. Signed-off-by: Jeongdo Son Signed-off-by: John W. Linville

[ 01/32] s390/compat: fix compat wrappers for process_vm system calls

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Heiko Carstens commit 82aabdb6f1eb61e0034ec23901480f5dd23db7c4 upstream. The compat wrappers incorrectly called the non compat versions of the system process_vm system calls.

[ 03/32] dma: imx-dma: Fix kernel crash due to missing clock conversion

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Fabio Estevam commit a2367db2ec5e7fc6fe93e221e0fcdee81b053daf upstream. With the new i.MX clock infrastructure we need to request the dma clocks seperately: ahb and ipg clocks.

[ 07/32] drm/nvd0/disp: mask off high 16 bit of negative cursor x-coordinate

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Christoph Bumiller commit af5e7d84b0ec45b2b614b0d6e3657cbdceaa21f9 upstream. Signed-off-by: Christoph Bumiller Signed-off-by: Ben Skeggs Signed-off-by: Greg Kroah-Hartman

[ 08/32] drm/i915: correctly order the ring init sequence

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Vetter commit 0d8957c8a90bbb5d34fab9a304459448a5131e06 upstream. We may only start to set up the new register values after having confirmed that the ring is truely off.

[ 10/16] USB: add USB_VENDOR_AND_INTERFACE_INFO() macro

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Gustavo Padovan commit d81a5d1956731c453b85c141458d4ff5d6cc5366 upstream. A lot of Broadcom Bluetooth devices provides vendor specific interface class and we are getting

[ 05/32] xen: mark local pages as FOREIGN in the m2p_override

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Stefano Stabellini commit b9e0d95c041ca2d7ad297ee37c2e9cfab67a188f upstream. When the frontend and the backend reside on the same domain, even if we add pages to the

[ 12/32] drm/radeon: do not reenable crtc after moving vram start address

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Jerome Glisse commit 81ee8fb6b52ec69eeed37fe7943446af1dccecc5 upstream. It seems we can not update the crtc scanout address. After disabling crtc, update to base address do not

[ 14/32] drm/radeon: fix bank tiling parameters on cayman

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 5b23c9045a8b61352986270b2d109edf5085e113 upstream. Handle the 16 bank case. Signed-off-by: Alex Deucher Signed-off-by: Greg Kroah-Hartman ---

[ 16/32] ext4: make sure the journal sb is written in ext4_clear_journal_err()

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit d796c52ef0b71a988364f6109aeb63d79c5b116b upstream. After we transfer set the EXT4_ERROR_FS bit in the file system superblock, it's not enough to call

[ 19/32] ext4: fix kernel BUG on large-scale rm -rf commands

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit 89a4e48f8479f8145eca9698f39fe188c982212f upstream. Commit 968dee7722: "ext4: fix hole punch failure when depth is greater than 0" introduced a regression

[ 21/32] xhci: Increase reset timeout for Renesas 720201 host.

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Sarah Sharp commit 22ceac191211cf6688b1bf6ecd93c8b6bf80ed9b upstream. The NEC/Renesas 720201 xHCI host controller does not complete its reset within 250 milliseconds. In fact,

[ 24/32] USB: add USB_VENDOR_AND_INTERFACE_INFO() macro

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Gustavo Padovan commit d81a5d1956731c453b85c141458d4ff5d6cc5366 upstream. A lot of Broadcom Bluetooth devices provides vendor specific interface class and we are getting

[ 28/32] USB: option: add ZTE K5006-Z

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Bjørn Mork commit f1b5c997e68533df1f96dcd3068a231bca495603 upstream. The ZTE (Vodafone) K5006-Z use the following interface layout: 00 DIAG 01 secondary 02 modem 03

[ 27/32] USB: support the new interfaces of Huawei Data Card devices in option driver

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: fangxiaozhi commit ee6f827df9107139e8960326e49e1376352ced4d upstream. In this patch, we add new declarations into option.c to support the new interfaces of Huawei Data Card

[ 25/32] pmac_zilog,kdb: Fix console poll hook to return instead of loop

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Jason Wessel commit 38f8eefccf3a23c4058a570fa2938a4f553cf8e0 upstream. kdb <-> kgdb transitioning does not work properly with this UART driver because the get character routine

[ 31/32] usb: gadget: u_ether: fix kworker 100% CPU issue with still used interfaces in eth_stop

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Michael Grzeschik commit b1b552a69b8805e7e338074a9e8b670b4a795218 upstream. This patch fixes an issue introduced by patch: 72c973d usb: gadget: add usb_endpoint_descriptor

[ 01/46] s390/compat: fix compat wrappers for process_vm system calls

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Heiko Carstens commit 82aabdb6f1eb61e0034ec23901480f5dd23db7c4 upstream. The compat wrappers incorrectly called the non compat versions of the system process_vm system calls.

[ 00/46] 3.5.3-stable review

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH This is the start of the stable review cycle for the 3.5.3 release. There are 47 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Wed Aug 22 03:58:29 UTC 2012.

[ 05/46] dma: imx-dma: Fix kernel crash due to missing clock conversion

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Fabio Estevam commit a2367db2ec5e7fc6fe93e221e0fcdee81b053daf upstream. With the new i.MX clock infrastructure we need to request the dma clocks seperately: ahb and ipg clocks.

[ 06/46] fuse: verify all ioctl retry iov elements

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Zach Brown commit fb6ccff667712c46b4501b920ea73a326e49626a upstream. Commit 7572777eef78ebdee1ecb7c258c0ef94d35bad16 attempted to verify that the total iovec from the client

[ 32/32] rt2x00: Add support for BUFFALO WLI-UC-GNM2 to rt2800usb.

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Jeongdo Son commit a769f9577232afe2c754606a83aad85127e7052a upstream. This is a RT3070 based device. Signed-off-by: Jeongdo Son Signed-off-by: John W. Linville

[ 30/32] usb: serial: mos7840: Fixup mos7840_chars_in_buffer()

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Mark Ferrell commit 5c263b92f828af6a8cf54041db45ceae5af8f2ab upstream. * Use the buffer content length as opposed to the total buffer size. This can be a real problem when

[ 20/32] xhci: Add Etron XHCI_TRUST_TX_LENGTH quirk.

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Sarah Sharp commit 5cb7df2b2d3afee7638b3ef23a5bcb89c6f07bd9 upstream. Gary reports that with recent kernels, he notices more xHCI driver warnings: xhci_hcd :03:00.0: WARN

[ 26/32] IB/srp: Fix a race condition

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit 220329916c72ee3d54ae7262b215a050f04a18fc upstream. Avoid a crash caused by the scmnd->scsi_done(scmnd) call in srp_process_rsp() being invoked with

[ 18/32] ext4: fix long mount times on very big file systems

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit 0548bbb85337e532ca2ed697c3e9b227ff2ed4b4 upstream. Commit 8aeb00ff85a: "ext4: fix overhead calculation used by ext4_statfs()" introduced a O(n**2)

[ 04/46] drm/mgag200: fix G200ER pll picking algorithm

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Dave Airlie commit 9830605d4c070b16ec5c24a75503877cc7698409 upstream. The original code was misported from the X driver, a) an int went to unsigned int, breaking the downward

[ 11/46] drm/i915: ignore eDP bpc settings from vbt

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Vetter commit 4344b813f105a19f793f1fd93ad775b784648b95 upstream. This has originally been introduced to not oversubscribe the dp links in commit

[ 12/46] drm/i915: reorder edp disabling to fix ivb MacBook Air

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Vetter commit 35a38556d900b9cb5dfa2529c93944b847f8a8a4 upstream. eDP is tons of fun. It turns out that at least the new MacBook Air 5,1 model absolutely doesn't like the

[ 09/46] drm/nvd0/disp: mask off high 16 bit of negative cursor x-coordinate

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Christoph Bumiller commit af5e7d84b0ec45b2b614b0d6e3657cbdceaa21f9 upstream. Signed-off-by: Christoph Bumiller Signed-off-by: Ben Skeggs Signed-off-by: Greg Kroah-Hartman

[ 16/46] drm/radeon: add some new SI pci ids

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 2f292004dd1fb005788dc0a9cdd5559812ed866e upstream. Signed-off-by: Alex Deucher Signed-off-by: Greg Kroah-Hartman --- include/drm/drm_pciids.h |3 +++

[ 14/46] drm/radeon: do not reenable crtc after moving vram start address

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Jerome Glisse commit 81ee8fb6b52ec69eeed37fe7943446af1dccecc5 upstream. It seems we can not update the crtc scanout address. After disabling crtc, update to base address do not

[ 18/46] drm/radeon: fix bank tiling parameters on SI

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Christian König commit dca571a6a4edda1f61ba7ecb47431a22245490a3 upstream. The sixteen bank case wasn't handled here, leading to GPU crashes because of userspace miscalculation.

[ 19/46] drm/radeon: fix bank tiling parameters on evergreen

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit c8d15edc17d836686d1f071e564800e1a2724fa6 upstream. Handle the 16 bank case. Signed-off-by: Alex Deucher Signed-off-by: Greg Kroah-Hartman ---

[ 22/46] ext4: make sure the journal sb is written in ext4_clear_journal_err()

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit d796c52ef0b71a988364f6109aeb63d79c5b116b upstream. After we transfer set the EXT4_ERROR_FS bit in the file system superblock, it's not enough to call

[ 24/46] ext4: dont call ext4_error while block group is locked

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit 7a4c5de27efa4c2ecca87af0a3deea63446367e2 upstream. While in ext4_validate_block_bitmap(), if an block allocation bitmap is found to be invalid, we call

[ 26/46] ext4: fix kernel BUG on large-scale rm -rf commands

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit 89a4e48f8479f8145eca9698f39fe188c982212f upstream. Commit 968dee7722: "ext4: fix hole punch failure when depth is greater than 0" introduced a regression

[ 28/46] xhci: Increase reset timeout for Renesas 720201 host.

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Sarah Sharp commit 22ceac191211cf6688b1bf6ecd93c8b6bf80ed9b upstream. The NEC/Renesas 720201 xHCI host controller does not complete its reset within 250 milliseconds. In fact,

[ 31/46] drivers-core: make structured logging play nice with dynamic-debug

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Jim Cromie commit af7f2158fdee9d7f55b793b09f8170a3391f889a upstream. commit c4e00daaa96d3a0786f1f4fe6456281c60ef9a16 changed __dev_printk in a way that broke dynamic-debug's

[ 32/46] staging: comedi: Fix reversed test in comedi_device_attach()

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Ian Abbott commit 80eb7a506fdcea08f86c9dfc7c638303bf02a3c8 upstream. Commit 3902a370281d2f2b130f141e8cf94eab40125769 (staging: comedi: refactor comedi_device_attach() a bit) by

[ 34/46] USB: support the new interfaces of Huawei Data Card devices in option driver

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: fangxiaozhi commit ee6f827df9107139e8960326e49e1376352ced4d upstream. In this patch, we add new declarations into option.c to support the new interfaces of Huawei Data Card

[ 30/46] xhci: Fix bug after deq ptr set to link TRB.

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Sarah Sharp commit 50d0206fcaea3e736f912fd5b00ec6233fb4ce44 upstream. This patch fixes a particularly nasty bug that was revealed by the ring expansion patches. The bug has

[ 38/46] usb: gadget: u_ether: fix kworker 100% CPU issue with still used interfaces in eth_stop

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Michael Grzeschik commit b1b552a69b8805e7e338074a9e8b670b4a795218 upstream. This patch fixes an issue introduced by patch: 72c973d usb: gadget: add usb_endpoint_descriptor

[ 40/46] KVM: PIC: call ack notifiers for irqs that are dropped form irr

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Gleb Natapov (cherry picked from commit aea218f3cbbcaac249b6b2c98930a00d6d931f1e) After commit 242ec97c358256 PIT interrupts are no longer delivered after PIC reset. It happens

[ 42/46] KVM: VMX: Fix ds/es corruption on i386 with preemption

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Avi Kivity (cherry picked from commit aa67f6096c19bcdb1951ef88be3cf3d2118809dc) Commit b2da15ac26a0c ("KVM: VMX: Optimize %ds, %es reload") broke i386 in the following

[ 39/46] rt2x00: Add support for BUFFALO WLI-UC-GNM2 to rt2800usb.

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Jeongdo Son commit a769f9577232afe2c754606a83aad85127e7052a upstream. This is a RT3070 based device. Signed-off-by: Jeongdo Son Signed-off-by: John W. Linville

[ 29/46] xhci: Switch PPT ports to EHCI on shutdown.

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Sarah Sharp commit e95829f474f0db3a4d940cae1423783edd966027 upstream. The Intel desktop boards DH77EB and DH77DF have a hardware issue that can be worked around by BIOS. If

[ 23/46] ext4: avoid kmemcheck complaint from reading uninitialized memory

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit 7e731bc9a12339f344cddf82166b82633d99dd86 upstream. Commit 03179fe923 introduced a kmemcheck complaint in ext4_da_get_block_prep() because we save and

[ 44/46] KVM: VMX: Fix KVM_SET_SREGS with big real mode segments

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Orit Wasserman (cherry picked from commit b246dd5df139501b974bd6b28f7815e53b3a792f) For example migration between Westmere and Nehelem hosts, caught in big real mode. The

[ 46/46] IB/srp: Fix a race condition

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit 220329916c72ee3d54ae7262b215a050f04a18fc upstream. Avoid a crash caused by the scmnd->scsi_done(scmnd) call in srp_process_rsp() being invoked with

[ 45/46] pmac_zilog,kdb: Fix console poll hook to return instead of loop

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Jason Wessel commit 38f8eefccf3a23c4058a570fa2938a4f553cf8e0 upstream. kdb <-> kgdb transitioning does not work properly with this UART driver because the get character routine

Re: [Nouveau] nouveau Macbook EDID fix upstreaming...

2012-08-19 Thread Ben Skeggs
On Fri, Aug 17, 2012 at 04:33:25PM +0800, Daniel J Blueman wrote: > It looks like Ryan's Nouveau patch [1,2] to get the I2C working for > EDID (thus modelines) is crucial for avoiding the Nvidia binary > drivers on MacbookPro 2012s. > > Any plans/chance for it to be upstreamed to eg 3.6-rc3? Not

[PATCH] leds-lm3530: replace pwm platform functions with generic pwm functions

2012-08-19 Thread Kim, Milo
use generic pwm functions for changing the duty rather than the platform data (a) add lm3530_pwm_xxx functions for supporting pwm control mode (b) add pwm id and period in the platform data (c) gather pwm platform data into one place This device should be built even if the pwm mode is unused.

[ 41/46] KVM: x86: apply kvmclock offset to guest wall clock time

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Bruce Rogers (cherry picked from commit 4b6486659a7defef82ea51b276024b3aa357fefc) When a guest migrates to a new host, the system time difference from the previous host is used

[ 43/46] KVM: x86 emulator: fix byte-sized MOVZX/MOVSX

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Avi Kivity (cherry picked from commit 361cad2b50a2c92b91b6f568db860fabad3bf149) Commit 2adb5ad9fe1 removed ByteOp from MOVZX/MOVSX, replacing them by SrcMem8, but neglected to

[ 36/46] USB: ftdi_sio: Add VID/PID for Kondo Serial USB

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Ozan Çağlayan commit 7724a1edbe463b06d4e7831a41149ba095b16c53 upstream. This adds VID/PID for Kondo Kagaku Co. Ltd. Serial USB Adapter interface:

[ 37/46] usb: serial: mos7840: Fixup mos7840_chars_in_buffer()

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Mark Ferrell commit 5c263b92f828af6a8cf54041db45ceae5af8f2ab upstream. * Use the buffer content length as opposed to the total buffer size. This can be a real problem when

[ 35/46] USB: option: add ZTE K5006-Z

2012-08-19 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Bjørn Mork commit f1b5c997e68533df1f96dcd3068a231bca495603 upstream. The ZTE (Vodafone) K5006-Z use the following interface layout: 00 DIAG 01 secondary 02 modem 03

  1   2   3   4   5   6   7   >