Commit 8454c57
ras: defer PFG countdown enable until injection
Avoid setting ERR<n>PFGCTL.CDNEN during RAS PFG setup by removing the
CDNEN bit from ERR_PFGCTL_TRIGGER_ALL. This keeps setup from starting
the pseudo-fault countdown before ras005 records the PAL-selected PFG
cleanup mode.
The countdown is now started only from val_ras_inject_error(), where
ERR_PFGCTL_CDNEN_ENABLE is ORed into the existing PFGCTL value after
ras005 has saved err_out_params.is_pfg_check for interrupt cleanup.
Mark ras005 ISR-shared state as volatile.
Signed-off-by: Rajat Goyal <rajat.goyal@arm.com>
Change-Id: I60ac6b769e50085129c882ebda806a366d5b52761 parent 08996a3 commit 8454c57
2 files changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
0 commit comments