[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] pci: fix pci_get_pdev() to always account for the segment
- To: Roger Pau Monne <roger.pau@xxxxxxxxxx>
- From: Rahul Singh <Rahul.Singh@xxxxxxx>
- Date: Thu, 18 May 2023 12:14:46 +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=mevuXsc0WtbFofj+MJrmTbX5VjZEsM7SXqUlYUKj04M=; b=DMfpBY9Kj0Il/YXAlrM+IfLEQh7hARiKt8zeew9J+GMtUbue5dfKnvEvk63ukelDp2uBjiave4e5h6ULews20vgjBTeMf+aM867C1FLuNUWEbqOUz+LVVEwz7+Aqpj08sOH25eMkr4Zaai/NNt+W8J//c0DUXJzft5QTI7lco518Pf+Gz1BQvRSidq0GoeYuk9mX/PPEH6D/zoC0nCXamuf+26wUtI2vkV4co7YW+wwCSV40AHa5d64vCBrb+9/rbrswXc3j1wa7pZKK0QzdezrsaHXZ2uoKizd+oVdZcipQHKZRLno19+Vcv1zjuHtNe+VbkjHwpCy/8XpoTJzu9w==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mCV4j+EwJSMSv67xP1iIhr4xnuYFqAeuARUo91wokoOuZvjMVdb6Hq9W0+WEPDMLVe/eTw+RRLu36emEtVzWqrMrQwNGl1d0+Cm01Y3SHLOlf+s29n2l3PX6BztrnH0vl+2u/Mz2gX3KUmRutla9lfnHFbZ55I0jgJRZvBkJ5KO/6EfSkJqd66LBk5XYSxsJp6QZWgQDYKyFp2YiIa2eJsflEpaygmEFHtNeWOyMdE+kKl8a36xRf36SPvJeFOvNq0OOuA34uPQMX318SuetIdzwvxzcp9ovJYryerx3WBWI7mB1uUa+n7KeLIZfu8DmKRbrVFKFhHAAUWJ4fSh01A==
- Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
- Cc: Xen developer discussion <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Paul Durrant <paul@xxxxxxx>
- Delivery-date: Thu, 18 May 2023 12:15:37 +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: AQHZiXevyYqrsZqMy0C54Y28mmUHD69f8ZgA
- Thread-topic: [PATCH] pci: fix pci_get_pdev() to always account for the segment
Hi Roger,
> On 18 May 2023, at 11:57 am, Roger Pau Monne <roger.pau@xxxxxxxxxx> wrote:
>
> When a domain parameter is provided to pci_get_pdev() the search
> function would match against the bdf, without taking the segment into
> account.
>
> Fix this and also account for the passed segment.
>
> Fixes: 8cf6e0738906 ('PCI: simplify (and thus correct)
> pci_get_pdev{,_by_domain}()')
> Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
I think the correct fixes tag is:
Fixes: a37f9ea7a651 ("PCI: fold pci_get_pdev{,_by_domain}()")
With that:
Reviewed-by: Rahul Singh <rahul.singh@xxxxxxx>
Regards,
Rahul
|