android_kernel_xiaomi_sm8350/arch/arm/mm
Russell King 5edf71ae12 [ARM] Do not call flush_tlb_kernel_range() with IRQs disabled.
We must not call TLB maintainence operations with interrupts disabled,
otherwise we risk a lockup in the SMP IPI code.

This means that consistent_free() can not be called from a context with
IRQs disabled.  In addition, we must not hold the lock in consistent_free
when we call flush_tlb_kernel_range().  However, we must continue to
prevent consistent_alloc() from re-using the memory region until we've
finished tearing down the mapping and dealing with the TLB.

Therefore, leave the vm_region entry in the list, but mark it inactive
before dropping the lock and starting the tear-down process.  After the
mapping has been torn down, re-acquire the lock and remove the entry
from the list.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2005-11-25 15:52:51 +00:00
..
abort-ev4.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
abort-ev4t.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
abort-ev5t.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
abort-ev5tj.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
abort-ev6.S [ARM] 2943/1: Clear the exclusive monitor in v6_early_abort 2005-10-02 22:34:35 +01:00
abort-lv4t.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
abort-macro.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
alignment.c [ARM] 2969/1: miscellaneous whitespace cleanup 2005-10-12 19:58:10 +01:00
cache-v3.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cache-v4.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cache-v4wb.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cache-v4wt.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cache-v6.S [ARM] 2940/1: Fix BTB entry flush in arch/arm/mm/cache-v6.S 2005-09-30 16:09:17 +01:00
consistent.c [ARM] Do not call flush_tlb_kernel_range() with IRQs disabled. 2005-11-25 15:52:51 +00:00
copypage-v3.S kbuild: arm - use generic asm-offsets.h support 2005-09-09 21:08:59 +02:00
copypage-v4mc.c [PATCH] ARM: Fix build error 2005-05-16 23:36:22 +01:00
copypage-v4wb.S kbuild: arm - use generic asm-offsets.h support 2005-09-09 21:08:59 +02:00
copypage-v4wt.S kbuild: arm - use generic asm-offsets.h support 2005-09-09 21:08:59 +02:00
copypage-v6.c [ARM] Make v6 copypage function static and cleanup pgprots 2005-10-30 19:03:21 +00:00
copypage-xscale.c [PATCH] ARM: Fix Xscale copy_page implementation 2005-06-08 15:28:24 +01:00
discontig.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
extable.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fault-armv.c [PATCH] mm: arm ready for split ptlock 2005-10-29 21:40:42 -07:00
fault.c [ARM] Prevent deadlock in page fault handler 2005-09-20 17:52:13 +01:00
fault.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
flush.c [ARM] 2939/1: Fix compilation error in arch/arm/mm/flush.c 2005-09-30 16:07:04 +01:00
init.c [ARM] Fix some corner cases in new mm initialisation 2005-11-17 22:43:30 +00:00
ioremap.c [ARM] __ioremap doesn't use 4th argument 2005-11-17 16:48:00 +00:00
Kconfig [ARM] 3145/1: OMAP 3a/5: Add support for omap24xx 2005-11-10 14:26:51 +00:00
Makefile [ARM] 3168/1: Update ARM signal delivery and masking 2005-11-19 10:01:07 +00:00
mm-armv.c [ARM SMP] Add support for shared memory attribute 2005-11-07 10:10:28 +00:00
mmap.c [PATCH] Avoiding mmap fragmentation 2005-06-21 18:46:16 -07:00
mmu.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
proc-arm6_7.S [ARM] 2926/1: .proc.info - postfix section with .init for make buildcheck 2005-09-20 16:35:03 +01:00
proc-arm720.S [ARM] 2926/1: .proc.info - postfix section with .init for make buildcheck 2005-09-20 16:35:03 +01:00
proc-arm920.S [ARM] 2926/1: .proc.info - postfix section with .init for make buildcheck 2005-09-20 16:35:03 +01:00
proc-arm922.S [ARM] 2926/1: .proc.info - postfix section with .init for make buildcheck 2005-09-20 16:35:03 +01:00
proc-arm925.S [ARM] 2926/1: .proc.info - postfix section with .init for make buildcheck 2005-09-20 16:35:03 +01:00
proc-arm926.S [ARM] 2926/1: .proc.info - postfix section with .init for make buildcheck 2005-09-20 16:35:03 +01:00
proc-arm1020.S [ARM] 2926/1: .proc.info - postfix section with .init for make buildcheck 2005-09-20 16:35:03 +01:00
proc-arm1020e.S [ARM] 2926/1: .proc.info - postfix section with .init for make buildcheck 2005-09-20 16:35:03 +01:00
proc-arm1022.S [ARM] 2926/1: .proc.info - postfix section with .init for make buildcheck 2005-09-20 16:35:03 +01:00
proc-arm1026.S [ARM] 2926/1: .proc.info - postfix section with .init for make buildcheck 2005-09-20 16:35:03 +01:00
proc-macros.S kbuild: arm - use generic asm-offsets.h support 2005-09-09 21:08:59 +02:00
proc-sa110.S [ARM] 2926/1: .proc.info - postfix section with .init for make buildcheck 2005-09-20 16:35:03 +01:00
proc-sa1100.S [ARM] 2926/1: .proc.info - postfix section with .init for make buildcheck 2005-09-20 16:35:03 +01:00
proc-syms.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
proc-v6.S [ARM SMP] Add Realview MPcore SMP support 2005-11-07 21:05:42 +00:00
proc-xscale.S [ARM] 2926/1: .proc.info - postfix section with .init for make buildcheck 2005-09-20 16:35:03 +01:00
tlb-v3.S kbuild: arm - use generic asm-offsets.h support 2005-09-09 21:08:59 +02:00
tlb-v4.S kbuild: arm - use generic asm-offsets.h support 2005-09-09 21:08:59 +02:00
tlb-v4wb.S kbuild: arm - use generic asm-offsets.h support 2005-09-09 21:08:59 +02:00
tlb-v4wbi.S kbuild: arm - use generic asm-offsets.h support 2005-09-09 21:08:59 +02:00
tlb-v6.S kbuild: arm - use generic asm-offsets.h support 2005-09-09 21:08:59 +02:00