pcie: Add a simple PCIe ACS (Access Control Services) helper function
commitdb891a9ba3b5aef52c2735f9b907d4d3678a86f8
authorKnut Omang <knut.omang@oracle.com>
Thu, 21 Feb 2019 18:13:22 +0000 (21 19:13 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 13 Mar 2019 02:31:21 +0000 (12 22:31 -0400)
tree88a8ea37c10814e33c823325274657aa161cc169
parenta1fe0b8f273c2272a7964655548179478b9d6a91
pcie: Add a simple PCIe ACS (Access Control Services) helper function

Implementing an ACS capability on downstream ports and multifunction
endpoints indicates isolation and IOMMU visibility to a finer
granularity. This creates smaller IOMMU groups in the guest and thus
more flexibility in assigning endpoints to guest userspace or an L2
guest.

Signed-off-by: Knut Omang <knut.omang@oracle.com>
Message-Id: <07489975121696f5573b0a92baaf3486ef51e35d.1550768238.git-series.knut.omang@oracle.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
hw/pci/pcie.c
include/hw/pci/pcie.h
include/hw/pci/pcie_regs.h