attach_device quite many times
somewhere in device initializations.
Any comment would be really appreciated.
*1:
From dd4dd6532d705c7bba0914b54c819d8d735c2fad Mon Sep 17 00:00:00 2001
From: Hiroshi Doyu hd...@nvidia.com
Date: Thu, 22 Mar 2012 16:06:27 +0200
Subject: [RFC 1/1] platform: IOMMU'able
Hi James,
On Mon, 24 Sep 2012 11:28:01 +0200
James Bottomley james.bottom...@hansenpartnership.com wrote:
On Mon, 2012-09-24 at 12:04 +0300, Hiroshi Doyu wrote:
diff --git a/drivers/base/platform.c b/drivers/base/platform.c
index a1a7225..9eae3be 100644
--- a/drivers/base/platform.c
Hi Marek,
Marek Szyprowski m.szyprow...@samsung.com wrote @ Mon, 24 Sep 2012 13:14:51
+0200:
Hello,
On Monday, September 24, 2012 11:45 AM Hiroshi Doyu wrote:
On Mon, 24 Sep 2012 11:28:01 +0200
James Bottomley james.bottom...@hansenpartnership.com wrote:
On Mon, 2012-09-24 at 12
Cyril Roelandt tipec...@gmail.com wrote @ Sun, 11 Nov 2012 21:49:30 +0100:
Call to d_find_alias() needs a corresponding dput().
Signed-off-by: Cyril Roelandt tipec...@gmail.com
---
Thanks. Looks ok for me. Acked-by Hiroshi Doyu hd...@nvidia.com
--
To unsubscribe from this list: send
Hi Inki/Marek,
On Tue, 16 Oct 2012 02:50:16 +0200
Inki Dae inki@samsung.com wrote:
2012/10/15 Marek Szyprowski m.szyprow...@samsung.com:
Hello,
Some devices, which have IOMMU, for some use cases might require to
allocate a buffers for DMA which is contiguous in physical memory. Such
Hi Russell,
Russell King - ARM Linux li...@arm.linux.org.uk wrote @ Tue, 16 Oct 2012
10:59:28 +0200:
On Tue, Oct 16, 2012 at 09:04:34AM +0300, Hiroshi Doyu wrote:
In addition to those contiguous/discontiguous page allocation, is
there any way to _import_ anonymous pages allocated
Hi Inki,
Inki Dae inki@samsung.com wrote @ Tue, 16 Oct 2012 12:12:49 +0200:
Hi Hiroshi,
2012/10/16 Hiroshi Doyu hd...@nvidia.com:
Hi Inki/Marek,
On Tue, 16 Oct 2012 02:50:16 +0200
Inki Dae inki@samsung.com wrote:
2012/10/15 Marek Szyprowski m.szyprow...@samsung.com
Make this depend on CONFIG_PM. This protection is necessary to not
cause any build errors with any combination of PM features especially
when supporting a new SoC where each PM features are being enabled
one-by-one during its depelopment.
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
Reported
Make this depend on CONFIG_PM.
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
drivers/memory/tegra30-mc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/memory/tegra30-mc.c b/drivers/memory/tegra30-mc.c
index 0b97598..f4ae074 100644
--- a/drivers/memory/tegra30-mc.c
+++ b
Stephen Warren swar...@wwwdotorg.org wrote @ Fri, 15 Mar 2013 06:23:38 +0100:
On 03/14/2013 03:08 AM, Hiroshi Doyu wrote:
Make this depend on CONFIG_PM. This protection is necessary to not
cause any build errors with any combination of PM features especially
when supporting a new SoC where
Mark Zhang nvmarkzh...@gmail.com wrote @ Fri, 30 Nov 2012 05:59:32 +0100:
On 11/28/2012 09:48 PM, Hiroshi Doyu wrote:
Hiroshi Doyu hd...@nvidia.com wrote @ Mon, 24 Sep 2012 14:50:14 +0300
(EEST):
...
On Mon, 2012-09-24 at 12:04 +0300, Hiroshi Doyu wrote:
diff --git a/drivers/base
Stephen Warren swar...@wwwdotorg.org wrote @ Thu, 7 Feb 2013 20:39:40 +0100:
On 02/07/2013 12:09 PM, Rob Herring wrote:
From: Rob Herring rob.herr...@calxeda.com
We've already matched the node, so use the node pointer passed in. The rtc
init was intermingled with the timer init, so
Refactored tegra{20,30,114}_init_early() so that we have the unified
tegra_init_early().
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
arch/arm/mach-tegra/board-dt-tegra114.c |2 +-
arch/arm/mach-tegra/board-dt-tegra20.c |2 +-
arch/arm/mach-tegra/board-dt-tegra30.c |4
Refactored that Tegra114 uses board-dt-tegra30.
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
arch/arm/mach-tegra/Makefile|2 +-
arch/arm/mach-tegra/board-dt-tegra114.c | 46 ---
arch/arm/mach-tegra/board-dt-tegra30.c |3 +-
3 files changed
Refactored that Tegra{20,30,114} use the same board file.
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
arch/arm/mach-tegra/Makefile |5 ++--
.../arm/mach-tegra/{board-dt-tegra30.c = tegra.c} | 27 ++--
2 files changed, 15 insertions(+), 17
Mainly for the compatibility for the existing driver.
This would be removed once new USB/PCIE DT supports come.
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
arch/arm/mach-tegra/tegra.c | 92 ++-
1 file changed, 90 insertions(+), 2 deletions(-)
diff
Hi Felipe,
Felipe Balbi ba...@ti.com wrote @ Fri, 8 Feb 2013 08:47:20 +0100:
+#if defined(CONFIG_ARCH_TEGRA_3x_SOC)
how about using:
#if IS_BUILTIN(CONFIG_ARCH_TEGRA_3x_SOC)
instead ?
Why is IS_BUILTIN() prefered?
-void tegra20_hotplug_init(void);
-void tegra30_hotplug_init(void);
Hi Marc,
Marc Dietrich marvi...@gmx.de wrote @ Sun, 10 Feb 2013 22:16:14 +0100:
ah, ok - I just skipped the also in your sentence above. But still, the
#ifdefs look strange to me and save only a few byte of code. Just me few
cents.
What about the following as Arnd suggested[1]?
void
Refactored tegra{20,30,114}_init_early() so that we have the unified
tegra_init_early().
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
Update:
Used IS_ENABLED() instead of ifdefs as Arnd/Felipe suggested.
---
arch/arm/mach-tegra/board-dt-tegra114.c |2 +-
arch/arm/mach-tegra/board-dt
This is the preparation to unify board-dt-tegra{20,30,114}.c to a
single file tegra.c.
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
arch/arm/mach-tegra/Makefile |2 +-
.../arm/mach-tegra/{board-dt-tegra20.c = tegra.c} |0
2 files changed, 1 insertion(+), 1
Unify board-dt-tegra{30,114} to the Tegra20 DT board file, tegra.c.
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
arch/arm/mach-tegra/Makefile|5 ++-
arch/arm/mach-tegra/board-dt-tegra114.c | 46
arch/arm/mach-tegra/board-dt-tegra30.c | 60
Hiroshi Doyu hd...@nvidia.com wrote @ Wed, 06 Feb 2013 21:16:35 +0200 (EET):
Hi Russell,
Stephen Warren swar...@wwwdotorg.org wrote @ Wed, 6 Feb 2013 19:51:46 +0100:
On 02/06/2013 11:34 AM, Hiroshi Doyu wrote:
New SoC, Tegra114 also uses SMMU. Change tegra_ahb_enable_smmu()'s
Stephen Warren swar...@wwwdotorg.org wrote @ Tue, 12 Feb 2013 00:54:03 +0100:
-obj-$(CONFIG_ARCH_TEGRA_2x_SOC)+= tegra.o
-obj-$(CONFIG_ARCH_TEGRA_3x_SOC)+= board-dt-tegra30.o
-obj-$(CONFIG_ARCH_TEGRA_114_SOC) += board-dt-tegra114.o
+obj-y
Stephen Warren swar...@wwwdotorg.org wrote @ Tue, 12 Feb 2013 05:47:20 +0100:
static void __init harmony_init(void)
{
-#ifdef CONFIG_TEGRA_PCI
int ret;
ret = harmony_pcie_init();
if (ret)
pr_err(harmony_pcie_init() failed: %d\n, ret);
-#endif
}
Why
Stephen Warren swar...@wwwdotorg.org wrote @ Tue, 12 Feb 2013 17:35:56 +0100:
However I'd like to avoid changing the body of those two functions at
all if possible, since I hope the PCIe driver rework will be merged in
3.10, and that will allow the Harmony and TrimSlice init functions to be
Refactored tegra{20,30,114}_init_early() so that we have the unified
tegra_init_early().
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
arch/arm/mach-tegra/board-dt-tegra114.c |2 +-
arch/arm/mach-tegra/board-dt-tegra20.c |2 +-
arch/arm/mach-tegra/board-dt-tegra30.c |4
This is the preparation to unify board-dt-tegra{20,30,114}.c to a
single file tegra.c.
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
arch/arm/mach-tegra/Makefile |2 +-
.../arm/mach-tegra/{board-dt-tegra20.c = tegra.c} |0
2 files changed, 1 insertion(+), 1
Unify board-dt-tegra{30,114} to the Tegra20 DT board file, tegra.c.
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
arch/arm/mach-tegra/Makefile|4 +--
arch/arm/mach-tegra/board-dt-tegra114.c | 46
arch/arm/mach-tegra/board-dt-tegra30.c | 60
Hi Prashant,
Prashant Gaikwad pgaik...@nvidia.com wrote @ Mon, 4 Feb 2013 09:11:22 +0100:
+struct clk *clk_register_composite(struct device *dev, const char *name,
+ const char **parent_names, int num_parents,
+ struct clk_hw *mux_hw, const struct
Fix build error in board-dt-tegra114.c(next-20130204)
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
Reported-by: Sami Liedesslie...@nvidia.com
---
arch/arm/mach-tegra/board-dt-tegra114.c |2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arm/mach-tegra/board-dt-tegra114.c
b/arch/arm
In function 'regmap_async_complete_cb':
1656:3: error: 'TASK_NORMAL' undeclared (first use in this function)
In function 'regmap_async_complete':
1688:2: error: 'TASK_UNINTERRUPTIBLE' undeclared (first use in this function)
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
drivers/base/regmap
Stephen Warren swar...@wwwdotorg.org wrote @ Mon, 4 Feb 2013 18:01:15 +0100:
On 02/04/2013 04:08 AM, Hiroshi Doyu wrote:
Fix build error in board-dt-tegra114.c(next-20130204)
Hiroshi, which tree should this patch be applied to? I assume it needs
to go through arm-soc since that's where
Prashant Gaikwad pgaik...@nvidia.com wrote @ Tue, 5 Feb 2013 09:33:41 +0100:
The members of clk_composite_ops seems to be always assigned
statically. Istead of dynamically allocating/assigning, can't we just
have clk_composite_ops statically as below?
static struct clk_ops
Prashant Gaikwad pgaik...@nvidia.com wrote @ Mon, 4 Feb 2013 09:11:22 +0100:
...
If you want to consider the consistency for the other tegra
clk_register(), the following comment can be added although this is a
common function.
+ /* Data in .init is copied by clk_register(), so stack
Prashant Gaikwad pgaik...@nvidia.com wrote @ Wed, 6 Feb 2013 03:55:00 +0100:
No, clk_ops depends on the clocks you are using. There could be a clock
with mux and gate while another one with mux and div.
You are right. What about the following? We don't have to have similar
copy of
Prashant Gaikwad pgaik...@nvidia.com wrote @ Wed, 6 Feb 2013 10:52:54 +0100:
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h
index f0ac818..bb5d36a 100644
--- a/include/linux/clk-provider.h
+++ b/include/linux/clk-provider.h
@@ -346,6 +346,8 @@ struct
This patch fixes the build error when ARCH_TEGRA_114_SOC is enabled
and ARCH_TEGRA_3x_SOC is disabled.
This provides Tegra114 with its own tegra114_init_early() instead of
making use of tegra30_init_early() so that T114 build doesn't depend
on T3x anymore.
Signed-off-by: Hiroshi Doyu hd
is not set
CONFIG_ARCH_TEGRA_114_SOC=y
drivers/iommu/tegra-smmu.c:485: undefined reference to 'tegra_ahb_enable_smmu'
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
drivers/amba/tegra-ahb.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/amba/tegra-ahb.c b/drivers
Hi Russell,
Stephen Warren swar...@wwwdotorg.org wrote @ Wed, 6 Feb 2013 19:51:46 +0100:
On 02/06/2013 11:34 AM, Hiroshi Doyu wrote:
New SoC, Tegra114 also uses SMMU. Change tegra_ahb_enable_smmu()'s
dependency from ARCH_TEGRA_3x_SOC to TEGRA_IOMMU_SMMU. No need to edit
whenever a new
On Fri, 22 Feb 2013 16:02:28 +0100
Peter De Schrijver pdeschrij...@nvidia.com wrote:
Add a table lookup feature to the mux clock. Also allow arbitrary masks
instead of the width. This will be used by some clocks on Tegra114.
Signed-off-by: Peter De Schrijver pdeschrij...@nvidia.com
@@
/soc(inc. CCF)
Removed SCU related pathces.
v3:
Rebased onto next-20130115.
Dropped TSC/arch timer patch.
Use /cpus entry in DT to detect cpu core #.
v2:
Rebased against the latest Stephen Warren's linux-next_common
Add /cpus entry in DT
Add comment to initialize TSC only in secure mode.
Hiroshi
Tegra SoCs does not use SCU based to detect CPU core numbers but they
use DT /cpu node. If it's not provided or failed, it continues as a
single core.
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
Reviewed-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com
---
Based on the discussion:
http
Add a new evaluation board, Dalmore for Tegra 114 family.
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
arch/arm/boot/dts/Makefile |3 ++-
arch/arm/boot/dts/tegra114-dalmore.dts | 21 +
2 files changed, 23 insertions(+), 1 deletion(-)
create mode 100644
Add a new evaluation board, Pluto for Tegra 114 family.
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
arch/arm/boot/dts/Makefile |3 ++-
arch/arm/boot/dts/tegra114-pluto.dts | 21 +
2 files changed, 23 insertions(+), 1 deletion(-)
create mode 100644 arch
Initial support for Tegra 114 SoC. This is expected to be included in
the board DTS files, Tegra 114 SoC based evaluation board family.
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
arch/arm/boot/dts/tegra114.dtsi | 114 +++
1 file changed, 114 insertions
Add new Tegra 114 SoC support.
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
arch/arm/mach-tegra/Kconfig | 10 +++
arch/arm/mach-tegra/Makefile|1 +
arch/arm/mach-tegra/board-dt-tegra114.c | 48 +++
arch/arm/mach-tegra/common.c
Add tegra_chip_id TEGRA114 0x35
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
arch/arm/mach-tegra/fuse.h |1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-tegra/fuse.h b/arch/arm/mach-tegra/fuse.h
index ff1383d..da78434 100644
--- a/arch/arm/mach-tegra/fuse.h
+++ b/arch/arm
This can be built without CONFIG_ARM_DMA_USE_IOMMU.
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
arch/arm/include/asm/device.h |6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/include/asm/device.h b/arch/arm/include/asm/device.h
index 5191a83..6fbe514 100644
--- a/arch
A counter part of arm_iommu_attach_device().
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
arch/arm/include/asm/dma-iommu.h |1 +
arch/arm/mm/dma-mapping.c| 25 +
2 files changed, 26 insertions(+)
diff --git a/arch/arm/include/asm/dma-iommu.h b/arch/arm
Hi Russell,
On Tue, 22 Jan 2013 18:04:46 +0100
Olof Johansson o...@lixom.net wrote:
Since Russell had comments on it earlier, I'd like him to give a nod
that he's happy with it too.
Is this ok for you?
The original patch is:
Add API to detect SCU base address from CP15.
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
Update: Use Russell's suggestion,
http://lists.infradead.org/pipermail/linux-arm-kernel/2013-January/143321.html
---
arch/arm/include/asm/smp_scu.h | 17 +
1 file changed, 17
Skip scu_enable(scu_base) if CPU is not Cortex A9 with SCU.
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
arch/arm/mach-tegra/platsmp.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-tegra/platsmp.c b/arch/arm/mach-tegra/platsmp.c
index 689ee4b
Stephen Warren swar...@wwwdotorg.org wrote @ Tue, 22 Jan 2013 17:57:39 +0100:
Hiroshi, is this series the only dependency you need for your
Tegra114
Basically yes.
series? So, I could merge your Tegra114 series once this series is applied?
But now CCF seems to be in. Then, the HACK(*1)
Hiroshi Doyu hd...@nvidia.com wrote @ Wed, 23 Jan 2013 08:04:57 +0200 (EET):
Stephen Warren swar...@wwwdotorg.org wrote @ Tue, 22 Jan 2013 17:57:39
+0100:
Hiroshi, is this series the only dependency you need for your
Tegra114
Basically yes.
series? So, I could merge your Tegra114
January 2013 11:22 AM, Hiroshi Doyu wrote:
Skip scu_enable(scu_base) if CPU is not Cortex A9 with SCU.
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
Looks fine. I will also update OMAP code with the new
interface. Thanks.
OK, so patch 1/2 at least needs to get into a stable arm-soc
Stephen Warren swar...@wwwdotorg.org wrote @ Thu, 24 Jan 2013 06:04:55 +0100:
Branch scu-base-rework contains just the SCU base address patches. After
the few things listed below, I'll rename this branch and send a pull
request to arm-soc.
2) Lorenzo's last comment on ARM: tegra: Use
Stephen Warren swar...@wwwdotorg.org wrote @ Fri, 11 Jan 2013 22:35:28 +0100:
On 01/11/2013 04:48 AM, Hiroshi Doyu wrote:
Hi Prahant,
Some nit-pick/cosmetic comments inlined...
FYI, Prashant is on vacation for the next week or two, so I'll take over
this series to clean up any last
On Fri, 11 Jan 2013 08:46:23 +0100
Prashant Gaikwad pgaik...@nvidia.com wrote:
The device tree binding models Tegra30 CAR (Clock And Reset)
as a single monolithic clock provider.
Signed-off-by: Prashant Gaikwad pgaik...@nvidia.com
---
.../bindings/clock/nvidia,tegra30-car.txt |
Prashant Gaikwad pgaik...@nvidia.com wrote @ Fri, 11 Jan 2013 08:46:20 +0100:
...
+const struct clk_ops tegra_clk_periph_ops = {
+ .get_parent = clk_periph_get_parent,
+ .set_parent = clk_periph_set_parent,
+ .recalc_rate = clk_periph_recalc_rate,
+ .round_rate =
Prashant Gaikwad pgaik...@nvidia.com wrote @ Fri, 11 Jan 2013 08:46:20 +0100:
diff --git a/drivers/clk/tegra/clk-audio-sync.c
b/drivers/clk/tegra/clk-audio-sync.c
new file mode 100644
index 000..bb2fe43
--- /dev/null
+++ b/drivers/clk/tegra/clk-audio-sync.c
@@ -0,0 +1,89 @@
+/*
Will Deacon will.dea...@arm.com wrote @ Wed, 16 Jan 2013 12:51:14 +0100:
On Tue, Dec 11, 2012 at 11:09:47AM +, Cho KyongHo wrote:
This commit adds System MMU nodes to DT of Exynos SoCs.
[Adding devicetree-discuss and some other IOMMU/DT people to CC]
Signed-off-by: KyongHo Cho
Stephen Warren swar...@wwwdotorg.org wrote @ Wed, 16 Jan 2013 21:11:24 +0100:
+static int clk_frac_div_set_rate(struct clk_hw *hw, unsigned long rate,
+ unsigned long parent_rate)
+{
+ struct tegra_clk_frac_div *divider = to_clk_frac_div(hw);
+
To replace magic number in clocks = tegra_car 28;
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
This patch depends on:
[PATCH 0/9] ARM: tegra: use new dtc+cpp feature
http://lists.infradead.org/pipermail/linux-arm-kernel/2013-February/149613.html
This patch is the experiment for Tegra20
Peter De Schrijver pdeschrij...@nvidia.com wrote @ Thu, 14 Feb 2013 11:12:20
+0100:
On Thu, Feb 14, 2013 at 07:38:17AM +0100, Hiroshi Doyu wrote:
To replace magic number in clocks = tegra_car 28;
But then we should probably also remove the enum tegra20_clk and replace
-February/149804.html
Hiroshi Doyu (4):
ARM: tegra20: create a DT header defining CLK IDs
ARM: tegra20: convert device tree files to use CLK defines
ARM: tegra30: create a DT header defining CLK IDs
ARM: tegra30: convert device tree files to use CLK defines
.../bindings/clock/nvidia,tegra20
To replace magic number in tegra_car:
- clocks = tegra_car 28;
+ clocks = tegra_car CLK_HOST1X;
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
arch/arm/boot/dts/tegra20-car.h | 114 +++
1 file changed, 114 insertions(+)
create
Replace magic number in tegra_car:
- clocks = tegra_car 28;
+ clocks = tegra_car CLK_HOST1X;
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
.../bindings/clock/nvidia,tegra20-car.txt |2 +-
arch/arm/boot/dts/tegra20-paz00.dtsp |2
To replace magic number in tegra_car:
- clocks = tegra_car 28;
+ clocks = tegra_car CLK_HOST1X;
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
arch/arm/boot/dts/tegra30-car.h | 171 +++
1 file changed, 171 insertions(+)
create
Replace magic number in tegra_car:
- clocks = tegra_car 28;
+ clocks = tegra_car CLK_HOST1X;
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
.../bindings/clock/nvidia,tegra30-car.txt |2 +-
arch/arm/boot/dts/tegra30.dtsip| 87
To replace magic number in tegra_car:
- clocks = tegra_car 28;
+ clocks = tegra_car CLK_HOST1X;
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
Depends on:
[PATCH v6 00/10] Tegra114 clockframework
http://lists.infradead.org/pipermail/linux-arm-kernel/2013
Replace magic number in tegra_car:
- clocks = tegra_car 28;
+ clocks = tegra_car CLK_HOST1X;
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
.../bindings/clock/nvidia,tegra114-car.txt |2 +-
arch/arm/boot/dts/tegra114.dtsip | 13
Stephen Warren swar...@wwwdotorg.org wrote @ Thu, 14 Feb 2013 21:15:28 +0100:
Oh, and I don't think you updated e.g. nvidia,tegra20-car.txt to remove
the list of clocks.
Not yet removed. I think that this could be done with the patch which
allows kernel source to include DT header files.
://lists.infradead.org/pipermail/linux-arm-kernel/2013-February/149672.html
[1]
http://lists.infradead.org/pipermail/linux-arm-kernel/2013-February/149804.html
Hiroshi Doyu (6):
ARM: tegra20: create a DT header defining CLK IDs
ARM: tegra20: convert device tree files to use CLK defines
ARM: tegra30
To replace magic number in tegra_car:
- clocks = tegra_car 28;
+ clocks = tegra_car CLK_HOST1X;
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
arch/arm/boot/dts/tegra20-car.h | 158 +++
1 file changed, 158 insertions(+)
create
To replace magic number in tegra_car:
- clocks = tegra_car 28;
+ clocks = tegra_car CLK_HOST1X;
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
arch/arm/boot/dts/tegra30-car.h | 218 +++
1 file changed, 218 insertions(+)
create
To replace magic number in tegra_car:
- clocks = tegra_car 28;
+ clocks = tegra_car CLK_HOST1X;
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
arch/arm/boot/dts/tegra114-car.h | 272 ++
1 file changed, 272 insertions(+)
create
Replace magic number in tegra_car:
- clocks = tegra_car 28;
+ clocks = tegra_car CLK_HOST1X;
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
.../bindings/clock/nvidia,tegra114-car.txt | 261 +---
arch/arm/boot/dts/tegra114.dtsip
:
+ #include dts/tegra20-car.h
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
Makefile |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 0b4bf62..7f54cdb 100644
--- a/Makefile
+++ b/Makefile
@@ -364,7 +364,7 @@ LINUXINCLUDE:= \
-I$(srctree
To avoid the duplication of CLK ID defines both in boot/dts and kernel
source, use the one from the DT header file and get rid of own
definitions in kernel source.
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
drivers/clk/tegra/clk-tegra20.c | 307 ++-
1
Hi Joerg,
On Tue, 18 Sep 2012 14:49:18 +0200
Joerg Roedel joerg.roe...@amd.com wrote:
On Wed, Aug 29, 2012 at 09:55:30AM +0300, Hiroshi Doyu wrote:
The following APIs are needed for us to support the legacy Tegra
memory manager for devices(NvMap) with *DMA mapping API*.
Maybe I am
Hi Arnd,
On Wed, 19 Sep 2012 09:59:45 +0200
Arnd Bergmann a...@arndb.de wrote:
On Wednesday 19 September 2012, Hiroshi Doyu wrote:
I guess that it would work. Originally I thought that using DMA-API
and IOMMU-API together in driver might be kind of layering violation
since IOMMU-API
://lists.linaro.org/pipermail/linaro-mm-sig/2012-May/001948.html
http://lists.linaro.org/pipermail/linaro-mm-sig/2012-May/001949.html
Any comment would be really appreciated.
Hiroshi Doyu (5):
ARM: dma-mapping: New dma_map_ops-iova_get_free_{total,max}
functions
ARM: dma-mapping: New
-iova_get_free_total() returns the sum of available free areas.
-iova_get_free_max() returns the largest available free area size.
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
arch/arm/include/asm/dma-mapping.h | 16 ++
arch/arm/mm/dma-mapping.c | 54
To allocate IOVA area at specified address
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
arch/arm/include/asm/dma-mapping.h |9 +
arch/arm/mm/dma-mapping.c | 35 +++
include/linux/dma-mapping.h|2 ++
3 files changed, 46
There are some cases that IOVA allocation and mapping have to be done
seperately, especially for perf optimization reasons. This patch
allows client modules to {alloc,free} IOVA space without backing up
actual pages for that area.
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
arch/arm/include
Introduce a helper function, dma_map_linear(_attrs)() to create IOVA
linear map, where IOVA and kernel virtual addresses are mapped at the
same address linearly. This is useful to support legacy device drivers
which expects no IOMMU.
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
arch/arm
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
arch/arm/mm/dma-mapping.c| 18 ++
include/asm-generic/dma-mapping-common.h | 19 +++
include/linux/dma-mapping.h |7 +++
3 files changed, 44 insertions(+), 0 deletions
dev_dbg_reatelimited() without DEBUG printed 217078 callbacks
suppressed. This shouldn't print anything without DEBUG.
With CONFIG_DYNAMIC_DEBUG, the print should be configured as expected.
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
Reported-by: Hin-Tak Leung ht...@users.sourceforge.net
Tested
Stephen Warren swar...@wwwdotorg.org wrote @ Wed, 15 Aug 2012 18:13:18 +0200:
On 08/14/2012 11:47 PM, Hiroshi Doyu wrote:
The commit c3b1a35 debugfs: make sure that debugfs_create_file() gets
used only for regulars doesn't allow to use debugfs_create_file() for
dir. Keep debugfs data
.
Signed-off-by: Stephen Warren swar...@nvidia.com
Cc: Hiroshi Doyu hd...@nvidia.com
Ok to me. Acked-by: Hiroshi Doyu hd...@nvidia.com
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http
On Thu, 9 Aug 2012 14:56:24 +0200
Hiroshi Doyu hd...@nvidia.com wrote:
Hi Greg, Felipe,
On Wed, 8 Aug 2012 15:34:27 +0200
Greg Kroah-Hartman gre...@linuxfoundation.org wrote:
On Wed, Aug 08, 2012 at 09:24:32AM +0300, Hiroshi Doyu wrote:
Add __debugfs_create_dir(), which takes data
Balbi wrote:
Hi,
On Wed, Aug 08, 2012 at 09:24:33AM +0300, Hiroshi Doyu wrote:
The commit c3b1a35 debugfs: make sure that debugfs_create_file() gets
used only for regulars doesn't allow to use debugfs_create_file() for
dir. Use the version with data, __debugfs_create_dir
Add __debugfs_create_dir(), which takes data passed from caller.
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
fs/debugfs/inode.c |7 ---
include/linux/debugfs.h |9 -
2 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/fs/debugfs/inode.c b/fs/debugfs
The commit c3b1a35 debugfs: make sure that debugfs_create_file() gets
used only for regulars doesn't allow to use debugfs_create_file() for
dir. Use the version with data, __debugfs_create_dir().
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
Reported-by: Laxman Dewangan ldewan...@nvidia.com
Hi Greg, Felipe,
On Wed, 8 Aug 2012 15:34:27 +0200
Greg Kroah-Hartman gre...@linuxfoundation.org wrote:
On Wed, Aug 08, 2012 at 09:24:32AM +0300, Hiroshi Doyu wrote:
Add __debugfs_create_dir(), which takes data passed from caller.
Why?
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
Hi Marek,
On Tue, 21 Aug 2012 17:01:08 +0200
Marek Szyprowski m.szyprow...@samsung.com wrote:
-__iommu_alloc_remap(struct page **pages, size_t size, gfp_t gfp,
pgprot_t prot)
+__iommu_alloc_remap(struct page **pages, size_t size, gfp_t gfp,
pgprot_t prot,
+
] ---[ end trace 1b75b31a2719ed24 ]---
[9.447645] Kernel panic - not syncing: Fatal exception in interrupt
Hiroshi Doyu (4):
ARM: dma-mapping: Refactor out to introduce __alloc_fill_pages
ARM: dma-mapping: IOMMU allocates pages from pool with GFP_ATOMIC
ARM: dma-mapping: Return cpu addr when
There's possibility that this attrs be used later to set.
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
arch/arm/include/asm/dma-mapping.h | 21 +
1 files changed, 17 insertions(+), 4 deletions(-)
diff --git a/arch/arm/include/asm/dma-mapping.h
b/arch/arm/include/asm
Makes use of the same atomic pool from DMA, and skips kernel page
mapping which can involves sleep'able operation at allocating a kernel
page table.
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
arch/arm/mm/dma-mapping.c | 22 ++
1 files changed, 18 insertions(+), 4
Make dma_alloc{_attrs}() returns cpu address when
DMA_ATTR_NO_KERNEL_MAPPING GFP_ATOMIC.
Signed-off-by: Hiroshi Doyu hd...@nvidia.com
---
arch/arm/mm/dma-mapping.c |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c
1 - 100 of 418 matches
Mail list logo