Commit 6700ae65 authored by danh-arm's avatar danh-arm Committed by GitHub
Browse files

Merge pull request #682 from sudeep-holla/gicv3_ns_intr

gicv3: disable Group1 NonSecure interrupts during core powerdown
parents d3ca949f 65d68ca6
...@@ -280,9 +280,10 @@ void gicv3_cpuif_disable(unsigned int proc_num) ...@@ -280,9 +280,10 @@ void gicv3_cpuif_disable(unsigned int proc_num)
write_icc_igrpen0_el1(read_icc_igrpen0_el1() & write_icc_igrpen0_el1(read_icc_igrpen0_el1() &
~IGRPEN1_EL1_ENABLE_G0_BIT); ~IGRPEN1_EL1_ENABLE_G0_BIT);
/* Disable Group1 Secure interrupts */ /* Disable Group1 Secure and Non-Secure interrupts */
write_icc_igrpen1_el3(read_icc_igrpen1_el3() & write_icc_igrpen1_el3(read_icc_igrpen1_el3() &
~IGRPEN1_EL3_ENABLE_G1S_BIT); ~(IGRPEN1_EL3_ENABLE_G1NS_BIT |
IGRPEN1_EL3_ENABLE_G1S_BIT));
/* Synchronise accesses to group enable registers */ /* Synchronise accesses to group enable registers */
isb(); isb();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment