Re: [PATCH 04/10] [WORKAROUND] xen/arm: Update hwdom's p2m to trap ECAM space

2020-11-12 Thread Oleksandr Andrushchenko
On 11/11/20 4:44 PM, Roger Pau Monné wrote: > On Mon, Nov 09, 2020 at 02:50:25PM +0200, Oleksandr Andrushchenko wrote: >> From: Oleksandr Andrushchenko >> >> Host bridge controller's ECAM space is mapped into Domain-0's p2m, >> thus it is not possible to trap the same for vPCI via MMIO handlers.

Re: [PATCH 04/10] [WORKAROUND] xen/arm: Update hwdom's p2m to trap ECAM space

2020-11-11 Thread Roger Pau Monné
On Mon, Nov 09, 2020 at 02:50:25PM +0200, Oleksandr Andrushchenko wrote: > From: Oleksandr Andrushchenko > > Host bridge controller's ECAM space is mapped into Domain-0's p2m, > thus it is not possible to trap the same for vPCI via MMIO handlers. > For this to work we need to unmap those

[PATCH 04/10] [WORKAROUND] xen/arm: Update hwdom's p2m to trap ECAM space

2020-11-09 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Host bridge controller's ECAM space is mapped into Domain-0's p2m, thus it is not possible to trap the same for vPCI via MMIO handlers. For this to work we need to unmap those mappings in p2m. TODO (Julien): It would be best if we avoid the map/unmap operation. So,