[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161206050115.GP6408@localhost>
Date: Tue, 6 Dec 2016 10:31:15 +0530
From: Vinod Koul <vinod.koul@...el.com>
To: Sricharan R <sricharan@...eaurora.org>
Cc: jcrouse@...eaurora.org, pdaly@...eaurora.org,
jgebben@...eaurora.org, joro@...tes.org,
linux-kernel@...r.kernel.org, pratikp@...eaurora.org,
iommu@...ts.linux-foundation.org, robin.murphy@....com,
tzeng@...eaurora.org, linux-arm-kernel@...ts.infradead.org,
will.deacon@....com, mitchelh@...eaurora.org
Subject: Re: [RESEND PATCH V6 5/6] dmaengine: pl330: Make sure microcode is
privileged
On Fri, Dec 02, 2016 at 08:25:08PM +0530, Sricharan R wrote:
> From: Mitchel Humpherys <mitchelh@...eaurora.org>
>
> The PL330 performs privileged instruction fetches. This can result in
> SMMU permission faults on SMMUs that implement the ARMv8 VMSA, which
> specifies that mappings that are writeable at one execution level shall
> not be executable at any higher-privileged level. Fix this by using the
> DMA_ATTR_PRIVILEGED attribute, which will ensure that the microcode
> IOMMU mapping is only accessible to the privileged level.
Acked-by: Vinod Koul <vinod.koul@...el.com>
--
~Vinod
Powered by blists - more mailing lists