[PATCH 1/4] ARM: Remove the domain switching on ARMv6k/v7 CPUs

Russell King - ARM Linux linux at arm.linux.org.uk
Mon May 24 09:59:48 EDT 2010


On Mon, May 24, 2010 at 02:52:52PM +0100, Catalin Marinas wrote:
> @@ -77,7 +78,11 @@ int show_fiq_list(struct seq_file *p, void *v)
>  
>  void set_fiq_handler(void *start, unsigned int length)
>  {
> +#if defined(CONFIG_CPU_USE_DOMAINS)
>  	memcpy((void *)0xffff001c, start, length);
> +#else
> +	memcpy(vectors_page + 0x1c, start, length);
> +#endif
>  	flush_icache_range(0xffff001c, 0xffff001c + length);

This is clearly buggy from an I/D coherency point of view.



More information about the linux-arm-kernel mailing list