Re: [RFC PATCH 1/2] dt-bindings: pci: Add drop mask property for MSI and IOMMU

2017-07-07 Thread Scott Branden via iommu
Hi Robin, On 17-07-07 07:55 AM, Robin Murphy wrote: On 07/07/17 14:30, Mark Rutland wrote: On Fri, Jul 07, 2017 at 12:39:58PM +0530, Srinath Mannam wrote: This patch adds info about optional DT properties iommu-map-drop-mask and msi-map-drop-mask. A drop mask represents the bits which will be

Re: [RFC PATCH 1/2] dt-bindings: pci: Add drop mask property for MSI and IOMMU

2017-07-07 Thread Mark Rutland
On Fri, Jul 07, 2017 at 08:22:21AM -0700, Scott Branden wrote: > On 17-07-07 07:55 AM, Robin Murphy wrote: > >On 07/07/17 14:30, Mark Rutland wrote: > >>On Fri, Jul 07, 2017 at 12:39:58PM +0530, Srinath Mannam wrote: > >>>+Example (6) > >>>+=== > >>>+ > >>>+/ { > >>>+ #address-cells = <1>;

Re: [RFC PATCH 1/2] dt-bindings: pci: Add drop mask property for MSI and IOMMU

2017-07-07 Thread Robin Murphy
On 07/07/17 16:22, Scott Branden wrote: > Hi Robin, > > On 17-07-07 07:55 AM, Robin Murphy wrote: >> On 07/07/17 14:30, Mark Rutland wrote: [...] >>> Your mapping can be expressed today using a number of msi-map entries, >>> which you can easily generate programmatically with a trivial perl >>> sc

Re: [RFC PATCH 1/2] dt-bindings: pci: Add drop mask property for MSI and IOMMU

2017-07-07 Thread Robin Murphy
On 07/07/17 14:30, Mark Rutland wrote: > On Fri, Jul 07, 2017 at 12:39:58PM +0530, Srinath Mannam wrote: >> This patch adds info about optional DT properties >> iommu-map-drop-mask and msi-map-drop-mask. >> >> A drop mask represents the bits which will be >> removed/dropped by system from Requester

[RFC PATCH 1/2] dt-bindings: pci: Add drop mask property for MSI and IOMMU

2017-07-07 Thread Srinath Mannam via iommu
This patch adds info about optional DT properties iommu-map-drop-mask and msi-map-drop-mask. A drop mask represents the bits which will be removed/dropped by system from Requester ID before mapping it to msi ID or stream ID. Signed-off-by: Anup Patel Signed-off-by: Oza Pawandeep Signed-off-by:

Re: [RFC PATCH 1/2] dt-bindings: pci: Add drop mask property for MSI and IOMMU

2017-07-07 Thread Mark Rutland
On Fri, Jul 07, 2017 at 12:39:58PM +0530, Srinath Mannam wrote: > This patch adds info about optional DT properties > iommu-map-drop-mask and msi-map-drop-mask. > > A drop mask represents the bits which will be > removed/dropped by system from Requester ID before > mapping it to msi ID or stream I