[PATCH] Add the ARMv7 TLB flags to tlbflush.h | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Initially, the ARMv7 port used the v6wbi tlb flags but later the v7wbi variant was added. However, the patch did not udpate the (possible|always)_tlb_flags macros accordingly. This patch fixes this issue. The problem was made visible by commit 99c6dc11 (Feroceon-specific TLB flushing which is undefined on ARMv7). Signed-off-by: Catalin Marinas <catalin.marinas@xxxxxxx> --- include/asm-arm/tlbflush.h | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/asm-arm/tlbflush.h b/include/asm-arm/tlbflush.h index 909656c..0cd82ee 100644 --- a/include/asm-arm/tlbflush.h +++ b/include/asm-arm/tlbflush.h @@ -266,14 +266,16 @@ extern struct cpu_tlb_fns cpu_tlb; v4wbi_possible_flags | \ fr_possible_flags | \ v4wb_possible_flags | \ - v6wbi_possible_flags) + v6wbi_possible_flags | \ + v7wbi_possible_flags) #define always_tlb_flags (v3_always_flags & \ v4_always_flags & \ v4wbi_always_flags & \ fr_always_flags & \ v4wb_always_flags & \ - v6wbi_always_flags) + v6wbi_always_flags & \ + v7wbi_always_flags) #define tlb_flag(f) ((always_tlb_flags & (f)) || (__tlb_flag & possible_tlb_flags & (f))) ------------------------------------------------------------------- List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php
[Site Home] [Linux Arm] [Fedora ARM] [Gcc Help] [Git] [DCCP] [IETF Announce] [Security] [PDAs] [Linux] [Linux Book List] [Linux MIPS] [Yosemite Campsites] [Photos]
![]() |
|