d on COMPILE_TEST) restricted PAMU to
> > PPC32. PPC covers both.
> >
> > Signed-off-by: Andy Fleming <aflem...@gmail.com>
>
> Tested-by: Madalin Bucur <madalin.bu...@freescale.com>
>
Ackd-by: Varun Sethi <varun.se...@freescale.com>
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
Hi Alex,
Thanks for the patch Alex. This would also require support in Qemu to expose
the physical address to the VM. Are you looking at that part as well?
Regards
Varun
-Original Message-
From: iommu-boun...@lists.linux-foundation.org
[mailto:iommu-boun...@lists.linux-foundation.org]
,
This
fixes the modpost warning(s), the unbind/bind sequence crashes and the
random errors/crashes
Fixes: 0f1fb99b62ce (iommu/fsl: Fix section mismatch)
Fixes: cd70d4659ff3 (iommu/fsl: Various cleanups)
Signed-off-by: Emil Medve emilian.me...@freescale.com
Acked-by: Varun Sethi varun.se
...@huawei.com; Yoder Stuart-B08248
Subject: Re: [PATCH 2/3] Docs: dt: Add PCI MSI map bindings
On Wed, Aug 05, 2015 at 05:39:33PM +0100, Varun Sethi wrote:
Hi Mark
Thanks for the patch. Please find my comment inline.
Regards
Varun
-Original Message-
From: iommu-boun...@lists.linux
Hi Mark
Thanks for the patch. Please find my comment inline.
Regards
Varun
-Original Message-
From: iommu-boun...@lists.linux-foundation.org [mailto:iommu-
boun...@lists.linux-foundation.org] On Behalf Of Mark Rutland
Sent: Thursday, July 23, 2015 10:23 PM
To:
Acked-by: Varun Sethi varun.se...@freescale.com
Cc: sta...@vger.kernel.org
---
drivers/iommu/fsl_pamu.c | 26 +-
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/drivers/iommu/fsl_pamu.c b/drivers/iommu/fsl_pamu.c index
abeedc9..2570f2a 100644
initialization
On Tue, Jul 14, 2015 at 03:21:03AM +0100, Varun Sethi wrote:
Hi Will,
Hi Varun,
On Fri, Jun 12, 2015 at 03:20:04PM +0100, Baptiste Reynal wrote:
The ARM SMMU has support for 2-stages address translations,
allowing a virtual address to be translated at two levels:
- Stage
] vSMMU initialization
On Tue, Jul 14, 2015 at 1:04 PM, Will Deacon will.dea...@arm.com wrote:
On Tue, Jul 14, 2015 at 03:21:03AM +0100, Varun Sethi wrote:
Hi Will,
Hi Varun,
On Fri, Jun 12, 2015 at 03:20:04PM +0100, Baptiste Reynal wrote:
The ARM SMMU has support for 2-stages
Hi Will,
-Original Message-
From: iommu-boun...@lists.linux-foundation.org [mailto:iommu-
boun...@lists.linux-foundation.org] On Behalf Of Will Deacon
Sent: Friday, June 12, 2015 7:53 PM
To: Baptiste Reynal
Cc: iommu@lists.linux-foundation.org; t...@virtualopensystems.com;
driver.
On Thu, 2015-05-14 at 23:11 +0530, Varun Sethi wrote:
Fix the build dependency for the PAMU driver. PPC32 build dependecy is
incorrect.
Add the CORENET_GENERIC build dependency for PAMU driver.
Signed-off-by: Varun Sethi varun.se...@freescale.com
---
drivers/iommu/Kconfig
Fix the build dependency for the PAMU driver. PPC32 build dependecy is
incorrect.
Add the CORENET_GENERIC build dependency for PAMU driver.
Signed-off-by: Varun Sethi varun.se...@freescale.com
---
drivers/iommu/Kconfig |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
:32: fatal
error: asm/fsl_pamu_stash.h: No such file or directory
Hi Varun,
On Wed, Apr 08, 2015 at 01:24:16PM +, Varun Sethi wrote:
Following issue was observed while building (compile test) for a
non-powerpc (e500mc) based platform. The pamu driver includes a file
which
:32: fatal
error: asm/fsl_pamu_stash.h: No such file or directory
On Tue, May 05, 2015 at 01:22:24PM +, Varun Sethi wrote:
Which means the driver was only buildable on e500mc and now you are
telling me that this is broken. What am I missing?
PPC_E500MC dependency is fine
Hi Will,
-Original Message-
From: iommu-boun...@lists.linux-foundation.org [mailto:iommu-
boun...@lists.linux-foundation.org] On Behalf Of Will Deacon
Sent: Monday, April 13, 2015 4:11 PM
To: Baptiste Reynal
Cc: Linux IOMMU
Subject: Re: SMMU 2-stage support
On Fri, Apr 03, 2015
domain_lock;
};
Acked-by: Varun Sethi varun.se...@freescale.com
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
^
compilation terminated.
vim +24 drivers/iommu/fsl_pamu.h
695093e3 Varun Sethi 2013-07-15 8 * MERCHANTABILITY or FITNESS
FOR
A PARTICULAR PURPOSE. See the
695093e3 Varun Sethi 2013-07-15 9 * GNU General Public License for
more details.
695093e3 Varun Sethi
:21:0:
drivers/iommu/fsl_pamu.h:24:32: fatal error: asm/fsl_pamu_stash.h:
No such file or directory
#include asm/fsl_pamu_stash.h
^
compilation terminated.
vim +24 drivers/iommu/fsl_pamu.h
695093e3 Varun Sethi 2013-07-15 8
^
compilation terminated.
vim +24 drivers/iommu/fsl_pamu.h
695093e3 Varun Sethi 2013-07-15 8 * MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE. See the
695093e3 Varun Sethi 2013-07-15 9 * GNU General Public License for
more details
;
}
-static struct platform_driver fsl_of_pamu_driver __initdata = {
+static struct platform_driver fsl_of_pamu_driver = {
.driver = {
.name = fsl-of-pamu,
},
--
2.3.0
Acked-by: Varun Sethi varun.se...@freescale.com
___
iommu
Thanks Emil, Has this also been tested in context of DPAA?
-Original Message-
From: Emil Medve [mailto:emilian.me...@freescale.com]
Sent: Friday, February 13, 2015 3:15 AM
To: iommu@lists.linux-foundation.org; j...@8bytes.org; jroe...@suse.de;
Sethi Varun-B16395
Cc: Medve
Hi Emil,
-Original Message-
From: Emil Medve [mailto:emilian.me...@freescale.com]
Sent: Wednesday, February 11, 2015 4:37 PM
To: Sethi Varun-B16395; iommu@lists.linux-foundation.org;
j...@8bytes.org; jroe...@suse.de
Subject: Re: [PATCH v2 01/26] iommu/fsl: Sprinkle some __init*
Hi Emil,
-Original Message-
From: Sethi Varun-B16395
Sent: Wednesday, February 11, 2015 5:00 PM
To: 'Emil Medve'; iommu@lists.linux-foundation.org; j...@8bytes.org;
jroe...@suse.de
Subject: RE: [PATCH v2 01/26] iommu/fsl: Sprinkle some __init* annotations
Hi Emil,
-foundation.org] On Behalf Of Joerg Roedel
Sent: Friday, January 30, 2015 9:06 PM
To: Sethi Varun-B16395
Cc: iommu@lists.linux-foundation.org; jroe...@suse.de; Medve Emilian-
EMMEDVE1
Subject: Re: [PATCH 00/26] iommu/fsl: Various cleanup
On Fri, Jan 30, 2015 at 02:50:17PM +, Varun Sethi wrote
, there are other places as well where we have
error prints while setting the ENOMEM as the return code.
This is a checkpatch report and I quote from the log:
Acked-by: Varun Sethi varun.se...@freescale.com
___
iommu mailing list
iommu@lists.linux
?
Acked-by: Varun Sethi varun.se...@freescale.com
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
Hi Emil,
-Original Message-
From: Emil Medve [mailto:emilian.me...@freescale.com]
Sent: Friday, January 30, 2015 12:26 PM
To: Sethi Varun-B16395; iommu@lists.linux-foundation.org;
j...@8bytes.org; jroe...@suse.de
Subject: Re: [PATCH v2 01/26] iommu/fsl: Sprinkle some __init*
));
+((w_count 1) ? w_count : 0));
if (!ret) {
kfree(dma_domain-win_arr);
dma_domain-win_arr = kcalloc(w_count,
--
2.2.2
Acked-by: Varun Sethi varun.se...@freescale.com
___
iommu
;
break;
- };
+ }
return ret;
}
--
2.2.2
Acked-by: Varun Sethi varun.se...@freescale.com
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
(node, next-level-cache, 0);
+ prop = of_get_property(node, next-level-cache, NULL);
if (!prop) {
pr_debug(can't find next-level-cache at %s\n,
node-full_name);
--
2.2.2
Acked-by: Varun Sethi varun.se
-by: Varun Sethi varun.se...@freescale.com
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
-by: Varun Sethi varun.se...@freescale.com
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
version is = 0x204 we can partition endpoints */
if (version = 0x204)
return 1;
--
2.2.2
Acked-by: Varun Sethi varun.se...@freescale.com
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman
group information from peer devices or devices on the parent
bus */
--
2.2.2
Acked-by: Varun Sethi varun.se...@freescale.com
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
Hi Emil,
-Original Message-
From: Emil Medve [mailto:emilian.me...@freescale.com]
Sent: Wednesday, January 28, 2015 8:05 PM
To: iommu@lists.linux-foundation.org; j...@8bytes.org; jroe...@suse.de;
Sethi Varun-B16395
Cc: Medve Emilian-EMMEDVE1
Subject: [PATCH 11/26] iommu/fsl: Fix
(PAACE_ATM_WINDOW_XLATE |
+PAACE_ATM_PAGE_XLATE)
#define PAACE_OTM_NO_XLATE 0x00
#define PAACE_OTM_IMMEDIATE 0x01
#define PAACE_OTM_INDEXED 0x02
--
2.2.2
Acked-by: Varun Sethi varun.se...@freescale.com
___
iommu mailing list
iommu@lists.linux
);
if (!spaace_pool) {
ret = -ENOMEM;
- dev_err(pdev-dev, PAMU : failed to allocate spaace gen
pool\n);
+ dev_err(dev, PAMU : failed to allocate spaace gen pool\n);
goto error;
}
--
2.2.2
Acked-by: Varun Sethi varun.se...@freescale.com
;
}
/* iova must be page size aligned*/
if (iova (size - 1)) {
- pr_debug(%s: address is not aligned with window size\n,
__func__);
+ pr_debug(Address is not aligned with window size\n);
return -EINVAL;
}
--
2.2.2
Acked-by: Varun Sethi
Hi Emil,
Thanks for pointing this out. Please find my comment inline.
Regards
Varun
-Original Message-
From: Emil Medve [mailto:emilian.me...@freescale.com]
Sent: Thursday, January 22, 2015 3:36 AM
To: iommu@lists.linux-foundation.org; j...@8bytes.org; jroe...@suse.de;
Sethi
fsl_of_pamu_driver = {
+static struct platform_driver fsl_of_pamu_driver __initdata = {
.driver = {
.name = fsl-of-pamu,
},
--
2.2.2
Acked-by: Varun Sethi varun.se...@freescale.com
___
iommu mailing list
iommu@lists.linux-foundation.org
platform_driver fsl_of_pamu_driver __initdata = {
.driver = {
.name = fsl-of-pamu,
--
2.2.2
Acked-by: Varun Sethi varun.se...@freescale.com
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman
Thanks Emil, please find my comments inline.
Regards
Varun
-Original Message-
From: Emil Medve [mailto:emilian.me...@freescale.com]
Sent: Thursday, January 22, 2015 8:17 PM
To: iommu@lists.linux-foundation.org; j...@8bytes.org; jroe...@suse.de;
Sethi Varun-B16395
Cc: Medve
Hi Will,
Please find my query inline.
Regards
Varun
-Original Message-
From: iommu-boun...@lists.linux-foundation.org [mailto:iommu-
boun...@lists.linux-foundation.org] On Behalf Of Will Deacon
Sent: Friday, January 16, 2015 10:29 PM
To: alex.william...@redhat.com
Cc:
...@codeaurora.org; laurent.pinch...@ideasonboard.com; j...@8bytes.org;
m.szyprow...@samsung.com
Subject: Re: [PATCH 2/4] iommu: add ARM LPAE page table allocator
On Mon, Dec 15, 2014 at 01:30:20PM +, Will Deacon wrote:
On Sun, Dec 14, 2014 at 05:45:49PM +, Varun Sethi wrote:
[varun] ok
...@broadcom.com; Robin Murphy; lau...@codeaurora.org;
mitch...@codeaurora.org; laurent.pinch...@ideasonboard.com; j...@8bytes.org;
m.szyprow...@samsung.com
Subject: Re: [PATCH 2/4] iommu: add ARM LPAE page table allocator
On Fri, Dec 05, 2014 at 10:55:11AM +, Varun Sethi wrote:
Hi Will,
Hi Varun
Hi Will,
Please find my comments inline. Search for varun
-Original Message-
From: Will Deacon [mailto:will.dea...@arm.com]
Sent: Thursday, November 27, 2014 5:21 PM
To: linux-arm-ker...@lists.infradead.org; iommu@lists.linux-foundation.org
Cc: prem.malla...@broadcom.com;
(exported by the arm smmu
driver).
The code doesn't support creation of new mapping, without unmaping an
existing mapping.
Code does support splitting up of huge page mappings in to smaller mappings,
as a part of unmap.
Signed-off-by: Varun Sethi varun.se...@freescale.com
---
drivers/iommu/arm
or reordered.
Signed-off-by: Varun Sethi varun.se...@freescale.com
---
drivers/iommu/arm-smmu.c |7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/iommu/arm-smmu.c b/drivers/iommu/arm-smmu.c
index ca18d6d..f8338d6 100644
--- a/drivers/iommu/arm-smmu.c
+++ b/drivers/iommu/arm-smmu.c
This is used for indicating device memory type for a DMA transaction. IOMMU
driver would set up attributes indicationg access to device memory.
Signed-off-by: Varun Sethi varun.se...@freescale.com
---
include/linux/iommu.h |1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux
, Varun Sethi wrote:
This flag is used for specifying access to device memory. SMMU would
apply device memory attributes for a DMA transaction. This is required
for setting access to GIC registers, for generating message
interrupts. This would ensure that transactions targetting device memory
flag.
Hi Varun,
[adding the Qualcomm guys, as I have an open question below]
On Mon, Oct 06, 2014 at 11:28:15AM +0100, Varun Sethi wrote:
This is used for indicating device memory type for a DMA transaction.
IOMMU driver would set up attributes indicationg access to device memory
Hi Mitchel,
I have made changes to the arm smmu driver paging support, as a part of the
huge page support patch. Will is currently reviewing changes made by me. I
should be able to post my patch in the next couple of weeks.
Regards
Vaun
-Original Message-
From:
...@nvidia.com; will.dea...@arm.com; Yoder Stuart-B08248;
robh...@kernel.org; iommu@lists.linux-foundation.org;
thierry.red...@gmail.com; linux-arm-ker...@lists.infradead.org
Subject: Re: [RFC][PATCH] devicetree: Add master-id-bits property to the
iommu device
On Monday 15 September 2014, Varun
...@nvidia.com; swar...@nvidia.com; robh...@kernel.org; linux-arm-
ker...@lists.infradead.org; Yoder Stuart-B08248
Subject: Re: [RFC][PATCH] devicetree: Add master-id-bits property to the
iommu device
On Sunday 14 September 2014, Varun Sethi wrote:
master-id-bits property added to the IOMMU device
] [c0002078] .kernel_init+0x1c/0xfa4
[c001fe047e30] [c884] .ret_from_kernel_thread+0x58/0xd4
Instruction dump:
7c7f1b79 4182001c 7fe4fb78 7f83e378 38a01000 4bffc905 6000 7c641b78
e87e8008 7fa5eb78 48482ff5 6000 0fe0 7fe3fb78 4bf7bd39 6000
Signed-off-by: Varun
] [c0002078] .kernel_init+0x1c/0xfa4
[c001fe047e30] [c884] .ret_from_kernel_thread+0x58/0xd4
Instruction dump:
7c7f1b79 4182001c 7fe4fb78 7f83e378 38a01000 4bffc905 6000 7c641b78
e87e8008 7fa5eb78 48482ff5 6000 0fe0 7fe3fb78 4bf7bd39 6000
Signed-off-by: Varun
Hi Will,
We would still need a mechanism to distinguish stage1 mapping from stage2
mapping i.e. for nested translation we should be able to specify whether the
mapping corresponds to stage1 or stage 2 translation. Also, correspondingly we
would require different context banks for stage 1 and
Hi Will,
-Original Message-
From: Will Deacon [mailto:will.dea...@arm.com]
Sent: Friday, August 29, 2014 9:24 PM
To: linux-arm-ker...@lists.infradead.org; iommu@lists.linux-foundation.org
Cc: a...@arndb.de; dw...@infradead.org; jroe...@suse.de;
hd...@nvidia.com; Sethi Varun-B16395;
Hi Will,
I am not clear on the functionality we want to achieve with this new API. Is
this a way to link devices to a particular IOMMU? Would this be used to filter
out add_device invocations i.e. iommu group creations just for the devices
attached to a particular IOMMU?
What is the purpose
@lists.linux-foundation.org; Rob Herring; linux-te...@vger.kernel.org;
linux-arm-ker...@lists.infradead.org
Subject: Re: [PATCH v5] devicetree: Add generic IOMMU device tree bindings
Hi Varun,
Varun Sethi varun.se...@freescale.com writes:
-Original Message-
From: iommu-boun
-
foundation.org; Rob Herring; linux-te...@vger.kernel.org; linux-arm-
ker...@lists.infradead.org; Yoder Stuart-B08248
Subject: Re: [PATCH v5] devicetree: Add generic IOMMU device tree bindings
Varun Sethi varun.se...@freescale.com writes:
Hi Hiroshi,
-Original Message-
From
-
foundation.org; Rob Herring; linux-te...@vger.kernel.org; linux-arm-
ker...@lists.infradead.org; Yoder Stuart-B08248
Subject: Re: [PATCH v5] devicetree: Add generic IOMMU device tree bindings
Varun Sethi varun.se...@freescale.com writes:
Also, for dynamic stream ID allocation we would
Hi Will,
-Original Message-
From: iommu-boun...@lists.linux-foundation.org [mailto:iommu-
boun...@lists.linux-foundation.org] On Behalf Of Will Deacon
Sent: Friday, August 15, 2014 5:21 PM
To: Hiroshi Doyu
Cc: Mark Rutland; devicet...@vger.kernel.org; Stephen Warren; Arnd
Bergmann;
-Original Message-
From: iommu-boun...@lists.linux-foundation.org [mailto:iommu-
boun...@lists.linux-foundation.org] On Behalf Of Hiroshi Doyu
Sent: Thursday, August 14, 2014 12:18 PM
To: Thierry Reding; Stephen Warren; Arnd Bergmann; Will Deacon
Cc: Mark Rutland;
;
ohau...@codeaurora.org; j...@8bytes.org;
a.mota...@virtualopensystems.com; Marc Zyngier
Subject: Re: [PATCH 2/5] iommu/arm-smmu: add support for PCI master
devices
[Adding Alex; question below]
On Thu, Jul 03, 2014 at 03:22:37PM +0100, Varun Sethi wrote:
+static int
0/3] iommu/fsl: Fixes for the PAMU driver.
On Tue, Jun 24, 2014 at 07:27:14PM +0530, Varun Sethi wrote:
This patch set contains fixes for the PAMU driver.
The patches are based on 3.16-rc1.
Varun Sethi (3):
Fix PAMU window size check.
Fix the device domain attach condition
-Original Message-
From: iommu-boun...@lists.linux-foundation.org [mailto:iommu-
boun...@lists.linux-foundation.org] On Behalf Of Thierry Reding
Sent: Friday, June 27, 2014 2:20 AM
To: Rob Herring; Pawel Moll; Mark Rutland; Ian Campbell; Kumar Gala;
Stephen Warren; Arnd Bergmann;
...@8bytes.org;
a.mota...@virtualopensystems.com; Marc Zyngier
Subject: Re: [PATCH 2/5] iommu/arm-smmu: add support for PCI master
devices
On Thu, Jul 03, 2014 at 03:22:37PM +0100, Varun Sethi wrote:
Hi Will,
Hi Varun,
Thanks for taking a look at this!
+static struct
/fsl: Fix PAMU window size check.
On Tue, Jun 24, 2014 at 07:27:15PM +0530, Varun Sethi wrote:
/* window size is 2^(WSE+1) bytes */
- return __ffs(addrspace_size) - 1;
+ return fls64(addrspace_size) - 2;
This looks bogus, why do you replace ffs (find-first-bit) by fls (find-
last
-Original Message-
From: iommu-boun...@lists.linux-foundation.org [mailto:iommu-
boun...@lists.linux-foundation.org] On Behalf Of Thierry Reding
Sent: Friday, June 27, 2014 12:29 PM
To: Rob Herring; Pawel Moll; Mark Rutland; Ian Campbell; Kumar Gala;
Stephen Warren; Arnd Bergmann;
...@redhat.com
Subject: Re: [PATCH 1/3] iommu/fsl: Fix PAMU window size check.
On 06/24/2014 08:57 AM, Varun Sethi wrote:
is_power_of_2 requires an unsigned long parameter which would lead to
truncation of 64 bit values on 32 bit architectures.
__ffs also expects an unsigned long parameter thus
) *
w_count, GFP_ATOMIC);
if (!dma_domain-win_arr) {
Acked-by: Varun Sethi varun.se...@freescale.com
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
This patch set contains fixes for the PAMU driver.
The patches are based on 3.16-rc1.
Varun Sethi (3):
Fix PAMU window size check.
Fix the device domain attach condition.
Fix the error condition during iommu group creation.
drivers/iommu/fsl_pamu.c|8
drivers/iommu
is_power_of_2 requires an unsigned long parameter which would
lead to truncation of 64 bit values on 32 bit architectures.
__ffs also expects an unsigned long parameter thus won't work
for 64 bit values on 32 bit architectures.
Signed-off-by: Varun Sethi varun.se...@freescale.com
---
drivers
Earlier PTR_ERR was being returned even if group was set to null.
Now, we explicitly set an ERR_PTR value in case the group pointer is
NULL.
Signed-off-by: Varun Sethi varun.se...@freescale.com
---
drivers/iommu/fsl_pamu_domain.c |7 +--
1 file changed, 5 insertions(+), 2 deletions
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
-Original Message-
From: Yoder Stuart-B08248
Sent: Tuesday, June 17, 2014 12:24 AM
To: Will Deacon
Cc: Sethi Varun-B16395; Thierry Reding; Mark Rutland;
devicet...@vger.kernel.org; linux-samsung-...@vger.kernel.org; Pawel
Moll; Arnd Bergmann; Ian Campbell; Grant Grundler; Stephen
-Original Message-
From: iommu-boun...@lists.linux-foundation.org [mailto:iommu-
boun...@lists.linux-foundation.org] On Behalf Of Antonios Motakis
Sent: Thursday, June 05, 2014 10:33 PM
To: alex.william...@redhat.com; kvm...@lists.cs.columbia.edu;
iommu@lists.linux-foundation.org
-Original Message-
From: iommu-boun...@lists.linux-foundation.org [mailto:iommu-
boun...@lists.linux-foundation.org] On Behalf Of Will Deacon
Sent: Wednesday, June 04, 2014 10:12 PM
To: Thierry Reding
Cc: Mark Rutland; devicet...@vger.kernel.org; linux-samsung-
will.dea...@arm.com wrote:
Hi Varun,
On Sat, Mar 08, 2014 at 07:05:40PM +, Varun Sethi wrote:
Currently the ARM SMMU driver only considers the bus master devices
in the device tree. The master device and stream ID information is
maintained per SMMU. Currently there is no mechanism
a mechanism for representing this information for hot
plugged/PCI devices.
Patch doesn't contain the add_device callback modification for hot plug devices.
This would be bus specific and would be responsible for populating the hot plug
devices masters list for the SMMU.
Signed-off-by: Varun Sethi varun.se
support
On Tue, Jan 21, 2014 at 2:30 AM, Varun Sethi varun.se...@freescale.com
wrote:
-Original Message-
From: Alex Williamson [mailto:alex.william...@redhat.com]
Sent: Monday, January 20, 2014 9:51 PM
To: Sethi Varun-B16395
Cc: iommu@lists.linux-foundation.org; linux-ker
/arm-smmu: Introduce iommu_group
notifier block
Hi Varun, Andreas,
On Tue, Jan 21, 2014 at 05:48:02PM +, Varun Sethi wrote:
+static int arm_smmu_group_notifier(struct notifier_block *nb,
+ unsigned long action, void *data) {
+ struct device *dev = data
/arm-smmu: Introduce iommu_group
notifier block
On Wed, Jan 22, 2014 at 01:54:11PM +, Varun Sethi wrote:
Ok, so are you suggesting that we perform the isolation mapping
in arm_smmu_add_device and drop the notifier altogether?
I think that should be fine, until we want to delay
that for device isolation dma_base and size are fixed as 0 and
SZ_128M at the moment. Additional patches will address this restriction
and allow automatic growth of mapping size.
Cc: Varun Sethi varun.se...@freescale.com
Cc: Andreas Herrmann herrmann.der.u...@googlemail.com
Signed-off-by: Andreas
-Original Message-
From: Alex Williamson [mailto:alex.william...@redhat.com]
Sent: Saturday, January 18, 2014 2:06 AM
To: Sethi Varun-B16395
Cc: iommu@lists.linux-foundation.org; linux-ker...@vger.kernel.org
Subject: [RFC PATCH] vfio/iommu_type1: Multi-IOMMU domain support
RFC:
-Original Message-
From: iommu-boun...@lists.linux-foundation.org [mailto:iommu-
boun...@lists.linux-foundation.org] On Behalf Of Andreas Herrmann
Sent: Thursday, January 16, 2014 6:14 PM
To: Will Deacon
Cc: Andreas Herrmann; iommu@lists.linux-foundation.org; linux-arm-
, that there is a single iommu for all bus
types
on the system.
We maintain a list of bus types (for which iommu ops are registered). In the
iommu_domain_alloc
function we ensure that all bus types correspond to the same set of iommu
operations.
Signed-off-by: Varun Sethi varun.se...@freescale.com
---
arch
For the DSP case again we have to set up the stash attribute. Are you saying
that this should be a separate attribute?
-Varun
-Original Message-
From: Wood Scott-B07421
Sent: Tuesday, November 19, 2013 1:07 AM
To: Sethi Varun-B16395
Cc: Wang Haiying-R54964; j...@8bytes.org;
the
matched cpu nodes
On Mon, 2013-11-18 at 20:42 -0600, Varun Sethi wrote:
For the DSP case again we have to set up the stash attribute. Are you
saying that this should be a separate attribute?
Not necessarily a separate attribute, but there should be some way to
distinguish whether
Haiying/Scott,
Forgot to mention this, the PAMU driver has to handle stash destination
settings both for power and dsp cores (on B4 platform). For the dsp cores we
would expect the physical core id (not controlled by Linux). To make the
interface consistent, I would expect the caller (for
corresponding to the
device
and subsequently enabling the PAMU table entry. Before we enable the entry, we
ensure that
the device's bus master capability is disabled (device quiesced).
Signed-off-by: Varun Sethi varun.se...@freescale.com
---
drivers/iommu/fsl_pamu.c| 43
.
The last patch adds the maintainer entry for the Freescale PAMU driver.
Varun Sethi (3):
iommu/fsl: Factor out PCI specific code.
iommu/fsl: Enable default DMA window for PCIe devices once detached
Add maintainers entry for the Freescale PAMU driver.
MAINTAINERS |7
Factor out PCI specific code in the PAMU driver.
Signed-off-by: Varun Sethi varun.se...@freescale.com
---
drivers/iommu/fsl_pamu_domain.c | 88 +++
1 file changed, 43 insertions(+), 45 deletions(-)
diff --git a/drivers/iommu/fsl_pamu_domain.c b/drivers
DMA window corresponding to the
device
and subsequently enabling the PAMU table entry. Before we enable the entry, we
ensure that
the device's bus master capability is disabled (device quiesced).
Signed-off-by: Varun Sethi varun.se...@freescale.com
---
drivers/iommu/fsl_pamu.c| 43
.
The last patch adds the maintainer entry for the Freescale PAMU driver.
Varun Sethi (3):
iommu/fsl: Factor out PCI specific code.
iommu/fsl: Enable default DMA window for PCIe devices once detached
Add maintainers entry for the Freescale PAMU driver.
MAINTAINERS |7
Factor out PCI specific code in the PAMU driver.
Signed-off-by: Varun Sethi varun.se...@freescale.com
---
drivers/iommu/fsl_pamu_domain.c | 81 +++
1 file changed, 40 insertions(+), 41 deletions(-)
diff --git a/drivers/iommu/fsl_pamu_domain.c b/drivers
corresponding to the
device
and subsequently enabling the PAMU table entry. Before we enable the entry, we
ensure that
the device's bus master capability is disabled (device quiesced).
Signed-off-by: Varun Sethi varun.se...@freescale.com
---
drivers/iommu/fsl_pamu.c| 43
to check for PAMUV1 specific constraints.
Signed-off-by: Varun Sethi varun.se...@freescale.com
---
v15 changes:
- Moved fsl_pamu_stash.h under arch/powerpc/include/asm.
v14 changes:
- Add FSL prefix to PAMU attributes.
v13 changes:
- created a new file include/linux/fsl_pamu_stash.h for stash
attributes
that the
implementation can be shared across various IOMMU drivers.
Signed-off-by: Varun Sethi varun.se...@freescale.com
---
v2 changes:
- created a new file drivers/iommu/pci.h.
drivers/iommu/amd_iommu.c |7 +--
drivers/iommu/intel-iommu.c |7 +--
drivers/iommu/pci.h | 29
to check for PAMUV1 specific constraints.
Signed-off-by: Varun Sethi varun.se...@freescale.com
---
v14 changes:
- Add FSL prefix to PAMU attributes.
v13 changes:
- created a new file include/linux/fsl_pamu_stash.h for stash
attributes.
v12 changes:
- Moved PAMU specifc stash ids and structures to PAMU
1 - 100 of 126 matches
Mail list logo