From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tirumalesh Chalamarla Subject: Re: [PATCH V4] iommu/arm-smmu-v2: Workaround for ThunderX errata#27704 Date: Fri, 4 Mar 2016 13:35:18 -0800 Message-ID: <56D9FF96.5030906@caviumnetworks.com> References: <1457116784-13287-1-git-send-email-tchalamarla@caviumnetworks.com> <20160304205945.GG7886@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20160304205945.GG7886-5wv7dgnIgG8@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Will Deacon Cc: mark.rutland-5wv7dgnIgG8@public.gmane.org, Geethasowjanya.Akula-M3mlKVOIwJVv6pq1l3V1OdBPR1lH4CV8@public.gmane.org, iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: iommu@lists.linux-foundation.org On 03/04/2016 12:59 PM, Will Deacon wrote: > On Fri, Mar 04, 2016 at 10:39:44AM -0800, Tirumalesh Chalamarla wrote: >> Due to Errata#27704 CN88xx SMMUv2,supports only shared ASID and VMID >> namespaces; specifically within a given node SMMU0 and SMMU1 share, >> as does SMMU2 and SMMU3. >> >> This patch make sure ASID and VMID space is unique across cavium SMMUv2. >> >> changes from V3: >> - Removed redundent variable. >> - Used atomic_t for maintaining running total >> >> changes from V2: >> - removed *_base from DT, and replaced with compatible string >> >> changes from V1: >> - rebased on top of 16 bit VMID patch >> - removed redundent options from DT >> - insted of transform, DT now supplies starting ASID/VMID >> >> Signed-off-by: Tirumalesh Chalamarla >> Signed-off-by: Akula Geethasowjanya >> --- >> Documentation/arm64/silicon-errata.txt | 1 + >> .../devicetree/bindings/iommu/arm,smmu.txt | 1 + >> drivers/iommu/arm-smmu.c | 42 ++++++++++++++++------ >> 3 files changed, 33 insertions(+), 11 deletions(-) > > Hmm, this doesn't seem to apply to my iommu/devel branch. Am I missing > some dependency? > there should not, i will repost based on that branch. > Will > From mboxrd@z Thu Jan 1 00:00:00 1970 From: tchalamarla@caviumnetworks.com (Tirumalesh Chalamarla) Date: Fri, 4 Mar 2016 13:35:18 -0800 Subject: [PATCH V4] iommu/arm-smmu-v2: Workaround for ThunderX errata#27704 In-Reply-To: <20160304205945.GG7886@arm.com> References: <1457116784-13287-1-git-send-email-tchalamarla@caviumnetworks.com> <20160304205945.GG7886@arm.com> Message-ID: <56D9FF96.5030906@caviumnetworks.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 03/04/2016 12:59 PM, Will Deacon wrote: > On Fri, Mar 04, 2016 at 10:39:44AM -0800, Tirumalesh Chalamarla wrote: >> Due to Errata#27704 CN88xx SMMUv2,supports only shared ASID and VMID >> namespaces; specifically within a given node SMMU0 and SMMU1 share, >> as does SMMU2 and SMMU3. >> >> This patch make sure ASID and VMID space is unique across cavium SMMUv2. >> >> changes from V3: >> - Removed redundent variable. >> - Used atomic_t for maintaining running total >> >> changes from V2: >> - removed *_base from DT, and replaced with compatible string >> >> changes from V1: >> - rebased on top of 16 bit VMID patch >> - removed redundent options from DT >> - insted of transform, DT now supplies starting ASID/VMID >> >> Signed-off-by: Tirumalesh Chalamarla >> Signed-off-by: Akula Geethasowjanya >> --- >> Documentation/arm64/silicon-errata.txt | 1 + >> .../devicetree/bindings/iommu/arm,smmu.txt | 1 + >> drivers/iommu/arm-smmu.c | 42 ++++++++++++++++------ >> 3 files changed, 33 insertions(+), 11 deletions(-) > > Hmm, this doesn't seem to apply to my iommu/devel branch. Am I missing > some dependency? > there should not, i will repost based on that branch. > Will >