From: Kevin Hilman Date: Thu, 8 Nov 2007 00:48:16 +0000 (+0100) Subject: [ARM] 4644/2: fix flush_kern_tlb_range() in module space X-Git-Tag: v2.6.24-rc3~172^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8fa9ba623122a51efe6c9ef8fe7412c91582d48;p=pandora-kernel.git [ARM] 4644/2: fix flush_kern_tlb_range() in module space For kernel addresses between TASK_SIZE and PAGE_OFFSET, flush_tlb_kern_range() does not work as would be expected. The TLB invalidate works with a matching ASID, or on entries marked as global. The set_pte_at() macro marks addresses >= PAGE_OFFSET as global, but not addresses from TASK_SIZE to PAGE_OFFSET, which are also kernel addresses. The result is that the entries in this range are not actually invalidated by flush_tlb_kern_range(). This patch instead marks addresses >= TASK_SIZE as global. Signed-off-by: Satoru Fujii Signed-off-by: Kevin Hilman Signed-off-by: Russell King --- Reading git-diff-tree failed