diff options
author | Ard Biesheuvel <[email protected]> | 2015-11-17 09:53:31 +0100 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2015-11-18 09:40:20 +0000 |
commit | 65da0a8e34a857f2ba9ccb91dc8f8f964cf938b7 (patch) | |
tree | 8dd46aee28e086b06249e65042b03db96631eca4 /net/lapb/lapb_timer.c | |
parent | de818bd4522c40ea02a81b387d2fa86f989c9623 (diff) |
arm64: use non-global mappings for UEFI runtime regions
As pointed out by Russell King in response to the proposed ARM version
of this code, the sequence to switch between the UEFI runtime mapping
and current's actual userland mapping (and vice versa) is potentially
unsafe, since it leaves a time window between the switch to the new
page tables and the TLB flush where speculative accesses may hit on
stale global TLB entries.
So instead, use non-global mappings, and perform the switch via the
ordinary ASID-aware context switch routines.
Signed-off-by: Ard Biesheuvel <[email protected]>
Acked-by: Will Deacon <[email protected]>
Reviewed-by: Mark Rutland <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions