android_kernel_xiaomi_sm8350/arch/sh/mm
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
..
cache-debugfs.c Fix debugfs_create_file's error checking method for arch/sh/mm/ 2008-10-20 10:40:21 +09:00
cache-sh2.c SH2(A) cache update 2008-08-04 16:33:47 +09:00
cache-sh2a.c sh: fix sh2a cache entry_mask 2008-10-31 16:29:20 +09:00
cache-sh3.c
cache-sh4.c sh: uninline flush_icache_all(). 2008-09-08 10:35:06 +09:00
cache-sh5.c sh64: Fixup the nommu build. 2008-05-08 19:51:37 +09:00
cache-sh7705.c sh: Preparation for uncached jumps through PMB. 2008-01-28 13:18:59 +09:00
consistent.c sh: remove consistent alloc cruft 2008-10-20 11:38:44 +09:00
extable_32.c
extable_64.c sh: comment tidying for sh64->sh migration. 2008-01-28 13:18:58 +09:00
fault_32.c sh: P4 ioremap pass-through 2008-12-22 18:43:48 +09:00
fault_64.c sh: migrate to arch/sh/include/ 2008-07-29 08:09:44 +09:00
hugetlbpage.c hugetlb: introduce pud_huge 2008-07-24 10:47:18 -07:00
init.c sh: Handle fixmap TLB eviction more coherently. 2008-11-10 20:00:45 +09:00
ioremap_32.c sh: P4 ioremap pass-through 2008-12-22 18:43:48 +09:00
ioremap_64.c sh64: export onchip_remap/unmap() too. 2008-05-08 19:51:41 +09:00
Kconfig sh: Make memory hot-add and hot-remove depend on MMU. 2008-09-17 23:13:27 +09:00
Makefile
Makefile_32 sh: Provide a sane valid_phys_addr_range() to prevent TLB reset with PMB. 2008-11-12 12:53:48 +09:00
Makefile_64 sh: Provide a sane valid_phys_addr_range() to prevent TLB reset with PMB. 2008-11-12 12:53:48 +09:00
mmap.c sh: Move arch_get_unmapped_area() in to arch/sh/mm/mmap.c. 2008-12-22 18:42:49 +09:00
numa.c mm: move bootmem descriptors definition to a single place 2008-07-24 10:47:14 -07:00
pg-nommu.c sh: fixup many sparse errors. 2008-09-08 10:35:04 +09:00
pg-sh4.c sh: Handle fixmap TLB eviction more coherently. 2008-11-10 20:00:45 +09:00
pg-sh7705.c fix sh ptep_get_and_clear breakage 2008-07-28 18:10:35 +09:00
pmb.c Fix debugfs_create_file's error checking method for arch/sh/mm/ 2008-10-20 10:40:21 +09:00
tlb-nommu.c sh: fixup many sparse errors. 2008-09-08 10:35:04 +09:00
tlb-sh3.c
tlb-sh4.c sh: Preparation for uncached jumps through PMB. 2008-01-28 13:18:59 +09:00
tlb-sh5.c sh: Fix up broken kerneldoc comments. 2008-08-04 12:51:06 +09:00
tlbflush_32.c sh: Rename the _32 and _64 TLB flush variants. 2008-01-28 13:18:54 +09:00
tlbflush_64.c sh: replace remaining __FUNCTION__ occurrences 2008-03-06 11:18:22 +09:00