From: Vineet Gupta Date: Sat, 25 May 2013 08:34:25 +0000 (+0530) Subject: ARC: lazy dcache flush broke gdb in non-aliasing configs X-Git-Tag: v3.10-rc3~10^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bb66f6e6eecdd8e10ed3a63bd28c1e9105adc79;p=pandora-kernel.git ARC: lazy dcache flush broke gdb in non-aliasing configs gdbserver inserting a breakpoint ends up calling copy_user_page() for a code page. The generic version of which (non-aliasing config) didn't set the PG_arch_1 bit hence update_mmu_cache() didn't sync dcache/icache for corresponding dynamic loader code page - causing garbade to be executed. So now aliasing versions of copy_user_highpage()/clear_page() are made default. There is no significant overhead since all of special alias handling code is compiled out for non-aliasing build Signed-off-by: Vineet Gupta --- Reading git-diff-tree failed