[PATCH 1/3] usb: core: lpm: fix usb3_hardware_lpm sysfs node

2015-11-11 Thread Lu Baolu
Commit 655fe4effe0f ("usbcore: add sysfs support to xHCI usb3 hardware LPM") introduced usb3_hardware_lpm sysfs node. This doesn't show the correct status of USB3 U1 and U2 LPM status. This patch fixes this by replacing usb3_hardware_lpm with two nodes, usb3_hardware_lpm_u1 (for U1) and usb3_hardw

[PATCH] X.509: Fix the time validation

2015-11-11 Thread David Howells
This fixes CVE-2015-5327. It affects kernels from 4.3-rc1 onwards. Fix the X.509 time validation to use month number-1 when looking up the number of days in that month. Also put the month number validation before doing the lookup so as not to risk overrunning the array. This can be tested by do

Re: [PATCH 4.1] target-core: fix return without a value

2015-11-11 Thread Mikulas Patocka
On Tue, 10 Nov 2015, Greg Kroah-Hartman wrote: > On Tue, Nov 10, 2015 at 06:31:47PM -0500, Mikulas Patocka wrote: > > > > > > On Tue, 10 Nov 2015, Greg Kroah-Hartman wrote: > > > > > On Tue, Nov 10, 2015 at 01:32:10PM -0500, Mikulas Patocka wrote: > > > > Fix the warning drivers/target/target

[PATCH 4.1 v2] target-core: fix return without a value

2015-11-11 Thread Mikulas Patocka
Fix the warning drivers/target/target_core_pr.c:332:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] The patch 35afa65642a9a88c81913377b93a3a66220f8b9d committed to 4.1.11 adds a check if device_list is NULL. The patch adds a return statement without a value to th

[PATCH] tty: Fix tty_send_xchar() lock order inversion

2015-11-11 Thread Peter Hurley
The correct lock order is atomic_write_lock => termios_rwsem, as established by tty_write() => n_tty_write(). Fixes: c274f6ef1c666 ("tty: Hold termios_rwsem for tcflow(TCIxxx)") Reported-and-Tested-by: Dmitry Vyukov Cc: # v3.18+ Signed-off-by: Peter Hurley --- drivers/tty/tty_io.c| 4

[PATCH 3/3] MIPS: KVM: Uninit VCPU in vcpu_create error path

2015-11-11 Thread James Hogan
If either of the memory allocations in kvm_arch_vcpu_create() fail, the vcpu which has been allocated and kvm_vcpu_init'd doesn't get uninit'd in the error handling path. Add a call to kvm_vcpu_uninit() to fix this. Fixes: 669e846e6c4e ("KVM/MIPS32: MIPS arch specific APIs for KVM") Signed-off-by:

[PATCH 1/3] MIPS: KVM: Fix ASID restoration logic

2015-11-11 Thread James Hogan
ASID restoration on guest resume should determine the guest execution mode based on the guest Status register rather than bit 30 of the guest PC. Fix the two places in locore.S that do this, loading the guest status from the cop0 area. Note, this assembly is specific to the trap & emulate implemen

[PATCH 0/3] MIPS: KVM: Misc fixes

2015-11-11 Thread James Hogan
A few misc MIPS KVM fixes for issues that have been around since the code was merged in v3.10. James Hogan (3): MIPS: KVM: Fix ASID restoration logic MIPS: KVM: Fix CACHE immediate offset sign extension MIPS: KVM: Uninit VCPU in vcpu_create error path arch/mips/kvm/emulate.c | 2 +- arch/

[PATCH 2/3] MIPS: KVM: Fix CACHE immediate offset sign extension

2015-11-11 Thread James Hogan
The immediate field of the CACHE instruction is signed, so ensure that it gets sign extended by casting it to an int16_t rather than just masking the low 16 bits. Fixes: e685c689f3a8 ("KVM/MIPS32: Privileged instruction/target branch emulation.") Signed-off-by: James Hogan Cc: Ralf Baechle Cc:

Re: [PATCH 0/3] MIPS: KVM: Misc fixes

2015-11-11 Thread Paolo Bonzini
On 11/11/2015 15:21, James Hogan wrote: > A few misc MIPS KVM fixes for issues that have been around since the > code was merged in v3.10. > > James Hogan (3): > MIPS: KVM: Fix ASID restoration logic > MIPS: KVM: Fix CACHE immediate offset sign extension > MIPS: KVM: Uninit VCPU in vcpu_cr

Re: [PATCH 0/3] MIPS: KVM: Misc fixes

2015-11-11 Thread James Hogan
Hi Paolo, On Wed, Nov 11, 2015 at 03:43:14PM +0100, Paolo Bonzini wrote: > On 11/11/2015 15:21, James Hogan wrote: > > A few misc MIPS KVM fixes for issues that have been around since the > > code was merged in v3.10. > > > > James Hogan (3): > > MIPS: KVM: Fix ASID restoration logic > > MIPS

Re: [PATCH 0/3] MIPS: KVM: Misc fixes

2015-11-11 Thread Paolo Bonzini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 11/11/2015 15:57, James Hogan wrote: > Okay, no problem. As long as they can make v4.4. > > For the record do you prefer not to receive patches during merge > window? It's okay, at worst I won't process them for a few days or weeks. Paolo --

Re: Request for inclusion of mainline 96a5d18, be32c0c and 899f0c1 for 3.13+

2015-11-11 Thread Luis Henriques
On Wed, Oct 28, 2015 at 04:56:59PM +0100, Soeren Grunewald wrote: > Hi All, > > I would like to ask you to queue the following mainline serial driver > commits for 3.13+ stable. From 4.1 release: > > 96a5d18 serial: 8250_pci: Add support for 16 port Exar boards > > And from 4.2 release: > >

Re: Backport of bae818ee1577

2015-11-11 Thread Luis Henriques
On Sun, Nov 01, 2015 at 08:36:50PM +0100, Ilya Dryomov wrote: > Hello, > > Please apply the following backport of bae818ee1577 ("rbd: require > stable pages if message data CRCs are enabled") to 3.9+. > > I have two patches: one for 3.9-3.17 and another one for 3.18+. It > really is a single bac

Re: [PATCH 3.16.y-ckt 072/104] drm/radeon: Restore LCD backlight level on resume (>= R5xx)

2015-11-11 Thread Luis Henriques
On Mon, Nov 02, 2015 at 04:52:06PM +0900, Michel Dänzer wrote: > On 28.10.2015 19:45, Luis Henriques wrote: > > On Tue, Oct 27, 2015 at 11:10:29AM +0900, Michel Dänzer wrote: > >> On 26.10.2015 22:42, Luis Henriques wrote: > >>> 3.16.7-ckt19 -stable review patch. If anyone has any objections, plea

Re: [PATCH] md/raid5: fix locking in handle_stripe_clean_event()

2015-11-11 Thread Luis Henriques
On Fri, Nov 06, 2015 at 12:54:47PM +0300, Roman Gushchin wrote: > commit b8a9d66d043ffac116100775a469f05f5158c16f upstream. > Thanks, I'll use this backport for the 3.16 kernel as well. Cheers, -- Luís > After commit 566c09c53455 ("raid5: relieve lock contention in > get_active_stripe()") > __

[PATCH 1/2] drm/i915: Don't clobber the addfb2 ioctl params

2015-11-11 Thread ville . syrjala
From: Ville Syrjälä We try to convert the old way of of specifying fb tiling (obj->tiling) into the new fb modifiers. We store the result in the passed in mode_cmd structure. But that structure comes directly from the addfb2 ioctl, and gets copied back out to userspace, which means we're clobberi

Re: [PATCH 1/2] drm/i915: Don't clobber the addfb2 ioctl params

2015-11-11 Thread Chris Wilson
On Wed, Nov 11, 2015 at 07:11:28PM +0200, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > We try to convert the old way of of specifying fb tiling (obj->tiling) > into the new fb modifiers. We store the result in the passed in mode_cmd > structure. But that structure comes directly

Re: [PATCH 1/2] drm/i915: Don't clobber the addfb2 ioctl params

2015-11-11 Thread Ville Syrjälä
On Wed, Nov 11, 2015 at 05:20:10PM +, Chris Wilson wrote: > On Wed, Nov 11, 2015 at 07:11:28PM +0200, ville.syrj...@linux.intel.com wrote: > > From: Ville Syrjälä > > > > We try to convert the old way of of specifying fb tiling (obj->tiling) > > into the new fb modifiers. We store the result

Re: [PATCH 1/2] drm/i915: Don't clobber the addfb2 ioctl params

2015-11-11 Thread Chris Wilson
On Wed, Nov 11, 2015 at 07:24:40PM +0200, Ville Syrjälä wrote: > On Wed, Nov 11, 2015 at 05:20:10PM +, Chris Wilson wrote: > > On Wed, Nov 11, 2015 at 07:11:28PM +0200, ville.syrj...@linux.intel.com > > wrote: > > > From: Ville Syrjälä > > > > > > We try to convert the old way of of specifyi

Re: [PATCH] crypto: sun4i-ss: add missing statesize

2015-11-11 Thread Maxime Ripard
On Mon, Nov 09, 2015 at 11:58:48AM +0800, Herbert Xu wrote: > Christoph Biedl wrote: > > > > Fixes: should rather point to the commit that caused the breakage in my > > opinion. Which did this by intention: > > Absolutely not. That patch is correct and if you revert that > you will simply end up

Re: [patch added to the 3.12 stable tree] drm/i915: Restore lost DPLL register write on gen2-4

2015-11-11 Thread Luis Henriques
On Mon, Nov 09, 2015 at 12:56:24PM +0100, Jiri Slaby wrote: > From: Ville Syrjälä > > This patch has been added to the 3.12 stable tree. If you have any > objections, please let us know. > > === > > commit 8e7a65aa70bcc1235a44e40ae0da5056525fe081 upstream. > > We accidentally lost

Request for commit 733187e29576 ("powerpc/pseries: Fix dedicated processor partition detection") be applied to 3.12.y

2015-11-11 Thread Michael Ellerman
Hi stable folks, Please cherry pick commit: 733187e29576041ceccf3b82092ca900fc929170 ("powerpc/pseries: Fix dedicated processor partition detection") To 3.12.y. It should apply cleanly. We've received at least one bug report caused by this. cheers -- To unsubscribe from this list: send the l

[PATCH v2 1/3] usb: core: lpm: fix usb3_hardware_lpm sysfs node

2015-11-11 Thread Lu Baolu
Commit 655fe4effe0f ("usbcore: add sysfs support to xHCI usb3 hardware LPM") introduced usb3_hardware_lpm sysfs node. This doesn't show the correct status of USB3 U1 and U2 LPM status. This patch fixes this by replacing usb3_hardware_lpm with two nodes, usb3_hardware_lpm_u1 (for U1) and usb3_hardw

palkinto

2015-11-11 Thread Microsoft
voitit yhdeksänsataatuhatta dollarin Microsoftilta, lähettää nimi, maa ja puh -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html