Re: cleanup unused or almost unused IOMMU APIs and the FSL PAMU driver

2021-03-05 Thread Li Yang
y that were never completed later on. So Acked-by: Li Yang > > Diffstat: > arch/powerpc/include/asm/fsl_pamu_stash.h | 12 > drivers/gpu/drm/msm/adreno/adreno_gpu.c |2 > drivers/iommu/amd/iommu.c | 23 > drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c

[PATCH] iommu/arm-smmu: fix module name for parameters

2020-02-14 Thread Li Yang
eters back to arm-smmu to be consistent with older kernel. Signed-off-by: Li Yang --- drivers/iommu/arm-smmu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/iommu/arm-smmu.c b/drivers/iommu/arm-smmu.c index 16c4b87af42b..8d5a19bfde5c 100644 --- a/drivers/iommu/arm-smmu.c +++ b/dri

Re: [PATCH] iommu/arm-smmu: fix the module name to be consistent with older kernel

2020-02-12 Thread Li Yang
On Wed, Feb 12, 2020 at 4:50 AM Will Deacon wrote: > > On Tue, Feb 11, 2020 at 06:37:20PM -0600, Li Yang wrote: > > Commit cd221bd24ff5 ("iommu/arm-smmu: Allow building as a module") > > introduced a side effect that changed the module name from arm-smmu to &g

[PATCH] iommu/arm-smmu: fix the module name to be consistent with older kernel

2020-02-11 Thread Li Yang
name back to be consistent. Signed-off-by: Li Yang --- drivers/iommu/Makefile | 4 ++-- drivers/iommu/{arm-smmu.c => arm-smmu-common.c} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename drivers/iommu/{arm-smmu.c => arm-smmu-common.c} (100%) diff --git a/drivers/

Re: [PATCH] iommu/arm-smmu: fix the module name for disable_bypass parameter

2020-02-11 Thread Li Yang
On Tue, Feb 11, 2020 at 5:47 PM Russell King - ARM Linux admin wrote: > > On Tue, Feb 11, 2020 at 05:36:55PM -0600, Li Yang wrote: > > Since commit cd221bd24ff5 ("iommu/arm-smmu: Allow building as a module"), > > there is a side effect that the module name is changed f

[PATCH] iommu/arm-smmu: fix the module name for disable_bypass parameter

2020-02-11 Thread Li Yang
meter name. Signed-off-by: Li Yang --- drivers/iommu/Kconfig| 2 +- drivers/iommu/arm-smmu.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig index d2fade984999..fb54be903c60 100644 --- a/drivers/iommu/Kconfig +++ b/dri

Re: [PATCH v3 0/6] Prerequisites for NXP LS104xA SMMU enablement

2019-05-30 Thread Li Yang
On Thu, May 30, 2019 at 5:09 PM David Miller wrote: > > From: laurentiu.tu...@nxp.com > Date: Thu, 30 May 2019 17:19:45 +0300 > > > Depends on this pull request: > > > > http://lists.infradead.org/pipermail/linux-arm-kernel/2019-May/653554.html > > I'm not sure how you want me to handle this.

Re: [PATCH v2 1/9] soc/fsl/qman: fixup liodns only on ppc targets

2019-05-01 Thread Li Yang
On Sat, Apr 27, 2019 at 2:14 AM wrote: > > From: Laurentiu Tudor > > ARM SoCs use SMMU so the liodn fixup done in the qman driver is no > longer making sense and it also breaks the ICID settings inherited > from u-boot. Do the fixups only for PPC targets. > > Signed-off-by: Laurentiu Tudor

Re: [PATCH v2 2/9] soc/fsl/qbman_portals: add APIs to retrieve the probing status

2019-05-01 Thread Li Yang
On Sat, Apr 27, 2019 at 2:14 AM wrote: > > From: Laurentiu Tudor > > Add a couple of new APIs to check the probing status of the required > cpu bound qman and bman portals: > 'int bman_portals_probed()' and 'int qman_portals_probed()'. > They return the following values. > * 1 if qman/bman

Re: [PATCH 06/13] soc/fsl/qbman_portals: add APIs to retrieve the probing status

2019-04-01 Thread Li Yang
On Fri, Mar 29, 2019 at 9:03 AM wrote: > > From: Laurentiu Tudor > > Add a couple of new APIs to check the probing status of the required > cpu bound qman and bman portals: > 'int bman_portals_probed()' and 'int qman_portals_probed()'. > They return the following values. > * 1 if qman/bman

Re: [PATCH 05/13] soc/fsl/bqman: page align iommu mapping sizes

2019-03-29 Thread Li Yang
On Fri, Mar 29, 2019 at 9:01 AM wrote: > > From: Laurentiu Tudor > > Prior to calling iommu_map()/iommu_unmap() page align the size or > failures such as below could happen: > > iommu: unaligned: iova 0x... pa 0x... size 0x4000 min_pagesz 0x1 > qman_portal 5.qman-portal: failed to

Re: [PATCH 01/13] soc/fsl/qman: fixup liodns only on ppc targets

2019-03-29 Thread Li Yang
On Fri, Mar 29, 2019 at 9:01 AM wrote: > > From: Laurentiu Tudor > > ARM SoCs use SMMU so the liodn fixup done in the qman driver is no > longer making sense and it also breaks the ICID settings inherited > from u-boot. Do the fixups only for PPC targets. > > Signed-off-by: Laurentiu Tudor >

Re: [PATCH 02/13] soc/fsl/bman: map FBPR area in the iommu

2019-03-29 Thread Li Yang
On Fri, Mar 29, 2019 at 9:03 AM wrote: > > From: Laurentiu Tudor > > Add a one-to-one iommu mapping for bman private data memory (FBPR). > This is required for BMAN to work without faults behind an iommu. > > Signed-off-by: Laurentiu Tudor > --- > drivers/soc/fsl/qbman/bman_ccsr.c | 11