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

Re: [PATCH v5 02/11] xen/arm: Add PHYSDEVOP_pci_device_(*add/remove) support for ARM


  • To: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Rahul Singh <rahul.singh@xxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Thu, 7 Oct 2021 14:58:17 +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=wjpHCtqK0Ax0GEWu4x1GsK7W7ug1H1ZupZ6k1MECHEs=; b=QYMoV/FpaPUVXugdxGvewVCDcAnsFTGxUuRSq8omTjUDxXnuYCyj585Mmo46OJUgWcAMk86FimWNtbsXY/zXJ7aq3Dw6vzmVN/70XtWSVxKR8N0dTU839KLa/SL6gxe4ERENO6aY+EBex0uaYXLQ9ZzCcw1KunknXr9jaQeD2ZQvejtPQ3/b2VU5prN6M5OLbJSkHQakTZItPMBzfmQWH33BRFZwcfhB4/grdi7mmX8n9uX/iIYHXJ5mbYiHH0QQHZ76FNcve+Ys+Z0BnuE/mj7bWqnP5LSBJdbTxTkjh6LU5QaZWGAtet3zgFHrON832UJ19dgLWIRS3iVASh2wwA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XicJMTtCNMW8aUTDuyl2jss266HdGu1JLdxo5LcRjLEEZLxov67DGgNkZSEdfn/XG74yzPz5cBbQe0P+PO7h0ys5yCreHR3KiIU4SRrTKEAcB+01NOIEtvWwyJoNw/wmb6dMvomScEHwAsdXHC+SrfWUXFSyeZoQ+UYiaiOgKbrXByJ1DvHOz0ydyk28U8AV2Sl1y9iETLQGxlh9KUNWOEfiG1Z5rvN5Q6AGHu7l2XI30wsqb/UdComL47NfzKPq8gpNfF8656VUoKi4BnC46zO59H2ib6eBgyPjYNL8BgfCJc/zXurbxRgw/ou8LBR4OKTRXq+qkWH4HAC1QaE2zQ==
  • Authentication-results: citrix.com; dkim=none (message not signed) header.d=none;citrix.com; dmarc=none action=none header.from=suse.com;
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx, bertrand.marquis@xxxxxxx, Andre.Przywara@xxxxxxx, Julien Grall <julien@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Ian Jackson <iwj@xxxxxxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Thu, 07 Oct 2021 12:58:32 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 07.10.2021 02:05, Stefano Stabellini wrote:
> On Wed, 6 Oct 2021, Rahul Singh wrote:
>> Hardware domain is in charge of doing the PCI enumeration and will
>> discover the PCI devices and then will communicate to XEN via hyper
>> call PHYSDEVOP_pci_device_add(..) to add the PCI devices in XEN.
>>
>> Also implement PHYSDEVOP_pci_device_remove(..) to remove the PCI device.
>>
>> As most of the code for PHYSDEVOP_pci_device_* is the same between x86
>> and ARM, move the code to a common file to avoid duplication.
>>
>> There are other PHYSDEVOP_pci_device_* operations to add PCI devices.
>> Currently implemented PHYSDEVOP_pci_device_remove(..) and
>> PHYSDEVOP_pci_device_add(..) only as those are minimum required to
>> support PCI passthrough on ARM.
>>
>> Signed-off-by: Rahul Singh <rahul.singh@xxxxxxx>
> 
> Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>

Acked-by: Jan Beulich <jbeulich@xxxxxxxx>




 


Rackspace

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