rpms/kernel/F-8 patch-2.6.24.4.bz2.sign, NONE, 1.1 .cvsignore, 1.717, 1.718 kernel.spec, 1.398, 1.399 linux-2.6-upstream-reverts.patch, 1.6, 1.7 sources, 1.678, 1.679 upstream, 1.599, 1.600 linux-2.6-futex-fix-fixups.patch, 1.3, NONE linux-2.6-libata-fix-hpt-svw-dma-masking.patch, 1.1, NONE linux-2.6-x86-dont-use-p6-nops.patch, 1.2, NONE patch-2.6.24.3.bz2.sign, 1.1, NONE

Chuck Ebbert (cebbert) fedora-extras-commits at redhat.com
Mon Mar 24 22:05:48 UTC 2008


Author: cebbert

Update of /cvs/pkgs/rpms/kernel/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3348

Modified Files:
	.cvsignore kernel.spec linux-2.6-upstream-reverts.patch 
	sources upstream 
Added Files:
	patch-2.6.24.4.bz2.sign 
Removed Files:
	linux-2.6-futex-fix-fixups.patch 
	linux-2.6-libata-fix-hpt-svw-dma-masking.patch 
	linux-2.6-x86-dont-use-p6-nops.patch patch-2.6.24.3.bz2.sign 
Log Message:
* Mon Mar 24 2008 Chuck Ebbert <cebbert at redhat.com> 2.6.24.4-53
- Linux 2.6.24.4



--- NEW FILE patch-2.6.24.4.bz2.sign ---
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: See http://www.kernel.org/signature.html for info

iD8DBQBH5/25yGugalF9Dw4RAoiHAJ0f1RYKRl4nncyw3o+4zZ85fzmSGgCbB7Vg
yPqPLP22CHp38A7wNOMErHE=
=kvYf
-----END PGP SIGNATURE-----


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-8/.cvsignore,v
retrieving revision 1.717
retrieving revision 1.718
diff -u -r1.717 -r1.718
--- .cvsignore	26 Feb 2008 14:12:46 -0000	1.717
+++ .cvsignore	24 Mar 2008 22:04:48 -0000	1.718
@@ -3,4 +3,4 @@
 temp-*
 kernel-2.6.24
 linux-2.6.24.tar.bz2
-patch-2.6.24.3.bz2
+patch-2.6.24.4.bz2


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-8/kernel.spec,v
retrieving revision 1.398
retrieving revision 1.399
diff -u -r1.398 -r1.399
--- kernel.spec	24 Mar 2008 15:14:33 -0000	1.398
+++ kernel.spec	24 Mar 2008 22:04:50 -0000	1.399
@@ -33,7 +33,7 @@
 ## If this is a released kernel ##
 %if 0%{?released_kernel}
 # Do we have a 2.6.21.y update to apply?
-%define stable_update 3
+%define stable_update 4
 # Set rpm version accordingly
 %if 0%{?stable_update}
 %define stablerev .%{stable_update}
@@ -587,7 +587,7 @@
 # Patch61: linux-2.6-x86-setup-add-near-jump.patch
 Patch70: linux-2.6-x86_64-silence-up-apic-errors.patch
 Patch75: linux-2.6-x86-debug-boot.patch
-Patch76: linux-2.6-x86-dont-use-p6-nops.patch
+# Patch76: linux-2.6-x86-dont-use-p6-nops.patch
 Patch77: linux-2.6-x86-clear-df-for-signals.patch
 
 Patch86: linux-2.6-alsa-support-sis7019.patch
@@ -652,14 +652,14 @@
 Patch590: linux-2.6-unexport-symbols.patch
 Patch600: linux-2.6-vm-silence-atomic-alloc-failures.patch
 # Patch602: linux-2.6-mm-fix-ptrace-access-beyond-vma.patch
-Patch605: linux-2.6-futex-fix-fixups.patch
+# Patch605: linux-2.6-futex-fix-fixups.patch
 
 Patch610: linux-2.6-defaults-fat-utf8.patch
 Patch620: linux-2.6-defaults-unicode-vt.patch
 Patch640: linux-2.6-defaults-nommconf.patch
 Patch660: linux-2.6-libata-ali-atapi-dma.patch
 Patch670: linux-2.6-ata-quirk.patch
