Cleanup of mach/io.h
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | Make common definition for IO_SPACE_LIMITarch/ arch/ arch/ +53 more | +2 | 1 reply | |
| 2/6 | footbridge: remove the useless definition of __mem_pci()arch/ | +0 | 0 replies | |
| 3/6 | Make __mem_pci() common to all ARM sub-architecturesarch/ arch/ arch/ +52 more | +4 | 1 reply | |
| 4/6 | Remove useless __mem_isa() definitionsarch/ arch/ arch/ +1 more | +0 | 0 replies | |
| 5/6 | shmobile: change __io() definition to use __typesafe_io()arch/ | +1 | 0 replies | |
| 5/6 | shmobile: change __io() definition to use __typesafe_io() | +0 | 0 replies | |
| 6/6 | Introduce common definition for __io()arch/ arch/ arch/ +37 more | +4 | 5 replies |
Reviews trailers per patch
1 of 7 patches has a Reviewed-by or Acked-by.
| Patch | Nicolas Pitre |
|---|---|
| 1/6 | |
| 2/6 | |
| 3/6 | |
| 4/6 | |
| 5/6 | |
| 5/6 | |
| 6/6 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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?)