lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sat, 11 Jul 2015 13:25:21 -0700 From: David Daney <ddaney.cavm@...il.com> To: linux-arm-kernel@...ts.infradead.org, Catalin Marinas <catalin.marinas@....com>, Will Deacon <will.deacon@....com> Cc: linux-kernel@...r.kernel.org, Robert Richter <rrichter@...ium.com>, Andrew Morton <akpm@...ux-foundation.org>, David Daney <david.daney@...ium.com> Subject: [PATCH 1/3] arm64, mm: Add flush_tlb_all_local() function. From: David Daney <david.daney@...ium.com> To be used in follow-on patch. Signed-off-by: David Daney <david.daney@...ium.com> --- arch/arm64/include/asm/tlbflush.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/include/asm/tlbflush.h b/arch/arm64/include/asm/tlbflush.h index 934815d..42c09ec 100644 --- a/arch/arm64/include/asm/tlbflush.h +++ b/arch/arm64/include/asm/tlbflush.h @@ -105,6 +105,13 @@ static inline void __flush_tlb_range(struct vm_area_struct *vma, dsb(ish); } +static inline void flush_tlb_all_local(void) +{ + dsb(ishst); + asm("tlbi vmalle1"); + isb(); +} + static inline void __flush_tlb_kernel_range(unsigned long start, unsigned long end) { unsigned long addr; -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists