The patch titled kconfigurable resources: arch dependent changes (arch/[q-z]*) has been removed from the -mm tree. Its filename is kconfigurable-resources-arch-dependent-changes-arch-q-z.patch This patch was probably dropped from -mm because it has now been merged into a subsystem tree or into Linus's tree, or because it was folded into its parent patch in the -mm tree. ------------------------------------------------------ Subject: kconfigurable resources: arch dependent changes (arch/[q-z]*) From: Vivek Goyal <vgoyal@xxxxxxxxxx> o Changes to arch specific code for kconfigurable resources. This patch contains changes for arch/[q-z]* Signed-off-by: Vivek Goyal <vgoyal@xxxxxxxxxx> Cc: Greg KH <greg@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- arch/s390/Kconfig | 8 ++++++++ arch/sh/Kconfig | 7 +++++++ arch/sh/boards/mpc1211/pci.c | 4 ++-- arch/sh/boards/overdrive/galileo.c | 2 +- arch/sh/drivers/pci/pci.c | 6 +++--- arch/sh64/kernel/pcibios.c | 4 ++-- arch/sparc/Kconfig | 7 +++++++ arch/sparc/kernel/pcic.c | 2 +- arch/sparc64/kernel/pci.c | 2 +- arch/v850/Kconfig | 7 +++++++ arch/v850/kernel/rte_mb_a_pci.c | 2 +- arch/xtensa/Kconfig | 7 +++++++ arch/xtensa/kernel/pci.c | 6 +++--- 13 files changed, 50 insertions(+), 14 deletions(-) diff -puN arch/s390/Kconfig~kconfigurable-resources-arch-dependent-changes-arch-q-z arch/s390/Kconfig --- devel/arch/s390/Kconfig~kconfigurable-resources-arch-dependent-changes-arch-q-z 2006-05-27 23:28:32.000000000 -0700 +++ devel-akpm/arch/s390/Kconfig 2006-05-27 23:28:33.000000000 -0700 @@ -218,6 +218,14 @@ config WARN_STACK_SIZE source "mm/Kconfig" +config RESOURCES_32BIT + bool "32 bit Memory and IO resources (EXPERIMENTAL)" + depends on EXPERIMENTAL + depends on !64BIT + help + By default resources are 64 bit. This option allows memory and IO + resources to be 32 bit to optimize code size. + comment "I/O subsystem configuration" config MACHCHK_WARNING diff -puN arch/sh64/kernel/pcibios.c~kconfigurable-resources-arch-dependent-changes-arch-q-z arch/sh64/kernel/pcibios.c --- devel/arch/sh64/kernel/pcibios.c~kconfigurable-resources-arch-dependent-changes-arch-q-z 2006-05-27 23:28:32.000000000 -0700 +++ devel-akpm/arch/sh64/kernel/pcibios.c 2006-05-27 23:28:33.000000000 -0700 @@ -69,10 +69,10 @@ pcibios_update_resource(struct pci_dev * * modulo 0x400. */ void pcibios_align_resource(void *data, struct resource *res, - unsigned long size, unsigned long align) + resource_size_t size, resource_size_t align) { if (res->flags & IORESOURCE_IO) { - unsigned long start = res->start; + resource_size_t start = res->start; if (start & 0x300) { start = (start + 0x3ff) & ~0x3ff; diff -puN arch/sh/boards/mpc1211/pci.c~kconfigurable-resources-arch-dependent-changes-arch-q-z arch/sh/boards/mpc1211/pci.c --- devel/arch/sh/boards/mpc1211/pci.c~kconfigurable-resources-arch-dependent-changes-arch-q-z 2006-05-27 23:28:32.000000000 -0700 +++ devel-akpm/arch/sh/boards/mpc1211/pci.c 2006-05-27 23:28:33.000000000 -0700 @@ -273,9 +273,9 @@ void __init pcibios_fixup_irqs(void) } void pcibios_align_resource(void *data, struct resource *res, - unsigned long size, unsigned long align) + resource_size_t size, resource_size_t align) { - unsigned long start = res->start; + resource_size_t start = res->start; if (res->flags & IORESOURCE_IO) { if (start >= 0x10000UL) { diff -puN arch/sh/boards/overdrive/galileo.c~kconfigurable-resources-arch-dependent-changes-arch-q-z arch/sh/boards/overdrive/galileo.c --- devel/arch/sh/boards/overdrive/galileo.c~kconfigurable-resources-arch-dependent-changes-arch-q-z 2006-05-27 23:28:32.000000000 -0700 +++ devel-akpm/arch/sh/boards/overdrive/galileo.c 2006-05-27 23:28:33.000000000 -0700 @@ -536,7 +536,7 @@ void __init pcibios_fixup_bus(struct pci } void pcibios_align_resource(void *data, struct resource *res, - unsigned long size) + resource_size_t size) { } diff -puN arch/sh/drivers/pci/pci.c~kconfigurable-resources-arch-dependent-changes-arch-q-z arch/sh/drivers/pci/pci.c --- devel/arch/sh/drivers/pci/pci.c~kconfigurable-resources-arch-dependent-changes-arch-q-z 2006-05-27 23:28:33.000000000 -0700 +++ devel-akpm/arch/sh/drivers/pci/pci.c 2006-05-27 23:28:33.000000000 -0700 @@ -75,7 +75,7 @@ pcibios_update_resource(struct pci_dev * } void pcibios_align_resource(void *data, struct resource *res, - unsigned long size, unsigned long align) + resource_size_t size, resource_size_t align) __attribute__ ((weak)); /* @@ -85,10 +85,10 @@ void pcibios_align_resource(void *data, * modulo 0x400. */ void pcibios_align_resource(void *data, struct resource *res, - unsigned long size, unsigned long align) + resource_size_t size, resource_size_t align) { if (res->flags & IORESOURCE_IO) { - unsigned long start = res->start; + resource_size_t start = res->start; if (start & 0x300) { start = (start + 0x3ff) & ~0x3ff; diff -puN arch/sh/Kconfig~kconfigurable-resources-arch-dependent-changes-arch-q-z arch/sh/Kconfig --- devel/arch/sh/Kconfig~kconfigurable-resources-arch-dependent-changes-arch-q-z 2006-05-27 23:28:33.000000000 -0700 +++ devel-akpm/arch/sh/Kconfig 2006-05-27 23:28:33.000000000 -0700 @@ -532,6 +532,13 @@ config NODES_SHIFT default "1" depends on NEED_MULTIPLE_NODES +config RESOURCES_32BIT + bool "32 bit Memory and IO resources (EXPERIMENTAL)" + depends on EXPERIMENTAL + help + By default resources are 64 bit. This option allows memory and IO + resources to be 32 bit to optimize code size. + endmenu menu "Boot options" diff -puN arch/sparc64/kernel/pci.c~kconfigurable-resources-arch-dependent-changes-arch-q-z arch/sparc64/kernel/pci.c --- devel/arch/sparc64/kernel/pci.c~kconfigurable-resources-arch-dependent-changes-arch-q-z 2006-05-27 23:28:33.000000000 -0700 +++ devel-akpm/arch/sparc64/kernel/pci.c 2006-05-27 23:28:33.000000000 -0700 @@ -390,7 +390,7 @@ void pcibios_update_irq(struct pci_dev * } void pcibios_align_resource(void *data, struct resource *res, - unsigned long size, unsigned long align) + resource_size_t size, resource_size_t align) { } diff -puN arch/sparc/Kconfig~kconfigurable-resources-arch-dependent-changes-arch-q-z arch/sparc/Kconfig --- devel/arch/sparc/Kconfig~kconfigurable-resources-arch-dependent-changes-arch-q-z 2006-05-27 23:28:33.000000000 -0700 +++ devel-akpm/arch/sparc/Kconfig 2006-05-27 23:28:33.000000000 -0700 @@ -67,6 +67,13 @@ config SPARC32 maintains both the SPARC32 and SPARC64 ports; its web page is available at <http://www.ultralinux.org/>. +config RESOURCES_32BIT + bool "32 bit Memory and IO resources (EXPERIMENTAL)" + depends on EXPERIMENTAL + help + By default resources are 64 bit. This option allows memory and IO + resources to be 32 bit to optimize code size. + # Global things across all Sun machines. config ISA bool diff -puN arch/sparc/kernel/pcic.c~kconfigurable-resources-arch-dependent-changes-arch-q-z arch/sparc/kernel/pcic.c --- devel/arch/sparc/kernel/pcic.c~kconfigurable-resources-arch-dependent-changes-arch-q-z 2006-05-27 23:28:33.000000000 -0700 +++ devel-akpm/arch/sparc/kernel/pcic.c 2006-05-27 23:28:33.000000000 -0700 @@ -859,7 +859,7 @@ char * __init pcibios_setup(char *str) } void pcibios_align_resource(void *data, struct resource *res, - u64 size, u64 align) + resource_size_t size, resource_size_t align) { } diff -puN arch/v850/Kconfig~kconfigurable-resources-arch-dependent-changes-arch-q-z arch/v850/Kconfig --- devel/arch/v850/Kconfig~kconfigurable-resources-arch-dependent-changes-arch-q-z 2006-05-27 23:28:33.000000000 -0700 +++ devel-akpm/arch/v850/Kconfig 2006-05-27 23:28:33.000000000 -0700 @@ -235,6 +235,13 @@ menu "Processor type and features" source "mm/Kconfig" +config RESOURCES_32BIT + bool "32 bit Memory and IO resources (EXPERIMENTAL)" + depends on EXPERIMENTAL + help + By default resources are 64 bit. This option allows memory and IO + resources to be 32 bit to optimize code size. + endmenu diff -puN arch/v850/kernel/rte_mb_a_pci.c~kconfigurable-resources-arch-dependent-changes-arch-q-z arch/v850/kernel/rte_mb_a_pci.c --- devel/arch/v850/kernel/rte_mb_a_pci.c~kconfigurable-resources-arch-dependent-changes-arch-q-z 2006-05-27 23:28:33.000000000 -0700 +++ devel-akpm/arch/v850/kernel/rte_mb_a_pci.c 2006-05-27 23:28:33.000000000 -0700 @@ -329,7 +329,7 @@ void pcibios_fixup_bus(struct pci_bus *b void pcibios_align_resource (void *data, struct resource *res, - unsigned long size, unsigned long align) + resource_size_t size, resource_size_t align) { } diff -puN arch/xtensa/Kconfig~kconfigurable-resources-arch-dependent-changes-arch-q-z arch/xtensa/Kconfig --- devel/arch/xtensa/Kconfig~kconfigurable-resources-arch-dependent-changes-arch-q-z 2006-05-27 23:28:33.000000000 -0700 +++ devel-akpm/arch/xtensa/Kconfig 2006-05-27 23:28:33.000000000 -0700 @@ -99,6 +99,13 @@ config MATH_EMULATION config HIGHMEM bool "High memory support" +config RESOURCES_32BIT + bool "32 bit Memory and IO resources (EXPERIMENTAL)" + depends on EXPERIMENTAL + help + By default resources are 64 bit. This option allows memory and IO + resources to be 32 bit to optimize code size. + endmenu menu "Platform options" diff -puN arch/xtensa/kernel/pci.c~kconfigurable-resources-arch-dependent-changes-arch-q-z arch/xtensa/kernel/pci.c --- devel/arch/xtensa/kernel/pci.c~kconfigurable-resources-arch-dependent-changes-arch-q-z 2006-05-27 23:28:33.000000000 -0700 +++ devel-akpm/arch/xtensa/kernel/pci.c 2006-05-27 23:28:33.000000000 -0700 @@ -71,13 +71,13 @@ static int pci_bus_count; * which might have be mirrored at 0x0100-0x03ff.. */ void -pcibios_align_resource(void *data, struct resource *res, unsigned long size, - unsigned long align) +pcibios_align_resource(void *data, struct resource *res, resource_size_t size, + resource_size_t align) { struct pci_dev *dev = data; if (res->flags & IORESOURCE_IO) { - unsigned long start = res->start; + resource_size_t start = res->start; if (size > 0x100) { printk(KERN_ERR "PCI: I/O Region %s/%d too large" _ Patches currently in -mm which might be from vgoyal@xxxxxxxxxx are i386-export-memory-more-than-4g-through-proc-iomem.patch kconfigurable-resources-core-changes-i386-fix.patch kconfigurable-resources-core-changes-fix.patch typesh-sector_t-and-blkcnt_t-arent-for-userspace.patch kconfigurable-resources-mtd-fixes.patch mpt-fusion-driver-initialization-failure-fix.patch register-hot-added-memory-to-iomem-resource.patch updated-kdump-documentation.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html