Re: [XEN v9 4/4] xen/arm64: io: Handle data abort due to cache maintenance instructions

2022-03-04 Thread Julien Grall
On 04/03/2022 14:40, Ayan Kumar Halder wrote: Hi Julien, Hi, I have a question. On 04/03/2022 12:49, Julien Grall wrote: On 04/03/2022 12:13, Ayan Kumar Halder wrote: Hi Julien, Hi, On 04/03/2022 10:46, Julien Grall wrote: Hi Ayan, On 01/03/2022 12:40, Ayan Kumar Halder wrote:

Re: [XEN v9 4/4] xen/arm64: io: Handle data abort due to cache maintenance instructions

2022-03-04 Thread Ayan Kumar Halder
Hi Julien, I have a question. On 04/03/2022 12:49, Julien Grall wrote: On 04/03/2022 12:13, Ayan Kumar Halder wrote: Hi Julien, Hi, On 04/03/2022 10:46, Julien Grall wrote: Hi Ayan, On 01/03/2022 12:40, Ayan Kumar Halder wrote: When the data abort is caused due to cache maintenance f

Re: [XEN v9 4/4] xen/arm64: io: Handle data abort due to cache maintenance instructions

2022-03-04 Thread Julien Grall
On 04/03/2022 12:13, Ayan Kumar Halder wrote: Hi Julien, Hi, On 04/03/2022 10:46, Julien Grall wrote: Hi Ayan, On 01/03/2022 12:40, Ayan Kumar Halder wrote: When the data abort is caused due to cache maintenance for an address, there are two scenarios:- 1. Address belonging to a non e

Re: [XEN v9 4/4] xen/arm64: io: Handle data abort due to cache maintenance instructions

2022-03-04 Thread Ayan Kumar Halder
Hi Julien, On 04/03/2022 10:46, Julien Grall wrote: Hi Ayan, On 01/03/2022 12:40, Ayan Kumar Halder wrote: When the data abort is caused due to cache maintenance for an address, there are two scenarios:- 1. Address belonging to a non emulated region - For this, Xen should set the correspondin

Re: [XEN v9 4/4] xen/arm64: io: Handle data abort due to cache maintenance instructions

2022-03-04 Thread Julien Grall
Hi Ayan, On 01/03/2022 12:40, Ayan Kumar Halder wrote: When the data abort is caused due to cache maintenance for an address, there are two 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 retu

Re: [XEN v9 4/4] xen/arm64: io: Handle data abort due to cache maintenance instructions

2022-03-03 Thread Stefano Stabellini
On Tue, 1 Mar 2022, Ayan Kumar Halder wrote: > When the data abort is caused due to cache maintenance for an address, > there are two 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 > retur

[XEN v9 4/4] xen/arm64: io: Handle data abort due to cache maintenance instructions

2022-03-01 Thread Ayan Kumar Halder
When the data abort is caused due to cache maintenance for an address, there are two 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 happen