-Patch671: linux-2.6-libata-fix-hpt-svw-dma-masking.patch
+# Patch671: linux-2.6-libata-fix-hpt-svw-dma-masking.patch
 Patch672: linux-2.6-libata-it821x-improve-emulation-handling.patch
 
 Patch680: linux-2.6-wireless.patch
@@ -1072,9 +1072,8 @@
 #ApplyPatch linux-2.6-x86_64-silence-up-apic-errors.patch
 # debug early boot
 #ApplyPatch linux-2.6-x86-debug-boot.patch
-# allow i686 kernel to boot on non-mainstream processors
-ApplyPatch linux-2.6-x86-dont-use-p6-nops.patch
 # clear DF before calling signal handlers
+# applied on top of utrace
 ApplyPatch linux-2.6-x86-clear-df-for-signals.patch
 
 #
@@ -1216,12 +1215,6 @@
 #
 # Silence GFP_ATOMIC failures.
 ApplyPatch linux-2.6-vm-silence-atomic-alloc-failures.patch
-# fix ptrace hang trying to access invalid memory location
-#ApplyPatch linux-2.6-mm-fix-ptrace-access-beyond-vma.patch
-# fix read after direct IO write returning stale data
-# restore /proc/slabinfo
-# fix oops with futex on uniprocessor machine
-ApplyPatch linux-2.6-futex-fix-fixups.patch
 
 # Changes to upstream defaults.
 # Use UTF-8 by default on VFAT.
@@ -1236,8 +1229,6 @@
 ApplyPatch linux-2.6-libata-ali-atapi-dma.patch
 # ia64 ata quirk
 ApplyPatch linux-2.6-ata-quirk.patch
-# actually mask the intended DMA modes from the blacklist
-ApplyPatch linux-2.6-libata-fix-hpt-svw-dma-masking.patch
 # fix some broken it821x adapters that have broken emulation
 ApplyPatch linux-2.6-libata-it821x-improve-emulation-handling.patch
 
@@ -1940,6 +1931,9 @@
 
 
 %changelog
+* Mon Mar 24 2008 Chuck Ebbert <cebbert at redhat.com> 2.6.24.4-53
+- Linux 2.6.24.4
+
 * Mon Mar 24 2008 Jarod Wilson <jwilson at redhat.com> 2.6.24.3-52
 - firewire: make sure phy config packets get sent before initiating bus
   reset. Fixes bugzilla.kernel.org #10128.

linux-2.6-upstream-reverts.patch:

Index: linux-2.6-upstream-reverts.patch
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-8/linux-2.6-upstream-reverts.patch,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- linux-2.6-upstream-reverts.patch	26 Feb 2008 18:42:15 -0000	1.6
+++ linux-2.6-upstream-reverts.patch	24 Mar 2008 22:04:51 -0000	1.7
@@ -714,30 +714,229 @@
  	/* First register RFkill.
  	 * LEDs that are registered later depend on it. */
  	b43_rfkill_init(dev);
-From ad89bc65f887c6fe6034a080f26755b2f4702aa9 Mon Sep 17 00:00:00 2001
-From: Stephen Hemminger <stephen.hemminger at vyatta.com>
-Date: Fri, 15 Feb 2008 01:31:32 -0800
-Subject: NET: Add if_addrlabel.h to sanitized headers.
+From aurelien at aurel32.net  Tue Mar 11 10:41:45 2008
+Date: Sat, 8 Mar 2008 11:43:52 +0100
+From: Aurelien Jarno <aurelien at aurel32.net>
+To: Greg Kroah-Hartman <greg at kroah.com>, Chris Wright <chrisw at sous-sol.org>
+Cc: stable at kernel.org, Ingo Molnar <mingo at redhat.com>, "H. Peter Anvin" <hpa at zytor.com>
+Subject: x86: Clear DF before calling signal handler
+Message-ID: <20080308104352.GA18303 at hall.aurel32.net>
 
-Upstream commit: dded91611a728d65721cdab3dd41d801a356fa15
+From: Aurelien Jarno <aurelien at aurel32.net>
 
-if_addrlabel.h is needed for iproute2 usage.
+x86: Clear DF before calling signal handler
 
