[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 06/10] vpci: Make every domain handle its own BARs
- To: Jan Beulich <jbeulich@xxxxxxxx>
- From: Oleksandr Andrushchenko <Oleksandr_Andrushchenko@xxxxxxxx>
- Date: Fri, 13 Nov 2020 14:52:48 +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=uKVgqdiUThdoPomleA1LrdQuB+4fJ2RkWQTgmFxbz+0=; b=Wen79VF+adTz9aEEK79VtANZ4IEBkfJmh+ptj9BXD0LW7MLpqGgxuzj9haYJnSbNPu4900/7XicirR47MSifjxTf2T9Em9aCL0OAUz1Vw7aX/caigGltRDCykNRgNOaeOY82j77HL22w0NoBAHo4B6Wx9/KvACUNlDgIMeyYZjaDXyoolrt2YckQ60Fj+/v/b2bFQXq50ZM9T7RyU9hQ0rE7ZPiSJuZEmA4TYVJRD2x79rhK+MNZXdnRAuPchwLUYh63w4Bggwf1vMjG6qyPKEuAWSIr00ztffAuyShfYgzZEmiFIntQGU5wHyQeeCaYR9cFJIJjW+ZyzlsuhiYOqA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QW4EvO5bVMjn6buGdk+oJmlNAH/+vdRarF1gwsabKvB4MH8EGOQbKyOAcO1nndz/U0ctONSsn6/NJ9wjMjx1rx75JFGiZjciK3TzxFreKMAiWxkFT9/fUeEGe73VRrFQNDQ4wC1wsAAdXNFonM86QWMj1bUPom9DhTaCwHRM1G6I/kLBYLQSq6QxKpW6S3GT0oRDkv1dpgcqY3sVLBDzkbvTqEeQDfar2+Qt8mnInOCwIOZANGUUODI2u5n4L9qvgiyBRDqsq8VwlMyyQpbE8UY3hV+q37YFIwKXvX+ZyP+M2JA9fhwq2LLzfKCEh2NtdmcCa+6zLP4qxaNcNySNyA==
- Authentication-results: suse.com; dkim=none (message not signed) header.d=none;suse.com; dmarc=none action=none header.from=epam.com;
- Cc: Oleksandr Andrushchenko <andr2000@xxxxxxxxx>, "Rahul.Singh@xxxxxxx" <Rahul.Singh@xxxxxxx>, "Bertrand.Marquis@xxxxxxx" <Bertrand.Marquis@xxxxxxx>, "julien.grall@xxxxxxx" <julien.grall@xxxxxxx>, "sstabellini@xxxxxxxxxx" <sstabellini@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, "iwj@xxxxxxxxxxxxxx" <iwj@xxxxxxxxxxxxxx>, "wl@xxxxxxx" <wl@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
- Delivery-date: Fri, 13 Nov 2020 14:53:06 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Thread-index: AQHWtpbzyJg77SbpvkSRWLKjWy/3PanEQmgAgAA8YoCAABlOgIABCD8AgABBOQCAAAXIAIAAAS0AgAADNgCAAAlOAIAAEnYAgAAcfoCAAAKRAIAAAYQAgAABxICAAAHUgIAAAHYA
- Thread-topic: [PATCH 06/10] vpci: Make every domain handle its own BARs
On 11/13/20 4:51 PM, Jan Beulich wrote:
> On 13.11.2020 15:44, Oleksandr Andrushchenko wrote:
>> On 11/13/20 4:38 PM, Jan Beulich wrote:
>>> On 13.11.2020 15:32, Oleksandr Andrushchenko wrote:
>>>> On 11/13/20 4:23 PM, Jan Beulich wrote:
>>>>> Earlier on I didn't say you should get this to work, only
>>>>> that I think the general logic around what you add shouldn't make
>>>>> things more arch specific than they really should be. That said,
>>>>> something similar to the above should still be doable on x86,
>>>>> utilizing struct pci_seg's bus2bridge[]. There ought to be
>>>>> DEV_TYPE_PCI_HOST_BRIDGE entries there, albeit a number of them
>>>>> (provided by the CPUs themselves rather than the chipset) aren't
>>>>> really host bridges for the purposes you're after.
>>>> You mean I can still use DEV_TYPE_PCI_HOST_BRIDGE as a marker
>>>>
>>>> while trying to detect what I need?
>>> I'm afraid I don't understand what marker you're thinking about
>>> here.
>> I mean that when I go over bus2bridge entries, should I only work with
>>
>> those who have DEV_TYPE_PCI_HOST_BRIDGE?
> Well, if you're after host bridges - yes.
Ok, I'll try to see what I can do about it.
>
> Jan
Thank you,
Oleksandr
|