|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v5 5/9] monitor: ARM SMC events
Hello Tamas, On 02/06/16 23:52, Tamas K Lengyel wrote: How do you expect the introspection app to deal with it? As explained in a previous mail [1], the ISS encoding is different between ARMv7 32-bit and ARMv8 32-bit. The former is unknown (see B3-1431 in ARM DDI 0406C.c) whilst the latter contains fields related to the condition (see D7-1897 in ARM DDI 0406C.c). This is because on ARMv8, the conditional SMC issued in AArch32 state may trap even if the condition has failed. So the app would have to know whether the hypervisor is running on an ARMv7 or ARMv8 platform. But I am not aware of an easy way to differentiate it from the registers. Furthermore, I think the vm_event app should only received SMCs whose condition has succeeded, because they will be actual SMC. The others should just be ignored. IHMO, the vm_event should only contain the immediate. The rest only matters for the hypervisor. Regards,[1] http://lists.xenproject.org/archives/html/xen-devel/2016-06/msg00285.html -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |