Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
6700ae65
Commit
6700ae65
authored
Aug 17, 2016
by
danh-arm
Committed by
GitHub
Aug 17, 2016
Browse files
Merge pull request #682 from sudeep-holla/gicv3_ns_intr
gicv3: disable Group1 NonSecure interrupts during core powerdown
parents
d3ca949f
65d68ca6
Changes
1
Show whitespace changes
Inline
Side-by-side
drivers/arm/gic/v3/gicv3_main.c
View file @
6700ae65
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment