rpms/kernel/F-9 linux-2.6-libata-pata-sch-notice-attached-slave-devices.patch, NONE, 1.1.2.1 linux-2.6.27.14-ext4-fix-cache-init.patch, NONE, 1.1.2.1 config-x86-generic, 1.38, 1.38.2.1 kernel.spec, 1.891.2.21, 1.891.2.22

Chuck Ebbert cebbert at fedoraproject.org
Wed Feb 11 00:08:14 UTC 2009


Author: cebbert

Update of /cvs/pkgs/rpms/kernel/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11806

Modified Files:
      Tag: private-fedora-9-2_6_27-branch
	config-x86-generic kernel.spec 
Added Files:
      Tag: private-fedora-9-2_6_27-branch
	linux-2.6-libata-pata-sch-notice-attached-slave-devices.patch 
	linux-2.6.27.14-ext4-fix-cache-init.patch 
Log Message:
Fix oops caused by misapplied chunk in the ext4 patchset (F10#484972)
Fix detection of slave ATA devices on pata_sch (F10#467457)
Enable CONFIG_X86_BIGSMP, to enable support for more than 8 cpus.

linux-2.6-libata-pata-sch-notice-attached-slave-devices.patch:

--- NEW FILE linux-2.6-libata-pata-sch-notice-attached-slave-devices.patch ---
From: Mark Salter <msalter at redhat.com>
Date: Thu, 6 Nov 2008 13:03:23 +0000 (-0500)
Subject: [libata] pata_sch: notice attached slave devices
X-Git-Tag: v2.6.28-rc5~88^2~3
X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=commitdiff_plain;h=bc170e656881306d65eb1318c98032e1ab305ee8

[libata] pata_sch: notice attached slave devices

I posted this last month, but was prompted to do so again in bz#467457

Add capability flag to support slave devices with pata_sch driver.

Signed-off-by: Mark Salter <msalter at redhat.com>
Signed-off-by: Jeff Garzik <jgarzik at redhat.com>
---

diff --git a/drivers/ata/pata_sch.c b/drivers/ata/pata_sch.c
index c8cc027..6aeeeeb 100644
--- a/drivers/ata/pata_sch.c
+++ b/drivers/ata/pata_sch.c
@@ -83,7 +83,7 @@ static struct ata_port_operations sch_pata_ops = {
 };
 
 static struct ata_port_info sch_port_info = {
-	.flags		= 0,
+	.flags		= ATA_FLAG_SLAVE_POSS,
 	.pio_mask	= ATA_PIO4,   /* pio0-4 */
 	.mwdma_mask	= ATA_MWDMA2, /* mwdma0-2 */
 	.udma_mask	= ATA_UDMA5,  /* udma0-5 */

linux-2.6.27.14-ext4-fix-cache-init.patch:

--- NEW FILE linux-2.6.27.14-ext4-fix-cache-init.patch ---
Index: linux-2.6.27.noarch/fs/ext4/mballoc.c
===================================================================
--- linux-2.6.27.noarch.orig/fs/ext4/mballoc.c
+++ linux-2.6.27.noarch/fs/ext4/mballoc.c
@@ -3060,6 +3060,16 @@ int __init init_ext4_mballoc(void)
 		kmem_cache_destroy(ext4_pspace_cachep);
 		return -ENOMEM;
 	}
+
+	ext4_free_ext_cachep =
+		kmem_cache_create("ext4_free_block_extents",
+				     sizeof(struct ext4_free_data),
+				     0, SLAB_RECLAIM_ACCOUNT, NULL);
+	if (ext4_free_ext_cachep == NULL) {
+		kmem_cache_destroy(ext4_pspace_cachep);
+		kmem_cache_destroy(ext4_ac_cachep);
+		return -ENOMEM;
+	}
 #ifdef CONFIG_PROC_FS
 	proc_root_ext4 = proc_mkdir("fs/ext4", NULL);
 	if (proc_root_ext4 == NULL)
@@ -3597,15 +3607,6 @@ ext4_mb_use_preallocated(struct ext4_all
 		return 1;
 	}
 
-	ext4_free_ext_cachep =
-		kmem_cache_create("ext4_free_block_extents",
-				     sizeof(struct ext4_free_data),
-				     0, SLAB_RECLAIM_ACCOUNT, NULL);
-	if (ext4_free_ext_cachep == NULL) {
-		kmem_cache_destroy(ext4_pspace_cachep);
-		kmem_cache_destroy(ext4_ac_cachep);
-		return -ENOMEM;
-	}
 	return 0;
 }
 


Index: config-x86-generic
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-9/config-x86-generic,v
retrieving revision 1.38
retrieving revision 1.38.2.1
diff -u -r1.38 -r1.38.2.1
--- config-x86-generic	17 Nov 2008 15:12:06 -0000	1.38
+++ config-x86-generic	11 Feb 2009 00:07:44 -0000	1.38.2.1
@@ -13,7 +13,7 @@
 # CONFIG_X86_VOYAGER is not set
 # CONFIG_X86_NUMAQ is not set
 # CONFIG_X86_SUMMIT is not set
-# CONFIG_X86_BIGSMP is not set
+CONFIG_X86_BIGSMP=y
 # CONFIG_X86_VISWS is not set
 # CONFIG_X86_RDC321X is not set
 # CONFIG_X86_ES7000 is not set


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-9/kernel.spec,v
retrieving revision 1.891.2.21
retrieving revision 1.891.2.22
diff -u -r1.891.2.21 -r1.891.2.22
--- kernel.spec	7 Feb 2009 00:42:31 -0000	1.891.2.21
+++ kernel.spec	11 Feb 2009 00:07:44 -0000	1.891.2.22
@@ -675,6 +675,7 @@
 Patch671: linux-2.6-libata-fix-ata-id-is-cfa.patch
 Patch672: linux-2.6-libata-fix-eh-device-failure-handling.patch
 Patch679: linux-2.6-libata-sata_nv-disable-swncq.patch
+Patch680: linux-2.6-libata-pata-sch-notice-attached-slave-devices.patch
 
 # wireless
 Patch682: linux-2.6-iwl3945-ibss-tsf-fix.patch
@@ -736,6 +737,7 @@
 Patch2902: linux-2.6.27-ext4-rename-ext4dev-to-ext4.patch
 Patch2903: linux-2.6.27.9-ext4-cap-check-delay.patch
 Patch2904: linux-2.6.27.14-ext4-patch-queue.patch
+Patch2905: linux-2.6.27.14-ext4-fix-cache-init.patch
 
 # Add better support for DMI-based autoloading
 Patch3110: linux-2.6-dmi-autoload.patch
@@ -1262,6 +1264,8 @@
 ApplyPatch linux-2.6-libata-fix-eh-device-failure-handling.patch
 # disable swncq on sata_nv
 ApplyPatch linux-2.6-libata-sata_nv-disable-swncq.patch
+# pata_scc ignores slaves devices
+ApplyPatch linux-2.6-libata-pata-sch-notice-attached-slave-devices.patch
 
 # iwl3945 fix for stable ad-hoc mode connections (#459401)
 ApplyPatch linux-2.6-iwl3945-ibss-tsf-fix.patch
@@ -1316,6 +1320,8 @@
 ApplyPatch linux-2.6.27-ext4-rename-ext4dev-to-ext4.patch
 ApplyPatch linux-2.6.27.9-ext4-cap-check-delay.patch
 ApplyPatch linux-2.6.27.14-ext4-patch-queue.patch
+# fix misapplied chunk in ext4 queue
+ApplyPatch linux-2.6.27.14-ext4-fix-cache-init.patch
 
 # linux1394 git patches
 ApplyPatch linux-2.6-firewire-git-update.patch
@@ -1931,6 +1937,11 @@
 %kernel_variant_files -a /%{image_install_path}/xen*-%{KVERREL}.xen -e /etc/ld.so.conf.d/kernelcap-%{KVERREL}.xen.conf %{with_xen} xen
 
 %changelog
+* Tue Feb 10 2009 Chuck Ebbert <cebbert at redhat.com> 2.6.27.15-78.2.22
+- Fix oops caused by misapplied chunk in the ext4 patchset (F10#484972)
+- Fix detection of slave ATA devices on pata_sch (F10#467457)
+- Enable CONFIG_X86_BIGSMP, to enable support for more than 8 cpus.
+
 * Fri Feb 07 2009 Chuck Ebbert <cebbert at redhat.com> 2.6.27.15-78.2.21
 - 2.6.27.15
   Dropped patches (merged in 27.25):




More information about the fedora-extras-commits mailing list