Commit cf590f8
fwk/lilac: PD - support crossbar ready on port evt
On CCG8 3.7.0 SDK, you can only send HPI events to a port, so handle the
CCG_RESPONSE_AMD_CROSSBAR_READY event on the port interrupt as well as
the device interrupt.
BRANCH=fwk-lilac-27116
BUG=https://app.clickup.com/t/86eqarxyq
https://app.clickup.com/t/86eqtwjgj
TEST=Boot system with devices attached to either side.
Check in the log that the PD event 0x38 is recieved and the EC triggers
error recovery on ports:
[9.571500 AMD Crossbar is ready C:0 ,P:1]
[11.764500 AMD Crossbar is ready C:1 ,P:2]
[11.776500 TYPE_C_ERROR_RECOVERY]
[11.791500 TYPE_C_ERROR_RECOVERY]
Signed-off-by: Kieran Levin <ktl@frame.work>1 parent 0f3ad0a commit cf590f8
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2116 | 2116 | | |
2117 | 2117 | | |
2118 | 2118 | | |
| 2119 | + | |
| 2120 | + | |
| 2121 | + | |
| 2122 | + | |
| 2123 | + | |
| 2124 | + | |
| 2125 | + | |
| 2126 | + | |
| 2127 | + | |
| 2128 | + | |
| 2129 | + | |
| 2130 | + | |
| 2131 | + | |
2119 | 2132 | | |
2120 | 2133 | | |
2121 | 2134 | | |
| |||
0 commit comments