From: James Hogan Date: Tue, 19 May 2015 08:50:35 +0000 (+0100) Subject: MIPS: dump_tlb: Take global bit into account X-Git-Tag: omap-for-v4.3/legacy-v2-signed~111^2~116 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48269c78fb04a84b4d190cac8e1fbf24ded53505;p=pandora-kernel.git MIPS: dump_tlb: Take global bit into account The TLB only matches the ASID when the global bit isn't set, so dump_tlb() shouldn't really be skipping global entries just because the ASID doesn't match. Fix the condition to read the TLB entry's global bit from EntryLo0. Note that after a TLB read the global bits in both EntryLo registers reflect the same global bit in the TLB entry. Signed-off-by: James Hogan Cc: Maciej W. Rozycki Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/10079/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed