Re: [PATCH] perf tools: Fix build with older versions of bison.

2013-01-21 Thread Li Zefan
I encountered this build error, and found this patch, but it has been ignored? On 2012/11/14 5:50, Vinson Lee wrote: > This patch fixes this build error with older versions of bison. > > CC util/sysfs.o > BISON util/pmu-bison.c > util/pmu.y:2.14-24: syntax error, unexpected string, expect

Re: [PATCH] [SCSI] sd: Reshuffle init_sd to avoid crash

2013-01-21 Thread CAI Qian
- Original Message - > From: "Jonathan Nieder" > To: "James Bottomley" > Cc: "CAI Qian" , "Hannes Reinecke" , > stable@vger.kernel.org, "Joel D. Diaz" > , "Greg Kroah-Hartman" > Sent: Monday, January 21, 2013 5:24:51 PM > Subject: Re: [PATCH] [SCSI] sd: Reshuffle init_sd to avoid cras

Re: module: put modules in list much earlier.

2013-01-21 Thread Rusty Russell
Greg KH writes: > Rusty, should the commit below be applied to the 3.7-stable kernel tree? > > thanks, > > greg k-h Good point. looks like commit which caused this (e9bda3b) went in 3.6 so I think you'll want the following: 0d21b0e3477395e7ff2acc269f15df6e6a8d356d module: add new state MODULE_S

[PATCH v4 1/4] zram: Fix deadlock bug in partial write

2013-01-21 Thread Minchan Kim
Now zram allocates new page with GFP_KERNEL in zram I/O path if IO is partial. Unfortunately, It may cuase deadlock with reclaim path so this patch solves the problem. Cc: Nitin Gupta Cc: Jerome Marchand Cc: stable@vger.kernel.org Signed-off-by: Minchan Kim --- We could use GFP_IO instead of G

patch "Revert "drivers/misc/ti-st: remove gpio handling"" added to char-misc tree

2013-01-21 Thread gregkh
This is a note to let you know that I've just added the patch titled Revert "drivers/misc/ti-st: remove gpio handling" to my char-misc git tree which can be found at git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git in the char-misc-next branch. The patch will show up i

Re: [PATCH 1/2] efi: Make 'efi_enabled' a function to query EFI facilities

2013-01-21 Thread Matt Fleming
On Mon, 2013-01-21 at 14:42 -0600, H. Peter Anvin wrote: > On 01/21/2013 02:40 PM, Matt Fleming wrote: > > From: Matt Fleming > > > > Originally 'efi_enabled' indicated whether a kernel was booted from > > EFI firmware. Over time its semantics have changed, and it now > > indicates whether or not

Re: [PATCH 1/2] efi: Make 'efi_enabled' a function to query EFI facilities

2013-01-21 Thread Matthew Garrett
On Mon, Jan 21, 2013 at 01:54:30PM -0700, Dave Jiang wrote: > I think that here we may need to be checking efi_enabled(EFI_BOOT) > instead. We are interested in the kernel was booted from EFI and > that EFI variables support is present. Or is getting efi variable > part of runtime services? GetVa

Re: [PATCH 1/2] efi: Make 'efi_enabled' a function to query EFI facilities

2013-01-21 Thread Dave Jiang
On 01/21/2013 01:40 PM, Matt Fleming wrote: From: Matt Fleming Originally 'efi_enabled' indicated whether a kernel was booted from EFI firmware. Over time its semantics have changed, and it now indicates whether or not we are booted on an EFI machine with bit-native firmware, e.g. 64-bit kernel

[PATCH 1/2] efi: Make 'efi_enabled' a function to query EFI facilities

2013-01-21 Thread Matt Fleming
From: Matt Fleming Originally 'efi_enabled' indicated whether a kernel was booted from EFI firmware. Over time its semantics have changed, and it now indicates whether or not we are booted on an EFI machine with bit-native firmware, e.g. 64-bit kernel with 64-bit firmware. But users actually wan

[PATCH 2/2] samsung-laptop: Disable on EFI hardware

2013-01-21 Thread Matt Fleming
From: Matt Fleming It has been reported that running this driver on some Samsung laptops with EFI can cause those machines to become bricked as detailed in the following report, https://bugs.launchpad.net/ubuntu-cdimage/+bug/1040557 There have also been reports of this driver causing Ma

Re: [PATCH 1/2] efi: Make 'efi_enabled' a function to query EFI facilities

2013-01-21 Thread H. Peter Anvin
On 01/21/2013 02:40 PM, Matt Fleming wrote: > From: Matt Fleming > > Originally 'efi_enabled' indicated whether a kernel was booted from > EFI firmware. Over time its semantics have changed, and it now > indicates whether or not we are booted on an EFI machine with > bit-native firmware, e.g. 64-

