resource: type and size patches
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | resource: add resource_size()include/ kernel/ | +5 | 0 replies | |
| 2/4 | resource: add resource_type() and IORESOURCE_TYPE_BITSdrivers/ include/ | +23 | 0 replies | |
| 3/4 | resource: use new resource type changesarch/ arch/ arch/ +45 more | +201 | 2 replies | |
| 4/4 | resource: add new IORESOURCE_CLK typeinclude/ | +3 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/04] resource: type and size patches
Hi everyone,
Here comes a few struct resource changes. I propose the following:
1. add a resource_size() function to avoid one-off calculation errors.
2. make space for more resource types and add resource_type().
3. add IORESOURCE_CLK so we can pass clocks to platform drivers.
[PATCH 01/04] resource: add resource_size()
[PATCH 02/04] resource: add resource_type() and IORESOURCE_TYPE_BITS [PATCH 03/04] resource: use new resource type changes [PATCH 04/04] resource: add new IORESOURCE_CLK type
This is not tested, so I'm surprised if this even builds. I have time to fix this up if people agree with this change.
---
Applies on current linux-2.6, so this will need up-porting. [PATCH 03/04] needs to be extended and split up as well.
arch/alpha/kernel/pci.c | 21 ++++++------ arch/arm/kernel/bios32.c | 16 ++++----- arch/arm/mach-iop13xx/pci.c | 6 +-- arch/arm/mm/iomap.c | 5 +- arch/arm/plat-s3c24xx/pm.c | 2 - arch/cris/arch-v32/drivers/pci/bios.c | 6 +-- arch/frv/mb93090-mb00/pci-frv.c | 10 ++--- arch/frv/mb93090-mb00/pci-iomap.c | 3 + arch/ia64/pci/pci.c | 7 ++-- arch/ia64/sn/kernel/io_init.c | 2 - arch/m68k/kernel/bios32.c | 6 +-- arch/mips/basler/excite/excite_device.c | 12 +------ arch/mips/lib/iomap-pci.c | 5 +- arch/mips/pci/pci.c | 24 +++++++------- arch/mips/pmc-sierra/yosemite/ht.c | 6 +-- arch/mn10300/unit-asb2305/pci-asb2305.c | 8 ++-- arch/mn10300/unit-asb2305/pci-iomap.c | 3 + arch/parisc/kernel/pci.c | 15 ++++---- arch/parisc/lib/iomap.c | 5 +- arch/powerpc/kernel/iomap.c | 5 +- arch/powerpc/kernel/legacy_serial.c | 2 - arch/powerpc/kernel/pci-common.c | 31 ++++++++---------- arch/powerpc/kernel/pci_64.c | 2 - arch/powerpc/kernel/prom_parse.c | 4 +- arch/powerpc/platforms/fsl_uli1575.c | 2 - arch/powerpc/platforms/maple/setup.c | 2 - arch/powerpc/platforms/maple/time.c | 2 - arch/powerpc/platforms/pseries/eeh_cache.c | 5 +- arch/powerpc/platforms/pseries/pci.c | 4 +- arch/powerpc/sysdev/fsl_pci.c | 4 +- arch/powerpc/sysdev/ppc4xx_pci.c | 8 ++-- arch/ppc/kernel/pci.c | 48 +++++++++++++--------------- arch/ppc/syslib/ppc405_pci.c | 2 - arch/ppc/syslib/ppc_sys.c | 2 - arch/sh/drivers/pci/pci.c | 11 +++--- arch/sh/kernel/io_trapped.c | 10 ++++- arch/sparc/kernel/of_device.c | 1 arch/sparc/kernel/pcic.c | 12 +++---- arch/sparc/lib/iomap.c | 5 +- arch/sparc64/kernel/of_device.c | 5 +- arch/sparc64/kernel/pci.c | 21 ++++++------ arch/sparc64/lib/iomap.c | 5 +- arch/v850/kernel/rte_mb_a_pci.c | 8 ++-- arch/x86/kernel/pci-calgary_64.c | 2 - arch/x86/pci/i386.c | 4 +- arch/x86/pci/k8-bus_64.c | 5 +- arch/xtensa/kernel/pci.c | 12 +++---- drivers/base/platform.c | 31 +++++++++--------- drivers/pnp/manager.c | 5 -- include/linux/ioport.h | 16 +++++++-- kernel/resource.c | 2 - 51 files changed, 232 insertions(+), 208 deletions(-)