Re: [PATCH v2 00/24] C6X: New architecture patch set

Arnd Bergmann
2011-08-22T22:25:46Z

On Monday 22 August 2011 16:09:21 Mark Salter wrote:
> Here is v2 of the C6X architecture patch series.
>
> Changes from the previous patchset are:
>
> * Replaced 64-by-64 divides (two places) with do_div
>
> * Parse device tree for base address of some miscellaneous SoC registers.
> The clkdev code still has a hard-coded address but that will go away when
> device tree clock bindings are settled.
>
> * Tweaked the DTS files to more closely match the actual hardware.
>
> * Removed all board-specific files by making better use of device tree.
>
> * Removed CONFIG_NR_IRQS and replaced with hard-coded number which is large
> enough for all supported SoCs with room to spare.
>
> * Removed GENERIC_FIND_* references.
>
> * Cleaned up Makefiles and Kconfig files.
>
> * Removed VMLINUX_SYMBOL usage in linker script (not needed for C6X).
>
> * Cleaned up show_cpuinfo.
>
> * Added __HEAD to head.S
>
> * Use generic asm/dma.h
>
> * Added cpu_relax() to busy wait loops in cache code.
>
> * Dropped unneeded module support routines (handled in generic code)
>
> * Cleaned up DMA support.
>
> * Removed deprecated syscalls.
>
> * Removed PTRACE_PEEKUSR and PTRACE_POKEUSR.
>
> * Cleaned up sparse warnings.

Very nice, good progress!

I've just sent a lenghty reply for the soc abstraction, which is the only
thing that really sticks out to me. I think that as soon as we have a
solution for that, your patches should go into linux-next as prepraration
for inclusion in Linux-3.2.

Arnd