- 09 4月, 2013 3 次提交
-
-
由 Maxime Ripard 提交于
Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
由 Maxime Ripard 提交于
Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
由 Maxime Ripard 提交于
In the early days, the A10 and A13 shared quite some code. Nowadays it shares less and less code, the A31 diverging even more, so it doesn't make much sense to continue to maintain this structure, just use one DTSI for every SoC, and that's it. Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
- 05 4月, 2013 3 次提交
-
-
由 Emilio López 提交于
The port controller needs the apb0_pio clock enabled to be able to work. This commit declares that on the device tree. Signed-off-by: NEmilio López <emilio@elopez.com.ar> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
由 Emilio López 提交于
All the UARTs are connected to clock gates; now that our clock driver is able to handle them, make the switch. Signed-off-by: NEmilio López <emilio@elopez.com.ar> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
由 Emilio López 提交于
This commit adds the corresponding DT bindings for all the AXI, AHB, APB0 and APB1 gates. Signed-off-by: NEmilio López <emilio@elopez.com.ar> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
- 29 3月, 2013 7 次提交
-
-
由 Emilio López 提交于
We previously relied on the bootloader to do the muxing of the UART for the Cubieboard. Don't rely on it anymore and use pinctrl. Also remove uart1, as it is not enabled by default and it's not exposed on the board headers. Signed-off-by: NEmilio López <emilio@elopez.com.ar> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
由 Maxime Ripard 提交于
We previously relied on the bootloader to do the muxing of the UART for the Hackberry. Don't rely on it anymore and use pinctrl. Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com> Acked-by: NEmilio López <emilio@elopez.com.ar>
-
由 Maxime Ripard 提交于
The Allwinner A10 SoC has 8 available UARTs, which is 6 more than on the A13, so add the missing UARTs to the sun4i-a10 dtsi. Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com> Acked-by: NEmilio López <emilio@elopez.com.ar>
-
由 Maxime Ripard 提交于
Both A10 and A13 Allwinner SoCs have a Synopsys APB uart3 device available, so add it to the sunxi.dtsi file Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com> Acked-by: NEmilio López <emilio@elopez.com.ar>
-
由 Maxime Ripard 提交于
The UART0 is only available on the Allwinner A10 SoCs, and not on the A13, so move the uart0 node to sun4i-a10.dtsi. Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com> Acked-by: NEmilio López <emilio@elopez.com.ar> Tested-by: NEmilio López <emilio@elopez.com.ar>
-
由 Maxime Ripard 提交于
The other architecture use serial@address for their uart nodes, so rename our uart dt nodes to be consistent Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
由 Maxime Ripard 提交于
It will be especially useful when we will have the clock definitions in the device tree. Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com> Acked-by: NEmilio López <emilio@elopez.com.ar> Tested-by: NEmilio López <emilio@elopez.com.ar>
-
- 28 3月, 2013 1 次提交
-
-
由 Emilio López 提交于
During the introduction of the Allwinner SoC platforms, sunxi was initially meant as a generic name for all the variants of the Allwinner SoC. It was ok at the time of the support of only the A10 and A13 that look pretty much the same; but it's beginning to be troublesome with the future addition of the Allwinner A31 (sun6i) that is quite different, and would introduce some weird logic, where sunxi would actually mean in some case sun4i and sun5i but without sun6i... Moreover, it makes the compatible strings naming scheme not consistent with other architectures, where usually for this kind of compability, we just use the oldest SoC name that has this IP, so let's do just this. Signed-off-by: NEmilio López <emilio@elopez.com.ar> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
- 23 3月, 2013 1 次提交
-
-
由 Emilio López 提交于
This introduces proper clock definitions on sunxi.dtsi, to be used with the new clock driver for sunxi. Signed-off-by: NEmilio López <emilio@elopez.com.ar> Acked-by: NMike Turquette <mturquette@linaro.org> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
- 10 3月, 2013 1 次提交
-
-
由 Maxime Ripard 提交于
This board comes with an Allwinner A10, two external USB ports, a SD Card reader, 1GB of RAM, the usual video connectors and an onboard wifi chip. Of course, the support is quite minimal for now... Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
- 06 3月, 2013 3 次提交
-
-
由 Emilio López 提交于
Cubieboard has two LEDs available for use, a blue one (labeled LED1) and a green one (labeled LED2). Signed-off-by: NEmilio López <emilio@elopez.com.ar> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
由 Maxime Ripard 提交于
Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
由 Maxime Ripard 提交于
Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
- 03 3月, 2013 21 次提交
-
-
由 James Hogan 提交于
metag/allmodconfig: drivers/media/v4l2-core/videobuf2-dma-contig.c: In function 'vb2_dc_get_base_sgt': drivers/media/v4l2-core/videobuf2-dma-contig.c:387: error: implicit declaration of function 'dma_get_sgtable' For architectures using dma_map_ops, dma_get_sgtable() is provided in <asm-generic/dma-mapping-common.h>. Metag does not use dma_map_ops yet, hence it should implement it as an inline stub using dma_common_get_sgtable(). Signed-off-by: NJames Hogan <james.hogan@imgtec.com> Cc: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: NMarek Szyprowski <m.szyprowski@samsung.com>
-
由 James Hogan 提交于
Metag doesn't have a metag_dt_memblock_reserve() function so remove the declaration from asm/prom.h. Signed-off-by: NJames Hogan <james.hogan@imgtec.com>
-
由 James Hogan 提交于
Make a copy of the device tree blob in non-init memory. It is required when using built-in device tree files that the platform code copies the blob to non-init memory prior to calling unflatten_device_tree(), otherwise the strings that the device tree refer to will get poisoned and potentially reused, breaking later reading of the device tree post-init (such as compatible matching in modules, debugfs, and the procfs interface). Signed-off-by: NJames Hogan <james.hogan@imgtec.com> Reviewed-by: NVineet Gupta <vgupta@synopsys.com>
-
由 James Hogan 提交于
Minimise metag_ksyms.c includes to directly include the <asm/*.h> files that declare a particular symbol, and not include any unnecessary ones. Signed-off-by: NJames Hogan <james.hogan@imgtec.com>
-
由 James Hogan 提交于
It's less error prone to have function symbols exported immediately after the function rather than in metag_ksyms.c. Move each EXPORT_SYMBOL in metag_ksyms.c for symbols defined in mm/init.c into mm/init.c. Signed-off-by: NJames Hogan <james.hogan@imgtec.com>
-
由 James Hogan 提交于
It's less error prone to have function symbols exported immediately after the function rather than in metag_ksyms.c. Move each EXPORT_SYMBOL in metag_ksyms.c for symbols defined in usercopy.c into usercopy.c Signed-off-by: NJames Hogan <james.hogan@imgtec.com>
-
由 James Hogan 提交于
It's less error prone to have function symbols exported immediately after the function rather than in metag_ksyms.c. Move each EXPORT_SYMBOL in metag_ksyms.c for symbols defined in setup.c into setup.c Signed-off-by: NJames Hogan <james.hogan@imgtec.com>
-
由 James Hogan 提交于
It's less error prone to have function symbols exported immediately after the function rather than in metag_ksyms.c. Move each EXPORT_SYMBOL in metag_ksyms.c for symbols defined in kick.c into kick.c Signed-off-by: NJames Hogan <james.hogan@imgtec.com>
-
由 James Hogan 提交于
It's less error prone to have function symbols exported immediately after the function rather than in metag_ksyms.c. Move each EXPORT_SYMBOL in metag_ksyms.c for symbols defined in traps.c into traps.c Signed-off-by: NJames Hogan <james.hogan@imgtec.com>
-
由 James Hogan 提交于
The SMP version of arch_local_irq_enable() uses preempt_disable(), but <asm/irqflags.h> doesn't include <linux/preempt.h> causing the following errors on SMP when pstore/ftrace is enabled (caught by buildbot smp allyesconfig): In file included from include/linux/irqflags.h:15, from fs/pstore/ftrace.c:16: arch/metag/include/asm/irqflags.h: In function 'arch_local_irq_enable': arch/metag/include/asm/irqflags.h:84: error: implicit declaration of function 'preempt_disable' arch/metag/include/asm/irqflags.h:86: error: implicit declaration of function 'preempt_enable_no_resched' However <linux/preempt.h> cannot be easily included from <asm/irqflags.h> as it can cause circular include dependencies in the !SMP case, and potentially in the SMP case in the future. Therefore move the SMP implementation of arch_local_irq_enable() into traps.c and use an inline version of get_trigger_mask() which is also defined in traps.c for SMP. This adds an extra layer of function call / stack push when preempt_disable needs to call other functions, however in the non-preemptive SMP case it should be about as fast, as it was already calling the get_trigger_mask() function which is now used inline. Signed-off-by: NJames Hogan <james.hogan@imgtec.com>
-
由 James Hogan 提交于
Convert hugetlb_get_unmapped_area_new_pmd() to use vm_unmapped_area() rather than searching the virtual address space itself. This fixes the following errors in linux-next due to the specified members being removed after other architectures have already been converted: arch/metag/mm/hugetlbpage.c: In function 'hugetlb_get_unmapped_area_new_pmd': arch/metag/mm/hugetlbpage.c:199: error: 'struct mm_struct' has no member named 'cached_hole_size' arch/metag/mm/hugetlbpage.c:200: error: 'struct mm_struct' has no member named 'free_area_cache' arch/metag/mm/hugetlbpage.c:215: error: 'struct mm_struct' has no member named 'cached_hole_size' Signed-off-by: NJames Hogan <james.hogan@imgtec.com> Acked-by: NMichel Lespinasse <walken@google.com>
-
由 James Hogan 提交于
Various file systems use clear_page() and copy_page(), so when they're built as modules we get build errors like the following: ERROR: "clear_page" [fs/ntfs/ntfs.ko] undefined! ERROR: "copy_page" [fs/nilfs2/nilfs2.ko] undefined! Therefore export these functions to modules from metag_ksyms.c to fix the errors. This was hit by a randconfig build. Signed-off-by: NJames Hogan <james.hogan@imgtec.com>
-
由 James Hogan 提交于
Various file systems indirectly use metag_code_cache_flush_all(), so when they're built as modules we get build errors like the following: ERROR: "metag_code_cache_flush_all" [fs/xfs/xfs.ko] undefined! Therefore export this function to modules to fix the errors. This was hit by a randconfig build. Signed-off-by: NJames Hogan <james.hogan@imgtec.com>
-
由 James Hogan 提交于
Rename setup_txprivext() to setup_priv() and add initialisation of some more per-thread privilege protection registers: - TxPRIVSYSR: 0x04400000-0x047fffff 0x05000000-0x07ffffff 0x84000000-0x87ffffff - TxPIOREG: 0x02000000-0x02ffffff 0x04800000-0x048fffff - TxSYREG: 0x04000000-0x04000fff (except write fetch system event) Signed-off-by: NJames Hogan <james.hogan@imgtec.com>
-
由 James Hogan 提交于
Define PRIV_BITS using explicit constants from <asm/metag_regs.h> rather than with a hard coded value. This also adds a couple of missing definitions for the TXPRIVEXT priv bits for protecting writes to TXTIMER and the trace registers. Signed-off-by: NJames Hogan <james.hogan@imgtec.com>
-
由 James Hogan 提交于
Sort includes in kernel/setup.c. Signed-off-by: NJames Hogan <james.hogan@imgtec.com>
-
由 James Hogan 提交于
Add boot time check for whether LNKGET/LNKSET go through or around the cache. Depending on the configuration an info message (no harm), warning (technically wrong but no harm), or big WARN (expect failure in either kernel or userland) may be emitted if the behaviour is not as expected: Configuration Hardware Response ------------------------------------------ -------- -------- AROUND_CACHE through pr_info !AROUND_CACHE && ATOMICITY_LNKGET around WARN (kernel) " && !ATOMICITY_LNKGET && SMP around WARN (user) " " && !SMP around pr_warn Signed-off-by: NJames Hogan <james.hogan@imgtec.com>
-
由 James Hogan 提交于
metag_cache_probe() is only called from setup_arch(), so add the __init attribute to it. Signed-off-by: NJames Hogan <james.hogan@imgtec.com>
-
由 James Hogan 提交于
Add basic JTAG Debug Adapter (DA) support so that drivers which communicate with the DA can detect whether one is actually present (otherwise the target will halt indefinitely). This allows the metag_da TTY driver and imgdafs filesystem driver to be built, updates defconfigs, and sets up the metag_da console early if it's configured in. Signed-off-by: NJames Hogan <james.hogan@imgtec.com>
-
由 James Hogan 提交于
Add ftrace support for metag. Signed-off-by: NJames Hogan <james.hogan@imgtec.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@redhat.com> Reviewed-by: NSteven Rostedt <rostedt@goodmis.org>
-
由 James Hogan 提交于
Add Perf support for metag. Signed-off-by: NJames Hogan <james.hogan@imgtec.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> Cc: Ingo Molnar <mingo@redhat.com> Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
-