mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-24 23:53:04 +00:00
Give AMX context reg a name.
This register is used to store AMX context information. Signed-off-by: Daniel Berlin <dberlin@dberlin.org>
This commit is contained in:
parent
a42c839120
commit
69d241ccc2
2 changed files with 2 additions and 2 deletions
|
@ -149,8 +149,7 @@ const char *init_cpu(void)
|
|||
|
||||
int core = mrs(MPIDR_EL1) & 0xff;
|
||||
|
||||
// Unknown, related to SMP?
|
||||
msr(s3_4_c15_c5_0, core);
|
||||
msr(SYS_IMP_APL_AMX_CTX_EL1, core);
|
||||
msr(SYS_IMP_APL_AMX_CTL_EL1, 0x100);
|
||||
|
||||
// Enable IRQs (at least necessary on t600x)
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
|
||||
#define SYS_IMP_APL_ACTLR_EL12 sys_reg(3, 6, 15, 14, 6)
|
||||
|
||||
#define SYS_IMP_APL_AMX_CTX_EL1 sys_reg(3, 4, 15, 5, 0)
|
||||
#define SYS_IMP_APL_AMX_CTL_EL1 sys_reg(3, 4, 15, 1, 4)
|
||||
#define SYS_IMP_APL_AMX_CTL_EL2 sys_reg(3, 4, 15, 4, 7)
|
||||
#define SYS_IMP_APL_AMX_CTL_EL12 sys_reg(3, 4, 15, 4, 6)
|
||||
|
|
Loading…
Reference in a new issue