rpms/kernel/F-10 linux-2.6-char-remove-low_latency-nozomi-mxser.patch, NONE, 1.1.2.1 kernel.spec, 1.1206.2.80, 1.1206.2.81
Chuck Ebbert
cebbert at fedoraproject.org
Mon Aug 17 06:18:18 UTC 2009
Author: cebbert
Update of /cvs/pkgs/rpms/kernel/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv32627
Modified Files:
Tag: private-fedora-10-2_6_27
kernel.spec
Added Files:
Tag: private-fedora-10-2_6_27
linux-2.6-char-remove-low_latency-nozomi-mxser.patch
Log Message:
Backport F-11 patch to fix oopses in nozomi and mxser drivers.
linux-2.6-char-remove-low_latency-nozomi-mxser.patch:
mxser.c | 2 --
nozomi.c | 1 -
2 files changed, 3 deletions(-)
--- NEW FILE linux-2.6-char-remove-low_latency-nozomi-mxser.patch ---
From: Chuck Ebbert <cebbert at redhat.com>
Date: Wed, 24 Jun 2009 17:35:13 +0000 (+0100)
Subject: Remove low_latency flag setting from nozomi and mxser drivers
X-Git-Tag: v2.6.31-rc1~16
X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=commitdiff_plain;h=4d8d4d251df8eaaa3dae71c8cfa7fbf4510d967d
[cebbert at redhat.com: backport to 2.6.27]
Remove low_latency flag setting from nozomi and mxser drivers
The kernel oopses if this flag is set.
[and neither driver should set it as they call tty_flip_buffer_push from IRQ
paths so have always been buggy]
Signed-off-by: Chuck Ebbert <cebbert at redhat.com>
Signed-off-by: Alan Cox <alan at linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
---
diff --git a/drivers/char/mxser.c b/drivers/char/mxser.c
index 9533f43..52d953e 100644
--- a/drivers/char/mxser.c
+++ b/drivers/char/mxser.c
@@ -1048,8 +1048,6 @@ static int mxser_open(struct tty_struct *tty, struct file *filp)
if (retval)
return retval;
- /* unmark here for very high baud rate (ex. 921600 bps) used */
- tty->low_latency = 1;
return 0;
}
diff --git a/drivers/char/nozomi.c b/drivers/char/nozomi.c
index d6102b6..574f1c7 100644
--- a/drivers/char/nozomi.c
+++ b/drivers/char/nozomi.c
@@ -1591,7 +1591,6 @@ static int ntty_open(struct tty_struct *tty, struct file *file)
/* Enable interrupt downlink for channel */
if (port->tty_open_count == 1) {
- tty->low_latency = 1;
tty->driver_data = port;
port->tty = tty;
DBG1("open: %d", port->token_dl);
Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-10/kernel.spec,v
retrieving revision 1.1206.2.80
retrieving revision 1.1206.2.81
diff -u -p -r1.1206.2.80 -r1.1206.2.81
--- kernel.spec 17 Aug 2009 02:11:54 -0000 1.1206.2.80
+++ kernel.spec 17 Aug 2009 06:18:16 -0000 1.1206.2.81
@@ -639,6 +639,8 @@ Patch454: linux-2.6-input.git-i8042-add-
# 490250
Patch455: linux-2.6-input.git-i8042-add-vostro-1510-to-nomux.patch
+Patch458: linux-2.6-char-remove-low_latency-nozomi-mxser.patch
+
Patch460: linux-2.6-serial-460800.patch
Patch510: linux-2.6-silence-noise.patch
Patch530: linux-2.6-silence-fbcon-logo.patch
@@ -1264,6 +1266,8 @@ ApplyPatch linux-2.6.27-hwmon-applesmc-2
ApplyPatch linux-2.6-input.git-i8042-add-xps-m1530-to-nomux.patch
# 490250
ApplyPatch linux-2.6-input.git-i8042-add-vostro-1510-to-nomux.patch
+# from f-11: fix oopses in nozomi and mxser driver
+ApplyPatch linux-2.6-char-remove-low_latency-nozomi-mxser.patch
# Allow to use 480600 baud on 16C950 UARTs
ApplyPatch linux-2.6-serial-460800.patch
@@ -1991,6 +1995,9 @@ fi
%kernel_variant_files -k vmlinux %{with_kdump} kdump
%changelog
+* Mon Aug 17 2009 Chuck Ebbert <cebbert at redhat.com> 2.6.27.30-170.2.81
+- Backport F-11 patch to fix oopses in nozomi and mxser drivers.
+
* Sun Aug 16 2009 Chuck Ebbert <cebbert at redhat.com> 2.6.27.30-170.2.80
- Linux 2.6.27.30
- Dropped patch make-sock_sendpage-use-kernel_sendpage.patch
More information about the fedora-extras-commits
mailing list