kernel-ark/arch/sh
Magnus Damm 716777db72 sh: P4 ioremap pass-through
This patch adds a pass-through case when ioremapping P4 addresses.

Addresses passed to ioremap() should be physical addresses, so the
best option is usually to convert the virtual address to a physical
address before calling ioremap. This will give you a virtual address
in P2 which matches the physical address and this works well for
most internal hardware blocks on the SuperH architecture.

However, some hardware blocks must be accessed through P4. Converting
the P4 address to a physical and then back to a P2 does not work. One
example of this is the sh7722 TMU block, it must be accessed through P4.

Without this patch P4 addresses will be mapped using PTEs which
requires the page allocator to be up and running.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-12-22 18:43:48 +09:00
..
boards sh: sh_mobile lcdc clock framework support 2008-12-22 18:42:52 +09:00
boot sh: FTRACE renamed to FUNCTION_TRACER. 2008-10-31 16:20:36 +09:00
cchips sh: Kill off long-dead HD64465 cchip support. 2008-10-28 20:07:44 +09:00
configs sh: Enable NFS root in Migo-R defconfig. 2008-10-31 16:22:31 +09:00
drivers sh: add SH DMAC burst mode constant 2008-12-22 18:42:54 +09:00
include sh: P4 ioremap pass-through 2008-12-22 18:43:48 +09:00
kernel sh: Add exports for __udivsi3/__sdivsi3 and the _i4 versions. 2008-12-22 18:42:54 +09:00
lib sh: Add exports for __udivsi3/__sdivsi3 and the _i4 versions. 2008-12-22 18:42:54 +09:00
lib64 sh: migrate to arch/sh/include/ 2008-07-29 08:09:44 +09:00
math-emu sh: Fix up the math-emu build. 2007-06-11 15:57:42 +09:00
mm sh: P4 ioremap pass-through 2008-12-22 18:43:48 +09:00
oprofile sh: oprofile: Fix up the SH7750 performance counter name. 2008-10-27 09:51:45 +09:00
tools sh: Kill off long-dead HD64465 cchip support. 2008-10-28 20:07:44 +09:00
Kconfig sh: dynamic ftrace support. 2008-12-22 18:42:52 +09:00
Kconfig.cpu sh: Disable big endian for SH-5. 2008-02-14 14:22:10 +09:00
Kconfig.debug sh: Disable 4kB stacks when using PAGE_SIZE_64KB. 2008-09-20 20:16:35 +09:00
Makefile sh: Add -m4al tuning for SH4AL-DSP. 2008-12-22 18:42:54 +09:00