Skip to content

Cleanup of mach/io.h

Eric Miao linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6Make common definition for IO_SPACE_LIMITarch/arm/include/asm/io.h arch/arm/mach-aaec2000/include/mach/io.h arch/arm/mach-at91/include/mach/io.h +53 more+2 -1071 reply
2/6footbridge: remove the useless definition of __mem_pci()arch/arm/mach-footbridge/include/mach/io.h+0 -120 replies
3/6Make __mem_pci() common to all ARM sub-architecturesarch/arm/include/asm/io.h arch/arm/mach-aaec2000/include/mach/io.h arch/arm/mach-at91/include/mach/io.h +52 more+4 -1021 reply
4/6Remove useless __mem_isa() definitionsarch/arm/mach-davinci/include/mach/io.h arch/arm/mach-iop13xx/include/mach/io.h arch/arm/mach-ns9xxx/include/mach/io.h +1 more+0 -40 replies
5/6shmobile: change __io() definition to use __typesafe_io()arch/arm/mach-shmobile/include/mach/io.h+1 -10 replies
5/6shmobile: change __io() definition to use __typesafe_io()+0 -00 replies
6/6Introduce common definition for __io()arch/arm/include/asm/io.h arch/arm/mach-aaec2000/include/mach/io.h arch/arm/mach-at91/include/mach/io.h +37 more+4 -395 replies

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by.

PatchNicolas Pitre
1/6
2/6
3/6
4/6
5/6
5/6
6/6A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] Cleanup of mach/io.h

Some definitions can be made common, like IO_SPACE_LIMIT, some can be removed, e.g. __mem_isa(), and some can be made into a machine specific call, e.g. arch_adjust_zones()

Many mach/io.h can actually be safely removed, except for the following definitions:

	__io()

and
__arch_ioremap(), __arch_iounmap() and so on

__io() in the end can be made generic into something like:

#define __io(x) ((x) - physical_address_of_IO_space +
virtual_base)

and __arch_ioremap(), __arch_iounmap() made into machine specific function (again?)