aboutsummaryrefslogtreecommitdiff
path: root/arch/arm64/kvm/hyp/switch.c
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2015-10-28 08:45:37 +0000
committerMarc Zyngier <marc.zyngier@arm.com>2015-12-14 11:30:40 +0000
commitc1bf6e18e97e7ead77371d4251f8ef1567455584 (patch)
tree53e7415e7f0f0cca0ae632298a94c1d58c43efb2 /arch/arm64/kvm/hyp/switch.c
parentb97b66c14b96ab562e4fd516d804c5cd05c0529e (diff)
arm64: KVM: Add patchable function selector
KVM so far relies on code patching, and is likely to use it more in the future. The main issue is that our alternative system works at the instruction level, while we'd like to have alternatives at the function level. In order to cope with this, add the "hyp_alternate_select" macro that outputs a brief sequence of code that in turn can be patched, allowing an alternative function to be selected. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm64/kvm/hyp/switch.c')
0 files changed, 0 insertions, 0 deletions