Re: [Intel-gfx] [PATCH] drm/i915: GFX_MODE Flush TLB Invalidate Mode must be '1' for scanline waits

2013-01-21 Thread Daniel Vetter
On Sun, Jan 20, 2013 at 07:36:39PM -0800, Ben Widawsky wrote: > On Sun, Jan 20, 2013 at 04:33:32PM +, Chris Wilson wrote: > > On SNB, if bit 13 of GFX_MODE, Flush TLB Invalidate Mode, is not set to 1, > > the hardware can not program the scanline values. Those scanline values > > then control w

Re: [Intel-gfx] [PATCH] drm/i915: Disable AsyncFlip performance optimisations

2013-01-21 Thread Daniel Vetter
On Mon, Jan 21, 2013 at 10:25:36PM +0200, Imre Deak wrote: > On Sun, 2013-01-20 at 16:11 +, Chris Wilson wrote: > > This is a required workarounds for all products, especially on gen6+ > > where it causes the command streamer to fail to parse instructions > > following a WAIT_FOR_EVENT. We use

Re: [Intel-gfx] [PATCH] drm/i915: Disable AsyncFlip performance optimisations

2013-01-21 Thread Imre Deak
On Sun, 2013-01-20 at 16:11 +, Chris Wilson wrote: > This is a required workarounds for all products, especially on gen6+ > where it causes the command streamer to fail to parse instructions > following a WAIT_FOR_EVENT. We use WAIT_FOR_EVENT for synchronising > between the GPU and the display

Patch "Ensure that kernel_init_freeable() is not inlined into non __init code" has been added to the 3.7-stable tree

2013-01-21 Thread gregkh
This is a note to let you know that I've just added the patch titled Ensure that kernel_init_freeable() is not inlined into non __init code to the 3.7-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

Re: module: put modules in list much earlier.

2013-01-21 Thread Greg KH
Rusty, should the commit below be applied to the 3.7-stable kernel tree? thanks, greg k-h On Mon, Jan 21, 2013 at 01:46:13AM +, Linux Kernel Mailing List wrote: > Gitweb: > http://git.kernel.org/linus/;a=commit;h=1fb9341ac34825aa40354e74d9a2c69df7d2c304 > Commit: 1fb9341ac34825aa40

Patch "make sure that /linuxrc has std{in,out,err}" has been added to the 3.7-stable tree

2013-01-21 Thread gregkh
This is a note to let you know that I've just added the patch titled make sure that /linuxrc has std{in,out,err} to the 3.7-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: make-sure-th

Re: don't bother with kernel_thread/kernel_execve for launching linuxrc

2013-01-21 Thread Greg KH
On Mon, Jan 21, 2013 at 07:48:41PM +, Al Viro wrote: > On Mon, Jan 21, 2013 at 10:48:37AM -, Barry Davis wrote: > > Excellent. That seems to do the job, thanks. > > > > My setup is a custom distribution, originally LFS based 7 years back, which > > is used as a SAN appliance. I'm pretty su

Linux 3.0.60

2013-01-21 Thread Greg KH
I'm announcing the release of the 3.0.60 kernel. All users of the 3.0 kernel series must upgrade. The updated 3.0.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.0.y and can be browsed at the normal kernel.org git web browser:

Re: Patch "xen: Fix stack corruption in xen_failsafe_callback for 32bit PVOPS guests." has been added to the 3.0-stable tree

2013-01-21 Thread Andrew Cooper
On 21/01/13 19:43, gre...@linuxfoundation.org wrote: > On Mon, Jan 21, 2013 at 10:13:45AM -0800, gre...@linuxfoundation.org wrote: >> On Mon, Jan 21, 2013 at 05:32:34PM +, Andrew Cooper wrote: >>> On 21/01/13 17:14, gre...@linuxfoundation.org wrote: On Mon, Jan 21, 2013 at 01:10:33PM +

Re: Linux 3.0.60

2013-01-21 Thread Greg KH
diff --git a/Makefile b/Makefile index d1b37fc..3359fcf 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 0 -SUBLEVEL = 59 +SUBLEVEL = 60 EXTRAVERSION = NAME = Sneaky Weasel diff --git a/arch/powerpc/platforms/embedded6xx/wii.c b/arch/powerpc/platforms/embedded6xx

Re: Linux 3.4.27

2013-01-21 Thread Greg KH
diff --git a/Makefile b/Makefile index 2d84a1d..f139ce7 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 4 -SUBLEVEL = 26 +SUBLEVEL = 27 EXTRAVERSION = NAME = Saber-toothed Squirrel diff --git a/arch/s390/include/asm/timex.h b/arch/s390/include/asm/timex.h index

Linux 3.4.27

2013-01-21 Thread Greg KH
I'm announcing the release of the 3.4.27 kernel. All users of the 3.4 kernel series must upgrade. The updated 3.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.4.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 3.7.4

2013-01-21 Thread Greg KH
diff --git a/Makefile b/Makefile index 51a9bda..f9196bc 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 7 -SUBLEVEL = 3 +SUBLEVEL = 4 EXTRAVERSION = NAME = Terrified Chipmunk diff --git a/arch/arm64/include/asm/pgtable.h b/arch/arm64/include/asm/pgtable.h index

Linux 3.7.4

2013-01-21 Thread Greg KH
I'm announcing the release of the 3.7.4 kernel. All users of the 3.7 kernel series must upgrade. The updated 3.7.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.7.y and can be browsed at the normal kernel.org git web browser:

Re: don't bother with kernel_thread/kernel_execve for launching linuxrc

2013-01-21 Thread Al Viro
On Mon, Jan 21, 2013 at 10:48:37AM -, Barry Davis wrote: > Excellent. That seems to do the job, thanks. > > My setup is a custom distribution, originally LFS based 7 years back, which > is used as a SAN appliance. I'm pretty sure this issue will affect everyone > using linuxrc and linux-3.7 wh

Re: Patch "xen: Fix stack corruption in xen_failsafe_callback for 32bit PVOPS guests." has been added to the 3.0-stable tree

2013-01-21 Thread gre...@linuxfoundation.org
On Mon, Jan 21, 2013 at 10:13:45AM -0800, gre...@linuxfoundation.org wrote: > On Mon, Jan 21, 2013 at 05:32:34PM +, Andrew Cooper wrote: > > On 21/01/13 17:14, gre...@linuxfoundation.org wrote: > > > On Mon, Jan 21, 2013 at 01:10:33PM +, Frediano Ziglio wrote: > > >> Just to make it clean I

Re: [PATCH 2/2] quota: autoload the quota_v2 module for QFMT_VFS_V1 quota format

2013-01-21 Thread Jan Kara
On Mon 21-01-13 10:50:20, Ted Tso wrote: > On Mon, Jan 21, 2013 at 04:10:08PM +0100, Jan Kara wrote: > > Exactly. There shouldn't be any conflicts so just keep it in your tree. > > You can add to the patch: > > Acked-by: Jan Kara > > Great, thanks. > > BTW, do you have any plans to work on get

Re: [PATCH] iommu/intel: disable DMAR for g4x integrated gfx

2013-01-21 Thread David Woodhouse
On Sun, 2013-01-20 at 23:50 +0100, Daniel Vetter wrote: > DMAR support on g4x/gm45 integrated gpus seems to be totally busted. > So don't bother, but instead disable it by default to allow distros to > unconditionally enable DMAR support. Acked-By: David Woodhouse It *really* winds me up that we

[PATCH] intel/iommu: force writebuffer-flush quirk on Gen 4 Chipsets

2013-01-21 Thread Daniel Vetter
We already have the quirk entry for the mobile platform, but also reports on some desktop versions. So be paranoid and set it everywhere. References: http://www.mail-archive.com/dri-devel@lists.freedesktop.org/msg33138.html Cc: stable@vger.kernel.org Cc: David Woodhouse Reported-and-tested-by: M

Re: Patch "xen: Fix stack corruption in xen_failsafe_callback for 32bit PVOPS guests." has been added to the 3.0-stable tree

2013-01-21 Thread gre...@linuxfoundation.org
On Mon, Jan 21, 2013 at 05:32:34PM +, Andrew Cooper wrote: > On 21/01/13 17:14, gre...@linuxfoundation.org wrote: > > On Mon, Jan 21, 2013 at 01:10:33PM +, Frediano Ziglio wrote: > >> Just to make it clean I'm the author of this patch. > > That's not what Linus's tree shows. Andrew, what h

Re: Patch "xen: Fix stack corruption in xen_failsafe_callback for 32bit PVOPS guests." has been added to the 3.0-stable tree

2013-01-21 Thread Andrew Cooper
On 21/01/13 17:14, gre...@linuxfoundation.org wrote: > On Mon, Jan 21, 2013 at 01:10:33PM +, Frediano Ziglio wrote: >> Just to make it clean I'm the author of this patch. > That's not what Linus's tree shows. Andrew, what happened here that > caused you to show up as the patch's author? > > co

[PATCH 03/15] ARM: samsung: fix assembly syntax for new gas

