[PATCH] drm/i915: Prevent double unref following alloc failure during execbuffer

2013-12-04 Thread Chris Wilson
Whilst looking up the objects required for an execbuffer, an untimely allocation failure in creating the vma results in the object being unreferenced from two lists. The ownership during the lookup is meant to be moved from the list of objects being looked to the vma, and this double unreference

Re: [PATCH 3.4 00/60] 3.4.72-stable review

2013-12-04 Thread Satoru Takeuchi
At Mon, 2 Dec 2013 11:05:41 -0800, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.4.72 release. There are 60 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.

Re: [PATCH 3.12 000/212] 3.12.3-stable review

2013-12-04 Thread Satoru Takeuchi
At Mon, 2 Dec 2013 11:13:11 -0800, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.12.3 release. There are 212 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.

[PATCH] drm/i915: Fix erroneous dereference of batch_obj inside reset_status

2013-12-04 Thread Chris Wilson
As the rings may be processed and their requests deallocated in a different order to the natural retirement during a reset, /* Whilst this request exists, batch_obj will be on the * active_list, and so will hold the active reference. Only when this * request is retired will the the batch_obj be

Re: [PATCH] 9p: send uevent after adding/removing mount_tag attribute

2013-12-04 Thread Luis Henriques
On Fri, Oct 18, 2013 at 06:24:07PM -0700, Michael Marineau wrote: On Sat, Aug 10, 2013 at 10:12 PM, Greg KH gre...@linuxfoundation.org wrote: On Sun, Aug 11, 2013 at 12:53:45AM -0400, Michael Marineau wrote: This driver adds an attribute to the existing virtio device so a CHANGE event

Re: [Intel-gfx] [PATCH] drm/i915: Fix erroneous dereference of batch_obj inside reset_status

2013-12-04 Thread Daniel Vetter
On Wed, Dec 04, 2013 at 11:37:09AM +, Chris Wilson wrote: As the rings may be processed and their requests deallocated in a different order to the natural retirement during a reset, /* Whilst this request exists, batch_obj will be on the * active_list, and so will hold the active

Re: [Intel-gfx] [PATCH] drm/i915: Fix erroneous dereference of batch_obj inside reset_status

2013-12-04 Thread Chris Wilson
On Wed, Dec 04, 2013 at 01:18:42PM +0100, Daniel Vetter wrote: On Wed, Dec 04, 2013 at 11:37:09AM +, Chris Wilson wrote: As the rings may be processed and their requests deallocated in a different order to the natural retirement during a reset, /* Whilst this request exists,

[PATCH] clockevents: Prefer CPU local devices over global devices

2013-12-04 Thread Kim Phillips
commit 70e5975d3a04be5479a28eec4a2fb10f98ad2785 upstream. Fixes https://bugs.launchpad.net/linaro-networking/+bug/1240283 Cc: stable@vger.kernel.org # 3.10.x : 7172a28 clockevents: Get rid of the notifier chain Cc: stable@vger.kernel.org # 3.10.x : 7126cac clockevents: Simplify locking Cc:

[PATCH] drm/i915: Hold mutex across i915_gem_release

2013-12-04 Thread Chris Wilson
Inorder to serialise the closing of the file descriptor and its subsequent release of client requests with i915_gem_free_request(), we need to hold the struct_mutex in i915_gem_release(). Failing to do so has the potential to trigger an OOPS, later with a use-after-free. Testcase:

[PATCH] crash_dump: fix compilation error (on MIPS at least)

2013-12-04 Thread Qais Yousef
In file included from kernel/crash_dump.c:2:0: include/linux/crash_dump.h:22:27: error: unknown type name ‘pgprot_t’ when CONFIG_CRASH_DUMP=y The error was traced back to this commit: 9cb218131de1 vmcore: introduce remap_oldmem_pfn_range() include asm/pgtable.h to get the missing

Re: [Intel-gfx] [PATCH] drm/i915: Hold mutex across i915_gem_release

2013-12-04 Thread Daniel Vetter
On Wed, Dec 04, 2013 at 02:52:06PM +, Chris Wilson wrote: Inorder to serialise the closing of the file descriptor and its subsequent release of client requests with i915_gem_free_request(), we need to hold the struct_mutex in i915_gem_release(). Failing to do so has the potential to

Re: [PATCH 1/2] ARM: default PHYS_OFFSET if !MMU

2013-12-04 Thread Jonathan Austin
Hi all, On 13/11/13 11:46, Jonathan Austin wrote: Hi Ming, On 13/11/13 11:15, Ming Lei wrote: From: Jonathan Austin jonathan.aus...@arm.com Set CONFIG_PAGE_OFFSET as PHYS_OFFSET when !MMU so that we can keep CONFIG_PAGE_OFFSET same with PAGE_OFFSET. I'm not so sure about this commit

Re: [PATCH] mm: numa: return the number of base pages altered by protection changes

2013-12-04 Thread Luis Henriques
On Tue, Dec 03, 2013 at 03:04:00PM +, Mel Gorman wrote: commit 72403b4a0fbdf433c1fe0127e49864658f6f6468 upstream. Thank you Mel, I'll queue this backport for the 3.11 kernel. Cheers, -- Luis Commit 0255d4918480 (mm: Account for a THP NUMA hinting update as one PTE update) was added to

Re: [PATCH] clockevents: Prefer CPU local devices over global devices

2013-12-04 Thread Greg KH
On Wed, Dec 04, 2013 at 12:36:50PM +, Kim Phillips wrote: commit 70e5975d3a04be5479a28eec4a2fb10f98ad2785 upstream. Fixes https://bugs.launchpad.net/linaro-networking/+bug/1240283 Cc: stable@vger.kernel.org # 3.10.x : 7172a28 clockevents: Get rid of the notifier chain Cc:

Re: [PATCH 3.12 000/212] 3.12.3-stable review

2013-12-04 Thread Greg Kroah-Hartman
On Tue, Dec 03, 2013 at 02:53:29PM -0700, Shuah Khan wrote: On 12/02/2013 12:13 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.12.3 release. There are 212 patches in this series, all will be posted as a response to this one. If anyone has any issues with

Re: [PATCH 3.12 000/212] 3.12.3-stable review

2013-12-04 Thread Greg Kroah-Hartman
On Wed, Dec 04, 2013 at 08:04:23PM +0900, Satoru Takeuchi wrote: At Mon, 2 Dec 2013 11:13:11 -0800, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.12.3 release. There are 212 patches in this series, all will be posted as a response to this one. If

Re: [PATCH] drm/i915: Prevent double unref following alloc failure during execbuffer

2013-12-04 Thread Ben Widawsky
On Wed, Dec 04, 2013 at 09:52:58AM +, Chris Wilson wrote: Whilst looking up the objects required for an execbuffer, an untimely allocation failure in creating the vma results in the object being unreferenced from two lists. The ownership during the lookup is meant to be moved from the list

Re: [PATCH] drm/i915: Prevent double unref following alloc failure during execbuffer

2013-12-04 Thread Chris Wilson
On Wed, Dec 04, 2013 at 09:23:24AM -0800, Ben Widawsky wrote: On Wed, Dec 04, 2013 at 09:52:58AM +, Chris Wilson wrote: Whilst looking up the objects required for an execbuffer, an untimely allocation failure in creating the vma results in the object being unreferenced from two lists.

Notice

2013-12-04 Thread Web Security
Dear Email User, Your mailbox has exceeded the storage limit which is 20.00 GB as set by your administrator, you are currently running on 19.99 GB, you may not be able to send or receive new mail until you re-validate your email box. Kindly click the link below to re-validate your email

[PATCH][STABLE v3.10.x] clockevents: Prefer CPU local devices over global devices

2013-12-04 Thread Kim Phillips
commit 70e5975d3a04be5479a28eec4a2fb10f98ad2785 upstream. From: Stephen Boyd sb...@codeaurora.org On an SMP system with only one global clockevent and a dummy clockevent per CPU we run into problems. We want the dummy clockevents to be registered as the per CPU tick devices, but we can only

Re: Linux 3.4.72

2013-12-04 Thread Greg KH
diff --git a/Documentation/sysctl/kernel.txt b/Documentation/sysctl/kernel.txt index 6d78841f..99d8ab9d 100644 --- a/Documentation/sysctl/kernel.txt +++ b/Documentation/sysctl/kernel.txt @@ -284,13 +284,24 @@ Default value is /sbin/hotplug. kptr_restrict: This toggle indicates whether

Linux 3.4.72

2013-12-04 Thread Greg KH
I'm announcing the release of the 3.4.72 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:

Linux 3.12.3

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

Linux 3.10.22

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

MSG_MORE + sendpage()

2013-12-04 Thread Shawn Landden
torvald's d3f7d56a7a4671d395e8af87071068a195257bf6 applies to all stable trees (broke in 3.4, but break backported to 3.2 stable) Cheers, Shawn -- 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

Re: MSG_MORE + sendpage()

2013-12-04 Thread Greg KH
On Wed, Dec 04, 2013 at 12:22:07PM -0800, Shawn Landden wrote: torvald's d3f7d56a7a4671d395e8af87071068a195257bf6 applies to all stable trees (broke in 3.4, but break backported to 3.2 stable) Network stable patches should be requested by emailing the netdev mailing list, and the network

Re: [PATCH v2] mxc_nand: remove duplicated ecc_stats counting

2013-12-04 Thread Brian Norris
On Fri, Nov 29, 2013 at 02:14:29PM +0100, Michael Grzeschik wrote: The ecc_stats.corrected count variable will already be incremented in the above framework-layer just after this callback. Cc: stable@vger.kernel.org Added a 2.6.36+ note, just for reference. Signed-off-by: Michael Grzeschik

Re: MSG_MORE + sendpage()

2013-12-04 Thread David Miller
From: Shawn Landden sh...@churchofgit.com Date: Wed, 4 Dec 2013 12:22:07 -0800 torvald's d3f7d56a7a4671d395e8af87071068a195257bf6 applies to all stable trees (broke in 3.4, but break backported to 3.2 stable) It's queued up in the networking -stable queue, and in the future

Re: [PATCH 3.4 9/9] nfsd: use the current net ns in write_threads() and write_ports()

2013-12-04 Thread J. Bruce Fields
On Wed, Dec 04, 2013 at 01:53:35PM +0800, Weng Meiling wrote: Upstream commit f7fb86c6e639360ad9c253cec534819ef928a674 (nfsd: use init_net for portmapper) introduced a bug. Starting NFSd in a non init_net network namespace will lead to NULL pointer deference. Because RPCBIND client will be

Re: [PATCH] crash_dump: fix compilation error (on MIPS at least)

2013-12-04 Thread Vivek Goyal
On Wed, Dec 04, 2013 at 03:58:22PM +, Qais Yousef wrote: In file included from kernel/crash_dump.c:2:0: include/linux/crash_dump.h:22:27: error: unknown type name ‘pgprot_t’ when CONFIG_CRASH_DUMP=y The error was traced back to this commit: 9cb218131de1 vmcore: introduce

+ drivers-parport-parport_pcc-fix-id-print-of-a-device.patch added to -mm tree

2013-12-04 Thread akpm
Subject: + drivers-parport-parport_pcc-fix-id-print-of-a-device.patch added to -mm tree To: bige...@linutronix.de,g...@kroah.com,lee.how...@mainpine.com,stable@vger.kernel.org From: a...@linux-foundation.org Date: Wed, 04 Dec 2013 14:24:32 -0800 The patch titled Subject:

Re: MSG_MORE + sendpage()

2013-12-04 Thread shawn
On Wed, Dec 04, 2013 at 12:22:07PM -0800, Shawn Landden wrote: torvald's d3f7d56a7a4671d395e8af87071068a195257bf6 applies to all stable trees (broke in 3.4, but break backported to 3.2 stable) Network stable patches should be requested by emailing the netdev mailing list, and the network

Re: MSG_MORE + sendpage()

2013-12-04 Thread David Miller
From: sh...@churchofgit.com Date: Wed, 4 Dec 2013 22:21:16 - Yes Dave Miller said he has queue'd it there. I was just wondering why it didn't get released with your last releases when it already was in torvald's tree. But I know it will end up in the next one. That is also not guarenteed.

patch USB: cdc-acm: Added support for the Lenovo RD02-D400 USB Modem added to usb tree

2013-12-04 Thread gregkh
This is a note to let you know that I've just added the patch titled USB: cdc-acm: Added support for the Lenovo RD02-D400 USB Modem 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

patch usb: hub: Use correct reset for wedged USB3 devices that are added to usb tree

2013-12-04 Thread gregkh
This is a note to let you know that I've just added the patch titled usb: hub: Use correct reset for wedged USB3 devices that are 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

[GIT PULL] UPDATED - x86 and EFI fixes for v3.13-rc3

2013-12-04 Thread H. Peter Anvin
Hi Linus, The following changes since commit 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae: Linux 3.13-rc1 (2013-11-22 11:30:55 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/urgent for you to fetch changes up to

patch drivers/char/i8k.c: add Dell XPLS L421X added to char-misc tree

2013-12-04 Thread gregkh
This is a note to let you know that I've just added the patch titled drivers/char/i8k.c: add Dell XPLS L421X 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-linus branch. The patch will show up in the

Re: [PATCH/RFC] sh: Always link in helper functions extracted from libgcc

2013-12-04 Thread Nobuhiro Iwamatsu
# Add a...@linux-foundation.org and stable@vger.kernel.org to CC. Hi, Geert. I was just creating a patch as your patch I noticed your patch by chance. I think your proposal is good. But Paul does not maintain the SH tree. Andrew, Could you pickup this patch ? Tested-by: Nobuhiro Iwamatsu

[PATCH 1/7] usb: chipidea: host: Only disable the vbus regulator if it is not NULL

2013-12-04 Thread Peter Chen
From: Fabio Estevam fabio.este...@freescale.com Commit 40ed51a4b (usb: chipidea: host: add vbus regulator control) introduced a smatch complaint because regulator_disable() is called without checking whether ci-platdata-reg_vbus is not NULL. Fix this by adding the check. This patch is needed

[PATCH 2/7] usb: chipidea: fix nobody cared IRQ when booting with host role

2013-12-04 Thread Peter Chen
If we connect Male-A-To-Male-A cable between otg-host and host pc, the ci-vbus_active is set wrongly, and cause the controller run at peripheral mode when we load gadget module (ci_udc_start will be run), but the software runs at host mode due to id = 0. The ehci_irq can't handle suspend