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

[PATCH v2 0/3] PCI: re-work pci_get_pdev() and friends


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Thu, 11 Aug 2022 12:50:22 +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=lDpnCa/aY01wPS17Ku8OuyEjns8Lv4hwQT1tefTIjXw=; b=V7tn39jHUSNpDyKvrvj2p5npptfBmHfR6eTc0+58Az+I9nPdfjkNYhG9kzYXhlr9YGzJbVZDOBy0y/F7PiPgRGiHKkyw/d1LJg1JhO05w4c8MVAN7DS8wjQCbA8nM4dXlMX6JO+Jf9E+/G9/RqC9D0r86Y/wIiv8kHlXJd5rLj8esDZTtkwiwK6k0/wn3isVpkPveFML/UFOc3mX6SVExjwdG4lJPuCJa7lZPLKJUHa7iyHLHLnTlCH9wfOeJfls8kMhqPty3RgM5EDhb08NltoKb+D2v5cP1HOTk8ARaJLe/h2/F+CIpdq7cgAtwIxl3VgVsWmkGmeSgyEQUrqgyQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Z7GjgsP7z/+6dGtv3iqENnF3qvKLxuoiDeSxjzaIZJxUXjCB6o9wIhmlG5iqCw4uo8w0C9nZEz2B2zksMHwPGE1LxiOGhSMiw1XL+Ed5TTcA+neAqUw0ZNAsVVYgZiPGPG1Ih3Tw57TrPDHW1UleaZWZ6ts1A8Dkahx02dXgQTQktaUTmPrSyoKi3mvVmqHTYt/oJ4Bsr/tk1LWOoE6xFSPNC2/xwUOuoGmVhCp36aijJJppDO2s2YwVg+72o7pZEUYyySqVKPQL1EARA3/h6HEmxIoc81Gnkbpzx9qWu5qHsZACGqnAWaOp146l8bnewp+UIPERMdpjmhAh5LEe+A==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Paul Durrant <paul@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Rahul Singh <Rahul.Singh@xxxxxxx>
  • Delivery-date: Thu, 11 Aug 2022 10:50:40 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

The two previously submitted bug fixes can actually be had as a side
effect of eliminating a bogus feature, the last use of which had
disappeared a while ago. Further cleanup then follows along the
lines of what had also been discussed in the context of the earlier
attempts.

1: simplify (and thus correct) pci_get_pdev{,_by_domain}()
2: fold pci_get_pdev{,_by_domain}()
3: bring pci_get_real_pdev() in line with pci_get_pdev()

Jan



 


Rackspace

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