commit | 30ee615bb86ba640c9ec7f85fb95c1b0e31c41be | [log] [tgz] |
---|---|---|
author | Paul Burton <paul.burton@imgtec.com> | Thu Mar 27 10:57:30 2014 +0000 |
committer | Ralf Baechle <ralf@linux-mips.org> | Mon Mar 31 18:17:12 2014 +0200 |
tree | b756df1f38821bb46182fab185ebd2c4f5e0c86c | |
parent | 968a0734db05ad907bc8fffabdbe7da5e1e731f6 [diff] |
MIPS: Fix core number detection for MT cores In cores which implement the MT ASE, the CPUNum in the EBase register is a concatenation of the core number & the VPE ID within that core. In order to retrieve the correct core number CPUNum must be shifted appropriately to remove the VPE ID bits. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/6666/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>