The PL310 is an outer L2 cache controller, but CA53 on HiKey use internal L2 cache controller within cluster.
We are not sure L2 cache can be locked down in CA53 on HiKey:
From the ARMv8’s architecture reference manual “D3.4.10: Cache lockdown” says:
“The concept of an entry locked in a cache is allowed, but not architecturally defined.
How lockdown is achieved is IMPLEMENTATION DEFINED and might not be supported by: An implementation; or Some
By checking CA53’s TRM documentation bellow, which doesn’t clearly define cache if it can support lockdown operations.
(CA57 explicitly defines NOT to support cache lockdown).