[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 7/8] PCI: replace stray uses of PCI_{DEVFN,BDF}2()
- To: Jan Beulich <jbeulich@xxxxxxxx>
- From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
- Date: Tue, 12 Apr 2022 12:07:45 +0200
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.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=cRRVvVk2095zWUu31BvnUuwIFmTFrkNfsk8pcpax5rE=; b=AxXXgEKDsVpoioqTdPJSMV3hiA2Zq5NFTJM4XBrIVP+qnR6f/Fn7+veeU2PlwKzdhmj9/VMRCrVqAzsnlAp4B9vo5p4Bs0fHfN9osKnt+ohRidn0SGX3XsWKwDKbK26Tp4ah4LDM3Tl6eBvdVmVQNhnnDq9EW0zoEXVqEWlqjQpLIAdWi6GpAJ984HDsgNLy36Ck07S13/JXWOMYwYq3L6wtL04ylhSyg5/dI8qgi9El6MR+qPhO0QzYg0wr1899WgPrkWilCc9gJ623iYG8YUoKGvMo9Ly/8f4rXSJHPFvCYIS2pz2tAXvkaP+Ag4aa8fPISq5R/HGiXuZ054Cy+g==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ko98hMhPUVaXXfp49u63VnWfv5C5+GT2ro6jiREQ9muubSZlRjbF8LBr0sYPKQouZAEf0qYqy1gZ7DBWvxi3B2DyTYc+/H5RP7S38EKpaAm+KVqrToOZxkSuIvcGmYzJodx9mMJ/LiL6NxAMhcOi5v+EyKwQymm9CBEIk3g5nadleckeV2TSyRYUkl2cUbLlW1f9j9c6vqLouxAYTdUM1BFpGgh0lbJXmKUF5vwBtIqFbjHAWgWs+Rgxrc36a6cG4/mTNcydjHPM5Oa2db8BxOVkcSxLBi29tQ2/gqyfEeS99Op9SAPN9+irUnXzdiR9S1t+s5fBYoAN0GqbFVomeg==
- Authentication-results: esa3.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
- Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, "Kevin Tian" <kevin.tian@xxxxxxxxx>, Paul Durrant <paul@xxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, "Volodymyr Babchuk" <volodymyr_babchuk@xxxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, "Wei Liu" <wl@xxxxxxx>
- Delivery-date: Tue, 12 Apr 2022 10:08:00 +0000
- Ironport-data: A9a23:J5AHxqDikxVpMBVW/7/jw5YqxClBgxIJ4kV8jS/XYbTApDohgWBSx moeXmHUbPbZYTHyLY90aYq2pB5UuJOBm9EyQQY4rX1jcSlH+JHPbTi7wuYcHM8wwunrFh8PA xA2M4GYRCwMZiaA4E/raNANlFEkvU2ybuOU5NXsZ2YgHWeIdA970Ug5w7Jg2NYx6TSEK1jlV e3a8pW31GCNg1aYAkpMg05UgEoy1BhakGpwUm0WPZinjneH/5UmJMt3yZWKB2n5WuFp8tuSH I4v+l0bElTxpH/BAvv9+lryn9ZjrrT6ZWBigVIOM0Sub4QrSoXfHc/XOdJFAXq7hQllkPgul v5qjdu8RD4JGbLupstBCRheVC9haPguFL/veRBTsOSWxkzCNXDt3+9vHAc9OohwFuRfWD8Us 6ZCcXZUM07F17neLLGTE4GAguw5K8bmJsUHs2xIxjDFF/c2B5vERs0m4PcGjGlt1pESRJ4yY eJERxhifhfsUSZGN1QtNs4uod23vUbWJmgwRFW9+vNsvjm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SpGxfMH/X LemwL0y62/u7XjoyWsm1P73tBzop/M29FDDMuDhow8LSjtsB+hYMBEV6eZtD44jemz4BIBkc XKoT0nI8NvgkmhM12dkF/I4U3NwTwu43jtxRuxhmbim9XwQHYAB89IletiA1LkwntlmOs5/L NA3mqfuZYSJwjHhj7B69/BUAwvvlaooFI5+NRjzkB3YM87Uvt8vIYf9ERaHNMrByTh8r0qF+ FoEYX1+OtWS1WHdHrU11MfjuBEZk5DXStuf3Jy+PB8i1Nt7TVEJgojtYMid047hdIAo8Iu3Z WBDkxq/Is+OPP+I5gNQ9vpevHHeFAlcSi8Q156Hm6XYZ3vG0i946Ifs49Fr91DRvQzvewPcd L6IRVliVI=
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On Mon, Apr 11, 2022 at 11:40:24AM +0200, Jan Beulich wrote:
> There's no good reason to use these when we already have a pci_sbdf_t
> type object available. This extends to the use of PCI_BUS() in
> pci_ecam_map_bus() as well.
>
> No change to generated code (with gcc11 at least, and I have to admit
> that I didn't expect compilers to necessarily be able to spot the
> optimization potential on the original code).
>
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
Reviewed-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
Thanks, Roger.
|