diff options
| author | Marc Zyngier <[email protected]> | 2017-06-09 12:49:32 +0100 |
|---|---|---|
| committer | Marc Zyngier <[email protected]> | 2017-06-15 09:44:58 +0100 |
| commit | 021234ef3752f853704ef1919e8ff33173aca093 (patch) | |
| tree | 598f3fb8e246fe21daf83b816a7506fedaacda44 /net/lapb/lapb_iface.c | |
| parent | 63000dd8006dc987db31ba670edc23142ea91e01 (diff) | |
KVM: arm64: Make kvm_condition_valid32() accessible from EL2
As we're about to trap CP15 accesses and handle them at EL2, we
need to evaluate whether or not the condition flags are valid,
as an implementation is allowed to trap despite the condition
not being met.
Tagging the function as __hyp_text allows this. We still rely on
the cc_map array to be mapped at EL2 by virtue of being "const",
and the linker to only emit relative references.
Tested-by: Alexander Graf <[email protected]>
Acked-by: David Daney <[email protected]>
Reviewed-by: Eric Auger <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Signed-off-by: Christoffer Dall <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions