]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
3.10-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Feb 2014 22:30:43 +0000 (14:30 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Feb 2014 22:30:43 +0000 (14:30 -0800)
added patches:
drm-radeon-fix-uvd-irq-support-on-7xx.patch
drm-radeon-fix-uvd-irq-support-on-si.patch
usb-qcserial-add-netgear-aircard-340u.patch
vt-fix-secure-clear-screen.patch

queue-3.10/drm-radeon-fix-uvd-irq-support-on-7xx.patch [new file with mode: 0644]
queue-3.10/drm-radeon-fix-uvd-irq-support-on-si.patch [new file with mode: 0644]
queue-3.10/series
queue-3.10/usb-qcserial-add-netgear-aircard-340u.patch [new file with mode: 0644]
queue-3.10/vt-fix-secure-clear-screen.patch [new file with mode: 0644]

diff --git a/queue-3.10/drm-radeon-fix-uvd-irq-support-on-7xx.patch b/queue-3.10/drm-radeon-fix-uvd-irq-support-on-7xx.patch
new file mode 100644 (file)
index 0000000..d28fedb
--- /dev/null
@@ -0,0 +1,31 @@
+From 858a41c853cef2cb01de34dae334c19c1c15b237 Mon Sep 17 00:00:00 2001
+From: Alex Deucher <alexander.deucher@amd.com>
+Date: Thu, 30 Jan 2014 14:35:04 -0500
+Subject: drm/radeon: fix UVD IRQ support on 7xx
+
+From: Alex Deucher <alexander.deucher@amd.com>
+
+commit 858a41c853cef2cb01de34dae334c19c1c15b237 upstream.
+
+Otherwise decoding isn't really useable.
+
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/gpu/drm/radeon/r600.c |    4 ++++
+ 1 file changed, 4 insertions(+)
+
+--- a/drivers/gpu/drm/radeon/r600.c
++++ b/drivers/gpu/drm/radeon/r600.c
+@@ -4509,6 +4509,10 @@ restart_ih:
+                               break;
+                       }
+                       break;
++              case 124: /* UVD */
++                      DRM_DEBUG("IH: UVD int: 0x%08x\n", src_data);
++                      radeon_fence_process(rdev, R600_RING_TYPE_UVD_INDEX);
++                      break;
+               case 176: /* CP_INT in ring buffer */
+               case 177: /* CP_INT in IB1 */
+               case 178: /* CP_INT in IB2 */
diff --git a/queue-3.10/drm-radeon-fix-uvd-irq-support-on-si.patch b/queue-3.10/drm-radeon-fix-uvd-irq-support-on-si.patch
new file mode 100644 (file)
index 0000000..1131c0a
--- /dev/null
@@ -0,0 +1,38 @@
+From b927e1c20462c1ad9caf4c4fa3a30e838a2d4037 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Christian=20K=C3=B6nig?= <christian.koenig@amd.com>
+Date: Thu, 30 Jan 2014 19:01:16 +0100
+Subject: drm/radeon: fix UVD IRQ support on SI
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+From: =?UTF-8?q?Christian=20K=C3=B6nig?= <christian.koenig@amd.com>
+
+commit b927e1c20462c1ad9caf4c4fa3a30e838a2d4037 upstream.
+
+Otherwise decoding isn't really useable.
+
+bug:
+https://bugs.freedesktop.org/show_bug.cgi?id=71448
+
+Signed-off-by: Christian König <christian.koenig@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/gpu/drm/radeon/si.c |    4 ++++
+ 1 file changed, 4 insertions(+)
+
+--- a/drivers/gpu/drm/radeon/si.c
++++ b/drivers/gpu/drm/radeon/si.c
+@@ -5159,6 +5159,10 @@ restart_ih:
+                               break;
+                       }
+                       break;
++              case 124: /* UVD */
++                      DRM_DEBUG("IH: UVD int: 0x%08x\n", src_data);
++                      radeon_fence_process(rdev, R600_RING_TYPE_UVD_INDEX);
++                      break;
+               case 146:
+               case 147:
+                       dev_err(rdev->dev, "GPU fault detected: %d 0x%08x\n", src_id, src_data);
index c8d4278a6a9a62c399020c3ed4fdc17fadd0cedb..73e57fe4ea3f273669874f5ac241d233fb2e2347 100644 (file)
@@ -23,3 +23,7 @@ hwmon-ntc_thermistor-avoid-math-overflow.patch
 lockd-send-correct-lock-when-granting-a-delayed-lock.patch
 tty-n_gsm-fix-for-modems-with-brk-in-modem-status-control.patch
 tty-set-correct-tty-name-in-active-sysfs-attribute.patch
