[PATCH] arm64: dts: stratix10: Add Stratix10 SMMU support

2019-01-04 Thread thor . thayer
From: Thor Thayer Now there are device tree clocks for the ARM64 SMMU, add SMMU support to the Stratix10 Device Tree which includes adding the SMMU node and adding IOMMU stream ids to the SMMU peripherals. Signed-off-by: Thor Thayer --- arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 29

Re: [PATCH v18 1/5] iommu/arm-smmu: Add pm_runtime/sleep ops

2018-11-28 Thread Thor Thayer
to get clocks from device tree] Signed-off-by: Thor Thayer [vivek: rework for clock and pm ops] Signed-off-by: Vivek Gautam Reviewed-by: Tomasz Figa Tested-by: Srinivas Kandagatla Reviewed-by: Robin Murphy --- drivers/iommu/arm-smmu.c | 100 +-- 1 file

Re: [RESEND PATCH v17 5/5] iommu/arm-smmu: Add support for qcom,smmu-v2 variant

2018-11-26 Thread Thor Thayer
Hi Vivek, On 11/26/18 4:55 AM, Vivek Gautam wrote: On 11/24/2018 12:04 AM, Will Deacon wrote: On Fri, Nov 23, 2018 at 03:06:29PM +0530, Vivek Gautam wrote: On Fri, Nov 23, 2018 at 2:52 PM Tomasz Figa wrote: On Fri, Nov 23, 2018 at 6:13 PM Vivek Gautam wrote: On Wed, Nov 21, 2018 at 11:09

Re: [PATCHv4 0/2] iommu/arm-smmu: Add Stratix10 SMMU Support

2018-10-30 Thread Thor Thayer
Gentle ping... On 10/05/2018 03:56 PM, thor.tha...@linux.intel.com wrote: From: Thor Thayer Add SMMU support for the Stratix10 SOCFPGA. This patch requires clock enables for the master TBUs and therefore has a dependency on patches currently being reviewed. This patchset is dependent

[PATCHv4 1/2] arm64: dts: stratix10: Add Stratix10 SMMU support

2018-10-05 Thread thor . thayer
From: Thor Thayer Add SMMU support to the Stratix10 Device Tree which includes adding the SMMU node and adding IOMMU stream ids to the SMMU peripherals. Signed-off-by: Thor Thayer --- v4 Add clock-name since clk_bulk_get() needs name for clock. v3 Remove bindings changes since not adding

[PATCHv4 2/2] iommu/arm-smmu: Get clock config from device tree

2018-10-05 Thread thor . thayer
From: Thor Thayer Currently the clocks are specified in a structure as well as in the device tree. Since all the information about clocks can be pulled from the device tree, parse the device tree for the clock information if specified. This patch is dependent upon the following patch series

[PATCHv4 0/2] iommu/arm-smmu: Add Stratix10 SMMU Support

2018-10-05 Thread thor . thayer
From: Thor Thayer Add SMMU support for the Stratix10 SOCFPGA. This patch requires clock enables for the master TBUs and therefore has a dependency on patches currently being reviewed. This patchset is dependent on the patch series [1] v4 Address Vivek's comment. Abandon dependency on [2

Re: [PATCHv3 2/2] iommu/arm-smmu: Add SMMU clock

2018-10-04 Thread Thor Thayer
Hi Vivek, On 10/04/2018 01:49 PM, Vivek Gautam wrote: Hi Thor, On 10/4/2018 3:58 AM, thor.tha...@linux.intel.com wrote: From: Thor Thayer Add a clock to the SMMU structure. In the device tree case, check for a clock node and enable the clock if found. This patch is dependent upon

[PATCHv3 0/2] iommu/arm-smmu: Add Stratix10 SMMU Support

2018-10-03 Thread thor . thayer
From: Thor Thayer Add SMMU support for the Stratix10 SOCFPGA. This patch requires clock enables for the master TBUs and therefore has a dependency on patches currently being reviewed. This patchset is dependent on the patch series "[PATCH V6 0/4] clk: new APIs to handle all available c

[PATCHv3 2/2] iommu/arm-smmu: Add SMMU clock

2018-10-03 Thread thor . thayer
From: Thor Thayer Add a clock to the SMMU structure. In the device tree case, check for a clock node and enable the clock if found. This patch is dependent upon the following patches that add a device tree bulk clock function. "[V6, 1/4] clk: bulk: add of_clk_bulk_get()&q

[PATCHv3 1/2] arm64: dts: stratix10: Add Stratix10 SMMU support

2018-10-03 Thread thor . thayer
From: Thor Thayer Add SMMU support to the Stratix10 Device Tree which includes adding the SMMU node and adding IOMMU stream ids to the SMMU peripherals. Signed-off-by: Thor Thayer --- arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 28 +++ 1 file changed, 28 insertions

Re: [PATCH 1/2] arm64: dts: stratix10: Add Stratix10 SMMU support

2018-08-16 Thread Thor Thayer
Hi Robin, On 08/08/2018 12:38 PM, Robin Murphy wrote: On 25/07/18 19:24, thor.tha...@linux.intel.com wrote: From: Thor Thayer Add SMMU support to the Stratix10 Device Tree which includes adding the SMMU node and adding IOMMU stream ids to the SMMU peripherals. Update bindings. Signed-off

[PATCH 2/2] iommu/arm-smmu: Add support for Stratix10 smmu-v2 variant

2018-07-25 Thread thor . thayer
From: Thor Thayer Add the clocks required for the Stratix10 SMMU. Define the clock names in the SMMU name array and add DT compatible matching element. Signed-off-by: Thor Thayer --- This patch is dependent on the patch series "iommu/arm-smmu: Add runtime pm/sleep support&qu

[PATCH 0/2] iommu/arm-smmu: Add Stratix10 SMMU Support

2018-07-25 Thread thor . thayer
From: Thor Thayer Add SMMU support for the Stratix10 SOCFPGA. This patch requires clock enables for the master TBUs and therefore has a dependency on patches currently being reviewed. This patchset is dependent on the patch series "iommu/arm-smmu: Add runtime pm/sleep support&qu

[PATCH 1/2] arm64: dts: stratix10: Add Stratix10 SMMU support

2018-07-25 Thread thor . thayer
From: Thor Thayer Add SMMU support to the Stratix10 Device Tree which includes adding the SMMU node and adding IOMMU stream ids to the SMMU peripherals. Update bindings. Signed-off-by: Thor Thayer --- This patch is dependent on the patch series "iommu/arm-smmu: Add runtime pm/sleep su

Re: [PATCH 1/3] Docs: dt: arm-smmu: Add optional clock parameter

2018-07-24 Thread Thor Thayer
Hi Rob, On 07/20/2018 11:15 AM, Rob Herring wrote: On Fri, Jul 13, 2018 at 11:27:56AM -0500, thor.tha...@linux.intel.com wrote: From: Thor Thayer Add a clock to the SMMU node bindings. Signed-off-by: Thor Thayer --- Documentation/devicetree/bindings/iommu/arm,smmu.txt | 16

Re: [PATCH 3/3] arm64: dts: stratix10: Add SMMU Node

2018-07-16 Thread Thor Thayer
Hi Robin, On 07/13/2018 01:09 PM, Robin Murphy wrote: On 13/07/18 17:27, thor.tha...@linux.intel.com wrote: From: Thor Thayer Add the SMMU node and IOMMU parameters to the Stratix10 Device Tree. Signed-off-by: Thor Thayer ---   arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 44

[PATCH 2/3] iommu/arm-smmu: Add optional SMMU clock

2018-07-13 Thread thor . thayer
From: Thor Thayer Add a clock to the SMMU structure. In the device tree case, check for a clock handle and enable the clock if found. Signed-off-by: Thor Thayer --- drivers/iommu/arm-smmu.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/iommu/arm-smmu.c b

[PATCH 1/3] Docs: dt: arm-smmu: Add optional clock parameter

2018-07-13 Thread thor . thayer
From: Thor Thayer Add a clock to the SMMU node bindings. Signed-off-by: Thor Thayer --- Documentation/devicetree/bindings/iommu/arm,smmu.txt | 16 1 file changed, 16 insertions(+) diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.txt b/Documentation/devicetree

[PATCH 0/3] SOCFPGA Stratix10 SMMU Support

2018-07-13 Thread thor . thayer
From: Thor Thayer This patch series adds SMMU support to the SOCFPGA Stratix10 family of parts. The addition of a clock parameter was required to ungate the SMMU clock. Thor Thayer (3): Docs: dt: arm-smmu: Add optional clock parameter iommu/arm-smmu: Add optional SMMU clock arm64: dts

Re: ARM64 SMMU Setup

2018-01-31 Thread Thor Thayer
Hi Ard, On 01/31/2018 04:21 PM, Ard Biesheuvel wrote: On 31 January 2018 at 22:09, Thor Thayer <thor.tha...@linux.intel.com> wrote: Hi, I'm enabling the ARM SMMU-500 on an ARM64 A53. I'm hitting a data abort in the probe functions because I'm accessing the registers in EL1 mode. Why

ARM64 SMMU Setup

2018-01-31 Thread Thor Thayer
Hi, I'm enabling the ARM SMMU-500 on an ARM64 A53. I'm hitting a data abort in the probe functions because I'm accessing the registers in EL1 mode. Linux starts in EL2 mode but drops down to EL1 mode by the time it reaches the arm-smmu probe function. Is there something else I need to add