Re: [PATCH v3] xio3130_upstream: Add ACS (Access Control Services) capability

2023-01-01 Thread Paul Schlacter
The upstream and downstream of the physical machine also have acs capability. The virtual machine should at least have a way to see the acs On Sun, Jan 1, 2023 at 5:03 PM Paul Schlacter wrote: > > Please help review and merge the code into the master. Thank you very much. > > ping > > On Sat,

Re: [PATCH v3] xio3130_upstream: Add ACS (Access Control Services) capability

2023-01-01 Thread Paul Schlacter
Please help review and merge the code into the master. Thank you very much. ping On Sat, Aug 20, 2022 at 7:31 AM Paul Schlacter wrote: > > ping > > On Thu, Aug 18, 2022 at 10:25 PM Paul Schlacter wrote: > > > > If it is a pcie device, check that all devices on the path from > > the device to

Re: [PATCH v3] xio3130_upstream: Add ACS (Access Control Services) capability

2022-08-19 Thread Paul Schlacter
ping On Thu, Aug 18, 2022 at 10:25 PM Paul Schlacter wrote: > > If it is a pcie device, check that all devices on the path from > the device to the root complex have ACS enabled, and then the > device will become an iommu_group. > > pci_acs_path_enabled, this function in the Linux kernel, it

[PATCH v3] xio3130_upstream: Add ACS (Access Control Services) capability

2022-08-18 Thread Paul Schlacter
If it is a pcie device, check that all devices on the path from the device to the root complex have ACS enabled, and then the device will become an iommu_group. pci_acs_path_enabled, this function in the Linux kernel, it means that if the device is a PCIe device, check the path from the device to

[PATCH v3] xio3130_upstream: Add ACS, Access Control Services, capability

2022-08-16 Thread Paul Schlacter
v2 -> v3: - Add the missing code in V2. v1 -> v2: - Allow ACS to be disabled. - Suggested by Michael S. Tsirkin, use disable-acs to set property. v1: - Add ACS (Access Control Services) capability. If it is a pcie device, check that all devices on the path from the device to the root complex