Re: [U-Boot] [PATCH] board: ls1028a: set up integrated PCI stream IDs and cache attributes

2019-08-09 Thread Alex Marginean
On 8/9/2019 4:27 PM, Bin Meng wrote: Hi Alex, On Fri, Aug 9, 2019 at 9:15 PM Alex Marginean wrote: Hi Bin, On 8/9/2019 12:58 PM, Bin Meng wrote: Hi Alex, On Fri, Aug 9, 2019 at 3:59 PM Alex Marginean wrote: Configure stream IDs for integrated PCI devices. There are hardware defaults

Re: [U-Boot] [PATCH] board: ls1028a: set up integrated PCI stream IDs and cache attributes

2019-08-09 Thread Bin Meng
Hi Alex, On Fri, Aug 9, 2019 at 9:15 PM Alex Marginean wrote: > > Hi Bin, > > On 8/9/2019 12:58 PM, Bin Meng wrote: > > Hi Alex, > > > > On Fri, Aug 9, 2019 at 3:59 PM Alex Marginean > > wrote: > >> > >> Configure stream IDs for integrated PCI devices. There are hardware > >> defaults but

Re: [U-Boot] [PATCH] board: ls1028a: set up integrated PCI stream IDs and cache attributes

2019-08-09 Thread Alex Marginean
Hi Bin, On 8/9/2019 12:58 PM, Bin Meng wrote: Hi Alex, On Fri, Aug 9, 2019 at 3:59 PM Alex Marginean wrote: Configure stream IDs for integrated PCI devices. There are hardware defaults but unfortunately they are outside the acceptable range for SMMU, so we need to tune them down. Use

Re: [U-Boot] [PATCH] board: ls1028a: set up integrated PCI stream IDs and cache attributes

2019-08-09 Thread Bin Meng
Hi Alex, On Fri, Aug 9, 2019 at 3:59 PM Alex Marginean wrote: > > Configure stream IDs for integrated PCI devices. There are hardware > defaults but unfortunately they are outside the acceptable range for > SMMU, so we need to tune them down. Use values based on Linux device tree > iommu-map

[U-Boot] [PATCH] board: ls1028a: set up integrated PCI stream IDs and cache attributes

2019-08-09 Thread Alex Marginean
Configure stream IDs for integrated PCI devices. There are hardware defaults but unfortunately they are outside the acceptable range for SMMU, so we need to tune them down. Use values based on Linux device tree iommu-map or, if missing, start from HW base value shifted down by 4. Signed-off-by: