commit | c8dddecdeb2ae95a6535855ce8a26b7197471b16 | [log] [tgz] |
---|---|---|
author | Marc Zyngier <marc.zyngier@arm.com> | Mon Jun 13 15:00:45 2016 +0100 |
committer | Christoffer Dall <christoffer.dall@linaro.org> | Wed Jun 29 13:59:14 2016 +0200 |
tree | 4e247c7ae10eba4d4db980dae7113bbf43dc33d5 | |
parent | 8ff7b956471faadb0f874a49e8603d43cb1e55d5 [diff] |
arm/arm64: KVM: Add a protection parameter to create_hyp_mappings Currently, create_hyp_mappings applies a "one size fits all" page protection (PAGE_HYP). As we're heading towards separate protections for different sections, let's make this protection a parameter, and let the callers pass their prefered protection (PAGE_HYP for everyone for the time being). Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>