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

Re: [PATCH v3 05/11] vpci/header: Implement guest BAR register handlers


  • To: Oleksandr Andrushchenko <andr2000@xxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Fri, 1 Oct 2021 15:31:52 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.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=YhsLwXJe7nzHQDzW8lEmGU2YmeM3dFTlymztpAfcM+A=; b=kLfhVSpNJ6RhDEHGtkw3BmjO2ORHDoSJXtEmGDdqRk0ESxmCLVBln37CXSinHwQndt06bj0fwfJJfmvAh9VEMAy1NCCNu8v553F74NUt9m8y3TCHEeBq10u7kIB+CmtvPvri7Rl4tDNn0j8ZvoeOTeOww2zYWxax8ajGlGDWC2EkrN90Hqrf6d4BKhsf7WGvvUmsWKICYtYmA3ZTzCyg6nIvhRpPuYdIecgbtQncyljd9CnTro9aLIhqK6JlGDC9HhAvI3BaWN9EvzMAdCEFgjf7NG9bCoxEpM9+z6ohIrQMf8IxVgNG2hr8NXPB6kTmDWOJH9eYsFiOVt2U1oCjeA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i6jkLYBS0B+81meqnqsJN8Eyoek7Fcu2Ve4gXec2sY8GwKg4jlDwQcoQTiZcty0gzJPEewiPvyjlorJAxHk3jkIF4wT+tUh4wl4vjUT7Ot/juL9DPZIJF14b9yafaU6ePIyyFQaxcCu5kw1oBJ7LExK338RccngqvQJQXMoKI+qfw57FXla16oPhbvC2eALqjs4Yj5wvQKNQSg2lglezN9FzbxLepopbFL1VHk+geT/Y++fBoHrEYdouPKMlkI+APdRgawz123wyQXmRfB2YXo0K1a24Cet7WeHWKTMLwAylOtHn4qwl64npeuqgLAlJzzx74cQ7DQv+T1+4UMpk/Q==
  • Authentication-results: lists.xenproject.org; dkim=none (message not signed) header.d=none;lists.xenproject.org; dmarc=none action=none header.from=suse.com;
  • Cc: julien@xxxxxxx, sstabellini@xxxxxxxxxx, oleksandr_tyshchenko@xxxxxxxx, volodymyr_babchuk@xxxxxxxx, Artem_Mygaiev@xxxxxxxx, roger.pau@xxxxxxxxxx, bertrand.marquis@xxxxxxx, rahul.singh@xxxxxxx, Oleksandr Andrushchenko <oleksandr_andrushchenko@xxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Fri, 01 Oct 2021 13:32:06 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 30.09.2021 09:52, Oleksandr Andrushchenko wrote:
> From: Oleksandr Andrushchenko <oleksandr_andrushchenko@xxxxxxxx>
> 
> Emulate guest BAR register values: this allows creating a guest view
> of the registers and emulates size and properties probe as it is done
> during PCI device enumeration by the guest.
> 
> ROM BAR is only handled for the hardware domain and for guest domains
> there is a stub: at the moment PCI expansion ROM is x86 only, so it
> might not be used by other architectures without emulating x86. Other
> use-cases may include using that expansion ROM before Xen boots, hence
> no emulation is needed in Xen itself. Or when a guest wants to use the
> ROM code which seems to be rare.
> 
> Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@xxxxxxxx>
> Reviewed-by: Michal Orzel <michal.orzel@xxxxxxx>

Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>




 


Rackspace

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