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

Re: [PATCH v8 2/4] xen/arm: setup MMIO range trap handlers for hardware domain


  • To: Oleksandr Andrushchenko <andr2000@xxxxxxxxx>
  • From: Rahul Singh <Rahul.Singh@xxxxxxx>
  • Date: Thu, 9 Dec 2021 10:18:35 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=fnsiNX87ajLgfh6tqi80Bzu92jKM8w5R3UugHDcNgJ8=; b=UEETZ1JuF2rfktw7wMz/45y8Vs1mdKxU3HOasi9GEE4kTu9zLWRueZOisqRomf5J5UA2SA3s+hJKrQiEQkbJsV0PbEHlYk2nZRY4wV/onVzbml7UM3HZG83+QU6wLTY7tQMn0NhUPDBTT9XpnYq+EYr0EKU/WB6CA92d7oQsXUf9pVsmIWife0M/YSM5r2eSuH0TZXkDAoH59g2QdyNqQTbJ17+5ZMUgVy5S/jZK9NriQQHo+Pbju2+OXUxhIxhWLIsjYO2qp+RL0VnZiezpE+VZdipipBKkg7WxAHiq+OmbWYGVSpnp79nkoblaip6g08l9bxc9v8+5brX0d/Yamw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ilntKihMDRZZBQpt7wko8V8L/oZ700JJf8MVsYVWCtgRUZIkIH53oWsVSQcUp9lSvxrV8zSTBlvne8nZH1feVqy96Knjd3HVcDZfrG+RChBcYu9M2R6nLlJpvzAHg8Cy9AVs5fvma4hGmbRB06wrYtHODVH+ck2hKyjZing95AWXZMKTgQdo2wWBOwTcwebWF7pZhbOlr94JGTLQTcWGPVxI1/wVNMoIQUCU+WYtI3sfQDHy3DM9B0okWKCfHoOIre1h7yk/royyV8cc1Oqjwr0mpaOQXb0eam5XiNLxOZIFejGPUga0YzHBx9PRyHZ6QQjd1mg9Wfn8xO2bRn7kXg==
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, "oleksandr_tyshchenko@xxxxxxxx" <oleksandr_tyshchenko@xxxxxxxx>, "volodymyr_babchuk@xxxxxxxx" <volodymyr_babchuk@xxxxxxxx>, "artem_mygaiev@xxxxxxxx" <artem_mygaiev@xxxxxxxx>, Bertrand Marquis <Bertrand.Marquis@xxxxxxx>, Oleksandr Andrushchenko <oleksandr_andrushchenko@xxxxxxxx>
  • Delivery-date: Thu, 09 Dec 2021 10:19:09 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Thread-index: AQHX7M6C5/TVkloENUKtLtY2iMOfH6wp8qEA
  • Thread-topic: [PATCH v8 2/4] xen/arm: setup MMIO range trap handlers for hardware domain

Hi Oleksandr,

> On 9 Dec 2021, at 7:29 am, Oleksandr Andrushchenko <andr2000@xxxxxxxxx> wrote:
> 
> From: Oleksandr Andrushchenko <oleksandr_andrushchenko@xxxxxxxx>
> 
> In order for vPCI to work it needs to maintain guest and hardware
> domain's views of the configuration space. For example, BARs and
> COMMAND registers require emulation for guests and the guest view
> of the registers needs to be in sync with the real contents of the
> relevant registers. For that ECAM address space needs to also be
> trapped for the hardware domain, so we need to implement PCI host
> bridge specific callbacks to properly setup MMIO handlers for those
> ranges depending on particular host bridge implementation.
> 
> Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@xxxxxxxx>

Reviewed-by: Rahul Singh <rahul.singh@xxxxxxx>
Tested-by: Rahul Singh <rahul.singh@xxxxxxx>

Regards,
Rahul



 


Rackspace

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