Re: [PATCH 3/4] iommu/io-pgtable-arm: Rationalise TCR handling

2019-10-24 Thread Will Deacon
On Thu, Oct 24, 2019 at 12:23:46PM +0100, Robin Murphy wrote: > On 2019-10-24 11:51 am, Will Deacon wrote: > > On Thu, Oct 03, 2019 at 11:33:52AM -0600, Jordan Crouse wrote: > > > On Wed, Aug 21, 2019 at 01:56:20PM +0100, Robin Murphy wrote: > > > > On 21/08/2019 13:11, Will Deacon wrote: > > > >

Re: [PATCH 3/4] iommu/io-pgtable-arm: Rationalise TCR handling

2019-10-24 Thread Robin Murphy
On 2019-10-24 11:51 am, Will Deacon wrote: On Thu, Oct 03, 2019 at 11:33:52AM -0600, Jordan Crouse wrote: On Wed, Aug 21, 2019 at 01:56:20PM +0100, Robin Murphy wrote: On 21/08/2019 13:11, Will Deacon wrote: On Tue, Aug 20, 2019 at 07:41:52PM +0100, Robin Murphy wrote: On 20/08/2019 17:07,

Re: [PATCH 3/4] iommu/io-pgtable-arm: Rationalise TCR handling

2019-10-24 Thread Will Deacon
On Thu, Oct 03, 2019 at 11:33:52AM -0600, Jordan Crouse wrote: > On Wed, Aug 21, 2019 at 01:56:20PM +0100, Robin Murphy wrote: > > On 21/08/2019 13:11, Will Deacon wrote: > > >On Tue, Aug 20, 2019 at 07:41:52PM +0100, Robin Murphy wrote: > > >>On 20/08/2019 17:07, Will Deacon wrote: > > >>>On Tue,

Re: [PATCH 3/4] iommu/io-pgtable-arm: Rationalise TCR handling

2019-10-03 Thread Jordan Crouse
On Wed, Aug 21, 2019 at 01:56:20PM +0100, Robin Murphy wrote: > On 21/08/2019 13:11, Will Deacon wrote: > >On Tue, Aug 20, 2019 at 07:41:52PM +0100, Robin Murphy wrote: > >>On 20/08/2019 17:07, Will Deacon wrote: > >>>On Tue, Aug 20, 2019 at 04:25:56PM +0100, Robin Murphy wrote: > On

Re: [PATCH 3/4] iommu/io-pgtable-arm: Rationalise TCR handling

2019-08-21 Thread Robin Murphy
On 21/08/2019 13:11, Will Deacon wrote: On Tue, Aug 20, 2019 at 07:41:52PM +0100, Robin Murphy wrote: On 20/08/2019 17:07, Will Deacon wrote: On Tue, Aug 20, 2019 at 04:25:56PM +0100, Robin Murphy wrote: On 20/08/2019 11:31, Will Deacon wrote: On Mon, Aug 19, 2019 at 07:19:30PM +0100, Robin

Re: [PATCH 3/4] iommu/io-pgtable-arm: Rationalise TCR handling

2019-08-21 Thread Will Deacon
On Tue, Aug 20, 2019 at 07:41:52PM +0100, Robin Murphy wrote: > On 20/08/2019 17:07, Will Deacon wrote: > > On Tue, Aug 20, 2019 at 04:25:56PM +0100, Robin Murphy wrote: > > > On 20/08/2019 11:31, Will Deacon wrote: > > > > On Mon, Aug 19, 2019 at 07:19:30PM +0100, Robin Murphy wrote: > > > > >

Re: [PATCH 3/4] iommu/io-pgtable-arm: Rationalise TCR handling

2019-08-20 Thread Robin Murphy
On 20/08/2019 17:07, Will Deacon wrote: On Tue, Aug 20, 2019 at 04:25:56PM +0100, Robin Murphy wrote: On 20/08/2019 11:31, Will Deacon wrote: On Mon, Aug 19, 2019 at 07:19:30PM +0100, Robin Murphy wrote: Although it's conceptually nice for the io_pgtable_cfg to provide a standard VMSA TCR

Re: [PATCH 3/4] iommu/io-pgtable-arm: Rationalise TCR handling

2019-08-20 Thread Jordan Crouse
On Tue, Aug 20, 2019 at 04:25:56PM +0100, Robin Murphy wrote: > On 20/08/2019 11:31, Will Deacon wrote: > >On Mon, Aug 19, 2019 at 07:19:30PM +0100, Robin Murphy wrote: > >>Although it's conceptually nice for the io_pgtable_cfg to provide a > >>standard VMSA TCR value, the reality is that no

Re: [PATCH 3/4] iommu/io-pgtable-arm: Rationalise TCR handling

2019-08-20 Thread Will Deacon
On Tue, Aug 20, 2019 at 04:25:56PM +0100, Robin Murphy wrote: > On 20/08/2019 11:31, Will Deacon wrote: > > On Mon, Aug 19, 2019 at 07:19:30PM +0100, Robin Murphy wrote: > > > Although it's conceptually nice for the io_pgtable_cfg to provide a > > > standard VMSA TCR value, the reality is that no

Re: [PATCH 3/4] iommu/io-pgtable-arm: Rationalise TCR handling

2019-08-20 Thread Robin Murphy
On 20/08/2019 11:31, Will Deacon wrote: On Mon, Aug 19, 2019 at 07:19:30PM +0100, Robin Murphy wrote: Although it's conceptually nice for the io_pgtable_cfg to provide a standard VMSA TCR value, the reality is that no VMSA-compliant IOMMU looks exactly like an Arm CPU, and they all have various

Re: [PATCH 3/4] iommu/io-pgtable-arm: Rationalise TCR handling

2019-08-20 Thread Will Deacon
On Mon, Aug 19, 2019 at 07:19:30PM +0100, Robin Murphy wrote: > Although it's conceptually nice for the io_pgtable_cfg to provide a > standard VMSA TCR value, the reality is that no VMSA-compliant IOMMU > looks exactly like an Arm CPU, and they all have various other TCR > controls which

[PATCH 3/4] iommu/io-pgtable-arm: Rationalise TCR handling

2019-08-19 Thread Robin Murphy
Although it's conceptually nice for the io_pgtable_cfg to provide a standard VMSA TCR value, the reality is that no VMSA-compliant IOMMU looks exactly like an Arm CPU, and they all have various other TCR controls which io-pgtable can't be expected to understand. Thus since there is an expectation