https://github.com/torvalds/linux
Revision d30cecbcbe149a36a354757cea835c1bb28689cf authored by Ralf Baechle on 27 May 2009, 16:29:37 UTC, committed by Ralf Baechle on 02 November 2009, 11:00:01 UTC
We've silently been relying on the hardware chopping off excess, reserved
ASID bits for no better reason that it saving an instruction.  Because we
already have:

#define cpu_asid(cpu, mm)       (cpu_context((cpu), (mm)) & ASID_MASK)

in <asm/mmu_context.h>.

We can use a cleanup to avoid writing non-zero bits into the reserved
entryhi bits.  This avoid triggering some debugging assertion in the
Cavium simulator.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent 2224268
History
Tip revision: d30cecbcbe149a36a354757cea835c1bb28689cf authored by Ralf Baechle on 27 May 2009, 16:29:37 UTC
MIPS: Don't write ones to reserved entryhi bits.
Tip revision: d30cecb
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 952 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 156.0 KB
Makefile -rw-r--r-- 53.9 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top