When syncing the task ASID with EntryHi, correctly or the value instead
of assigning it.
Reported-by: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Cc: Leon Alrae <leon.alrae@imgtec.com>
Reviewed-by: Leon Alrae <leon.alrae@imgtec.com>
Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
/* Sync the TASID with EntryHi. */
cpu->CP0_EntryHi &= ~0xff;
- cpu->CP0_EntryHi = tasid;
+ cpu->CP0_EntryHi |= tasid;
compute_hflags(cpu);
}