Re: [PATCH] usb: gadget: f_mass_storage: add missing memory barrier for thread_wakeup_needed

2013-03-15 Thread Felipe Balbi
Hi, On Fri, Mar 15, 2013 at 09:25:28AM +0900, UCHINO Satoshi wrote: > Without this memory barrier, the file-storage thread may fail to > escape from the following while loop, because it may observe new > common->thread_wakeup_needed and old bh->state which are updated by > the callback functions.

[PATCH 3.4-stable] nohz: Make tick_nohz_irq_exit() irq safe

2013-03-15 Thread Lingzhu Xiang
commit e5ab012c3271990e8457055c25cafddc1ae8aa6b upstream. Backported for 3.4-stable. Removed __tick_nohz_idle_enter and menu_hrtimer_cancel which don't exist in 3.4-stable. From: Frederic Weisbecker As it stands, irq_exit() may or may not be called with irqs disabled, depending on __ARCH_IRQ_EX

Re: [PATCH] usb: gadget: f_mass_storage: add missing memory barrier for thread_wakeup_needed

2013-03-15 Thread UCHINO Satoshi
Hi, On Fri, 15 Mar 2013 07:39:02, "Felipe Balbi" wrote: > Hi, > > On Fri, Mar 15, 2013 at 09:25:28AM +0900, UCHINO Satoshi wrote: >> Without this memory barrier, the file-storage thread may fail to >> escape from the following while loop, because it may observe new >> common->thread_wakeup_need

stable 3.0 and CVEs

2013-03-15 Thread Jiri Slaby
Hi, we have the following commits from usptream in a SLE11sp2 kernel (3.0) to fix various CVEs: Git-commit: 3118a4f652c7b12c752f3222af0447008f9b2368 Git-commit: b0de59b5733d18b0d1974a060860a8b5c1b36a2e Git-commit: b5a1eeef04cc7859f34dec9b72ea1b28e4aba07c Git-commit: c00b6856fc642b234895cfabd15b289

Re: patch "serial: 8250_pci: add support for another kind of NetMos Technology" added to tty tree

2013-03-15 Thread Wang YanQing
On Tue, Mar 12, 2013 at 08:53:49AM -0700, gre...@linuxfoundation.org wrote: > > This is a note to let you know that I've just added the patch titled > > serial: 8250_pci: add support for another kind of NetMos Technology > > to my tty git tree which can be found at > git://git.kernel.org

Re: [PATCH 3.4-stable] nohz: Make tick_nohz_irq_exit() irq safe

2013-03-15 Thread Lingzhu Xiang
Dear maintainers, please review this backported patch. Sorry for missing Cc's. commit e5ab012c3271990e8457055c25cafddc1ae8aa6b upstream. Backported for 3.4-stable. Removed __tick_nohz_idle_enter and menu_hrtimer_cancel which don't exist in 3.4-stable. From: Frederic Weisbecker As it stands, ir

[PATCH 3.8-stable] rt2x00: error in configurations with mesh support disabled

2013-03-15 Thread Lingzhu Xiang
commit 6ef9e2f6d12ce9e2120916804d2ddd46b954a70b upstream. Backported for 3.8-stable. Removed code of simultaneous AP and mesh mode added in 4a5fc6d 3.9-rc1. From: Felix Fietkau If CONFIG_MAC80211_MESH is not set, cfg80211 will now allow advertising interface combinations with NL80211_IFTYPE_MES

[PATCH 3.4-stable] rt2x00: error in configurations with mesh support disabled

2013-03-15 Thread Lingzhu Xiang
commit 6ef9e2f6d12ce9e2120916804d2ddd46b954a70b upstream. Backported for 3.4-stable. Removed code of simultaneous AP and mesh mode added in 4a5fc6d 3.9-rc1. From: Felix Fietkau If CONFIG_MAC80211_MESH is not set, cfg80211 will now allow advertising interface combinations with NL80211_IFTYPE_MES

[PATCH 3.0-stable] rt2x00: error in configurations with mesh support disabled

2013-03-15 Thread Lingzhu Xiang
commit 6ef9e2f6d12ce9e2120916804d2ddd46b954a70b upstream. Backported for 3.0-stable. Removed code of simultaneous AP and mesh mode added in 4a5fc6d 3.9-rc1. From: Felix Fietkau If CONFIG_MAC80211_MESH is not set, cfg80211 will now allow advertising interface combinations with NL80211_IFTYPE_MES

[PATCH v2 3.4-stable] rt2x00: error in configurations with mesh support disabled

