android_kernel_xiaomi_sm8350/arch/arm/mm
Russell King 7b9c7b4d07 [ARM] Fix non-page aligned boot time mappings
AT91SAM9260 stopped booting with the recent changes to MM
initialisation - it was asking for a non-aligned virtual address
which caused loops to be non-terminal.  Fix this by rounding
virtual addresses down, but remember to include the offset in
the length, and round the length up to the following page.

This means that asking for a mapping of 4K starting at 2K into
a page maps two pages as one would expect.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2007-07-04 21:16:33 +01:00
..
abort-ev4.S
abort-ev4t.S
abort-ev5t.S
abort-ev5tj.S
abort-ev6.S
abort-ev7.S [ARM] armv7: add support for ARMv7 cores. 2007-05-08 22:55:53 +01:00
abort-lv4t.S
abort-macro.S
abort-nommu.S
alignment.c parse errors in ifdefs 2007-06-01 08:18:28 -07:00
cache-l2x0.c [ARM] 4135/1: Add support for the L210/L220 cache controllers 2007-02-11 16:48:02 +00:00
cache-v3.S
cache-v4.S
cache-v4wb.S
cache-v4wt.S
cache-v6.S
cache-v7.S [ARM] armv7: add support for ARMv7 cores. 2007-05-08 22:55:53 +01:00
consistent.c [ARM] 4153/1: fix consistent_sync() off-by-one BUG check 2007-02-08 15:29:00 +00:00
context.c Merge branches 'armv7', 'at91', 'misc' and 'omap' into devel 2007-05-09 10:41:28 +01:00
copypage-v3.S
copypage-v4mc.c [ARM] 4078/1: Fix ARM copypage cache coherency problems 2006-12-30 17:05:08 +00:00
copypage-v4wb.S
copypage-v4wt.S
copypage-v6.c [ARM] 4078/1: Fix ARM copypage cache coherency problems 2006-12-30 17:05:08 +00:00
copypage-xsc3.S
copypage-xscale.c [ARM] 4078/1: Fix ARM copypage cache coherency problems 2006-12-30 17:05:08 +00:00
discontig.c
extable.c
fault-armv.c [ARM] 4191/1: Remove redundant __flush_dcache_page() function prototype 2007-02-16 12:57:55 +00:00
fault.c move die notifier handling to common code 2007-05-08 11:15:04 -07:00
fault.h
flush.c [ARM] Resolve fuse and direct-IO failures due to missing cache flushes 2007-01-08 19:49:58 +00:00
init.c [ARM] Remove needless linux/ptrace.h includes 2007-04-21 20:34:47 +01:00
iomap.c
ioremap.c [ARM] spelling fixes 2007-05-20 20:10:32 +01:00
Kconfig [ARM] 4394/1: ARMv7: Add the TLB range operations 2007-05-30 14:32:07 +01:00
Makefile [ARM] 4394/1: ARMv7: Add the TLB range operations 2007-05-30 14:32:07 +01:00
mm.h [ARM] mm 6: allow mem_types table to specify extended pte attributes 2007-04-21 20:36:02 +01:00
mmap.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
mmu.c [ARM] Fix non-page aligned boot time mappings 2007-07-04 21:16:33 +01:00
nommu.c [ARM] mm 10: allow memory type to be specified with ioremap 2007-05-05 20:59:27 +01:00
pgd.c [ARM] Unuse another Linux PTE bit 2006-12-13 14:34:43 +00:00
proc-arm6_7.S [ARM] Unuse another Linux PTE bit 2006-12-13 14:34:43 +00:00
proc-arm7tdmi.S [ARM] Include asm/elf.h instead of asm/procinfo.h 2006-11-30 12:24:46 +00:00
proc-arm9tdmi.S [ARM] Include asm/elf.h instead of asm/procinfo.h 2006-11-30 12:24:46 +00:00
proc-arm720.S [ARM] Unuse another Linux PTE bit 2006-12-13 14:34:43 +00:00
proc-arm740.S [ARM] Include asm/elf.h instead of asm/procinfo.h 2006-11-30 12:24:46 +00:00
proc-arm920.S [ARM] Unuse another Linux PTE bit 2006-12-13 14:34:43 +00:00
proc-arm922.S [ARM] Unuse another Linux PTE bit 2006-12-13 14:34:43 +00:00
proc-arm925.S [ARM] Unuse another Linux PTE bit 2006-12-13 14:34:43 +00:00
proc-arm926.S [ARM] Unuse another Linux PTE bit 2006-12-13 14:34:43 +00:00
proc-arm940.S [ARM] Include asm/elf.h instead of asm/procinfo.h 2006-11-30 12:24:46 +00:00
proc-arm946.S [ARM] Include asm/elf.h instead of asm/procinfo.h 2006-11-30 12:24:46 +00:00
proc-arm1020.S [ARM] Unuse another Linux PTE bit 2006-12-13 14:34:43 +00:00
proc-arm1020e.S [ARM] Unuse another Linux PTE bit 2006-12-13 14:34:43 +00:00
proc-arm1022.S [ARM] Unuse another Linux PTE bit 2006-12-13 14:34:43 +00:00
proc-arm1026.S [ARM] Unuse another Linux PTE bit 2006-12-13 14:34:43 +00:00
proc-macros.S [ARM] armv7: add support for ARMv7 cores. 2007-05-08 22:55:53 +01:00
proc-sa110.S [ARM] Unuse another Linux PTE bit 2006-12-13 14:34:43 +00:00
proc-sa1100.S [ARM] Unuse another Linux PTE bit 2006-12-13 14:34:43 +00:00
proc-syms.c [ARM] Unuse another Linux PTE bit 2006-12-13 14:34:43 +00:00
proc-v6.S Merge Realview GIC code 2007-02-15 15:07:40 +00:00
proc-v7.S [ARM] 4394/1: ARMv7: Add the TLB range operations 2007-05-30 14:32:07 +01:00
proc-xsc3.S [ARM] 4123/1: xsc3: general cleanup 2007-02-08 14:48:44 +00:00
proc-xscale.S [ARM] 4311/1: ixp4xx: add KIXRP435 platform 2007-04-21 20:51:55 +01:00
tlb-v3.S
tlb-v4.S
tlb-v4wb.S
tlb-v4wbi.S
tlb-v6.S [ARM] 4129/1: Add barriers after the TLB operations 2007-02-08 14:49:27 +00:00
tlb-v7.S [ARM] 4394/1: ARMv7: Add the TLB range operations 2007-05-30 14:32:07 +01:00