Re: [PATCH V3 21/23] xen/arm: Add mapcache invalidation handling

2020-12-11 Thread Julien Grall
On 11/12/2020 19:07, Stefano Stabellini wrote: On Fri, 11 Dec 2020, Oleksandr wrote: On 11.12.20 03:28, Stefano Stabellini wrote: On Thu, 10 Dec 2020, Julien Grall wrote: On 10/12/2020 02:30, Stefano Stabellini wrote: On Mon, 30 Nov 2020, Oleksandr Tyshchenko wrote: From: Oleksandr Tyshch

Re: [PATCH V3 21/23] xen/arm: Add mapcache invalidation handling

2020-12-11 Thread Julien Grall
Hi Stefano, On 11/12/2020 01:28, Stefano Stabellini wrote: Signed-off-by: Oleksandr Tyshchenko CC: Julien Grall --- Please note, this is a split/cleanup/hardening of Julien's PoC: "Add support for Guest IO forwarding to a device emulator" Changes V1 -> V2: - new patch, some changes were

Re: [PATCH V3 21/23] xen/arm: Add mapcache invalidation handling

2020-12-11 Thread Stefano Stabellini
On Fri, 11 Dec 2020, Oleksandr wrote: > On 11.12.20 03:28, Stefano Stabellini wrote: > > On Thu, 10 Dec 2020, Julien Grall wrote: > > > On 10/12/2020 02:30, Stefano Stabellini wrote: > > > > On Mon, 30 Nov 2020, Oleksandr Tyshchenko wrote: > > > > > From: Oleksandr Tyshchenko > > > > > > > > > >

Re: [PATCH V3 21/23] xen/arm: Add mapcache invalidation handling

2020-12-11 Thread Oleksandr
On 11.12.20 03:28, Stefano Stabellini wrote: Hi Julien, Stefano On Thu, 10 Dec 2020, Julien Grall wrote: On 10/12/2020 02:30, Stefano Stabellini wrote: On Mon, 30 Nov 2020, Oleksandr Tyshchenko wrote: From: Oleksandr Tyshchenko We need to send mapcache invalidation request to qemu/demu e

Re: [PATCH V3 21/23] xen/arm: Add mapcache invalidation handling

2020-12-10 Thread Stefano Stabellini
On Thu, 10 Dec 2020, Julien Grall wrote: > On 10/12/2020 02:30, Stefano Stabellini wrote: > > On Mon, 30 Nov 2020, Oleksandr Tyshchenko wrote: > > > From: Oleksandr Tyshchenko > > > > > > We need to send mapcache invalidation request to qemu/demu everytime > > > the page gets removed from a guest

Re: [PATCH V3 21/23] xen/arm: Add mapcache invalidation handling

2020-12-10 Thread Julien Grall
Hi Stefano, On 10/12/2020 02:30, Stefano Stabellini wrote: On Mon, 30 Nov 2020, Oleksandr Tyshchenko wrote: From: Oleksandr Tyshchenko We need to send mapcache invalidation request to qemu/demu everytime the page gets removed from a guest. At the moment, the Arm code doesn't explicitely remo

Re: [PATCH V3 21/23] xen/arm: Add mapcache invalidation handling

2020-12-09 Thread Stefano Stabellini
On Mon, 30 Nov 2020, Oleksandr Tyshchenko wrote: > From: Oleksandr Tyshchenko > > We need to send mapcache invalidation request to qemu/demu everytime > the page gets removed from a guest. > > At the moment, the Arm code doesn't explicitely remove the existing > mapping before inserting the new

[PATCH V3 21/23] xen/arm: Add mapcache invalidation handling

2020-11-30 Thread Oleksandr Tyshchenko
From: Oleksandr Tyshchenko We need to send mapcache invalidation request to qemu/demu everytime the page gets removed from a guest. At the moment, the Arm code doesn't explicitely remove the existing mapping before inserting the new mapping. Instead, this is done implicitely by __p2m_set_entry()