|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] xen/arm: Hiding SMMUs from Dom0 when using ACPI on Xen
+Chales. Hi Julien, On 2/27/2017 11:42 PM, Julien Grall wrote: You are correct that it is not mandated by the spec, but AFAIK there seems to be no valid use case for that.On 02/27/2017 04:58 PM, Shanker Donthineni wrote:Hi Julien,Hi Shanker,Please don't drop people in CC. In my case, any e-mail I am not CCed are skipping my inbox and I may not read them for a while.On 02/27/2017 08:12 AM, Julien Grall wrote:On 27/02/17 13:23, Vijay Kilari wrote:Hi Julien,Hello Vijay,On Wed, Feb 22, 2017 at 7:40 PM, Julien Grall <julien.grall@xxxxxxx> wrote:Hello, There was few discussions recently about hiding SMMUs from DOM0 when using ACPI. I thought it would be good to have a separate thread for this.When using ACPI, the SMMUs will be described in the IO Remapping Table RID range should not overlap between ID Array entries. I believe this would be updated in the next IORT spec revision. I have started working on recreating iort for dom0 with this restriction. The issue I see is RID is [15:0] where is DeviceID is [17:0].Actuality device id is 32bit field.However, given that DeviceID will be used by DOM0 to only configure the ITS. We have no need to use to have the DOM0 DeviceID equal to the host DeviceID. So I think we could simplify our life by generating DeviceID for each RID range.If DOM0 DeviceID != host Device ID, then we cannot initialize ITS using DOM0 ITS commands (MAPD). So, is it concluded that ITS initializes all the devices with platform specific Device ID's in Xen?.Initializing ITS using DOM0 ITS command is a workaround until we get PCI passthrough done. It would still be possible to implement that with vDeviceID != pDeviceID as Xen would likely have the mapping between the 2 DeviceID.I believe mapping dom0 ITS commands to XEN ITS commands one to one is the better approach. Physical DeviceID is unique per ITS group, not a system wide unique ID.As for guest, you don't care about the virtual DeviceID for DOM0 as long as you are able to map it to the host ITS and host DeviceID.> In case of direct VLPI, LPI number has to beprogrammed whenever dom0/domU calls the MAPTI command but not at the time of PCIe device creation.I am a bit confused. Why are you speaking about direct vLPI here? This has no relation with the IORT.Cheers, _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |