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
d985cb74
Commit
d985cb74
authored
3 years ago
by
Manish Pandey
Committed by
TrustedFirmware Code Review
3 years ago
Browse files
Options
Download
Plain Diff
Merge "fix(gicv3): add dsb in both disable and enable function of gicv3_cpuif" into integration
parents
7bfec3ad
5a5e0aac
master
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
+4
-0
drivers/arm/gic/v3/gicv3_main.c
with
4 additions
and
0 deletions
+4
-0
drivers/arm/gic/v3/gicv3_main.c
View file @
d985cb74
...
...
@@ -332,6 +332,8 @@ void gicv3_cpuif_enable(unsigned int proc_num)
write_icc_igrpen1_el3
(
read_icc_igrpen1_el3
()
|
IGRPEN1_EL3_ENABLE_G1S_BIT
);
isb
();
/* Add DSB to ensure visibility of System register writes */
dsb
();
}
/*******************************************************************************
...
...
@@ -363,6 +365,8 @@ void gicv3_cpuif_disable(unsigned int proc_num)
/* Synchronise accesses to group enable registers */
isb
();
/* Add DSB to ensure visibility of System register writes */
dsb
();
/* Mark the connected core as asleep */
gicr_base
=
gicv3_driver_data
->
rdistif_base_addrs
[
proc_num
];
...
...
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