arm-trusted-firmware/drivers/arm
Peng Fan 66668c77cb fix(gicv3): wait rwp when gicr_ctrl.enablelpis from 1 to 0
Per GIC architecture version 3 and version 4, Where the GICR_CTRL.EnableLPIs
remains programmable:
- Software must observe GICR_CTLR.RWP==0 after clearing GICR_CTLR.EnableLPIs
  from 1 to 0 before writing GICR_PENDBASER or GICR_PROPBASER, otherwise
  behavior is UNPREDICTABLE.
- Software must observe GICR_CTLR.RWP==0 after clearing GICR_CTLR.EnableLPIs
  from 1 to 0 before setting GICR_CTLR.EnableLPIs to 1, otherwise behavior is
  UNPREDICTABLE.

After changing EnableLPIs from 1 to 0, wait RWP got cleared, otherwise
setting EnableLPIs from 0 to 1 may fail.

Reviewed-by: Jacky Bai <ping.bai@nxp.com>
Tested-by: Clark Wang <xiaoning.wang@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Change-Id: I6aaf96dc9984376de9399d0dac8a8504ba095149
2024-08-13 07:54:54 +02: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 feat(dsu): save/restore DSU PMU register 2024-05-09 10:20:32 -05:00
dcc Merge changes from topic "dcc-console" into integration 2023-10-17 15:22:54 +02:00
ethosn feat(ethos-n): update npu error handling 2023-08-15 09:36:47 +01:00
fvp fix(fvp): extract core id from mpidr for pwrc operations 2023-08-07 09:15:57 -05:00
gic fix(gicv3): wait rwp when gicr_ctrl.enablelpis from 1 to 0 2024-08-13 07:54:54 +02:00
mhu fix(mhu): fix compilation error with ENABLE_ASSERTIONS=0 option 2024-06-28 16:25:09 +01:00
pl011 refactor(console): disable getc() by default 2023-10-11 08:40:14 +02:00
pl061 Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
rse fix(rse): include lib-psa to resolve build 2024-06-07 11:40:07 +01:00
sbsa feat(sbsa): helper api for refreshing watchdog timer 2023-05-04 08:24:12 -05:00
scu drivers: add a driver for snoop control unit 2020-01-03 10:44:28 +00:00
smmu refactor(cpufeat): add macro to simplify is_feat_xx_present 2024-05-02 12:16:16 -05: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 fix(tzc400): correct message with filter 2022-02-15 18:09:51 +01:00