Re: [PATCH] iommu/arm-smmu-v3: Remove the page 1 fixup

2021-01-22 Thread Will Deacon
On Thu, 21 Jan 2021 14:09:42 +, Robin Murphy wrote: > Since we now keep track of page 1 via a separate pointer that already > encapsulates aliasing to page 0 as necessary, we can remove the clunky > fixup routine and simply use the relevant bases directly. The current > architecture spec (IHI00

Re: [PATCH] iommu/arm-smmu-v3: Remove the page 1 fixup

2021-01-22 Thread Jean-Philippe Brucker
On Thu, Jan 21, 2021 at 02:09:42PM +, Robin Murphy wrote: > Since we now keep track of page 1 via a separate pointer that already > encapsulates aliasing to page 0 as necessary, we can remove the clunky > fixup routine and simply use the relevant bases directly. The current > architecture spec

[PATCH] iommu/arm-smmu-v3: Remove the page 1 fixup

2021-01-21 Thread Robin Murphy
Since we now keep track of page 1 via a separate pointer that already encapsulates aliasing to page 0 as necessary, we can remove the clunky fixup routine and simply use the relevant bases directly. The current architecture spec (IHI0070D.a) defines SMMU_{EVENTQ,PRIQ}_{PROD,CONS} as offsets relativ