acrn-hypervisor/hypervisor/include
Jie Deng e97b171ca2 hv: tee: x86_tee interrupt support
Secure interrupt (interrupt belongs to TEE) comes
when TEE vcpu is running, the interrupt will be
injected to TEE directly. But when REE vcpu is running
at that time, we need to switch to TEE for handling.

Non-Secure interrupt (interrupt belongs to REE) comes
when REE vcpu is running, the interrupt will be injected
to REE directly. But when TEE vcpu is running at that time,
we need to inject a predefined vector to TEE for notification
and continue to switch back to TEE for running.

To sum up, when secure interrupt comes, switch to TEE
immediately regardless of whether REE is running or not;
when non-Secure interrupt comes and TEE is running,
just notify the TEE and keep it running, TEE will switch
to REE on its own initiative after completing its work.

Tracked-On: projectacrn#6571
Signed-off-by: Jie Deng <jie.deng@intel.com>
Reviewed-by: Wang, Yu1 <yu1.wang@intel.com>
Acked-by: Eddie Dong <eddie.dong@Intel.com>
2021-11-17 15:25:14 +08:00
..
arch/x86/asm hv: tee: x86_tee interrupt support 2021-11-17 15:25:14 +08:00
common hv: tee: add x86_tee hypercall interfaces 2021-11-17 15:25:14 +08:00
debug hv: remove UUID 2021-11-16 14:42:59 +08:00
dm HV: move the ve820 GPU OpRegion address 2021-11-08 13:13:14 +08:00
hw HV: treewide: fix violations of coding guideline C-TY-02 2021-11-04 18:15:47 +08:00
lib hv: align the MAX_IR_ENTRIES to MAX_PT_IRQ_ENTRIES 2021-11-15 09:00:27 +08:00
public hv: tee: add x86_tee hypercall interfaces 2021-11-17 15:25:14 +08:00