Fix build warning w/o PM_SLEEP.
Signed-off-by: Hiroshi Doyu
Reviewed-by: Stephen Warren
---
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 802b9ea..cf10b77 100644
--- a/drivers/memory/tegra30
Hiroshi Doyu 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/platform.c b/drivers/base/platform.c
> > > > > index a1a7225..9eae3be 100644
> > >
p. This patch doesn't
> > suppor such case yet.
> >
> > From 8cb75bb6f3a8535a077e0e85265f87c1f1289bfd Mon Sep 17 00:00:00 2001
> > From: Hiroshi Doyu
> > Date: Wed, 28 Nov 2012 14:47:04 +0200
> > Subject: [PATCH 1/1] ARM: tegra: bus_notifier registers
Mark Zhang wrote @ Fri, 30 Nov 2012 05:59:32 +0100:
> On 11/28/2012 09:48 PM, Hiroshi Doyu wrote:
> > Hiroshi Doyu wrote @ Mon, 24 Sep 2012 14:50:14 +0300
> > (EEST):
> > ...
> >>>>> On Mon, 2012-09-24 at 12:04 +0300, Hiroshi Doyu wrote:
> >>>
Hi Prashant,
Prashant Gaikwad 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 clk_ops *mux_ops,
Fix build error in board-dt-tegra114.c(next-20130204)
Signed-off-by: Hiroshi Doyu
Reported-by: Sami Liedes
---
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/mach-tegra/board-dt-tegra114.c
index
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
Stephen Warren 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
Prashant Gaikwad 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 clk_composite_ops =
Prashant Gaikwad 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 variable OK */
> + c
Prashant Gaikwad 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 clk_composite_ops
Prashant Gaikwad 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 clk_composite {
> >
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
---
x_SOC 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
---
drivers/amba/tegra-ahb.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/amba/tegra-ahb.c b/drivers/a
Hi Russell,
Stephen Warren 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
> > when
Stephen Warren wrote @ Thu, 7 Feb 2013 20:39:40 +0100:
> On 02/07/2013 12:09 PM, Rob Herring wrote:
> > From: Rob Herring
> >
> > We've already matched the node, so use the node pointer passed in. The rtc
> > init was intermingled with the timer init, so split this out to a separate
> > init fu
Refactored tegra{20,30,114}_init_early() so that we have the unified
tegra_init_early().
Signed-off-by: Hiroshi Doyu
---
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 ++--
arch/arm/mach-tegra
Refactored that Tegra114 uses board-dt-tegra30.
Signed-off-by: Hiroshi Doyu
---
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, 3 insertions
Refactored that Tegra{20,30,114} use the same board file.
Signed-off-by: Hiroshi Doyu
---
arch/arm/mach-tegra/Makefile |5 ++--
.../arm/mach-tegra/{board-dt-tegra30.c => tegra.c} | 27 ++--
2 files changed, 15 insertions(+), 17 deletions(-)
ren
Mainly for the compatibility for the existing driver.
This would be removed once new USB/PCIE DT supports come.
Signed-off-by: Hiroshi Doyu
---
arch/arm/mach-tegra/tegra.c | 92 ++-
1 file changed, 90 insertions(+), 2 deletions(-)
diff --git a/arch/arm
Hi Felipe,
Felipe Balbi 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 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 __init tegra_hot
Refactored tegra{20,30,114}_init_early() so that we have the unified
tegra_init_early().
Signed-off-by: Hiroshi Doyu
---
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-tegra20.c |2
This is the preparation to unify "board-dt-tegra{20,30,114}.c" to a
single file "tegra.c".
Signed-off-by: Hiroshi Doyu
---
arch/arm/mach-tegra/Makefile |2 +-
.../arm/mach-tegra/{board-dt-tegra20.c => tegra.c} |0
2 files changed, 1 i
Unify board-dt-tegra{30,114} to the Tegra20 DT board file, "tegra.c".
Signed-off-by: Hiroshi Doyu
---
arch/arm/mach-tegra/Makefile|5 ++-
arch/arm/mach-tegra/board-dt-tegra114.c | 46
arch/arm/mach-tegra/board-dt-tegra30
Hiroshi Doyu wrote @ Wed, 06 Feb 2013 21:16:35 +0200 (EET):
> Hi Russell,
>
> Stephen Warren 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_smm
Stephen Warren 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 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
linux-next_common
Add /cpus entry in DT
Add comment to initialize TSC only in secure mode.
Hiroshi Doyu (6):
ARM: tegra: Use DT /cpu node to detect number of CPU core
ARM: tegra: fuse: Add chip ID Tegra114 0x35
ARM: dt: tegra114: Add new SoC base, Tegra114 SoC
ARM: dt: tegra
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
Reviewed-by: Lorenzo Pieralisi
---
Based on the discussion:
http://lists.infradead.org/pipermail/linux-arm-k
Add a new evaluation board, Dalmore for Tegra 114 family.
Signed-off-by: Hiroshi Doyu
---
arch/arm/boot/dts/Makefile |3 ++-
arch/arm/boot/dts/tegra114-dalmore.dts | 21 +
2 files changed, 23 insertions(+), 1 deletion(-)
create mode 100644 arch/arm/boot
Add a new evaluation board, Pluto for Tegra 114 family.
Signed-off-by: Hiroshi Doyu
---
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/arm/boot/dts
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
---
arch/arm/boot/dts/tegra114.dtsi | 114 +++
1 file changed, 114 insertions(+)
create mode
Add new Tegra 114 SoC support.
Signed-off-by: Hiroshi Doyu
---
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|1
Add tegra_chip_id TEGRA114 0x35
Signed-off-by: Hiroshi Doyu
---
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/mach-tegra
This can be built without CONFIG_ARM_DMA_USE_IOMMU.
Signed-off-by: Hiroshi Doyu
---
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/arm/include/asm
A counter part of arm_iommu_attach_device().
Signed-off-by: Hiroshi Doyu
---
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/include/asm/dma
Hi Russell,
On Tue, 22 Jan 2013 18:04:46 +0100
Olof Johansson 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:
http://lists.infradead.org/pipermail/linux-arm-kernel/2013-January/143552.html
-
On Fri, 22 Feb 2013 16:02:28 +0100
Peter De Schrijver 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
> @@ -42,7 +43,17 @@ static u8 clk_mux_get_paren
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
Reported-by: Joseph Lo
Make this depend on CONFIG_PM.
Signed-off-by: Hiroshi Doyu
---
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/drivers/memory/tegra30
Stephen Warren 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
0xd8/0x134)
[9.428612] [] (cpu_idle+0xd8/0x134) from []
(start_kernel+0x27c/0x2cc)
[9.436952] Code: e1a4 e3a04000 eb002265 eae0 (e7f001f2)
[9.443038] ---[ end trace 1b75b31a2719ed24 ]---
[9.447645] Kernel panic - not syncing: Fatal exception in interrupt
Hiroshi Doy
Check the given range("start", "size") is included in "atomic_pool" or not.
Signed-off-by: Hiroshi Doyu
---
arch/arm/mm/dma-mapping.c | 26 --
1 files changed, 20 insertions(+), 6 deletions(-)
diff --git a/arch/arm/mm/dma-mapping.c b/a
Make use of the same atomic pool as DMA does, and skip a kernel page
mapping which can involve sleep'able operations at allocating a kernel
page table.
Signed-off-by: Hiroshi Doyu
---
arch/arm/mm/dma-mapping.c | 36
1 files changed, 36 insertions(
struct page **pages is necessary to align with non atomic path in
__iommu_get_pages(). atomic_pool() has the intialized **pages instead
of just *page.
Signed-off-by: Hiroshi Doyu
---
arch/arm/mm/dma-mapping.c | 17 ++---
1 files changed, 14 insertions(+), 3 deletions(-)
diff
Support atomic allocation in __iommu_get_pages().
Signed-off-by: Hiroshi Doyu
---
arch/arm/mm/dma-mapping.c | 12
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c
index a62f552..4ef2d7b 100644
--- a/arch/arm/mm
inaro-mm-sig/2012-May/001947.html
http://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}
->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
---
arch/arm/include/asm/dma-mapping.h | 16 ++
arch/arm/mm/dma-mapping.c
To allocate IOVA area at specified address
Signed-off-by: Hiroshi Doyu
---
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 insertions(+), 0
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
---
arch/arm/include/asm/dma
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
---
arch/arm/include/asm/dma
Signed-off-by: Hiroshi Doyu
---
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(-)
diff --git a/arch
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
Reported-by: Hin-Tak Leung
Tested-by: Antti Palosaari
Tes
Stephen Warren 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
> > d
f-by: Stephen Warren
> Cc: Hiroshi Doyu
Ok to me. Acked-by: Hiroshi Doyu
--
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://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
pecify the
above info in DT and the info is passed to kernel, some platform
common code would register them as IOMMU'able device automatically. It
would be really covenient if this is done in platform_device/IOMMU
common code. If the above attribute is implemented specific to
Tegra/platform, we have t
Hi James,
On Mon, 24 Sep 2012 11:28:01 +0200
James Bottomley 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 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 wrote:
> >
> > > On Mon, 2012-09-24 at 12:04
Cyril Roelandt wrote @ Sun, 11 Nov 2012 21:49:30 +0100:
> Call to d_find_alias() needs a corresponding dput().
>
> Signed-off-by: Cyril Roelandt
> ---
Thanks. Looks ok for me. Acked-by Hiroshi Doyu
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel&
Hi Olof,
Olof Johansson wrote @ Sat, 29 Dec 2012 07:39:13 +0100:
> On Thu, Dec 20, 2012 at 11:44:04AM +0200, Hiroshi Doyu wrote:
> > Initial support for Tegra 114 SoC. This is expected to be included in
> > the board DTS files, Tegra 114 SoC based evaluation board family.
> &g
Stephen Warren wrote @ Wed, 2 Jan 2013 20:02:53 +0100:
> On 12/16/2012 11:18 PM, Hiroshi Doyu wrote:
> > Set Snoop Control Unit(SCU) register base address dynamically from DT.
>
> Hiroshi, what's the status on this patch series? I think Rob had
> comments/objections on pa
Hi Stephen,
Hiroshi Doyu wrote @ Thu, 20 Dec 2012 10:43:58 +0100:
> Hi,
>
> This patchset adds initial support for the NVIDIA's new Tegra 114
> SoC (T114) based on the ARM Cortex-A15 MP. It has the minimal support
> to allow the kernel to boot up into shell console. Thi
Arnd Bergmann wrote @ Thu, 3 Jan 2013 17:28:19 +0100:
> On Thursday 20 December 2012, Hiroshi Doyu wrote:
> > +
> > +DT_MACHINE_START(TEGRA114_DT, "NVIDIA Tegra114 (Flattened Device Tree)")
> > + .smp= smp_ops(tegra_smp_ops),
> > +
Hi Rob,
Rob Herring wrote @ Mon, 17 Dec 2012 15:00:46 +0100:
> On 12/17/2012 12:18 AM, Hiroshi Doyu wrote:
> > Set Snoop Control Unit(SCU) register base address dynamically from DT.
> >
> > Signed-off-by: Hiroshi Doyu
> > ---
> > arc
Rob Herring wrote @ Tue, 18 Dec 2012 14:46:36 +0100:
> On 12/18/2012 03:21 AM, Hiroshi Doyu wrote:
> > Hi Rob,
> >
> > Rob Herring wrote @ Mon, 17 Dec 2012 15:00:46 +0100:
> >
> >> On 12/17/2012 12:18 AM, Hiroshi Doyu wrote:
> >>> Set Snoop Con
Hiroshi Doyu wrote @ Tue, 18 Dec 2012 17:15:46 +0200 (EET):
> Rob Herring wrote @ Tue, 18 Dec 2012 14:46:36 +0100:
>
> > On 12/18/2012 03:21 AM, Hiroshi Doyu wrote:
> > > Hi Rob,
> > >
> > > Rob Herring wrote @ Mon, 17 Dec 2012 15:00:46
> >
quot;Cardhu(T30)" with this single
image, SPI driver doesn't seem to afford the above configuration , it
hangs at boot-up. With SPI disabled, it's ok.
Hiroshi Doyu (9):
ARM: tegra: fuse: Add chipid TEGRA114 0x35
HACK: ARM: tegra: Use CLK_IGNORE_UNUSED for Tegra 114 SoC
Add tegra_chip_id TEGRA114 0x35
Signed-off-by: Hiroshi Doyu
---
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/mach-tegra
Relocate functions by clock functionarities{RTC, TMR}. Also created
some new functions as helper.
Signed-off-by: Hiroshi Doyu
---
drivers/clocksource/tegra20_timer.c | 160 +++
1 file changed, 86 insertions(+), 74 deletions(-)
diff --git a/drivers/clocksource
Add platform enabler for ARM arch_timer(TSC). TSC is more fine grained
timer than TMR0. If it's available, it will be used for clock source
and sched_clock. Otherwise, TMR0 is used. In any case TMR0 is
necessary for clock event.
Signed-off-by: Hiroshi Doyu
---
.../bindings/arm/tegra/n
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
---
arch/arm/boot/dts/tegra114.dtsi | 89 +++
1 file changed, 89 insertions(+)
create mode
does not have software readable registers. This
patch selects the correct method at runtime based on the CPU ID.
Signed-off-by: Hiroshi Doyu
---
arch/arm/mach-tegra/platsmp.c | 31 ---
1 file changed, 28 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-tegra
Add a new evaluation board, Pluto for Tegra 114 family.
Signed-off-by: Hiroshi Doyu
---
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/arm/boot/dts
Add a new evaluation board, Dalmore for Tegra 114 family.
Signed-off-by: Hiroshi Doyu
---
arch/arm/boot/dts/Makefile |3 ++-
arch/arm/boot/dts/tegra114-dalmore.dts | 21 +
2 files changed, 23 insertions(+), 1 deletion(-)
create mode 100644 arch/arm/boot
Use CLK_IGNORE_UNUSED for the Tegra 114 SoC to ensure
clk_disable_unused() is not called. Otherwise the system will die,
because the usecount of the clocks is incorrect. This patch will be
reverted once the Tegra 114 clocks are implemented.
Signed-off-by: Hiroshi Doyu
---
arch/arm/mach-tegra
Add new Tegra 114 SoC support.
Signed-off-by: Hiroshi Doyu
---
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|1
Felipe Balbi wrote @ Thu, 20 Dec 2012 11:06:25 +0100:
...
> > @@ -149,7 +154,26 @@ done:
> > */
> > static void __init tegra_smp_init_cpus(void)
> > {
> > - unsigned int i, ncores = scu_get_core_count(scu_base);
> > + unsigned int i, cpu_id, ncores;
> > + u32 l2ctlr;
> > + phys_addr_t
Marc Zyngier wrote @ Thu, 20 Dec 2012 12:17:08 +0100:
> On 20/12/12 09:44, Hiroshi Doyu wrote:
> > The method to detect the number of CPU cores on Cortex-A9 MPCore and
> > Cortex-A15 MPCore is different. On Cortex-A9 MPCore we can get this
> > information from the Snoop
Marc Zyngier wrote @ Thu, 20 Dec 2012 12:01:15 +0100:
> On 20/12/12 09:44, Hiroshi Doyu wrote:
> > Add platform enabler for ARM arch_timer(TSC). TSC is more fine grained
> > timer than TMR0. If it's available, it will be used for clock source
> > and sched_clock. Other
Marc Zyngier wrote @ Thu, 20 Dec 2012 13:05:45 +0100:
> On 20/12/12 11:57, Hiroshi Doyu wrote:
> > Marc Zyngier wrote @ Thu, 20 Dec 2012 12:01:15 +0100:
> >
> >> On 20/12/12 09:44, Hiroshi Doyu wrote:
> >>> Add platform enabler for ARM arch_timer(TSC). TSC i
Marc Zyngier wrote @ Thu, 20 Dec 2012 14:32:21 +0100:
> On 20/12/12 12:55, Peter De Schrijver wrote:
> > On Thu, Dec 20, 2012 at 01:33:42PM +0100, Marc Zyngier wrote:
> >> On 20/12/12 12:22, Peter De Schrijver wrote:
> >>> +
> >>> + /* CNTFRQ */
> >>> + asm("mcr p15, 0, %0, c1
YoungJun Cho wrote @ Mon, 17 Jun 2013 06:18:52 +0200:
> In __iommu_get_pages(), the cpu_addr is checked wheather in
> atomic_pool range or not. So if the cpu_addr is in atomic_pool
> range, it does not need to check twice.
>
> Signed-off-by: YoungJun Cho
> Signed-off-by: Kyungmin Park
Looks o
Hi Marek,
On Tue, 21 Aug 2012 17:01:08 +0200
Marek Szyprowski 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,
> > > > + con
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 dma_alloc(GFP_ATOMIC)
ARM: dma-mapping: dma_{alloc,free}
There's possibility that this attrs be used later to set.
Signed-off-by: Hiroshi Doyu
---
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/dma-mapp
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
---
arch/arm/mm/dma-mapping.c | 22 ++
1 files changed, 18 insertions(+), 4 deletions(-)
Make dma_alloc{_attrs}() returns cpu address when
DMA_ATTR_NO_KERNEL_MAPPING && GFP_ATOMIC.
Signed-off-by: Hiroshi Doyu
---
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
index
__alloc_fill_pages() allocates power of 2 page number allocation at
most repeatedly.
Signed-off-by: Hiroshi Doyu
---
arch/arm/mm/dma-mapping.c | 40
1 files changed, 28 insertions(+), 12 deletions(-)
diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm
Marek Szyprowski wrote @ Wed, 22 Aug 2012 14:29:47
+0200:
> Hello,
>
> On Wednesday, August 22, 2012 12:20 PM Hiroshi Doyu wrote:
>
> > Makes use of the same atomic pool from DMA, and skips kernel page
> > mapping which can involves sleep'able operation at alloc
s real the problem. I guess that
that kind of fragmentation problem would be solved with page migration
or something, especially nowadays devices are getting larger memories.
*1:
>From a613c40d1b3d4fb1577cdb0807a74e8dbd08a3e6 Mon Sep 17 00:00:00 2001
From: Hiroshi Doyu
Date: Wed, 22 Aug 2012 1
Hi Marek,
Marek Szyprowski wrote @ Wed, 22 Aug 2012 14:04:26
+0200:
> Hi Hiroshi,
>
> On Wednesday, August 22, 2012 12:20 PM Hiroshi Doyu wrote:
>
> > The commit e9da6e9 "ARM: dma-mapping: remove custom consistent dma
> > region" breaks the compatibility
(start_kernel+0x27c/0x2cc)
[9.436952] Code: e1a4 e3a04000 eb002265 eae0 (e7f001f2)
[9.443038] ---[ end trace 1b75b31a2719ed24 ]---
[9.447645] Kernel panic - not syncing: Fatal exception in interrupt
Hiroshi Doyu (4):
ARM: dma-mapping: Refactor out to introduce __in_atomic_pool
ARM:
Check the given range("start", "size") is included in "atomic_pool" or not.
Signed-off-by: Hiroshi Doyu
---
arch/arm/mm/dma-mapping.c | 25 +++--
1 files changed, 19 insertions(+), 6 deletions(-)
diff --git a/arch/arm/mm/dma-mapping.c b/a
__alloc_fill_pages() allocates power of 2 page number allocation at
most repeatedly.
Signed-off-by: Hiroshi Doyu
---
arch/arm/mm/dma-mapping.c | 50 ++--
1 files changed, 34 insertions(+), 16 deletions(-)
diff --git a/arch/arm/mm/dma-mapping.c b/arch
Use kzalloc() with GFP_ATOMIC instead of vzalloc(). At freeing,
__in_atomic_pool() checks if it comes from atomic_pool or not.
Signed-off-by: Hiroshi Doyu
---
arch/arm/mm/dma-mapping.c |7 ---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mm/dma-mapping.c b
Makes use of the same atomic pool from DMA, and skips kernel page
mapping which can involve sleep'able operations at allocating a kernel
page table.
Signed-off-by: Hiroshi Doyu
---
arch/arm/mm/dma-mapping.c | 30 +-
1 files changed, 25 insertions(+), 5 dele
Hi,
On Thu, 23 Aug 2012 07:58:34 +0200
Marek Szyprowski wrote:
> Hello,
>
> On Wednesday, August 22, 2012 3:37 PM Hiroshi Doyu wrote:
>
> > KyongHo Cho wrote @ Wed, 22 Aug 2012 14:47:00
> > +0200:
> >
> > > vzalloc() call in __iommu_alloc_buffer() als
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
Reported-by: Hin-Tak Leung
Tested-by: Antti Palosaari
Ac
ncing: Fatal exception in interrupt
Hiroshi Doyu (4):
ARM: dma-mapping: atomic_pool with struct page **pages
ARM: dma-mapping: Refactor out to introduce __in_atomic_pool
ARM: dma-mapping: Introduce __atomic_get_pages() for
__iommu_get_pages()
ARM: dma-mapping: IOMMU allocates pages from atomic
1 - 100 of 210 matches
Mail list logo