[kernel] r7806 - in dists/trunk/linux-2.6/debian: . patches/bugfix/arm patches/series

Martin Michlmayr tbm at alioth.debian.org
Wed Nov 15 09:25:59 UTC 2006


Author: tbm
Date: Wed Nov 15 10:25:58 2006
New Revision: 7806

Added:
   dists/trunk/linux-2.6/debian/patches/bugfix/arm/versatile-pci.patch
Modified:
   dists/trunk/linux-2.6/debian/changelog
   dists/trunk/linux-2.6/debian/patches/series/6
Log:
Fix Versatile PCI config byte accesses


Modified: dists/trunk/linux-2.6/debian/changelog
==============================================================================
--- dists/trunk/linux-2.6/debian/changelog	(original)
+++ dists/trunk/linux-2.6/debian/changelog	Wed Nov 15 10:25:58 2006
@@ -29,6 +29,7 @@
   * arm/ixp4xx: Set CONFIG_ATM=m so CONFIG_USB_ATM has an effect.
   * arm/iop32x: Likewise.
   * arm/s3c2410: Unset CONFIG_PM_LEGACY.
+  * arm/versatile: Fix Versatile PCI config byte accesses
 
   [ dann frazier ]
   * Backport various SCTP changesets from 2.6.19, recommended by Vlad Yasevich

Added: dists/trunk/linux-2.6/debian/patches/bugfix/arm/versatile-pci.patch
==============================================================================
--- (empty file)
+++ dists/trunk/linux-2.6/debian/patches/bugfix/arm/versatile-pci.patch	Wed Nov 15 10:25:58 2006
@@ -0,0 +1,26 @@
+commit c06015148fa9a3cc452ec7121b8c3f59f4a7d6ac
+Author: Paul Brook <paul at codesourcery.com>
+Date:   Sun Sep 24 16:54:40 2006 +0100
+
+    [ARM] 3860/1: Versatile PCI config byte accesses
+    
+    The ARM Versatile board PCI config space read routines are broken for byte
+    accesses.  The access uses a byte read, so masking the bottom two bits of the
+    address is wrong.
+    
+    I guess this is a cut/paste error from the the halfword code which uses
+    aligned word access+shift+mask.
+    
+    Signed-off-by: Paul Brook <paul at codesourcery.com>
+    Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>
+
+--- linux-2.6-2.6.18/arch/arm/mach-versatile/pci.c.orig	2006-11-15 01:33:12.657102390 +0100
++++ linux-2.6-2.6.18/arch/arm/mach-versatile/pci.c	2006-11-15 01:33:19.435799210 +0100
+@@ -117,7 +117,6 @@
+ 	} else {
+ 		switch (size) {
+ 		case 1:
+-			addr &= ~3;
+ 			v = __raw_readb(addr);
+ 			break;
+ 

Modified: dists/trunk/linux-2.6/debian/patches/series/6
==============================================================================
--- dists/trunk/linux-2.6/debian/patches/series/6	(original)
+++ dists/trunk/linux-2.6/debian/patches/series/6	Wed Nov 15 10:25:58 2006
@@ -16,3 +16,4 @@
 + bugfix/bcm43xx-drain-tx-status-before-starting-irqs.patch
 + bugfix/video-nvidiafb-divide-zero.patch
 + bugfix/scsi-SG_IO-data-direction.patch
++ bugfix/arm/versatile-pci.patch



More information about the Kernel-svn-changes mailing list