|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 16/27] ARM: vITS: handle CLEAR command
Hi Andre, On 27/03/17 09:44, Andre Przywara wrote: Hi, On 24/03/17 17:17, Stefano Stabellini wrote:On Fri, 24 Mar 2017, Andre Przywara wrote:Hi, On 24/03/17 14:27, Julien Grall wrote:Hi Andre, On 03/16/2017 11:20 AM, Andre Przywara wrote:This introduces the ITS command handler for the CLEAR command, which clears the pending state of an LPI. This removes a not-yet injected, but already queued IRQ from a VCPU. Signed-off-by: Andre Przywara <andre.przywara@xxxxxxx> --- xen/arch/arm/vgic-v3-its.c | 35 +++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git a/xen/arch/arm/vgic-v3-its.c b/xen/arch/arm/vgic-v3-its.c index 267a573..e808f43 100644 --- a/xen/arch/arm/vgic-v3-its.c +++ b/xen/arch/arm/vgic-v3-its.c[....] The SError is sent or not, it is not important whether the OS is able to handle it or not. And justifying with "the code cannot be tested" is not argument as I would have expected you to hack Linux to exercise the vITS. And given the current situation and the tech preview status of the ITS support I'd prefer to not go there at the moment. I would offer to annotate the error returns with the actual ITS error codes (as in the KVM code, for instance [2]). I am happy with that as a first step. Then put a comment in the code explaining the missing error signalling situation, and we create a ticket to notify ourselves of fixing this in the future. I think we still need to log the error. It is useful for the user to know what's going on. You could imagine someone trying to implement an OS using Xen and KVM. He would be really grateful to know what's going on. Cheers, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |