android_kernel_xiaomi_sm8350/arch/sh/mm
Magnus Damm e7cc9a7340 sh: trapped io support V2
The idea is that we want to get rid of the in/out/readb/writeb callbacks from
the machvec and replace that with simple inline read and write operations to
memory. Fast and simple for most hardware devices (think pci).

Some devices require special treatment though - like 16-bit only CF devices -
so we need to have some method to hook in callbacks.

This patch makes it possible to add a per-device trap generating filter. This
way we can get maximum performance of sane hardware - which doesn't need this
filter - and crappy hardware works but gets punished by a performance hit.

V2 changes things around a bit and replaces io access callbacks with a
simple minimum_bus_width value. In the future we can add stride as well.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-02-14 14:22:09 +09:00
..
cache-debugfs.c sh: Preparation for uncached jumps through PMB. 2008-01-28 13:18:59 +09:00
cache-sh2.c sh: Add support for SH7206 and SH7619 CPU subtypes. 2006-12-06 10:45:36 +09:00
cache-sh3.c sh: Fixup cpu_data references for the non-boot CPUs. 2007-02-13 10:54:45 +09:00
cache-sh4.c sh: Preparation for uncached jumps through PMB. 2008-01-28 13:18:59 +09:00
cache-sh5.c sh: comment tidying for sh64->sh migration. 2008-01-28 13:18:58 +09:00
cache-sh7705.c sh: Preparation for uncached jumps through PMB. 2008-01-28 13:18:59 +09:00
consistent.c sh: declared coherent memory support V2 fix 2008-02-14 14:22:07 +09:00
extable_32.c sh: Split out extable.c _32 and _64 variants. 2008-01-28 13:18:44 +09:00
extable_64.c sh: comment tidying for sh64->sh migration. 2008-01-28 13:18:58 +09:00
fault_32.c sh: trapped io support V2 2008-02-14 14:22:09 +09:00
fault_64.c sh: Kill off a stray proc tlb reference in fault_64. 2008-01-28 13:18:52 +09:00
hugetlbpage.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
init.c sh: Populate swapper_pg_dir with fixmap range. 2008-01-28 13:18:59 +09:00
ioremap_32.c sh: Split out ioremap in to _32 and _64 variants. 2008-01-28 13:18:46 +09:00
ioremap_64.c sh: Split out pgtable.h in to _32 and _64 variants. 2008-01-28 13:18:47 +09:00
Kconfig sh: Bump the MEMORY_SIZE default to something reasonable. 2008-01-28 13:18:52 +09:00
Makefile sh: Split out extable.c _32 and _64 variants. 2008-01-28 13:18:44 +09:00
Makefile_32 sh: clear/copy_page renames in lib and lib64. 2008-01-28 13:18:54 +09:00
Makefile_64 sh: Rename the _32 and _64 TLB flush variants. 2008-01-28 13:18:54 +09:00
numa.c Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
pg-nommu.c sh: Tidy up various clear_page()/copy_page() definitions. 2008-01-28 13:18:50 +09:00
pg-sh4.c sh: Optimized copy_{to,from}_user_page() for SH-4. 2007-11-07 11:14:12 +09:00
pg-sh7705.c sh: Revert lazy dcache writeback changes. 2007-03-05 19:46:47 +09:00
pmb.c sh: Preparation for uncached jumps through PMB. 2008-01-28 13:18:59 +09:00
tlb-nommu.c sh: Provide a stubbed __set_fixmap() for nommu. 2008-01-28 13:19:01 +09:00
tlb-sh3.c sh: Revert lazy dcache writeback changes. 2007-03-05 19:46:47 +09:00
tlb-sh4.c sh: Preparation for uncached jumps through PMB. 2008-01-28 13:18:59 +09:00
tlb-sh5.c sh: comment tidying for sh64->sh migration. 2008-01-28 13:18:58 +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: Rename the _32 and _64 TLB flush variants. 2008-01-28 13:18:54 +09:00