arm-trusted-firmware/drivers/arm
Ming Huang 5a5e0aac39 fix(gicv3): add dsb in both disable and enable function of gicv3_cpuif
A RAS error may be triggered while offline core in OS. Error:
Uncorrected software error in the Distributor, with IERR=9,SERR=f.
Core put to sleep before its Group enables were cleared.

gicv3_cpuif_disable() will be called in offline core flow.
According to GIC architecture version 3 and version 4:
Architectural execution of a DSB instruction guarantees that
the last value written to ICC_IGRPEN0_EL1, ICC_IGRPEN1_EL1,
ICC_IGRPEN1_EL3 or GICC_CTLR.{EnableGrp0, EnableGrp1}is observed
by the associated Redistributor.
An ISB or other context synchronization operation must precede
the DSB to ensure visibility of System register writes.

Signed-off-by: Ming Huang <huangming@linux.alibaba.com>
Change-Id: Iff1475657f401374c761b5e8f2f5b3a4b2040e9d
2021-07-23 10:48:00 +08:00
..
cci Increase type widths to satisfy width requirements 2020-10-12 10:55:03 -05:00
ccn Coverity: remove unnecessary header file includes 2020-02-04 10:23:51 -06:00
css style(scmi_common): add \n to warning messages 2021-06-08 20:10:35 +08:00
dcc drivers: dcc: Support JTAG DCC console 2021-03-31 21:59:45 -06:00
ethosn Add SiP service to configure Arm Ethos-N NPU 2021-04-20 15:42:18 +02:00
fvp fvp: pwrc: Move to drivers/ folder 2019-01-25 16:04:11 +00:00
gic fix(gicv3): add dsb in both disable and enable function of gicv3_cpuif 2021-07-23 10:48:00 +08:00
pl011 Don't return error information from console_flush 2020-10-09 10:21:50 -05:00
pl061 Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
sbsa libc: Consolidate unified definitions 2019-12-06 11:37:19 +01:00
scu drivers: add a driver for snoop control unit 2020-01-03 10:44:28 +00:00
smmu SMMUv3:Changed retry loop to delay timer(GENFW-3329) 2019-11-01 10:51:07 -06:00
sp804 Remove several warnings reported with W=2 2019-04-01 10:43:42 +01:00
sp805 Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
tzc tzc400: add support for interrupts 2021-03-23 13:06:15 +01:00