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