-Signed-off-by: Stephen Hemminger <stephen.hemminger at vyatta.com>
-Signed-off-by: David S. Miller <davem at davemloft.net>
+The Linux kernel currently does not clear the direction flag before
+calling a signal handler, whereas the x86/x86-64 ABI requires that.
+This become a real problem with gcc version 4.3, which assumes that
+the direction flag is correctly cleared at the entry of a function.
+
+This patches changes the setup_frame() functions to clear the
+direction before entering the signal handler.
+
+This is a backport of patch e40cd10ccff3d9fbffd57b93780bee4b7b9bff51
+("x86: clear DF before calling signal handler") that has been applied
+in 2.6.25-rc.
+
+Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
+Signed-off-by: Chris Wright <chrisw at sous-sol.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>
+---
+
+FEDORA revert: we add this fix on top of utrace
+
+ arch/x86/ia32/ia32_signal.c |    4 ++--
+ arch/x86/kernel/signal_32.c |    4 ++--
+ arch/x86/kernel/signal_64.c |    2 +-
+ 3 files changed, 5 insertions(+), 5 deletions(-)
+
+--- a/arch/x86/ia32/ia32_signal.c
++++ b/arch/x86/ia32/ia32_signal.c
+@@ -494,7 +494,7 @@ int ia32_setup_frame(int sig, struct k_s
+ 	regs->ss = __USER32_DS; 
+ 
+ 	set_fs(USER_DS);
+-	regs->eflags &= ~TF_MASK;
++	regs->eflags &= ~(TF_MASK | X86_EFLAGS_DF);
+ 	if (test_thread_flag(TIF_SINGLESTEP))
+ 		ptrace_notify(SIGTRAP);
+ 
+@@ -600,7 +600,7 @@ int ia32_setup_rt_frame(int sig, struct 
+ 	regs->ss = __USER32_DS; 
+ 
+ 	set_fs(USER_DS);
+-	regs->eflags &= ~TF_MASK;
++	regs->eflags &= ~(TF_MASK | X86_EFLAGS_DF);
+ 	if (test_thread_flag(TIF_SINGLESTEP))
+ 		ptrace_notify(SIGTRAP);
+ 
+--- a/arch/x86/kernel/signal_32.c
++++ b/arch/x86/kernel/signal_32.c
+@@ -396,7 +396,7 @@ static int setup_frame(int sig, struct k
+ 	 * The tracer may want to single-step inside the
+ 	 * handler too.
+ 	 */
+-	regs->eflags &= ~TF_MASK;
++	regs->eflags &= ~(TF_MASK | X86_EFLAGS_DF);
+ 	if (test_thread_flag(TIF_SINGLESTEP))
+ 		ptrace_notify(SIGTRAP);
+ 
+@@ -489,7 +489,7 @@ static int setup_rt_frame(int sig, struc
+ 	 * The tracer may want to single-step inside the
+ 	 * handler too.
+ 	 */
+-	regs->eflags &= ~TF_MASK;
++	regs->eflags &= ~(TF_MASK | X86_EFLAGS_DF);
+ 	if (test_thread_flag(TIF_SINGLESTEP))
+ 		ptrace_notify(SIGTRAP);
+ 
+--- a/arch/x86/kernel/signal_64.c
++++ b/arch/x86/kernel/signal_64.c
+@@ -295,7 +295,7 @@ static int setup_rt_frame(int sig, struc
+ 	   see include/asm-x86_64/uaccess.h for details. */
+ 	set_fs(USER_DS);
+ 
+-	regs->eflags &= ~TF_MASK;
++	regs->eflags &= ~(TF_MASK | X86_EFLAGS_DF);
+ 	if (test_thread_flag(TIF_SINGLESTEP))
+ 		ptrace_notify(SIGTRAP);
+ #ifdef DEBUG_SIG
+From stable-bounces at linux.kernel.org  Wed Mar 12 14:13:11 2008
+From: Michael Buesch <mb at bu3sch.de>
+To: stable at kernel.org
+Date: Fri, 29 Feb 2008 12:55:41 +0100
+Content-Disposition: inline
+Message-Id: <200802291255.41906.mb at bu3sch.de>
+Cc: Greg KH <greg at kroah.com>, linux-wireless at vger.kernel.org, bcm43xx-dev at lists.berlios.de, alexey.zaytsev at gmail.com
+Subject: b43: Backport bcm4311 fix
+
+From: Michael Buesch <mb at bu3sch.de>
+
+This is a backport of upstream commit 013978b6 ("b43: Changes to enable
+BCM4311 rev 02 with wireless core revision 13") and the changes include
+the following:
+
+(1) Add the 802.11 rev 13 device to the ssb_device_id table to load b43.
+(2) Add PHY revision 9 to the supported list.
+(3) Change the 2-bit routing code for address extensions to 0b10 rather
+    than the 0b01 used for the 32-bit case.
+(4) Remove some magic numbers in the DMA setup.
+
+The DMA implementation for this chip supports full 64-bit addressing with
+one exception. Whenever the Descriptor Ring Buffer is in high memory, a
+fatal DMA error occurs. This problem was not present in 2.6.24-rc2 due
+to code to "Bias the placement of kernel pages at lower PFNs". When
+commit 44048d70 reverted that code, the DMA error appeared. As a "fix",
+use the GFP_DMA flag when allocating the buffer for 64-bit DMA. At present,
+this problem is thought to arise from a hardware error.
+
+Signed-off-by: Michael Buesch <mb at bu3sch.de>
+Cc: Larry Finger <Larry.Finger at lwfinger.net>
+Cc: John W. Linville <linville at tuxdriver.com>
+Cc: Alexey Zaytsev <alexey.zaytsev at gmail.com>
+Signed-off-by: Chris Wright <chrisw at sous-sol.org>
 Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>
 
 ---
- include/linux/Kbuild |    1 +
- 1 file changed, 1 insertion(+)
+ drivers/net/wireless/b43/dma.c  |   30 ++++++++++++++++++++++--------
+ drivers/net/wireless/b43/main.c |    3 ++-
+ 2 files changed, 24 insertions(+), 9 deletions(-)
 
---- a/include/linux/Kbuild
-+++ b/include/linux/Kbuild
-@@ -217,6 +217,7 @@ unifdef-y += i2o-dev.h
- unifdef-y += icmp.h
- unifdef-y += icmpv6.h
- unifdef-y += if_addr.h
-+unifdef-y += if_addrlabel.h
- unifdef-y += if_arp.h
- unifdef-y += if_bridge.h
- unifdef-y += if_ec.h
+--- a/drivers/net/wireless/b43/dma.c
++++ b/drivers/net/wireless/b43/dma.c
+@@ -165,7 +165,7 @@ static void op64_fill_descriptor(struct 
+ 	addrhi = (((u64) dmaaddr >> 32) & ~SSB_DMA_TRANSLATION_MASK);
+ 	addrext = (((u64) dmaaddr >> 32) & SSB_DMA_TRANSLATION_MASK)
+ 	    >> SSB_DMA_TRANSLATION_SHIFT;
+-	addrhi |= ssb_dma_translation(ring->dev->dev);
++	addrhi |= (ssb_dma_translation(ring->dev->dev) << 1);
+ 	if (slot == ring->nr_slots - 1)
+ 		ctl0 |= B43_DMA64_DCTL0_DTABLEEND;
+ 	if (start)
+@@ -426,9 +426,21 @@ static inline
+ static int alloc_ringmemory(struct b43_dmaring *ring)
+ {
+ 	struct device *dev = ring->dev->dev->dev;
++	gfp_t flags = GFP_KERNEL;
+ 
++	/* The specs call for 4K buffers for 30- and 32-bit DMA with 4K
++	 * alignment and 8K buffers for 64-bit DMA with 8K alignment. Testing
++	 * has shown that 4K is sufficient for the latter as long as the buffer
++	 * does not cross an 8K boundary.
++	 *
++	 * For unknown reasons - possibly a hardware error - the BCM4311 rev
++	 * 02, which uses 64-bit DMA, needs the ring buffer in very low memory,
++	 * which accounts for the GFP_DMA flag below.
++	 */
++	if (ring->dma64)
++		flags |= GFP_DMA;
+ 	ring->descbase = dma_alloc_coherent(dev, B43_DMA_RINGMEMSIZE,
+-					    &(ring->dmabase), GFP_KERNEL);
++					    &(ring->dmabase), flags);
+ 	if (!ring->descbase) {
+ 		b43err(ring->dev->wl, "DMA ringmemory allocation failed\n");
+ 		return -ENOMEM;
+@@ -483,7 +495,7 @@ int b43_dmacontroller_rx_reset(struct b4
+ 	return 0;
+ }
+ 
+-/* Reset the RX DMA channel */
++/* Reset the TX DMA channel */
+ int b43_dmacontroller_tx_reset(struct b43_wldev *dev, u16 mmio_base, int dma64)
+ {
+ 	int i;
+@@ -647,7 +659,7 @@ static int dmacontroller_setup(struct b4
+ 			b43_dma_write(ring, B43_DMA64_TXRINGHI,
+ 				      ((ringbase >> 32) &
+ 				       ~SSB_DMA_TRANSLATION_MASK)
+-				      | trans);
++				      | (trans << 1));
+ 		} else {
+ 			u32 ringbase = (u32) (ring->dmabase);
+ 
+@@ -680,8 +692,9 @@ static int dmacontroller_setup(struct b4
+ 			b43_dma_write(ring, B43_DMA64_RXRINGHI,
+ 				      ((ringbase >> 32) &
+ 				       ~SSB_DMA_TRANSLATION_MASK)
+-				      | trans);
+-			b43_dma_write(ring, B43_DMA64_RXINDEX, 200);
++				      | (trans << 1));
++			b43_dma_write(ring, B43_DMA64_RXINDEX, ring->nr_slots *
++				      sizeof(struct b43_dmadesc64));
+ 		} else {
+ 			u32 ringbase = (u32) (ring->dmabase);
+ 
+@@ -695,11 +708,12 @@ static int dmacontroller_setup(struct b4
+ 			b43_dma_write(ring, B43_DMA32_RXRING,
+ 				      (ringbase & ~SSB_DMA_TRANSLATION_MASK)
+ 				      | trans);
+-			b43_dma_write(ring, B43_DMA32_RXINDEX, 200);
++			b43_dma_write(ring, B43_DMA32_RXINDEX, ring->nr_slots *
++				      sizeof(struct b43_dmadesc32));
+ 		}
+ 	}
+ 
+-      out:
++out:
+ 	return err;
+ }
+ 
+--- a/drivers/net/wireless/b43/main.c
++++ b/drivers/net/wireless/b43/main.c
+@@ -101,6 +101,7 @@ static const struct ssb_device_id b43_ss
+ 	SSB_DEVICE(SSB_VENDOR_BROADCOM, SSB_DEV_80211, 7),
+ 	SSB_DEVICE(SSB_VENDOR_BROADCOM, SSB_DEV_80211, 9),
+ 	SSB_DEVICE(SSB_VENDOR_BROADCOM, SSB_DEV_80211, 10),
++	SSB_DEVICE(SSB_VENDOR_BROADCOM, SSB_DEV_80211, 13),
+ 	SSB_DEVTABLE_END
+ };
+ 
+@@ -3079,7 +3080,7 @@ static int b43_phy_versioning(struct b43
+ 			unsupported = 1;
+ 		break;
+ 	case B43_PHYTYPE_G:
+-		if (phy_rev > 8)
++		if (phy_rev > 9)
+ 			unsupported = 1;
+ 		break;
+ 	default:


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-8/sources,v
retrieving revision 1.678
retrieving revision 1.679
diff -u -r1.678 -r1.679
--- sources	26 Feb 2008 14:12:46 -0000	1.678
+++ sources	24 Mar 2008 22:04:51 -0000	1.679
@@ -1,2 +1,2 @@
 3f23ad4b69d0a552042d1ed0f4399857  linux-2.6.24.tar.bz2
-4c42be33a7d98f280588c9d28478cdfd  patch-2.6.24.3.bz2
+508f5aaa99dead9836ff490496a61581  patch-2.6.24.4.bz2


Index: upstream
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-8/upstream,v
retrieving revision 1.599
retrieving revision 1.600
diff -u -r1.599 -r1.600
--- upstream	26 Feb 2008 14:12:46 -0000	1.599
+++ upstream	24 Mar 2008 22:04:51 -0000	1.600
@@ -1,2 +1,2 @@
 linux-2.6.24.tar.bz2
-patch-2.6.24.3.bz2
+patch-2.6.24.4.bz2


--- linux-2.6-futex-fix-fixups.patch DELETED ---


--- linux-2.6-libata-fix-hpt-svw-dma-masking.patch DELETED ---


--- linux-2.6-x86-dont-use-p6-nops.patch DELETED ---


--- patch-2.6.24.3.bz2.sign DELETED ---




More information about the fedora-extras-commits mailing list