[PATCH 1/2] Fix the I-cache invalidation on ARMv6 and later CPUs
Minchan Kim
minchan.kim at gmail.com
Tue Nov 9 06:04:41 EST 2010
On Tue, Nov 9, 2010 at 7:53 PM, Russell King - ARM Linux
<linux at arm.linux.org.uk> wrote:
> On Tue, Nov 09, 2010 at 07:52:15PM +0900, Minchan Kim wrote:
>> Thanks, I understand the problem by your kind explanation.
>> So, why don't we use flush_icache_page?
>>
>> page fault
>> read
>> flush_icache_page <------ here
>> set_pte_at
>> update_mmu_cache
>
> Have you read Documentation/cachetlb.txt ?
>
Thanks for the pointing me.
Maybe we need change it with following as.
void flush_icache_page(struct vm_area_struct *vma, struct page *page)
All the functionality of flush_icache_page can be implemented in
flush_dcache_page or __sync_icache_dcache in set_pte_ext(ex
ARM), update_mmu_cache and set_pte_at. In 2.7 the hope is to
remove this interface completely.
--
Kind regards,
Minchan Kim
More information about the linux-arm-kernel
mailing list