]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
3.10-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Mar 2015 10:43:05 +0000 (11:43 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Mar 2015 10:43:05 +0000 (11:43 +0100)
added patches:
change-email-address-for-8250_pci.patch
drm-radeon-do-a-posting-read-in-evergreen_set_irq.patch
drm-radeon-do-a-posting-read-in-r100_set_irq.patch
drm-radeon-do-a-posting-read-in-r600_set_irq.patch
drm-radeon-do-a-posting-read-in-rs600_set_irq.patch
drm-radeon-do-a-posting-read-in-si_set_irq.patch
drm-radeon-drop-setting-upll-to-sleep-mode.patch
drm-radeon-fix-drm_ioctl_radeon_cs-oops.patch
fuse-notify-don-t-move-pages.patch
fuse-set-stolen-page-uptodate.patch
virtio_console-init-work-unconditionally.patch

12 files changed:
queue-3.10/change-email-address-for-8250_pci.patch [new file with mode: 0644]
queue-3.10/drm-radeon-do-a-posting-read-in-evergreen_set_irq.patch [new file with mode: 0644]
queue-3.10/drm-radeon-do-a-posting-read-in-r100_set_irq.patch [new file with mode: 0644]
queue-3.10/drm-radeon-do-a-posting-read-in-r600_set_irq.patch [new file with mode: 0644]
queue-3.10/drm-radeon-do-a-posting-read-in-rs600_set_irq.patch [new file with mode: 0644]
queue-3.10/drm-radeon-do-a-posting-read-in-si_set_irq.patch [new file with mode: 0644]
queue-3.10/drm-radeon-drop-setting-upll-to-sleep-mode.patch [new file with mode: 0644]
queue-3.10/drm-radeon-fix-drm_ioctl_radeon_cs-oops.patch [new file with mode: 0644]
queue-3.10/fuse-notify-don-t-move-pages.patch [new file with mode: 0644]
queue-3.10/fuse-set-stolen-page-uptodate.patch [new file with mode: 0644]
queue-3.10/series
queue-3.10/virtio_console-init-work-unconditionally.patch [new file with mode: 0644]

diff --git a/queue-3.10/change-email-address-for-8250_pci.patch b/queue-3.10/change-email-address-for-8250_pci.patch
new file mode 100644 (file)
index 0000000..efeb6e2
--- /dev/null
@@ -0,0 +1,30 @@
+From f2e0ea861117bda073d1d7ffbd3120c07c0d5d34 Mon Sep 17 00:00:00 2001
+From: Russell King <rmk+kernel@arm.linux.org.uk>
+Date: Fri, 6 Mar 2015 10:49:21 +0000
+Subject: Change email address for 8250_pci
+
+From: Russell King <rmk+kernel@arm.linux.org.uk>
+
+commit f2e0ea861117bda073d1d7ffbd3120c07c0d5d34 upstream.
+
+I'm still receiving reports to my email address, so let's point this
+at the linux-serial mailing list instead.
+
+Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/tty/serial/8250/8250_pci.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/drivers/tty/serial/8250/8250_pci.c
++++ b/drivers/tty/serial/8250/8250_pci.c
+@@ -68,7 +68,7 @@ static void moan_device(const char *str,
+              "Please send the output of lspci -vv, this\n"
+              "message (0x%04x,0x%04x,0x%04x,0x%04x), the\n"
+              "manufacturer and name of serial board or\n"
+-             "modem board to rmk+serial@arm.linux.org.uk.\n",
++             "modem board to <linux-serial@vger.kernel.org>.\n",
+              pci_name(dev), str, dev->vendor, dev->device,
+              dev->subsystem_vendor, dev->subsystem_device);
+ }
diff --git a/queue-3.10/drm-radeon-do-a-posting-read-in-evergreen_set_irq.patch b/queue-3.10/drm-radeon-do-a-posting-read-in-evergreen_set_irq.patch
new file mode 100644 (file)
index 0000000..2e027a3
--- /dev/null
@@ -0,0 +1,33 @@
+From c320bb5f6dc0cb88a811cbaf839303e0a3916a92 Mon Sep 17 00:00:00 2001
+From: Alex Deucher <alexander.deucher@amd.com>
+Date: Mon, 2 Mar 2015 20:42:53 -0500
+Subject: drm/radeon: do a posting read in evergreen_set_irq
+
+From: Alex Deucher <alexander.deucher@amd.com>
+
+commit c320bb5f6dc0cb88a811cbaf839303e0a3916a92 upstream.
+
+To make sure the writes go through the pci bridge.
+
+bug:
+https://bugzilla.kernel.org/show_bug.cgi?id=90741
+
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/gpu/drm/radeon/evergreen.c |    3 +++
+ 1 file changed, 3 insertions(+)
+
+--- a/drivers/gpu/drm/radeon/evergreen.c
++++ b/drivers/gpu/drm/radeon/evergreen.c
+@@ -4016,6 +4016,9 @@ int evergreen_irq_set(struct radeon_devi
+       WREG32(AFMT_AUDIO_PACKET_CONTROL + EVERGREEN_CRTC4_REGISTER_OFFSET, afmt5);
+       WREG32(AFMT_AUDIO_PACKET_CONTROL + EVERGREEN_CRTC5_REGISTER_OFFSET, afmt6);
++      /* posting read */
++      RREG32(SRBM_STATUS);
++
+       return 0;
+ }
diff --git a/queue-3.10/drm-radeon-do-a-posting-read-in-r100_set_irq.patch b/queue-3.10/drm-radeon-do-a-posting-read-in-r100_set_irq.patch
new file mode 100644 (file)
index 0000000..f226367
--- /dev/null
@@ -0,0 +1,34 @@
+From f957063fee6392bb9365370db6db74dc0b2dce0a Mon Sep 17 00:00:00 2001
+From: Alex Deucher <alexander.deucher@amd.com>
+Date: Mon, 2 Mar 2015 20:36:26 -0500
+Subject: drm/radeon: do a posting read in r100_set_irq
+
+From: Alex Deucher <alexander.deucher@amd.com>
+
+commit f957063fee6392bb9365370db6db74dc0b2dce0a upstream.
+
+To make sure the writes go through the pci bridge.
+
+bug:
+https://bugzilla.kernel.org/show_bug.cgi?id=90741
+
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/gpu/drm/radeon/r100.c |    4 ++++
+ 1 file changed, 4 insertions(+)
+
+--- a/drivers/gpu/drm/radeon/r100.c
++++ b/drivers/gpu/drm/radeon/r100.c
+@@ -743,6 +743,10 @@ int r100_irq_set(struct radeon_device *r
+               tmp |= RADEON_FP2_DETECT_MASK;
+       }
+       WREG32(RADEON_GEN_INT_CNTL, tmp);
++
++      /* read back to post the write */
++      RREG32(RADEON_GEN_INT_CNTL);
++
+       return 0;
+ }
diff --git a/queue-3.10/drm-radeon-do-a-posting-read-in-r600_set_irq.patch b/queue-3.10/drm-radeon-do-a-posting-read-in-r600_set_irq.patch
new file mode 100644 (file)
index 0000000..71e6fe2
--- /dev/null
@@ -0,0 +1,33 @@
+From 9d1393f23d5656cdd5f368efd60694d4aeed81d3 Mon Sep 17 00:00:00 2001
+From: Alex Deucher <alexander.deucher@amd.com>
+Date: Mon, 2 Mar 2015 20:41:31 -0500
+Subject: drm/radeon: do a posting read in r600_set_irq
+
+From: Alex Deucher <alexander.deucher@amd.com>
+
+commit 9d1393f23d5656cdd5f368efd60694d4aeed81d3 upstream.
+
+To make sure the writes go through the pci bridge.
+
+bug:
+https://bugzilla.kernel.org/show_bug.cgi?id=90741
+
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/gpu/drm/radeon/r600.c |    3 +++
+ 1 file changed, 3 insertions(+)
+
+--- a/drivers/gpu/drm/radeon/r600.c
++++ b/drivers/gpu/drm/radeon/r600.c
+@@ -3459,6 +3459,9 @@ int r600_init(struct radeon_device *rdev
+               rdev->accel_working = false;
+       }
++      /* posting read */
++      RREG32(R_000E50_SRBM_STATUS);
++
+       return 0;
+ }
diff --git a/queue-3.10/drm-radeon-do-a-posting-read-in-rs600_set_irq.patch b/queue-3.10/drm-radeon-do-a-posting-read-in-rs600_set_irq.patch
new file mode 100644 (file)
index 0000000..4429780
--- /dev/null
@@ -0,0 +1,34 @@
+From 54acf107e4e66d1f4a697e08a7f60dba9fcf07c3 Mon Sep 17 00:00:00 2001
+From: Alex Deucher <alexander.deucher@amd.com>
+Date: Mon, 2 Mar 2015 20:39:56 -0500
+Subject: drm/radeon: do a posting read in rs600_set_irq
+
+From: Alex Deucher <alexander.deucher@amd.com>
+
+commit 54acf107e4e66d1f4a697e08a7f60dba9fcf07c3 upstream.
+
+To make sure the writes go through the pci bridge.
+
+bug:
+https://bugzilla.kernel.org/show_bug.cgi?id=90741
+
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/gpu/drm/radeon/rs600.c |    4 ++++
+ 1 file changed, 4 insertions(+)
+
+--- a/drivers/gpu/drm/radeon/rs600.c
++++ b/drivers/gpu/drm/radeon/rs600.c
+@@ -636,6 +636,10 @@ int rs600_irq_set(struct radeon_device *
+       WREG32(R_007D18_DC_HOT_PLUG_DETECT2_INT_CONTROL, hpd2);
+       if (ASIC_IS_DCE2(rdev))
+               WREG32(R_007408_HDMI0_AUDIO_PACKET_CONTROL, hdmi0);
++
++      /* posting read */
++      RREG32(R_000040_GEN_INT_CNTL);
++
+       return 0;
+ }
diff --git a/queue-3.10/drm-radeon-do-a-posting-read-in-si_set_irq.patch b/queue-3.10/drm-radeon-do-a-posting-read-in-si_set_irq.patch
new file mode 100644 (file)
index 0000000..4799f4f
--- /dev/null
@@ -0,0 +1,32 @@
+From 0586915ec10d0ae60de5cd3381ad25a704760402 Mon Sep 17 00:00:00 2001
+From: Alex Deucher <alexander.deucher@amd.com>
+Date: Mon, 2 Mar 2015 20:43:53 -0500
+Subject: drm/radeon: do a posting read in si_set_irq
+
+From: Alex Deucher <alexander.deucher@amd.com>
+
+commit 0586915ec10d0ae60de5cd3381ad25a704760402 upstream.
+
+To make sure the writes go through the pci bridge.
+
+bug:
+https://bugzilla.kernel.org/show_bug.cgi?id=90741
+
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/gpu/drm/radeon/si.c |    3 +++
+ 1 file changed, 3 insertions(+)
+
+--- a/drivers/gpu/drm/radeon/si.c
++++ b/drivers/gpu/drm/radeon/si.c
+@@ -5778,5 +5778,8 @@ int si_set_uvd_clocks(struct radeon_devi
+       mdelay(100);
++      /* posting read */
++      RREG32(SRBM_STATUS);
++
+       return 0;
+ }
diff --git a/queue-3.10/drm-radeon-drop-setting-upll-to-sleep-mode.patch b/queue-3.10/drm-radeon-drop-setting-upll-to-sleep-mode.patch
new file mode 100644 (file)
index 0000000..d800e11
--- /dev/null
@@ -0,0 +1,46 @@
+From a17d4996e051e78d164989b894608cf37cd5110b Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Christian=20K=C3=B6nig?= <christian.koenig@amd.com>
+Date: Thu, 19 Feb 2015 09:40:28 +0100
+Subject: drm/radeon: drop setting UPLL to sleep mode
+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 a17d4996e051e78d164989b894608cf37cd5110b upstream.
+
+Just keep it working, seems to fix some PLL problems.
+
+Bug: https://bugs.freedesktop.org/show_bug.cgi?id=73378
+
+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 |    6 ++----
+ 1 file changed, 2 insertions(+), 4 deletions(-)
+
+--- a/drivers/gpu/drm/radeon/si.c
++++ b/drivers/gpu/drm/radeon/si.c
+@@ -5704,8 +5704,7 @@ int si_set_uvd_clocks(struct radeon_devi
+       WREG32_P(CG_UPLL_FUNC_CNTL, UPLL_BYPASS_EN_MASK, ~UPLL_BYPASS_EN_MASK);
+       if (!vclk || !dclk) {
+-              /* keep the Bypass mode, put PLL to sleep */
+-              WREG32_P(CG_UPLL_FUNC_CNTL, UPLL_SLEEP_MASK, ~UPLL_SLEEP_MASK);
++              /* keep the Bypass mode */
+               return 0;
+       }
+@@ -5721,8 +5720,7 @@ int si_set_uvd_clocks(struct radeon_devi
+       /* set VCO_MODE to 1 */
+       WREG32_P(CG_UPLL_FUNC_CNTL, UPLL_VCO_MODE_MASK, ~UPLL_VCO_MODE_MASK);
+-      /* toggle UPLL_SLEEP to 1 then back to 0 */
+-      WREG32_P(CG_UPLL_FUNC_CNTL, UPLL_SLEEP_MASK, ~UPLL_SLEEP_MASK);
++      /* disable sleep mode */
+       WREG32_P(CG_UPLL_FUNC_CNTL, 0, ~UPLL_SLEEP_MASK);
+       /* deassert UPLL_RESET */
diff --git a/queue-3.10/drm-radeon-fix-drm_ioctl_radeon_cs-oops.patch b/queue-3.10/drm-radeon-fix-drm_ioctl_radeon_cs-oops.patch
new file mode 100644 (file)
index 0000000..27f87d0
--- /dev/null
@@ -0,0 +1,103 @@
+From a28b2a47edcd0cb7c051b445f71a426000394606 Mon Sep 17 00:00:00 2001
+From: Tommi Rantala <tt.rantala@gmail.com>
+Date: Mon, 2 Mar 2015 21:36:07 +0200
+Subject: drm/radeon: fix DRM_IOCTL_RADEON_CS oops
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+From: Tommi Rantala <tt.rantala@gmail.com>
+
+commit a28b2a47edcd0cb7c051b445f71a426000394606 upstream.
+
+Passing zeroed drm_radeon_cs struct to DRM_IOCTL_RADEON_CS produces the
+following oops.
+
+Fix by always calling INIT_LIST_HEAD() to avoid the crash in list_sort().
+
+----------------------------------
+
+ #include <stdint.h>
+ #include <fcntl.h>
+ #include <unistd.h>
+ #include <sys/ioctl.h>
+ #include <drm/radeon_drm.h>
+
+ static const struct drm_radeon_cs cs;
+
+ int main(int argc, char **argv)
+ {
+         return ioctl(open(argv[1], O_RDWR), DRM_IOCTL_RADEON_CS, &cs);
+ }
+
+----------------------------------
+
+[ttrantal@test2 ~]$ ./main /dev/dri/card0
+[   46.904650] BUG: unable to handle kernel NULL pointer dereference at           (null)
+[   46.905022] IP: [<ffffffff814d6df2>] list_sort+0x42/0x240
+[   46.905022] PGD 68f29067 PUD 688b5067 PMD 0
+[   46.905022] Oops: 0002 [#1] SMP
+[   46.905022] CPU: 0 PID: 2413 Comm: main Not tainted 4.0.0-rc1+ #58
+[   46.905022] Hardware name: Hewlett-Packard HP Compaq dc5750 Small Form Factor/0A64h, BIOS 786E3 v02.10 01/25/2007
+[   46.905022] task: ffff880058e2bcc0 ti: ffff880058e64000 task.ti: ffff880058e64000
+[   46.905022] RIP: 0010:[<ffffffff814d6df2>]  [<ffffffff814d6df2>] list_sort+0x42/0x240
+[   46.905022] RSP: 0018:ffff880058e67998  EFLAGS: 00010246
+[   46.905022] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
+[   46.905022] RDX: ffffffff81644410 RSI: ffff880058e67b40 RDI: ffff880058e67a58
+[   46.905022] RBP: ffff880058e67a88 R08: 0000000000000000 R09: 0000000000000000
+[   46.905022] R10: ffff880058e2bcc0 R11: ffffffff828e6ca0 R12: ffffffff81644410
+[   46.905022] R13: ffff8800694b8018 R14: 0000000000000000 R15: ffff880058e679b0
+[   46.905022] FS:  00007fdc65a65700(0000) GS:ffff88006d600000(0000) knlGS:0000000000000000
+[   46.905022] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
+[   46.905022] CR2: 0000000000000000 CR3: 0000000058dd9000 CR4: 00000000000006f0
+[   46.905022] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
+[   46.905022] DR3: 0000000000000000 DR6: 00000000ffff4ff0 DR7: 0000000000000400
+[   46.905022] Stack:
+[   46.905022]  ffff880058e67b40 ffff880058e2bcc0 ffff880058e67a78 0000000000000000
+[   46.905022]  0000000000000000 0000000000000000 0000000000000000 0000000000000000
+[   46.905022]  0000000000000000 0000000000000000 0000000000000000 0000000000000000
+[   46.905022] Call Trace:
+[   46.905022]  [<ffffffff81644a65>] radeon_cs_parser_fini+0x195/0x220
+[   46.905022]  [<ffffffff81645069>] radeon_cs_ioctl+0xa9/0x960
+[   46.905022]  [<ffffffff815e1f7c>] drm_ioctl+0x19c/0x640
+[   46.905022]  [<ffffffff810f8fdd>] ? trace_hardirqs_on_caller+0xfd/0x1c0
+[   46.905022]  [<ffffffff810f90ad>] ? trace_hardirqs_on+0xd/0x10
+[   46.905022]  [<ffffffff8160c066>] radeon_drm_ioctl+0x46/0x80
+[   46.905022]  [<ffffffff81211868>] do_vfs_ioctl+0x318/0x570
+[   46.905022]  [<ffffffff81462ef6>] ? selinux_file_ioctl+0x56/0x110
+[   46.905022]  [<ffffffff81211b41>] SyS_ioctl+0x81/0xa0
+[   46.905022]  [<ffffffff81dc6312>] system_call_fastpath+0x12/0x17
+[   46.905022] Code: 48 89 b5 10 ff ff ff 0f 84 03 01 00 00 4c 8d bd 28 ff ff
+ff 31 c0 48 89 fb b9 15 00 00 00 49 89 d4 4c 89 ff f3 48 ab 48 8b 46 08 <48> c7
+00 00 00 00 00 48 8b 0e 48 85 c9 0f 84 7d 00 00 00 c7 85
+[   46.905022] RIP  [<ffffffff814d6df2>] list_sort+0x42/0x240
+[   46.905022]  RSP <ffff880058e67998>
+[   46.905022] CR2: 0000000000000000
+[   47.149253] ---[ end trace 09576b4e8b2c20b8 ]---
+
+Reviewed-by: Christian König <christian.koenig@amd.com>
+Signed-off-by: Tommi Rantala <tt.rantala@gmail.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/gpu/drm/radeon/radeon_cs.c |    4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+--- a/drivers/gpu/drm/radeon/radeon_cs.c
++++ b/drivers/gpu/drm/radeon/radeon_cs.c
+@@ -177,11 +177,13 @@ int radeon_cs_parser_init(struct radeon_
+       u32 ring = RADEON_CS_RING_GFX;
+       s32 priority = 0;
++      INIT_LIST_HEAD(&p->validated);
++
+       if (!cs->num_chunks) {
+               return 0;
+       }
++
+       /* get chunks */
+-      INIT_LIST_HEAD(&p->validated);
+       p->idx = 0;
+       p->ib.sa_bo = NULL;
+       p->ib.semaphore = NULL;
diff --git a/queue-3.10/fuse-notify-don-t-move-pages.patch b/queue-3.10/fuse-notify-don-t-move-pages.patch
new file mode 100644 (file)
index 0000000..a713ac4
--- /dev/null
@@ -0,0 +1,32 @@
+From 0d2783626a53d4c922f82d51fa675cb5d13f0d36 Mon Sep 17 00:00:00 2001
+From: Miklos Szeredi <mszeredi@suse.cz>
+Date: Thu, 26 Feb 2015 11:45:47 +0100
+Subject: fuse: notify: don't move pages
+
+From: Miklos Szeredi <mszeredi@suse.cz>
+
+commit 0d2783626a53d4c922f82d51fa675cb5d13f0d36 upstream.
+
+fuse_try_move_page() is not prepared for replacing pages that have already
+been read.
+
+Reported-by: Al Viro <viro@zeniv.linux.org.uk>
+Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ fs/fuse/dev.c |    3 +++
+ 1 file changed, 3 insertions(+)
+
+--- a/fs/fuse/dev.c
++++ b/fs/fuse/dev.c
+@@ -1725,6 +1725,9 @@ copy_finish:
+ static int fuse_notify(struct fuse_conn *fc, enum fuse_notify_code code,
+                      unsigned int size, struct fuse_copy_state *cs)
+ {
++      /* Don't try to move pages (yet) */
++      cs->move_pages = 0;
++
+       switch (code) {
+       case FUSE_NOTIFY_POLL:
+               return fuse_notify_poll(fc, size, cs);
diff --git a/queue-3.10/fuse-set-stolen-page-uptodate.patch b/queue-3.10/fuse-set-stolen-page-uptodate.patch
new file mode 100644 (file)
index 0000000..20b6c5f
--- /dev/null
@@ -0,0 +1,34 @@
+From aa991b3b267e24f578bac7b09cc57579b660304b Mon Sep 17 00:00:00 2001
+From: Miklos Szeredi <mszeredi@suse.cz>
+Date: Thu, 26 Feb 2015 11:45:47 +0100
+Subject: fuse: set stolen page uptodate
+
+From: Miklos Szeredi <mszeredi@suse.cz>
+
+commit aa991b3b267e24f578bac7b09cc57579b660304b upstream.
+
+Regular pipe buffers' ->steal method (generic_pipe_buf_steal()) doesn't set
+PG_uptodate.
+
+Don't warn on this condition, just set the uptodate flag.
+
+Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ fs/fuse/dev.c |    4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+--- a/fs/fuse/dev.c
++++ b/fs/fuse/dev.c
+@@ -819,8 +819,8 @@ static int fuse_try_move_page(struct fus
+       newpage = buf->page;
+-      if (WARN_ON(!PageUptodate(newpage)))
+-              return -EIO;
++      if (!PageUptodate(newpage))
++              SetPageUptodate(newpage);
+       ClearPageMappedToDisk(newpage);
index bd2f9e9070004b68c909109d3f15746ce6c785bf..01e32178db22045d99cb3ad9fda5eef0356c09f1 100644 (file)
@@ -13,3 +13,14 @@ revert-net-cx82310_eth-use-common-match-macro.patch
 tcp-fix-tcp-fin-memory-accounting.patch
 net-compat-update-get_compat_msghdr-to-match-copy_msghdr_from_user-behaviour.patch
 tcp-make-connect-mem-charging-friendly.patch
+drm-radeon-fix-drm_ioctl_radeon_cs-oops.patch
+drm-radeon-do-a-posting-read-in-evergreen_set_irq.patch
+drm-radeon-do-a-posting-read-in-r100_set_irq.patch
+drm-radeon-do-a-posting-read-in-r600_set_irq.patch
+drm-radeon-do-a-posting-read-in-si_set_irq.patch
+drm-radeon-do-a-posting-read-in-rs600_set_irq.patch
+drm-radeon-drop-setting-upll-to-sleep-mode.patch
+fuse-set-stolen-page-uptodate.patch
+fuse-notify-don-t-move-pages.patch
+virtio_console-init-work-unconditionally.patch
+change-email-address-for-8250_pci.patch
diff --git a/queue-3.10/virtio_console-init-work-unconditionally.patch b/queue-3.10/virtio_console-init-work-unconditionally.patch
new file mode 100644 (file)
index 0000000..7b25221
--- /dev/null
@@ -0,0 +1,38 @@
+From 4f6e24ed9de8634d6471ef86b382cba6d4e57ca8 Mon Sep 17 00:00:00 2001
+From: "Michael S. Tsirkin" <mst@redhat.com>
+Date: Thu, 5 Mar 2015 10:45:30 +1030
+Subject: virtio_console: init work unconditionally
+
+From: "Michael S. Tsirkin" <mst@redhat.com>
+
+commit 4f6e24ed9de8634d6471ef86b382cba6d4e57ca8 upstream.
+
+when multiport is off, we don't initialize config work,
+but we then cancel uninitialized control_work on freeze.
+
+Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
+Reviewed-by: Amit Shah <amit.shah@redhat.com>
+Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/char/virtio_console.c |    3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+--- a/drivers/char/virtio_console.c
++++ b/drivers/char/virtio_console.c
+@@ -2023,12 +2023,13 @@ static int virtcons_probe(struct virtio_
+       spin_lock_init(&portdev->ports_lock);
+       INIT_LIST_HEAD(&portdev->ports);
++      INIT_WORK(&portdev->control_work, &control_work_handler);
++
+       if (multiport) {
+               unsigned int nr_added_bufs;
+               spin_lock_init(&portdev->c_ivq_lock);
+               spin_lock_init(&portdev->c_ovq_lock);
+-              INIT_WORK(&portdev->control_work, &control_work_handler);
+               nr_added_bufs = fill_queue(portdev->c_ivq,
+                                          &portdev->c_ivq_lock);