aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNamhoon Kim <namhoonk@cs.unc.edu>2017-04-02 06:55:49 -0400
committerNamhoon Kim <namhoonk@cs.unc.edu>2017-04-02 06:55:49 -0400
commit66efd4423f46259c73f25ff36b35bf69b48ae30b (patch)
tree4afca660b75e96d36d86418fdfc1bdb6459fc851
parent416e52c2a94eb436974bf23ce666bda934b2ee7c (diff)
Added Non-secure L2 interrupt control
-rw-r--r--arch/arm/mm/cache-l2x0.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mm/cache-l2x0.c b/arch/arm/mm/cache-l2x0.c
index 71c969a1d790..969da4aea754 100644
--- a/arch/arm/mm/cache-l2x0.c
+++ b/arch/arm/mm/cache-l2x0.c
@@ -653,6 +653,11 @@ static void __init l2c310_enable(void __iomem *base, u32 aux, unsigned num_lock)
653 */ 653 */
654 aux |= L310_AUX_CTRL_NS_LOCKDOWN; 654 aux |= L310_AUX_CTRL_NS_LOCKDOWN;
655 655
656 /*
657 * Always enable non-secure interrupt access control registers
658 */
659 aux |= L220_AUX_CTRL_NS_INT_CTRL;
660
656 l2c_enable(base, aux, num_lock); 661 l2c_enable(base, aux, num_lock);
657 662
658 /* Read back resulting AUX_CTRL value as it could have been altered. */ 663 /* Read back resulting AUX_CTRL value as it could have been altered. */