hv: tee: Rename TEE_NOTIFICATION_VECTOR to TEE_FIXED_NONSECURE_VECTOR
The TEE_NOTIFICATION_VECTOR can sometimes be confused with TEE's PI notification vector. So rename it to TEE_FIXED_NONSECURE_VECTOR for better readability. No logic change. v3: Add more comments in commit message. Tracked-On: #6571 Signed-off-by: Yifan Liu <yifan1.liu@intel.com> Reviewed-by: Wang, Yu1 <yu1.wang@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
parent
702a71639f
commit
fd7ab300a8
|
@ -170,7 +170,7 @@ void handle_x86_tee_int(struct ptirq_remapping_info *entry, uint16_t pcpu_id)
|
||||||
* and continue to switch back to TEE for running.
|
* and continue to switch back to TEE for running.
|
||||||
*/
|
*/
|
||||||
tee_vcpu = vcpu_from_pid(get_companion_vm(entry->vm), pcpu_id);
|
tee_vcpu = vcpu_from_pid(get_companion_vm(entry->vm), pcpu_id);
|
||||||
vlapic_set_intr(tee_vcpu, TEE_NOTIFICATION_VECTOR, LAPIC_TRIG_EDGE);
|
vlapic_set_intr(tee_vcpu, TEE_FIXED_NONSECURE_VECTOR, LAPIC_TRIG_EDGE);
|
||||||
} else if (is_tee_vm(entry->vm) && is_ree_vm(curr_vcpu->vm)) {
|
} else if (is_tee_vm(entry->vm) && is_ree_vm(curr_vcpu->vm)) {
|
||||||
/*
|
/*
|
||||||
* Secure interrupt (interrupt belongs to TEE) comes
|
* Secure interrupt (interrupt belongs to TEE) comes
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
#include <asm/vm_config.h>
|
#include <asm/vm_config.h>
|
||||||
#include <ptdev.h>
|
#include <ptdev.h>
|
||||||
|
|
||||||
#define TEE_NOTIFICATION_VECTOR 0x29U
|
#define TEE_FIXED_NONSECURE_VECTOR 0x29U
|
||||||
|
|
||||||
/* If the RDI equals to this value, then this is a RETURN after FIQ DONE */
|
/* If the RDI equals to this value, then this is a RETURN after FIQ DONE */
|
||||||
#define OPTEE_RETURN_FIQ_DONE 0xBE000006UL
|
#define OPTEE_RETURN_FIQ_DONE 0xBE000006UL
|
||||||
|
|
Loading…
Reference in New Issue