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 <oleksandr_andrushche...@epam.com> >> >> 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, maybe we want to introduce another way to avoid the mapping. >> Maybe by changing the type of the controller to "PCI_HOSTCONTROLLER" >> and checking if this is a PCI hostcontroller avoid the mapping. > I know very little about Arm to be able to provide meaningful comments > here. I agree that creating the maps just to remove them afterwards is > not the right approach, we should instead avoid those mappings from > being created in the first place. Agreed, we'll need to find an acceptable way of doing so > Roger.
Thank you, Oleksandr