Skip to content
Commit 7cb721e1 authored by Steven Price's avatar Steven Price
Browse files

arm64: mm: Avoid TLBI when marking pages as valid



When __change_memory_common() is purely setting the valid bit on a PTE
(e.g. via the set_memory_valid() call) there is no need for a TLBI as
either the entry isn't changing (the valid bit was already set) or the
entry was invalid and so should not have been cached in the TLB.

Signed-off-by: Steven Price's avatarSteven Price <steven.price@arm.com>
---
v4: New patch
parent 26e98a03
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment