acrn-hypervisor/hypervisor/arch/x86/guest
Qi Yadong 2fc3bdec40 HV: trusty: new hypercall to save/restore context of secure world
New field in VM's structure:
    sworld_snapshot: save cpu_context of secure world.

New hypercall: HC_SAVE_RESTORE_SWORLD_CTX
    In UOS S3 suspend path: trusty kernel driver will call this hypercall
    to require Hypervisor save context of secure world.
    In UOS S3 resume path: virtual firmware will call this hypercall to
    require Hypervisor restore context of secure world.

New bit in secure_world_control.flag:
    ctx_saved: indicate whether cpu_context of secure world is saved.

Signed-off-by: Qi Yadong <yadong.qi@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-08-09 15:09:15 +08:00
..
guest.c HV: trusty: refine secure_world_control 2018-08-09 15:09:15 +08:00
instr_emul.c hv: remove push/pop instruction emulation. 2018-08-09 14:46:13 +08:00
instr_emul.h HV: instr_emul: Remove dead code 2018-08-07 12:09:22 +08:00
mptable.c HV: Adding mptable support for partition mode ACRN 2018-08-03 13:36:40 +08:00
pm.c hv:cleanup vmid related code 2018-08-06 12:27:53 +08:00
ucode.c hv: get correct fault address for copy_to/from_gva 2018-08-09 14:46:13 +08:00
vcpu.c vcpu: add ext context support for world switch 2018-08-07 09:55:13 +08:00
vioapic.c hv: treewide: fix 'Switch empty default has no comment' 2018-08-08 16:01:57 +08:00
vlapic_priv.h HV:VLAPIC:add suffix "_fn" for function pointer 2018-07-31 10:33:22 +08:00
vlapic.c hv: treewide: fix 'Switch empty default has no comment' 2018-08-08 16:01:57 +08:00
vm.c HV: trusty: refine secure_world_control 2018-08-09 15:09:15 +08:00
vmcall.c HV: trusty: new hypercall to save/restore context of secure world 2018-08-09 15:09:15 +08:00
vmsr.c vcpu: add get/set register APIs 2018-08-07 09:55:13 +08:00
vpic.c hv:cleanup vmid related code 2018-08-06 12:27:53 +08:00