2013-01-21 Thread Arnd Bergmann
Recent assembler versions complain about extraneous whitespace inside [] brackets. This fixes all of these instances for the samsung platforms. We should backport this to all kernels that might need to be built with new binutils. arch/arm/kernel/entry-armv.S: Assembler messages: arch/arm/kernel/en

Re: Patch "xen: Fix stack corruption in xen_failsafe_callback for 32bit PVOPS guests." has been added to the 3.0-stable tree

2013-01-21 Thread gre...@linuxfoundation.org
On Mon, Jan 21, 2013 at 01:10:33PM +, Frediano Ziglio wrote: > Just to make it clean I'm the author of this patch. That's not what Linus's tree shows. Andrew, what happened here that caused you to show up as the patch's author? confused, greg k-h > On Fri, 2013-01-18 at 16:48 -0800, gre...

Re: [PATCH 3.2.y 0/6] USB disconnect race fixes

2013-01-21 Thread Takashi Iwai
At Sat, 19 Jan 2013 12:03:23 +0100, Takashi Iwai wrote: > > At Fri, 18 Jan 2013 14:26:55 -0600, > Chris J Arges wrote: > > > > ALSA: usb-audio: Fix races at disconnection > > From: Takashi Iwai suse.de> > > commit 978520b75f0a1ce82b17e1e8186417250de6d545 upstream. > > > > I've noticed that this

Patch Upstream: virtio-blk: Don't free ida when disk is in use

2013-01-21 Thread Gregs git-bot
commit: f4953fe6c4aeada2d5cafd78aa97587a46d2d8f9 From: Alexander Graf Date: Wed, 2 Jan 2013 15:37:17 +1030 Subject: virtio-blk: Don't free ida when disk is in use When a file system is mounted on a virtio-blk disk, we then remove it and then reattach it, the reattached disk gets the same disk nam

Patch Upstream: drm/i915: Invalidate the relocation presumed_offsets along the slow path

2013-01-21 Thread Gregs git-bot
commit: 262b6d363fcff16359c93bd58c297f961f6e6273 From: Chris Wilson Date: Tue, 15 Jan 2013 16:17:54 + Subject: drm/i915: Invalidate the relocation presumed_offsets along the slow path In the slow path, we are forced to copy the relocations prior to acquiring the struct mutex in order to hand

Patch Upstream: drm/i915: fix FORCEWAKE posting reads

2013-01-21 Thread Gregs git-bot
commit: b514407547890686572606c9dfa4b7f832db9958 From: Jani Nikula Date: Thu, 17 Jan 2013 10:24:09 +0200 Subject: drm/i915: fix FORCEWAKE posting reads We stopped reading FORCEWAKE for posting reads in commit 8dee3eea3ccd3b6c00a8d3a08dd715d6adf737dd Author: Ben Widawsky Date: Sat Sep 1 22:59:

Re: [PATCH 2/2] quota: autoload the quota_v2 module for QFMT_VFS_V1 quota format

2013-01-21 Thread Theodore Ts'o
On Mon, Jan 21, 2013 at 04:10:08PM +0100, Jan Kara wrote: > Exactly. There shouldn't be any conflicts so just keep it in your tree. > You can add to the patch: > Acked-by: Jan Kara Great, thanks. BTW, do you have any plans to work on getting repquota support for ocfs2 and ext4 with the interna

Re: [PATCH 2/2] quota: autoload the quota_v2 module for QFMT_VFS_V1 quota format

2013-01-21 Thread Jan Kara
On Mon 21-01-13 10:01:34, Ted Tso wrote: > On Mon, Jan 21, 2013 at 11:40:17AM +0100, Jan Kara wrote: > > On Mon 21-01-13 01:46:21, Ted Tso wrote: > > > Otherwise, ext4 file systems with the quota feature enable will get a > > > very confusing "No such process" error message if the quota code is > >

Re: [PATCH 2/2] quota: autoload the quota_v2 module for QFMT_VFS_V1 quota format

2013-01-21 Thread Theodore Ts'o
On Mon, Jan 21, 2013 at 11:40:17AM +0100, Jan Kara wrote: > On Mon 21-01-13 01:46:21, Ted Tso wrote: > > Otherwise, ext4 file systems with the quota feature enable will get a > > very confusing "No such process" error message if the quota code is > > built as a mdoule and the quota_v2 module has no

[3.5.y.z extended stable] Linux 3.5.7.3

2013-01-21 Thread Herton Ronaldo Krzesinski
I am announcing the release of the 3.5.7.3 tree of stable patches. This tree picks up the latest 3.5 stable release upstream, and add patches on top that were later marked for stable but can't be added to 3.5, as it is not anymore an stable series maintained upstream. The tree is maintained by th

