Re: [PATCH v12] xen/arm64: io: Handle data abort due to cache maintenance instructions

2022-04-27 Thread Julien Grall
Hi, On 18/04/2022 22:02, Stefano Stabellini wrote: On Fri, 1 Apr 2022, Julien Grall wrote: On 24/03/2022 13:37, Ayan Kumar Halder wrote: /* * At this point, we know that the instruction is either valid or has been * decoded successfully. Thus, Xen should be allowed to ex

Re: [PATCH v12] xen/arm64: io: Handle data abort due to cache maintenance instructions

2022-04-18 Thread Stefano Stabellini
On Fri, 1 Apr 2022, Julien Grall wrote: > On 24/03/2022 13:37, Ayan Kumar Halder wrote: > > /* > >* At this point, we know that the instruction is either valid or has > > been > >* decoded successfully. Thus, Xen should be allowed to execute the > > diff --git a/xen/arch/arm/i

Re: [PATCH v12] xen/arm64: io: Handle data abort due to cache maintenance instructions

2022-04-01 Thread Julien Grall
Hi Ayan, On 24/03/2022 13:37, Ayan Kumar Halder wrote: /* * At this point, we know that the instruction is either valid or has been * decoded successfully. Thus, Xen should be allowed to execute the diff --git a/xen/arch/arm/ioreq.c b/xen/arch/arm/ioreq.c index 54167aebcb..87

[PATCH v12] xen/arm64: io: Handle data abort due to cache maintenance instructions

2022-03-24 Thread Ayan Kumar Halder
When the data abort is caused due to cache maintenance for an address, there are three scenarios:- 1. Address belonging to a non emulated region - For this, Xen should set the corresponding bit in the translation table entry to valid and return to the guest to retry the instruction. This can happe