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

Re: [PATCH v2 14/17] xen/arm: Enable the existing x86 virtual PCI support for ARM.


  • To: Rahul Singh <rahul.singh@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • From: Oleksandr Andrushchenko <Oleksandr_Andrushchenko@xxxxxxxx>
  • Date: Fri, 24 Sep 2021 07:21:05 +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; bh=5u1zeojJ5FGa2r+z5GcHg6hT6Nv3ZQvaRfrp8iLeq48=; b=B6NUC/aKzKSPZ1bp4rQ7e9Dqx7h5x55/R4tsfPWZZI4fPtY1haAl6z8Ql5JM8N1I0+P2H09oEswkTpMBvR9IIbL9SU/BIkkDAePVPOhzKnCgz9vveHwtmOKTPJp1nMP6PWTP1rWwCQO8ATx9paIuFbPyqmdzvaA5G11XSWecDw9T3YU2NMWTTFQMNuRmQBKHpBoqgiYc4UmIYDf0DyIvuwSKcTNllDiVyM67TEHZH+17k0Exx8m1e79OfQSXc25aTeizIfiaNe7P5eL2iRKGdDtLc0Y5Rl+dLYnt3Zega3yEjX6nkgV5kSKeSZdB2S9eNqvEkal+AcAOtdbruNJrtg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=myE/3hL2rcKMSkhM1IvCaRvkSW9gM5JNLNcizk9QT3cx0NfA35dHtsF/ucWhEPS6a+u/LAb5GVf3TcbV0iOxPPQHkVtuVWGUM0HSnz+kEHA50NdZbxvR9zvWLZcOJ4jsLVf1RFSMAgCqXyUYHB1JI1KQBNE8LeoCqw5d0sslFLaACw0GLE9JaS0Q4mT5bpTVxrHNuE1k6UzTBlIq+DZV0iR03rToXkgI7xfh0ABQmTjaq8Vd5yKyi+ywCZEGhokWsurjZe57VNcooP0E1z0jFQN14DuofjigV8M9a2JXcHErCxFAUxumI4BuA0H96QhAZcQwtPswklAA0UldRrmaHg==
  • Authentication-results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=epam.com;
  • Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Andre Przywara <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>, Jan Beulich <jbeulich@xxxxxxxx>, Wei Liu <wl@xxxxxxx>, Paul Durrant <paul@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Fri, 24 Sep 2021 07:21:25 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHXsRS8cqOzQsPJjEGeH6Ub0BW3mw==
  • Thread-topic: [PATCH v2 14/17] xen/arm: Enable the existing x86 virtual PCI support for ARM.

[snip]


>>> index d774a6154e..633e89ac13 100644
>>> --- a/xen/drivers/passthrough/pci.c
>>> +++ b/xen/drivers/passthrough/pci.c
>>> @@ -767,6 +767,18 @@ int pci_add_device(u16 seg, u8 bus, u8 devfn,
>>>      else
>>>          iommu_enable_device(pdev);
>>>
>>> +#ifdef CONFIG_ARM
>>> +    /*
>>> +     * On ARM PCI devices discovery will be done by Dom0. Add vpci handler 
>>> when
>>> +     * Dom0 inform XEN to add the PCI devices in XEN.
>>> +     */
>> I take this is not needed on x86 because for vpci is only used by Dom0
>> PVH?  It would be good to clarify either way.
>   I have the same understanding let someone else confirms.
This is my understanding too

 


Rackspace

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