+drm-radeon-fix-uvd-irq-support-on-7xx.patch
+drm-radeon-fix-uvd-irq-support-on-si.patch
+vt-fix-secure-clear-screen.patch
+usb-qcserial-add-netgear-aircard-340u.patch
diff --git a/queue-3.10/usb-qcserial-add-netgear-aircard-340u.patch b/queue-3.10/usb-qcserial-add-netgear-aircard-340u.patch
new file mode 100644 (file)
index 0000000..862515e
--- /dev/null
@@ -0,0 +1,36 @@
+From f948dcf9e9973c05d957bc65b3185682f45feda3 Mon Sep 17 00:00:00 2001
+From: Bjørn Mork <bjorn@mork.no>
+Date: Tue, 4 Feb 2014 13:02:31 +0100
+Subject: usb: qcserial: add Netgear Aircard 340U
+
+From: Bjørn Mork <bjorn@mork.no>
+
+commit f948dcf9e9973c05d957bc65b3185682f45feda3 upstream.
+
+This device was mentioned in an OpenWRT forum.  Seems to have a "standard"
+Sierra Wireless ifnumber to function layout:
+ 0: qcdm
+ 2: nmea
+ 3: modem
+ 8: qmi
+ 9: storage
+
+Signed-off-by: Bjørn Mork <bjorn@mork.no>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/usb/serial/qcserial.c |    3 +++
+ 1 file changed, 3 insertions(+)
+
+--- a/drivers/usb/serial/qcserial.c
++++ b/drivers/usb/serial/qcserial.c
+@@ -139,6 +139,9 @@ static const struct usb_device_id id_tab
+       {USB_DEVICE_INTERFACE_NUMBER(0x1199, 0x901c, 0)},       /* Sierra Wireless EM7700 Device Management */
+       {USB_DEVICE_INTERFACE_NUMBER(0x1199, 0x901c, 2)},       /* Sierra Wireless EM7700 NMEA */
+       {USB_DEVICE_INTERFACE_NUMBER(0x1199, 0x901c, 3)},       /* Sierra Wireless EM7700 Modem */
++      {USB_DEVICE_INTERFACE_NUMBER(0x1199, 0x9051, 0)},       /* Netgear AirCard 340U Device Management */
++      {USB_DEVICE_INTERFACE_NUMBER(0x1199, 0x9051, 2)},       /* Netgear AirCard 340U NMEA */
++      {USB_DEVICE_INTERFACE_NUMBER(0x1199, 0x9051, 3)},       /* Netgear AirCard 340U Modem */
+       { }                             /* Terminating entry */
+ };
diff --git a/queue-3.10/vt-fix-secure-clear-screen.patch b/queue-3.10/vt-fix-secure-clear-screen.patch
new file mode 100644 (file)
index 0000000..98679b6
--- /dev/null
@@ -0,0 +1,38 @@
+From 0930b0950a8996aa88b0d2ba4bb2bab27cc36bc7 Mon Sep 17 00:00:00 2001
+From: Petr Písař <petr.pisar@atlas.cz>
+Date: Thu, 6 Feb 2014 21:01:23 +0100
+Subject: vt: Fix secure clear screen
+
+From: Petr Písař <petr.pisar@atlas.cz>
+
+commit 0930b0950a8996aa88b0d2ba4bb2bab27cc36bc7 upstream.
+
+\E[3J console code (secure clear screen) needs to update_screen(vc)
+in order to write-through blanks into off-screen video memory.
+
+This has been removed accidentally in 3.6 by:
+
+commit 81732c3b2fede049a692e58a7ceabb6d18ffb18c
+Author: Jean-François Moine <moinejf@free.fr>
+Date:   Thu Sep 6 19:24:13 2012 +0200
+
+    tty vt: Fix line garbage in virtual console on command line edition
+
+Signed-off-by: Petr Písař <petr.pisar@atlas.cz>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/tty/vt/vt.c |    2 ++
+ 1 file changed, 2 insertions(+)
+
+--- a/drivers/tty/vt/vt.c
++++ b/drivers/tty/vt/vt.c
+@@ -1164,6 +1164,8 @@ static void csi_J(struct vc_data *vc, in
+                       scr_memsetw(vc->vc_screenbuf, vc->vc_video_erase_char,
+                                   vc->vc_screenbuf_size >> 1);
+                       set_origin(vc);
++                      if (CON_IS_VISIBLE(vc))
++                              update_screen(vc);
+                       /* fall through */
+               case 2: /* erase whole display */
+                       count = vc->vc_cols * vc->vc_rows;