]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
3.0-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Dec 2012 20:23:58 +0000 (12:23 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Dec 2012 20:23:58 +0000 (12:23 -0800)
added patches:
acpi-missing-break.patch
drm-i915-add-no-lvds-quirk-for-supermicro-x7spa-h.patch
i915-quirk-no_lvds-on-gigabyte-ga-d525tud-itx-motherboard.patch
route-release-dst_entry.hh_cache-when-handling-redirects.patch
scsi-silence-unnecessary-warnings-about-ioctl-to-partition.patch

queue-3.0/acpi-missing-break.patch [new file with mode: 0644]
queue-3.0/drm-i915-add-no-lvds-quirk-for-supermicro-x7spa-h.patch [new file with mode: 0644]
queue-3.0/i915-quirk-no_lvds-on-gigabyte-ga-d525tud-itx-motherboard.patch [new file with mode: 0644]
queue-3.0/route-release-dst_entry.hh_cache-when-handling-redirects.patch [new file with mode: 0644]
queue-3.0/scsi-silence-unnecessary-warnings-about-ioctl-to-partition.patch [new file with mode: 0644]
queue-3.0/series

diff --git a/queue-3.0/acpi-missing-break.patch b/queue-3.0/acpi-missing-break.patch
new file mode 100644 (file)
index 0000000..53eb944
--- /dev/null
@@ -0,0 +1,31 @@
+From 879dca019dc43a1622edca3e7dde644b14b5acc5 Mon Sep 17 00:00:00 2001
+From: Alan Cox <alan@linux.intel.com>
+Date: Fri, 26 Oct 2012 01:05:56 +0200
+Subject: ACPI: missing break
+
+From: Alan Cox <alan@linux.intel.com>
+
+commit 879dca019dc43a1622edca3e7dde644b14b5acc5 upstream.
+
+We handle NOTIFY_THROTTLING so don't then fall through to unsupported event.
+
+Signed-off-by: Alan Cox <alan@linux.intel.com>
+Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
+Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+
+---
+ drivers/acpi/processor_driver.c |    1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/drivers/acpi/processor_driver.c
++++ b/drivers/acpi/processor_driver.c
+@@ -409,6 +409,7 @@ static void acpi_processor_notify(struct
+               acpi_bus_generate_proc_event(device, event, 0);
+               acpi_bus_generate_netlink_event(device->pnp.device_class,
+                                                 dev_name(&device->dev), event, 0);
++              break;
+       default:
+               ACPI_DEBUG_PRINT((ACPI_DB_INFO,
+                                 "Unsupported event [0x%x]\n", event));
diff --git a/queue-3.0/drm-i915-add-no-lvds-quirk-for-supermicro-x7spa-h.patch b/queue-3.0/drm-i915-add-no-lvds-quirk-for-supermicro-x7spa-h.patch
new file mode 100644 (file)
index 0000000..8cc522c
--- /dev/null
@@ -0,0 +1,37 @@
+From c31407a3672aaebb4acddf90944a114fa5c8af7b Mon Sep 17 00:00:00 2001
+From: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Thu, 18 Oct 2012 21:07:01 +0100
+Subject: drm/i915: Add no-lvds quirk for Supermicro X7SPA-H
+
+From: Chris Wilson <chris@chris-wilson.co.uk>
+
+commit c31407a3672aaebb4acddf90944a114fa5c8af7b upstream.
+
+Reported-and-tested-by: Francois Tigeot <ftigeot@wolfpond.org>
+Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=55375
+Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
+Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/gpu/drm/i915/intel_lvds.c |    8 ++++++++
+ 1 file changed, 8 insertions(+)
+
+--- a/drivers/gpu/drm/i915/intel_lvds.c
++++ b/drivers/gpu/drm/i915/intel_lvds.c
+@@ -767,6 +767,14 @@ static const struct dmi_system_id intel_
+                       DMI_MATCH(DMI_BOARD_NAME, "D525TUD"),
+               },
+       },
++      {
++              .callback = intel_no_lvds_dmi_callback,
++              .ident = "Supermicro X7SPA-H",
++              .matches = {
++                      DMI_MATCH(DMI_SYS_VENDOR, "Supermicro"),
++                      DMI_MATCH(DMI_PRODUCT_NAME, "X7SPA-H"),
++              },
++      },
+       { }     /* terminating entry */
+ };
diff --git a/queue-3.0/i915-quirk-no_lvds-on-gigabyte-ga-d525tud-itx-motherboard.patch b/queue-3.0/i915-quirk-no_lvds-on-gigabyte-ga-d525tud-itx-motherboard.patch
new file mode 100644 (file)
index 0000000..7849a2c
--- /dev/null
@@ -0,0 +1,46 @@
+From a51d4ed01e5bb39d2cf36a12f9976ab08872c192 Mon Sep 17 00:00:00 2001
+From: Calvin Walton <calvin.walton@kepstin.ca>
+Date: Fri, 24 Aug 2012 07:56:31 -0400
+Subject: i915: Quirk no_lvds on Gigabyte GA-D525TUD ITX motherboard
+
+From: Calvin Walton <calvin.walton@kepstin.ca>
+
+commit a51d4ed01e5bb39d2cf36a12f9976ab08872c192 upstream.
+
+This board is incorrectly detected as having an LVDS connector,
+resulting in the VGA output (the only available output on the board)
+showing the console only in the top-left 1024x768 pixels, and an extra
+LVDS connector appearing in X.
+
+It's a desktop Mini-ITX board using an Atom D525 CPU with an NM10
+chipset.
+
+I've had this board for about a year, but this is the first time I
+noticed the issue because I've been running it headless for most of its
+life.
+
+Signed-off-by: Calvin Walton <calvin.walton@kepstin.ca>
+Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/gpu/drm/i915/intel_lvds.c |    8 ++++++++
+ 1 file changed, 8 insertions(+)
+
+--- a/drivers/gpu/drm/i915/intel_lvds.c
++++ b/drivers/gpu/drm/i915/intel_lvds.c
+@@ -759,6 +759,14 @@ static const struct dmi_system_id intel_
+                       DMI_MATCH(DMI_BOARD_NAME, "ZBOXSD-ID12/ID13"),
+               },
+       },
++      {
++              .callback = intel_no_lvds_dmi_callback,
++              .ident = "Gigabyte GA-D525TUD",
++              .matches = {
++                      DMI_MATCH(DMI_BOARD_VENDOR, "Gigabyte Technology Co., Ltd."),
++                      DMI_MATCH(DMI_BOARD_NAME, "D525TUD"),
++              },
++      },
+       { }     /* terminating entry */
+ };
diff --git a/queue-3.0/route-release-dst_entry.hh_cache-when-handling-redirects.patch b/queue-3.0/route-release-dst_entry.hh_cache-when-handling-redirects.patch
new file mode 100644 (file)
index 0000000..18d7904
--- /dev/null
@@ -0,0 +1,45 @@
+From mkubecek@suse.cz  Thu Dec  6 12:03:48 2012
+From: Michal Kubecek <mkubecek@suse.cz>
+Date: Tue, 4 Dec 2012 11:09:13 +0100
+Subject: [PATCH 3.0.y] route: release dst_entry.hh_cache when handling redirects
+To: stable@vger.kernel.org
+Cc: netdev@vger.kernel.org, Eric Dumazet <eric.dumazet@gmail.com>
+Message-ID: <20121204110503.202EFC7E6F@unicorn.suse.cz>
+
+From: Michal Kubecek <mkubecek@suse.cz>
+
+Stable-3.0 commit 42ab5316 (ipv4: fix redirect handling) was
+backport of mainline commit 9cc20b26 from 3.2-rc3 where hh
+member of struct dst_entry was already gone.
+
+However, in 3.0 we still have it and we have to clean it as
+well, otherwise it keeps pointing to the cleaned up (and
+unusable) hh_cache entry and packets cannot be sent out.
+
+Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
+Cc: Eric Dumazet <eric.dumazet@gmail.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ net/ipv4/route.c |    4 ++++
+ 1 file changed, 4 insertions(+)
+
+--- a/net/ipv4/route.c
++++ b/net/ipv4/route.c
+@@ -1374,6 +1374,7 @@ static int check_peer_redir(struct dst_e
+       struct rtable *rt = (struct rtable *) dst;
+       __be32 orig_gw = rt->rt_gateway;
+       struct neighbour *n, *old_n;
++      struct hh_cache *old_hh;
+       dst_confirm(&rt->dst);
+@@ -1381,6 +1382,9 @@ static int check_peer_redir(struct dst_e
+       n = __arp_bind_neighbour(&rt->dst, rt->rt_gateway);
+       if (IS_ERR(n))
+               return PTR_ERR(n);
++      old_hh = xchg(&rt->dst.hh, NULL);
++      if (old_hh)
++              hh_cache_put(old_hh);
+       old_n = xchg(&rt->dst._neighbour, n);
+       if (old_n)
+               neigh_release(old_n);
diff --git a/queue-3.0/scsi-silence-unnecessary-warnings-about-ioctl-to-partition.patch b/queue-3.0/scsi-silence-unnecessary-warnings-about-ioctl-to-partition.patch
new file mode 100644 (file)
index 0000000..74599bd
--- /dev/null
@@ -0,0 +1,50 @@
+From 6d9359280753d2955f86d6411047516a9431eb51 Mon Sep 17 00:00:00 2001
+From: Jan Kara <jack@suse.cz>
+Date: Fri, 15 Jun 2012 12:52:46 +0200
+Subject: scsi: Silence unnecessary warnings about ioctl to partition
+
+From: Jan Kara <jack@suse.cz>
+
+commit 6d9359280753d2955f86d6411047516a9431eb51 upstream.
+
+Sometimes, warnings about ioctls to partition happen often enough that they
+form majority of the warnings in the kernel log and users complain. In some
+cases warnings are about ioctls such as SG_IO so it's not good to get rid of
+the warnings completely as they can ease debugging of userspace problems
+when ioctl is refused.
+
+Since I have seen warnings from lots of commands, including some proprietary
+userspace applications, I don't think disallowing the ioctls for processes
+with CAP_SYS_RAWIO will happen in the near future if ever. So lets just
+stop warning for processes with CAP_SYS_RAWIO for which ioctl is allowed.
+
+Acked-by: Paolo Bonzini <pbonzini@redhat.com>
+CC: James Bottomley <JBottomley@parallels.com>
+CC: linux-scsi@vger.kernel.org
+Signed-off-by: Jan Kara <jack@suse.cz>
+Signed-off-by: Jens Axboe <axboe@kernel.dk>
+Cc: Satoru Takeuchi <satoru.takeuchi@gmail.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ block/scsi_ioctl.c |    5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+--- a/block/scsi_ioctl.c
++++ b/block/scsi_ioctl.c
+@@ -722,11 +722,14 @@ int scsi_verify_blk_ioctl(struct block_d
+               break;
+       }
++      if (capable(CAP_SYS_RAWIO))
++              return 0;
++
+       /* In particular, rule out all resets and host-specific ioctls.  */
+       printk_ratelimited(KERN_WARNING
+                          "%s: sending ioctl %x to a partition!\n", current->comm, cmd);
+-      return capable(CAP_SYS_RAWIO) ? 0 : -ENOTTY;
++      return -ENOTTY;
+ }
+ EXPORT_SYMBOL(scsi_verify_blk_ioctl);
index 1645d7cca288fd3fa20bfd59652b633ebf43e9cb..c3b2c8eae1f27b848d20df19dcfa280ec44f2034 100644 (file)
@@ -4,3 +4,8 @@ mm-vmemmap-fix-wrong-use-of-virt_to_page.patch
 mm-soft-offline-split-thp-at-the-beginning-of-soft_offline_page.patch
 workqueue-exit-rescuer_thread-as-task_running.patch
 revert-sched-autogroup-stop-going-ahead-if-autogroup-is-disabled.patch
+route-release-dst_entry.hh_cache-when-handling-redirects.patch
+acpi-missing-break.patch
+i915-quirk-no_lvds-on-gigabyte-ga-d525tud-itx-motherboard.patch
+drm-i915-add-no-lvds-quirk-for-supermicro-x7spa-h.patch
+scsi-silence-unnecessary-warnings-about-ioctl-to-partition.patch