[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: Roger Pau Monné <roger.pau@xxxxxxxxxx>, Oleksandr Andrushchenko <andr2000@xxxxxxxxx>
  • From: Oleksandr Andrushchenko <Oleksandr_Andrushchenko@xxxxxxxx>
  • Date: Thu, 12 Nov 2020 12:54:49 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epam.com; dmarc=pass action=none header.from=epam.com; dkim=pass header.d=epam.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7aB8W4OWIlVdg7LOVbs3Kmr8dlOKwhPxhSaGqZv+ueA=; b=mACXOkNqE9Fza/xj52QP5GlQNgaCxyqNXj2o2C3B4085wDnPgV9S4C3fxk6d6HX8hExNXSZ/6212NRlOMcz0jmbtv/RhAEeHH7ep5eqE9snoQkTSis0IioTbAoUFWaXjPOvshfpE8bLRcB2bgB4qeAlzXEZGlLC1d5yiwZyn/qsMYrS+4xE0rgw3J4z49nwPKqFeRYgyCHWOPJKkzP5TNeTuArt2wo82LFkwEJLPGMKt1964kfRnrneQDQh+z4Miv+Skv5dBOZ4m5QJa/dcTs+Ty+lrvqv4i4WxiUjSt1EDXDYIaHaEPm3iAveCzqQZUjvb+cn2i9YUmIfsJIHdrgQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gS3K8xc2xEL9gZ7W1s2N4ITwagcAKI5LAAbyEtnbUYdnVOx1je8eRaSGASjdYLLfp0ckcA4RWQ25Kan1UKLYWGlfl1CEU9cnlJDb7pxceA8i4cuSfUm86YvV9CfzHeGWJYTvYZMWIj7xA7YNu5D6BkySvoTv4DBCBwKPPlZ20qXBmYkLv+2BfgMh5K1x7X0SAD4TA6ZJLgbZMKxvgAw5oDZ1zU421a+g0UnL5b5+Az41XN2PPMPXqfEymsKqj72efWUuCMVvoO5IjeXHkc4jmrYvMPylqLB6x9fAQCT4hB5AxUfMG8qoe8gjEEodD8AQF7YGbUFm512FqiUfrHnoQA==
  • Authentication-results: citrix.com; dkim=none (message not signed) header.d=none;citrix.com; dmarc=none action=none header.from=epam.com;
  • Cc: "Rahul.Singh@xxxxxxx" <Rahul.Singh@xxxxxxx>, "Bertrand.Marquis@xxxxxxx" <Bertrand.Marquis@xxxxxxx>, "julien.grall@xxxxxxx" <julien.grall@xxxxxxx>, "jbeulich@xxxxxxxx" <jbeulich@xxxxxxxx>, "sstabellini@xxxxxxxxxx" <sstabellini@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, "iwj@xxxxxxxxxxxxxx" <iwj@xxxxxxxxxxxxxx>, "wl@xxxxxxx" <wl@xxxxxxx>
  • Delivery-date: Thu, 12 Nov 2020 12:55:01 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHWtpbxgvcOGSsv3UquxFkS+bVZEanDBRsAgAFzuAA=
  • Thread-topic: [PATCH 04/10] [WORKAROUND] xen/arm: Update hwdom's p2m to trap ECAM space

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_andrushchenko@xxxxxxxx>
>>
>> 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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.