Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
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
47b098bb
Commit
47b098bb
authored
5 years ago
by
John Tsichritzis
Committed by
TrustedFirmware Code Review
5 years ago
Browse files
Options
Download
Plain Diff
Merge "Prevent pending G1S interrupt become G0 interrupt" into integration
parents
49d969bb
acc29852
master
v2.5
v2.5-rc1
v2.5-rc0
v2.4
v2.4-rc2
v2.4-rc1
v2.4-rc0
v2.3
v2.3-rc2
v2.3-rc1
v2.3-rc0
v2.2
v2.2-rc2
v2.2-rc1
v2.2-rc0
arm_cca_v0.2
arm_cca_v0.1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
drivers/arm/gic/v3/gicv3_main.c
+5
-4
drivers/arm/gic/v3/gicv3_main.c
with
5 additions
and
4 deletions
+5
-4
drivers/arm/gic/v3/gicv3_main.c
View file @
47b098bb
/*
* Copyright (c) 2015-201
8
, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2015-201
9
, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
...
...
@@ -265,6 +265,10 @@ void gicv3_cpuif_enable(unsigned int proc_num)
write_scr_el3
(
scr_el3
&
(
~
SCR_NS_BIT
));
isb
();
/* Write the secure ICC_SRE_EL1 register */
write_icc_sre_el1
(
ICC_SRE_SRE_BIT
);
isb
();
/* Program the idle priority in the PMR */
write_icc_pmr_el1
(
GIC_PRI_MASK
);
...
...
@@ -274,9 +278,6 @@ void gicv3_cpuif_enable(unsigned int proc_num)
/* Enable Group1 Secure interrupts */
write_icc_igrpen1_el3
(
read_icc_igrpen1_el3
()
|
IGRPEN1_EL3_ENABLE_G1S_BIT
);
/* Write the secure ICC_SRE_EL1 register */
write_icc_sre_el1
(
ICC_SRE_SRE_BIT
);
isb
();
}
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help