Re: Patch "xen: Fix stack corruption in xen_failsafe_callback for 32bit PVOPS guests." has been added to the 3.0-stable tree

2013-01-21 Thread Frediano Ziglio
Just to make it clean I'm the author of this patch. Regards Frediano Ziglio On Fri, 2013-01-18 at 16:48 -0800, gre...@linuxfoundation.org wrote: > This is a note to let you know that I've just added the patch titled > > xen: Fix stack corruption in xen_failsafe_callback for 32bit PVOPS gu

Re: [PATCH 3.0.y 3.2.y 3.4.y 1/1] printk: fix buffer overflow when calling log_prefix function from call_console_drivers

2013-01-21 Thread Alexandre SIMON
[Greg Kroah-Hartman] wrote the following on [18/01/2013 22:34]: > On Fri, Jan 18, 2013 at 09:12:36PM +0100, Alexandre SIMON wrote: >> Dear Ben and Greg, > > [adding stable@vger.kernel.org back, as this shouldn't be a private > conversation] Ok, this was just for an advice ;-) I'll now always

Re: [PATCH 2/2] quota: autoload the quota_v2 module for QFMT_VFS_V1 quota format

2013-01-21 Thread Carlos Maiolino
Looks good, Reviewed-by: Carlos Maiolino On Mon, Jan 21, 2013 at 01:46:21AM -0500, Theodore Ts'o wrote: > Otherwise, ext4 file systems with the quota feature enable will get a > very confusing "No such process" error message if the quota code is > built as a mdoule and the quota_v2 module has not

Re: [PATCH 1/2] ext4: release sysfs kobject when failing to enable quotas on mount

2013-01-21 Thread Carlos Maiolino
Looks Good, Reviewed-by: Carlos Maiolino > In addition, print the error returned from ext4_enable_quotas() > > Signed-off-by: "Theodore Ts'o" > Cc: stable@vger.kernel.org > --- > fs/ext4/super.c | 10 ++ > 1 file changed, 6 insertions(+), 4 deletions(-) > > diff --git a/fs/ext4/super.

Re: [PATCH 2/2] quota: autoload the quota_v2 module for QFMT_VFS_V1 quota format

2013-01-21 Thread Jan Kara
On Mon 21-01-13 01:46:21, Ted Tso wrote: > Otherwise, ext4 file systems with the quota feature enable will get a > very confusing "No such process" error message if the quota code is > built as a mdoule and the quota_v2 module has not been loaded. Thanks for the fix. Should I merge it via my tree

Re: [PATCH] [SCSI] sd: Reshuffle init_sd to avoid crash

2013-01-21 Thread Jonathan Nieder
Hi James, James Bottomley wrote: > On Mon, 2013-01-21 at 03:59 -0500, CAI Qian wrote: >> Thanks for commenting, James. I was asked to get an ACK from the maintainers >> before Greg taking it in that is why I sent this email to you guys for >> confirmation. > > OK, I've cc'd Greg, because I don't

Re: [PATCH] [SCSI] sd: Reshuffle init_sd to avoid crash

2013-01-21 Thread James Bottomley
On Mon, 2013-01-21 at 03:59 -0500, CAI Qian wrote: > > - Original Message - > > From: "James Bottomley" > > To: "CAI Qian" > > Cc: "Hannes Reinecke" , stable@vger.kernel.org, "Joel D. > > Diaz" > > Sent: Monday, January 21, 2013 4:53:27 PM > > Subject: Re: [PATCH] [SCSI] sd: Reshuffle

Re: [PATCH] [SCSI] sd: Reshuffle init_sd to avoid crash

2013-01-21 Thread CAI Qian
- Original Message - > From: "James Bottomley" > To: "CAI Qian" > Cc: "Hannes Reinecke" , stable@vger.kernel.org, "Joel D. Diaz" > > Sent: Monday, January 21, 2013 4:53:27 PM > Subject: Re: [PATCH] [SCSI] sd: Reshuffle init_sd to avoid crash > > On Sun, 2013-01-20 at 23:06 -0500, CAI

Re: [PATCH] [SCSI] sd: Reshuffle init_sd to avoid crash

2013-01-21 Thread James Bottomley
On Sun, 2013-01-20 at 23:06 -0500, CAI Qian wrote: > Hello Hannes and James, > > afd5e34b2bb34881d3a789e62486814a49b47faa > > We saw some panic during IO testing without this commit for > older kernels. Since this is missing from the stable-3.0.y, > 3.4.y and 3.7.y. How do you think about includi