good<br><div><div><br></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>From: </b> "kernel-team-request"<kernel-team-request@lists.ubuntu.com>;</div><div><b>Date: </b> Thu, Apr 25, 2013 03:37 AM</div><div><b>To: </b> "kernel-team"<kernel-team@lists.ubuntu.com>; <wbr></div><div></div><div><b>Subject: </b> kernel-team Digest, Vol 99, Issue 104</div></div><div><br></div>Send kernel-team mailing list submissions to<br>  kernel-team@lists.ubuntu.com<br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>     https://lists.ubuntu.com/mailman/listinfo/kernel-team<br>or, via email, send a message with subject or body 'help' to<br>   kernel-team-request@lists.ubuntu.com<br><br>You can reach the person managing the list at<br> kernel-team-owner@lists.ubuntu.com<br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of kernel-team digest..."<br><br><br>Today's Topics:<br><br>   1. [Quantal SRU] [PATCH] drm/i915: Use the correct size of the<br>      GTT for placing the, per-process entries (Chris J Arges)<br>   2. Re: [Quantal SRU] [PATCH] drm/i915: Use the correct size of<br>      the GTT for placing the, per-process entries (Chris J Arges)<br>   3. Ack: [Quantal SRU] [PATCH] drm/i915: Use the correct size of<br>      the GTT for placing the, per-process entries (Seth Forshee)<br>   4. [quantal] linux 3.5.0-28.48 uploaded (ABI bump)<br>      (brad.figg@canonical.com)<br>   5. Nak: [Quantal SRU] [PATCH] drm/i915: Use the correct size of<br>      the GTT for placing the, per-process entries (Brad Figg)<br>   6. [PATCH] drm/i915: Use the correct size of the GTT for placing<br>      the per-process entries (Chris J Arges)<br>   7. [PATCH] drm/i915: Use the correct size of the GTT for placing<br>      the per-process entries (Chris J Arges)<br>   8. [PATCH] drm/i915: Use the correct size of the GTT for placing<br>      the per-process entries (Chris J Arges)<br>   9. [PATCH] drm/i915: Use the correct size of the GTT for placing<br>      the per-process entries (Chris J Arges)<br>  10. Re: [PATCH] drm/i915: Use the correct size of the GTT for<br>      placing the per-process entries (Jonathan Nieder)<br>  11. [PATCH SRU Quantal/Raring] UBUNTU: SAUCE: alx: Don't check<br>      netif_running() before powering up (Tim Gardner)<br>  12. Re: [PATCH SRU Quantal/Raring] UBUNTU: SAUCE: alx: Don't<br>      check netif_running() before powering up (Tim Gardner)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Wed, 24 Apr 2013 11:07:23 -0500<br>From: Chris J Arges <chris.j.arges@canonical.com><br>To: Ubuntu Kernel Team <kernel-team@lists.ubuntu.com><br>Subject: [Quantal SRU] [PATCH] drm/i915: Use the correct size of the<br>     GTT for placing the, per-process entries<br>Message-ID: <5178033B.6070909@canonical.com><br>Content-Type: text/plain; charset=ISO-8859-1<br><br>BugLink: http://bugs.launchpad.net/bugs/1107642<br><br>SRU Justification:<br><br>Impact:<br>    When installing 32-bit images on an imac 12,1 with intel/ati<br>graphics, there may be crashes or blank screens.<br><br>Fix:<br>   bb588820ef421c6098dca1fec29c3b347f1c8c19 fixes the radeon blackout<br>issues; this is already in raring/quantal<br>   9a0f938bde74bf9e50bd75c8de9e38c1787398cd fixes the i915 issues. This<br>is in raring, but not in quantal.<br><br>Testcase:<br>    Update kernel on install iso, and try to install 32-bit ubuntu on<br>imac 12,1.<br><br>--chris j arges<br><br><br><br>------------------------------<br><br>Message: 2<br>Date: Wed, 24 Apr 2013 11:34:16 -0500<br>From: Chris J Arges <chris.j.arges@canonical.com><br>To: Ubuntu Kernel Team <kernel-team@lists.ubuntu.com><br>Subject: Re: [Quantal SRU] [PATCH] drm/i915: Use the correct size of<br>  the GTT for placing the, per-process entries<br>Message-ID: <51780988.2040905@canonical.com><br>Content-Type: text/plain; charset="iso-8859-1"<br><br>On 04/24/2013 11:07 AM, Chris J Arges wrote:<br>> BugLink: http://bugs.launchpad.net/bugs/1107642<br>> <br>> SRU Justification:<br>> <br>> Impact:<br>>     When installing 32-bit images on an imac 12,1 with intel/ati<br>> graphics, there may be crashes or blank screens.<br>> <br>> Fix:<br>>    bb588820ef421c6098dca1fec29c3b347f1c8c19 fixes the radeon blackout<br>> issues; this is already in raring/quantal<br>>    9a0f938bde74bf9e50bd75c8de9e38c1787398cd fixes the i915 issues. This<br>> is in raring, but not in quantal.<br>> <br>> Testcase:<br>>     Update kernel on install iso, and try to install 32-bit ubuntu on<br>> imac 12,1.<br>> <br>> --chris j arges<br>> <br><br>Patch attached.<br>--chris<br>-------------- next part --------------<br>A non-text attachment was scrubbed...<br>Name: 0001-drm-i915-Use-the-correct-size-of-the-GTT-for-placing.patch<br>Type: text/x-patch<br>Size: 1791 bytes<br>Desc: not available<br>URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20130424/04a693f1/attachment-0001.bin><br><br>------------------------------<br><br>Message: 3<br>Date: Wed, 24 Apr 2013 12:42:16 -0500<br>From: Seth Forshee <seth.forshee@canonical.com><br>To: Chris J Arges <chris.j.arges@canonical.com><br>Cc: Ubuntu Kernel Team <kernel-team@lists.ubuntu.com><br>Subject: Ack: [Quantal SRU] [PATCH] drm/i915: Use the correct size of<br>    the GTT for placing the, per-process entries<br>Message-ID: <20130424174216.GA28797@thinkpad-t410><br>Content-Type: text/plain; charset=us-ascii<br><br><br><br><br>------------------------------<br><br>Message: 4<br>From: brad.figg@canonical.com<br>To: kernel-team@lists.ubuntu.com, ubuntu-installer@lists.ubuntu.com,<br> gema.gomez-solano@canonical.com<br>Subject: [quantal] linux 3.5.0-28.48 uploaded (ABI bump)<br>Message-ID:<br>        <mailman.28796.1366832256.30139.kernel-team@lists.ubuntu.com><br>Content-Type: text/plain; charset="us-ascii"<br><br>A new quantal kernel has been uploaded into proposed. Note the ABI bump. <br>The full changelog about all bug fixes contained in this upload can be found at:<br><br>https://launchpad.net/ubuntu/quantal/+source/linux/3.5.0-28.48<br><br>-- <br>This message was created by an automated script, maintained by the<br>Ubuntu Kernel Team.<br><br><br><br>------------------------------<br><br>Message: 5<br>Date: Wed, 24 Apr 2013 11:11:50 -0700<br>From: Brad Figg <brad.figg@canonical.com><br>To: Chris J Arges <chris.j.arges@canonical.com><br>Cc: Ubuntu Kernel Team <kernel-team@lists.ubuntu.com><br>Subject: Nak: [Quantal SRU] [PATCH] drm/i915: Use the correct size of<br>   the GTT for placing the, per-process entries<br>Message-ID: <51782066.2080504@canonical.com><br>Content-Type: text/plain; charset=ISO-8859-1<br><br>On 04/24/2013 09:07 AM, Chris J Arges wrote:<br>> BugLink: http://bugs.launchpad.net/bugs/1107642<br>> <br>> SRU Justification:<br>> <br>> Impact:<br>>     When installing 32-bit images on an imac 12,1 with intel/ati<br>> graphics, there may be crashes or blank screens.<br>> <br>> Fix:<br>>    bb588820ef421c6098dca1fec29c3b347f1c8c19 fixes the radeon blackout<br>> issues; this is already in raring/quantal<br>>    9a0f938bde74bf9e50bd75c8de9e38c1787398cd fixes the i915 issues. This<br>> is in raring, but not in quantal.<br>> <br>> Testcase:<br>>     Update kernel on install iso, and try to install 32-bit ubuntu on<br>> imac 12,1.<br>> <br>> --chris j arges<br>> <br><br>I prefer to get this via stable. Can you please submit it there? That<br>will get some additional eyes on it and maybe some additional testing.<br><br>-- <br>Brad Figg brad.figg@canonical.com http://www.canonical.com<br><br><br><br>------------------------------<br><br>Message: 6<br>Date: Wed, 24 Apr 2013 13:56:41 -0500<br>From: Chris J Arges <chris.j.arges@canonical.com><br>To: stable@kernel.org<br>Cc: kernel-team@lists.ubuntu.com<br>Subject: [PATCH] drm/i915: Use the correct size of the GTT for placing<br>    the per-process entries<br>Message-ID:<br>  <1366829802-15499-1-git-send-email-chris.j.arges@canonical.com><br><br>This patch fixes the following bug:<br>http://bugs.launchpad.net/bugs/1107642<br><br>It has been tested against the Ubuntu Quantal 3.5 kernel.<br>I'd like to include it in the 3.5.y stable tree.<br>The fix is present in v3.6-rc4 and beyond.<br><br>Chris Wilson (1):<br>  drm/i915: Use the correct size of the GTT for placing the per-process<br>    entries<br><br> drivers/gpu/drm/i915/i915_gem_gtt.c |    2 +-<br> 1 file changed, 1 insertion(+), 1 deletion(-)<br><br>-- <br>1.7.9.5<br><br><br><br><br>------------------------------<br><br>Message: 7<br>Date: Wed, 24 Apr 2013 13:56:42 -0500<br>From: Chris J Arges <chris.j.arges@canonical.com><br>To: stable@kernel.org<br>Cc: Ben Widawsky <ben@bwidawsk.net>, Daniel Vetter<br>      <daniel.vetter@ffwll.ch>, stable@vger.kernel.org, Chris Wilson<br>  <chris@chris-wilson.co.uk>, kernel-team@lists.ubuntu.com, Matthew<br>       Garret <mjg@redhat.com><br>Subject: [PATCH] drm/i915: Use the correct size of the GTT for placing<br> the per-process entries<br>Message-ID:<br>  <1366829802-15499-2-git-send-email-chris.j.arges@canonical.com><br><br>From: Chris Wilson <chris@chris-wilson.co.uk><br><br>The current layout is to place the per-process tables at the end of the<br>GTT. However, this is currently using a hardcoded maximum size for the GTT<br>and not taking in account limitations imposed by the BIOS. Use the value<br>for the total number of entries allocated in the table as provided by<br>the configuration registers.<br><br>Reported-by: Matthew Garrett <mjg@redhat.com><br>Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk><br>Cc: Daniel Vetter <daniel.vetter@ffwll.ch><br>Cc: Ben Widawsky <ben@bwidawsk.net><br>Cc: Matthew Garret <mjg@redhat.com><br>Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch><br>(cherry picked from commit 9a0f938bde74bf9e50bd75c8de9e38c1787398cd)<br><br>Signed-off-by: Chris J Arges <chris.j.arges@canonical.com><br>Cc: stable@vger.kernel.org<br>---<br> drivers/gpu/drm/i915/i915_gem_gtt.c |    2 +-<br> 1 file changed, 1 insertion(+), 1 deletion(-)<br><br>diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c b/drivers/gpu/drm/i915/i915_gem_gtt.c<br>index eae804d..8096d577 100644<br>--- a/drivers/gpu/drm/i915/i915_gem_gtt.c<br>+++ b/drivers/gpu/drm/i915/i915_gem_gtt.c<br>@@ -72,7 +72,7 @@ int i915_gem_init_aliasing_ppgtt(struct drm_device *dev)<br>     /* ppgtt PDEs reside in the global gtt pagetable, which has 512*1024<br>      * entries. For aliasing ppgtt support we just steal them at the end for<br>          * now. */<br>-   first_pd_entry_in_global_pt = 512*1024 - I915_PPGTT_PD_ENTRIES;<br>+      first_pd_entry_in_global_pt = dev_priv->mm.gtt->gtt_total_entries - I915_PPGTT_PD_ENTRIES;<br> <br>         ppgtt = kzalloc(sizeof(*ppgtt), GFP_KERNEL);<br>     if (!ppgtt)<br>-- <br>1.7.9.5<br><br><br><br><br>------------------------------<br><br>Message: 8<br>Date: Wed, 24 Apr 2013 14:01:05 -0500<br>From: Chris J Arges <chris.j.arges@canonical.com><br>To: stable@vger.kernel.org<br>Cc: kernel-team@lists.ubuntu.com<br>Subject: [PATCH] drm/i915: Use the correct size of the GTT for placing<br> the per-process entries<br>Message-ID:<br>  <1366830066-16705-1-git-send-email-chris.j.arges@canonical.com><br><br>This patch fixes the following bug:<br>http://bugs.launchpad.net/bugs/1107642<br><br>It has been tested against the Ubuntu Quantal 3.5 kernel.<br>I'd like to include it in the 3.5.y stable tree.<br>The fix is present in v3.6-rc4 and beyond.<br><br>Chris Wilson (1):<br>  drm/i915: Use the correct size of the GTT for placing the per-process<br>    entries<br><br> drivers/gpu/drm/i915/i915_gem_gtt.c |    2 +-<br> 1 file changed, 1 insertion(+), 1 deletion(-)<br><br>-- <br>1.7.9.5<br><br><br><br><br>------------------------------<br><br>Message: 9<br>Date: Wed, 24 Apr 2013 14:01:06 -0500<br>From: Chris J Arges <chris.j.arges@canonical.com><br>To: stable@vger.kernel.org<br>Cc: Ben Widawsky <ben@bwidawsk.net>, Daniel Vetter<br> <daniel.vetter@ffwll.ch>, Chris Wilson <chris@chris-wilson.co.uk>,<br>        kernel-team@lists.ubuntu.com, Matthew Garret <mjg@redhat.com><br>Subject: [PATCH] drm/i915: Use the correct size of the GTT for placing<br>   the per-process entries<br>Message-ID:<br>  <1366830066-16705-2-git-send-email-chris.j.arges@canonical.com><br><br>From: Chris Wilson <chris@chris-wilson.co.uk><br><br>The current layout is to place the per-process tables at the end of the<br>GTT. However, this is currently using a hardcoded maximum size for the GTT<br>and not taking in account limitations imposed by the BIOS. Use the value<br>for the total number of entries allocated in the table as provided by<br>the configuration registers.<br><br>Reported-by: Matthew Garrett <mjg@redhat.com><br>Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk><br>Cc: Daniel Vetter <daniel.vetter@ffwll.ch><br>Cc: Ben Widawsky <ben@bwidawsk.net><br>Cc: Matthew Garret <mjg@redhat.com><br>Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch><br>(cherry picked from commit 9a0f938bde74bf9e50bd75c8de9e38c1787398cd)<br><br>Signed-off-by: Chris J Arges <chris.j.arges@canonical.com><br>Cc: stable@vger.kernel.org<br>---<br> drivers/gpu/drm/i915/i915_gem_gtt.c |    2 +-<br> 1 file changed, 1 insertion(+), 1 deletion(-)<br><br>diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c b/drivers/gpu/drm/i915/i915_gem_gtt.c<br>index eae804d..8096d577 100644<br>--- a/drivers/gpu/drm/i915/i915_gem_gtt.c<br>+++ b/drivers/gpu/drm/i915/i915_gem_gtt.c<br>@@ -72,7 +72,7 @@ int i915_gem_init_aliasing_ppgtt(struct drm_device *dev)<br>     /* ppgtt PDEs reside in the global gtt pagetable, which has 512*1024<br>      * entries. For aliasing ppgtt support we just steal them at the end for<br>          * now. */<br>-   first_pd_entry_in_global_pt = 512*1024 - I915_PPGTT_PD_ENTRIES;<br>+      first_pd_entry_in_global_pt = dev_priv->mm.gtt->gtt_total_entries - I915_PPGTT_PD_ENTRIES;<br> <br>         ppgtt = kzalloc(sizeof(*ppgtt), GFP_KERNEL);<br>     if (!ppgtt)<br>-- <br>1.7.9.5<br><br><br><br><br>------------------------------<br><br>Message: 10<br>Date: Wed, 24 Apr 2013 12:13:13 -0700<br>From: Jonathan Nieder <jrnieder@gmail.com><br>To: Chris J Arges <chris.j.arges@canonical.com><br>Cc: kernel-team@lists.ubuntu.com, stable@vger.kernel.org<br>Subject: Re: [PATCH] drm/i915: Use the correct size of the GTT for<br>        placing the per-process entries<br>Message-ID: <20130424191313.GF29963@google.com><br>Content-Type: text/plain; charset=us-ascii<br><br>Hi Chris,<br><br>Chris J Arges wrote:<br><br>> This patch fixes the following bug:<br>> http://bugs.launchpad.net/bugs/1107642<br>><br>> It has been tested against the Ubuntu Quantal 3.5 kernel.<br>> I'd like to include it in the 3.5.y stable tree.<br><br>Thanks.  For future reference, it's easier to understand proposals<br>like this if they have [3.5.7.y] or similar in the message subject.<br>See the list archive for examples, like this one:<br><br> http://www.mail-archive.com/stable@vger.kernel.org/msg38099.html<br><br>Regards,<br>Jonathan<br><br><br><br>------------------------------<br><br>Message: 11<br>Date: Wed, 24 Apr 2013 13:35:41 -0600<br>From: Tim Gardner <tim.gardner@canonical.com><br>To: kernel-team@lists.ubuntu.com<br>Subject: [PATCH SRU Quantal/Raring] UBUNTU: SAUCE: alx: Don't check<br>      netif_running() before powering up<br>Message-ID:<br>       <1366832141-34735-1-git-send-email-tim.gardner@canonical.com><br><br>(sent upstream to unified-drivers@lists.infradead.org)<br><br>The resume function must power up the device regardless of the state<br>of the network stack.<br><br>Signed-off-by: Tim Gardner <tim.gardner@canonical.com><br>---<br><br>Tested on an AMD system with HW that exhibits the problem.<br><br> ubuntu/alx/alx_main.c |    3 ---<br> 1 file changed, 3 deletions(-)<br><br>diff --git a/ubuntu/alx/alx_main.c b/ubuntu/alx/alx_main.c<br>index 700ebf1..03bda8b 100644<br>--- a/ubuntu/alx/alx_main.c<br>+++ b/ubuntu/alx/alx_main.c<br>@@ -1694,9 +1694,6 @@ static int alx_resume(struct device *dev)<br>   struct alx_hw *hw = &adpt->hw;<br>    int err;<br> <br>-     if (!netif_running(netdev))<br>-          return 0;<br>-<br>     pci_set_power_state(pdev, PCI_D0);<br>       pci_restore_state(pdev);<br>         pci_save_state(pdev);<br>-- <br>1.7.9.5<br><br><br><br><br>------------------------------<br><br>Message: 12<br>Date: Wed, 24 Apr 2013 13:37:33 -0600<br>From: Tim Gardner <tim.gardner@canonical.com><br>To: kernel-team@lists.ubuntu.com<br>Subject: Re: [PATCH SRU Quantal/Raring] UBUNTU: SAUCE: alx: Don't<br>   check netif_running() before powering up<br>Message-ID: <5178347D.8030003@canonical.com><br>Content-Type: text/plain; charset=ISO-8859-1<br><br>On 04/24/2013 01:35 PM, Tim Gardner wrote:<br>> (sent upstream to unified-drivers@lists.infradead.org)<br>> <br>> The resume function must power up the device regardless of the state<br>> of the network stack.<br>> <br>> Signed-off-by: Tim Gardner <tim.gardner@canonical.com><br>> ---<br>> <br>> Tested on an AMD system with HW that exhibits the problem.<br>> <br>>  ubuntu/alx/alx_main.c |    3 ---<br>>  1 file changed, 3 deletions(-)<br>> <br>> diff --git a/ubuntu/alx/alx_main.c b/ubuntu/alx/alx_main.c<br>> index 700ebf1..03bda8b 100644<br>> --- a/ubuntu/alx/alx_main.c<br>> +++ b/ubuntu/alx/alx_main.c<br>> @@ -1694,9 +1694,6 @@ static int alx_resume(struct device *dev)<br>>          struct alx_hw *hw = &adpt->hw;<br>>        int err;<br>>  <br>> -   if (!netif_running(netdev))<br>> -             return 0;<br>> -<br>>    pci_set_power_state(pdev, PCI_D0);<br>>   pci_restore_state(pdev);<br>>     pci_save_state(pdev);<br>> <br><br>http://bugs.launchpad.net/bugs/1172415<br><br>-- <br>Tim Gardner tim.gardner@canonical.com<br><br><br><br>------------------------------<br><br>-- <br>kernel-team mailing list<br>kernel-team@lists.ubuntu.com<br>https://lists.ubuntu.com/mailman/listinfo/kernel-team<br><br><br>End of kernel-team Digest, Vol 99, Issue 104<br>********************************************<br></div>