File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,6 +43,19 @@ struct entry t600x_agx_tunables[] = {
4343 {-1 , 0 , 0 },
4444};
4545
46+ // TODO: check masks
47+ struct entry t8112_agx_tunables [] = {
48+ {0x0 , 0x200 , 0x200 },
49+ {0x34 , 0xffffffff , 0x50014 },
50+ {0x38 , 0xffffffff , 0xa003c },
51+ {0x400 , 0xc00103ff , 0xc0010001 },
52+ {0x600 , 0x1ffffff , 0x1ffffff },
53+ {0x738 , 0x1ff01ff , 0x14003c },
54+ {0x798 , 0x1ff01ff , 0x14003c },
55+ {0x800 , 0x100 , 0x100 },
56+ {-1 , 0 , 0 },
57+ };
58+
4659static void tunables_apply (u64 base , struct entry * entry )
4760{
4861 while (entry -> offset != UINT32_MAX ) {
@@ -76,6 +89,9 @@ int tunables_apply_static(void)
7689 case T8103 :
7790 ret |= power_and_apply ("/arm-io/sgx" , 0x205000000 , t8103_agx_tunables );
7891 break ;
92+ case T8112 :
93+ ret |= power_and_apply ("/arm-io/sgx" , 0x205000000 , t8112_agx_tunables );
94+ break ;
7995 case T6000 :
8096 case T6001 :
8197 case T6002 :
You can’t perform that action at this time.
0 commit comments