Re: SMMU driver and stall vs terminate mode

2016-06-21 Thread Brian Starkey
inux-arm-ker...@lists.infradead.org; iommu@lists.linux- foundation.org; Nipun Gupta <nipun.gu...@nxp.com>; Bharat Bhushan <bharat.bhus...@nxp.com>; Brian Starkey <brian.star...@arm.com> Subject: Re: SMMU driver and stall vs terminate mode On Mon, Jun 20, 2016 at 05:08:45PM +0100, Robin Murphy wrot

RE: SMMU driver and stall vs terminate mode

2016-06-21 Thread Stuart Yoder
> foundation.org; Nipun Gupta <nipun.gu...@nxp.com>; Bharat Bhushan > <bharat.bhus...@nxp.com>; Brian > Starkey <brian.star...@arm.com> > Subject: Re: SMMU driver and stall vs terminate mode > > On Mon, Jun 20, 2016 at 05:08:45PM +0100, Robin Murphy wrote: > &g

RE: SMMU driver and stall vs terminate mode

2016-06-21 Thread Stuart Yoder
ndation.org; > Nipun Gupta > <nipun.gu...@nxp.com>; Bharat Bhushan <bharat.bhus...@nxp.com>; Brian Starkey > <brian.star...@arm.com> > Subject: Re: SMMU driver and stall vs terminate mode > > Hi Stuart, > > On 20/06/16 16:28, Stuart Yoder wrote: > > Rob

Re: SMMU driver and stall vs terminate mode

2016-06-21 Thread Will Deacon
On Mon, Jun 20, 2016 at 05:08:45PM +0100, Robin Murphy wrote: > On 20/06/16 16:28, Stuart Yoder wrote: > >Right now the SMMU driver is hardcoded to configure 'stall' mode for > >context faults: > > > > /* SCTLR */ > > reg = SCTLR_CFCFG | SCTLR_CFIE | SCTLR_CFRE | SCTLR_M | > >

Re: SMMU driver and stall vs terminate mode

2016-06-20 Thread Robin Murphy
Hi Stuart, On 20/06/16 16:28, Stuart Yoder wrote: Robin/Will, Right now the SMMU driver is hardcoded to configure 'stall' mode for context faults: /* SCTLR */ reg = SCTLR_CFCFG | SCTLR_CFIE | SCTLR_CFRE | SCTLR_M | SCTLR_EAE_SBOP; We are running into an issue with a device

SMMU driver and stall vs terminate mode

2016-06-20 Thread Stuart Yoder
Robin/Will, Right now the SMMU driver is hardcoded to configure 'stall' mode for context faults: /* SCTLR */ reg = SCTLR_CFCFG | SCTLR_CFIE | SCTLR_CFRE | SCTLR_M | SCTLR_EAE_SBOP; We are running into an issue with a device where it seems behave sanely when SCTLR_CFCFG=0 ...i.e.