2013-03-15 Thread Lingzhu Xiang
The previous patch contains a typo. Please ignore. commit 6ef9e2f6d12ce9e2120916804d2ddd46b954a70b upstream. Backported for 3.4-stable. Removed code of simultaneous AP and mesh mode added in 4a5fc6d 3.9-rc1. From: Felix Fietkau If CONFIG_MAC80211_MESH is not set, cfg80211 will now allow advert

[PATCH v2 3.0-stable] rt2x00: error in configurations with mesh support disabled

2013-03-15 Thread Lingzhu Xiang
The previous patch contains a typo. Please ignore. commit 6ef9e2f6d12ce9e2120916804d2ddd46b954a70b upstream. Backported for 3.0-stable. Removed code of simultaneous AP and mesh mode added in 4a5fc6d 3.9-rc1. From: Felix Fietkau If CONFIG_MAC80211_MESH is not set, cfg80211 will now allow advert

Re: stable 3.0 and CVEs

2013-03-15 Thread Greg KH
On Fri, Mar 15, 2013 at 09:27:02AM +0100, Jiri Slaby wrote: > Hi, > > we have the following commits from usptream in a SLE11sp2 kernel (3.0) > to fix various CVEs: > Git-commit: 3118a4f652c7b12c752f3222af0447008f9b2368 > Git-commit: b0de59b5733d18b0d1974a060860a8b5c1b36a2e > Git-commit: b5a1eeef04

Re: patch "serial: 8250_pci: add support for another kind of NetMos Technology" added to tty tree

2013-03-15 Thread Greg KH
On Fri, Mar 15, 2013 at 04:52:02PM +0800, Wang YanQing wrote: > Hi Greg Korah-Hartman and all, another patch in lkml I > sended more than one week ago, it is fit for stable tree too. > > "[PATCH v2]8250_pci: Add WCH CH352 quirk to avoid Xscale detection" > > It is in lkml for more than ten days,

[PATCH 2/2] drm/radeon: add Richland pci ids

2013-03-15 Thread alexdeucher
From: Alex Deucher Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org --- include/drm/drm_pciids.h | 13 - 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/include/drm/drm_pciids.h b/include/drm/drm_pciids.h index a386b0b..918e8fe 100644 --- a/include/drm/drm_pc

[PATCH 1/2] drm/radeon: add support for Richland APUs

2013-03-15 Thread alexdeucher
From: Alex Deucher Richland APUs are a new version of the Trinity APUs with performance and power management improvements. Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org --- drivers/gpu/drm/radeon/ni.c | 11 ++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/

Re: [PATCH] usb: gadget: f_mass_storage: add missing memory barrier for thread_wakeup_needed

2013-03-15 Thread Michal Nazarewicz
On Fri, Mar 15 2013, UCHINO Satoshi wrote: > Without this memory barrier, the file-storage thread may fail to > escape from the following while loop, because it may observe new > common->thread_wakeup_needed and old bh->state which are updated by > the callback functions. > > /* Wait for the

Re: [PATCH 1/2] drm/radeon: add support for Richland APUs

2013-03-15 Thread Jerome Glisse
On Fri, Mar 15, 2013 at 9:50 AM, wrote: > From: Alex Deucher > > Richland APUs are a new version of the Trinity APUs > with performance and power management improvements. > > Signed-off-by: Alex Deucher > Cc: stable@vger.kernel.org For the serie: Reviewed-by: Jerome Glisse > --- > drivers/g

Re: [PATCH v1] Bluetooth: Add support for Dell[QCA 0cf3:0036]

2013-03-15 Thread Gustavo Padovan
Hi Ming, * Ming Lei [2013-03-15 11:00:39 +0800]: > Add support for the AR9462 chip > > T: Bus=03 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 3 Spd=12 MxCh= 0 > D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 > P: Vendor=0cf3 ProdID=0036 Rev= 0.02 > C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100

Re: [PATCH 2/5] USB: ftdi_sio: fix use after free in TIOCMIWAIT

2013-03-15 Thread Johan Hovold
On Wed, Feb 27, 2013 at 01:52:27PM +0100, Johan Hovold wrote: > Make sure to check the serial disconnected flag before accessing port > private data after waking up. > > This fixes a use after free in the ftdi_sio introduced by commit > 876ae50d94b ("USB: ftdi_sio: fix race condition in TIOCMIWAIT

[PATCH][v3.2.y] xen-netfront: delay gARP until backend switches to Connected

2013-03-15 Thread Joseph Salisbury
Hello, Please consider including upstream commit 08e34eb14fe4cfd934b5c169a7682a969457c4ea in the next v3.2.y release. It was included upstream as of v3.3-rc1. It has been tested and confirmed to resolve http://bugs.launchpad.net/bugs/1154608 . commit 08e34eb14fe4cfd934b5c169a7682a969457c4ea

Re: udelay function delays the wrong time interval in multiprocessor system, if ARCH_HAS_READ_CURRENT_TIMER is not defined and on current timer is used.

2013-03-15 Thread Russell King - ARM Linux
On Sat, Mar 16, 2013 at 12:08:54AM +0800, chpoph wrote: > If ARCH_HAS_READ_CURRENT_TIMER is not defined and on current timer is > used for udelay, then __loop_delay and __loop_const_udelay is used to > delay a specific time interval. but in delay-loop.S, loops_per_jiffy > (not per cpu data) is use

Re: [PATCH 2/5] USB: ftdi_sio: fix use after free in TIOCMIWAIT

2013-03-15 Thread Greg KH
On Fri, Mar 15, 2013 at 06:16:07PM +0100, Johan Hovold wrote: > On Wed, Feb 27, 2013 at 01:52:27PM +0100, Johan Hovold wrote: > > Make sure to check the serial disconnected flag before accessing port > > private data after waking up. > > > > This fixes a use after free in the ftdi_sio introduced b

patch "USB: xhci: correctly enable interrupts" added to usb tree

2013-03-15 Thread gregkh
This is a note to let you know that I've just added the patch titled USB: xhci: correctly enable interrupts to my usb git tree which can be found at git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git in the usb-linus branch. The patch will show up in the next release of the li

patch "USB: EHCI: fix regression during bus resume" added to usb tree

2013-03-15 Thread gregkh
This is a note to let you know that I've just added the patch titled USB: EHCI: fix regression during bus resume to my usb git tree which can be found at git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git in the usb-linus branch. The patch will show up in the next release of t

patch "usb-storage: add unusual_devs entry for Samsung YP-Z3 mp3 player" added to usb tree

2013-03-15 Thread gregkh
This is a note to let you know that I've just added the patch titled usb-storage: add unusual_devs entry for Samsung YP-Z3 mp3 player to my usb git tree which can be found at git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git in the usb-linus branch. The patch will show up in

Re: [PATCH v2 0/2] AMD MCE fixes

2013-03-15 Thread Borislav Petkov
On Thu, Mar 14, 2013 at 05:10:39PM -0400, Boris Ostrovsky wrote: > > Boris, > > Here is the updated patch for determining number of regiter banks on > AMD plus a patch removing shared_bank array, as you suggested. > > Offline/online testing didn't show any issues. > > > > Boris Ostrovsky (2):

Re: [PATCH 2/5] USB: ftdi_sio: fix use after free in TIOCMIWAIT

2013-03-15 Thread Johan Hovold
On Fri, Mar 15, 2013 at 12:04:34PM -0700, Greg KH wrote: > On Fri, Mar 15, 2013 at 06:16:07PM +0100, Johan Hovold wrote: > > On Wed, Feb 27, 2013 at 01:52:27PM +0100, Johan Hovold wrote: > > > Make sure to check the serial disconnected flag before accessing port > > > private data after waking up.

Re: [PATCH 2/5] USB: ftdi_sio: fix use after free in TIOCMIWAIT

2013-03-15 Thread Greg KH
On Fri, Mar 15, 2013 at 08:29:12PM +0100, Johan Hovold wrote: > On Fri, Mar 15, 2013 at 12:04:34PM -0700, Greg KH wrote: > > For now, consider all patches you have sent to me previously, that I > > have not applied, as dropped from my todo queues. > > Great, but only the USB-ones, right? Yes, I s

[for-next][PATCH 16/20] tracing: Remove most or all of stack tracer stack size from stack_max_size

2013-03-15 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Currently, the depth reported in the stack tracer stack_trace file does not match the stack_max_size file. This is because the stack_max_size includes the overhead of stack tracer itself while the depth does not. The first time a max is triggered, a calculation i

[for-next][PATCH 15/20] tracing: Fix stack tracer with fentry use

2013-03-15 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" When gcc 4.6 on x86 is used, the function tracer will use the new option -mfentry which does a call to "fentry" at every function instead of "mcount". The significance of this is that fentry is called as the first operation of the function instead of the mcount us

[for-next][PATCH 14/20] tracing: Use stack of calling function for stack tracer

2013-03-15 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Use the stack of stack_trace_call() instead of check_stack() as the test pointer for max stack size. It makes it a bit cleaner and a little more accurate. Adding stable, as a later fix depends on this patch. Cc: stable@vger.kernel.org Signed-off-by: Steven Roste

patch "tty: atmel_serial_probe(): index of atmel_ports[] fix" added to tty tree

2013-03-15 Thread gregkh
This is a note to let you know that I've just added the patch titled tty: atmel_serial_probe(): index of atmel_ports[] fix to my tty git tree which can be found at git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git in the tty-linus branch. The patch will show up in the next re

Patch "perf,x86: fix kernel crash with PEBS/BTS after suspend/resume" has been added to the 3.8-stable tree

2013-03-15 Thread gregkh
This is a note to let you know that I've just added the patch titled perf,x86: fix kernel crash with PEBS/BTS after suspend/resume to the 3.8-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

Patch "perf,x86: fix kernel crash with PEBS/BTS after suspend/resume" has been added to the 3.4-stable tree

2013-03-15 Thread gregkh
This is a note to let you know that I've just added the patch titled perf,x86: fix kernel crash with PEBS/BTS after suspend/resume to the 3.4-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

Re: [PATCH] video: ep93xx_fb: include for devm_ioremap()

2013-03-15 Thread Ryan Mallon
On 16/03/13 09:20, H Hartley Sweeten wrote: > commit be867814 "drivers/video/ep93xx-fb.c: use devm_ functions" > > Introduced a build error: > > drivers/video/ep93xx-fb.c: In function 'ep93xxfb_probe': > drivers/video/ep93xx-fb.c:532: error: implicit declaration of function > 'devm_ioremap' > d

[PATCH] block: use i_size_write() in bd_set_size()

2013-03-15 Thread Jeff Mahoney
Commit d646a02a9d44d1421f273ae3923d97b47b918176 upstream. blkdev_ioctl(GETBLKSIZE) uses i_size_read() to read size of block device. If we update block size directly, reader may see intermediate result in some machines and configurations. Use i_size_write() instead. Signed-off-by: Guo Chao Cc: A

[PATCH] loopdev: fix a deadlock

2013-03-15 Thread Jeff Mahoney
Commit 5370019dc2d2c2ff90e95d181468071362934f3a upstream. bd_mutex and lo_ctl_mutex can be held in different order. Path #1: blkdev_open blkdev_get __blkdev_get (hold bd_mutex) lo_open (hold lo_ctl_mutex) Path #2: blkdev_ioctl lo_ioctl (hold lo_ctl_mutex) lo_set_capacity (hold bd_mute

[PATCH] loopdev: remove an user triggerable oops

2013-03-15 Thread Jeff Mahoney
Commit b1a6650406875b9097a032eed89af50682fe1160 upstream. When loopdev is built as module and we pass an invalid parameter, loop_init() will return directly without deregister misc device, which will cause an oops when insert loop module next time because we left some garbage in the misc device li

[PATCH] video: ep93xx_fb: include for devm_ioremap()

2013-03-15 Thread H Hartley Sweeten
commit be867814 "drivers/video/ep93xx-fb.c: use devm_ functions" Introduced a build error: drivers/video/ep93xx-fb.c: In function 'ep93xxfb_probe': drivers/video/ep93xx-fb.c:532: error: implicit declaration of function 'devm_ioremap' drivers/video/ep93xx-fb.c:533: warning: assignment makes point

[PATCH 3.0] perf,x86: fix kernel crash with PEBS/BTS after suspend/resume

2013-03-15 Thread Shuah Khan
This patch fixes a kernel crash when using precise sampling (PEBS) after a suspend/resume. Turns out the CPU notifier code is not invoked on CPU0 (BP). Therefore, the DS_AREA (used by PEBS) is not restored properly by the kernel and keeps it power-on/resume value of 0 causing any PEBS measurement t

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

2013-03-15 Thread Ben Hutchings
On Tue, 2013-03-12 at 15:44 -0700, Greg Kroah-Hartman wrote: > 3.0-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Asias He > > commit 472b72f2db7831d7dbe22ffdff4adee3bd49b05d upstream. > > The page++ is wrong. It makes bio_add_pc_page()

[for-next][PATCH 8/9] tracing: Fix ftrace_dump()

2013-03-15 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" ftrace_dump() had a lot of issues. What ftrace_dump() does, is when ftrace_dump_on_oops is set (via a kernel parameter or sysctl), it will dump out the ftrace buffers to the console when either a oops, panic, or a sysrq-z occurs. This was written a long time ago

Re: udelay function delays the wrong time interval in multiprocessor system, if ARCH_HAS_READ_CURRENT_TIMER is not defined and on current timer is used.

2013-03-15 Thread chpoph
On Sat, Mar 16, 2013 at 2:14 AM, Russell King - ARM Linux wrote: > We don't support different CPUs running at different frequencies with > the delay loop. Sorry. Does it means that a timer-based delay implementation must be used to get an accurate delay in SMP. I think it should print a warning

Patch Upstream: w1: fix oops when w1_search is called from netlink connector

2013-03-15 Thread Gregs git-bot
commit: 9d1817cab2f030f6af360e961cc69bb1da8ad765 From: Marcin Jurkowski Date: Sat, 2 Mar 2013 14:50:15 +0100 Subject: w1: fix oops when w1_search is called from netlink connector On Sat, Mar 02, 2013 at 10:45:10AM +0100, Sven Geggus wrote: > This is the bad commit I found doing git bisect: > 04f4

Patch Upstream: ARM: DMA-mapping: add missing GFP_DMA flag for atomic buffer allocation

2013-03-15 Thread Gregs git-bot
commit: 9d1400cf79afb49584b4873eb22cd5130cb341db From: Marek Szyprowski Date: Tue, 26 Feb 2013 07:46:24 +0100 Subject: ARM: DMA-mapping: add missing GFP_DMA flag for atomic buffer allocation Atomic pool should always be allocated from DMA zone if such zone is available in the system to avoid iss

Patch Upstream: w1-gpio: remove erroneous __exit and __exit_p()

2013-03-15 Thread Gregs git-bot
commit: 01230551e7c2fb9a1c2519b356d703851049cbe0 From: Johan Hovold Date: Fri, 8 Mar 2013 11:07:59 +0100 Subject: w1-gpio: remove erroneous __exit and __exit_p() Commit 8a1861d997 ("w1-gpio: Simplify & get rid of defines") changed (apparently unknowingly) the driver to a hotpluggable platform-dev

Patch Upstream: hwmon: (pmbus/ltc2978) Fix temperature reporting

2013-03-15 Thread Gregs git-bot
commit: 8c958c703ef8804093437959221951eaf0e1e664 From: Guenter Roeck Date: Thu, 21 Feb 2013 10:27:54 -0800 Subject: hwmon: (pmbus/ltc2978) Fix temperature reporting On LTC2978, only READ_TEMPERATURE is supported. It reports the internal junction temperature. This register is unpaged. On LTC3880,

Patch Upstream: ARM: w1-gpio: fix erroneous gpio requests

2013-03-15 Thread Gregs git-bot
commit: 2d798a3f20ae992b0b69a2b68c04ada397c32ed4 From: Johan Hovold Date: Tue, 12 Mar 2013 20:21:34 +0100 Subject: ARM: w1-gpio: fix erroneous gpio requests Fix regression introduced by commit d2323cf773 ("onewire: w1-gpio: add ext_pullup_enable pin in platform data") which added a gpio entry to

Patch Upstream: kbuild: fix make headers_check with make 3.80

2013-03-15 Thread Gregs git-bot
commit: c4619bc6fa5149a6ab39be845a39142b6a996ea5 From: Sam Ravnborg Date: Mon, 4 Mar 2013 21:36:24 +0100 Subject: kbuild: fix make headers_check with make 3.80 Commit 10b63956 ("UAPI: Plumb the UAPI Kbuilds into the user header installation and checking") introduced a dependency of make 3.81 due

Patch Upstream: ALSA: seq: Fix missing error handling in snd_seq_timer_open()

2013-03-15 Thread Gregs git-bot
commit: 66efdc71d95887b652a742a5dae51fa834d71465 From: Takashi Iwai Date: Fri, 8 Mar 2013 18:11:17 +0100 Subject: ALSA: seq: Fix missing error handling in snd_seq_timer_open() snd_seq_timer_open() didn't catch the whole error path but let through if the timer id is a slave. This may lead to Oops

Patch Upstream: hwmon: (lineage-pem) Add missing terminating entry for pem_[input|fan]_attributes

2013-03-15 Thread Gregs git-bot
commit: df069079c153d22adf6c28dcc0b1cf62bba75167 From: Axel Lin Date: Thu, 14 Mar 2013 16:27:18 +0800 Subject: hwmon: (lineage-pem) Add missing terminating entry for pem_[input|fan]_attributes Signed-off-by: Axel Lin Cc: stable@vger.kernel.org Acked-by: Jean Delvare Signed-off-by: Guenter Roec

Re: [ 11/21] hwmon: (sht15) Check return value of regulator_enable()

2013-03-15 Thread Ben Hutchings
On Tue, 2013-03-12 at 15:44 -0700, Greg Kroah-Hartman wrote: > 3.0-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Mark Brown > > commit 3e78080f81481aa8340374d5a37ae033c1cf4272 upstream. > > Not having power is a pretty serious error so