ARM GIC-V4.1 vLPI直接注入原理
GIC-V3 ITS翻译流程及vLPI注入GIC-V4.1 vLPI直接注入3. 新增ITS命令(更多见GIC Spec)3.1 VMAPP(GIC V4.1)作用将vPEID对应的vPE映射至目标Redistributor上并指明该vPE使用的默认门铃中断的物理中断号。副作用填充VPE Table(VPE Configuration Table)指明该vPE的Virtual LPI Pending Table、Virtual LPI Configuration Table。注意必须在为VPE Table(VPE Configuration Table)申请内存之后才能使用VMAPP。vPEIDThe vPEID is a global identifier, shared by all the Redistributors and ITSs in the system不等价于vCPUid不能出现重复VCONF_addrthe address of the vPE’s virtual Configuration tableVPT_addrthe address of the vPE’s virtual Pending tableRDbaseIdentifies the target RedistributorDefault_Doorbell_pINTIDthe default doorbell for the vPE(物理LPI中断号 8192)3.2 VMAPTI(类比MAPTI)作用映射一个vLPI至vPEID副作用填充ITT表vPEIDvLPI中断对应的目标vPEDeviceID设备的物理DeviceID 物理BDFEventIDvLPI对应的EventIDVINTIDvLPI中断号guest视角下的物理中断号