diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2013-05-25 10:34:25 +0200 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2013-05-25 10:45:55 +0200 |
commit | 7bb66f6e6eecdd8e10ed3a63bd28c1e9105adc79 (patch) | |
tree | 091ca0ef40c1f116b9b2da09148cb1f09158be2f /tools | |
parent | ARC: Use enough bits for determining page's cache color (diff) | |
download | linux-7bb66f6e6eecdd8e10ed3a63bd28c1e9105adc79.tar.xz linux-7bb66f6e6eecdd8e10ed3a63bd28c1e9105adc79.zip |
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 <vgupta@synopsys.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions