Commit 9f9ea30
platform: ace: watchdog: send primary timeout via ipc_service critical send
The primary-core watchdog timeout notification used the deprecated
old-interface call intel_adsp_ipc_send_message_emergency() together with
the Intel-specific INTEL_ADSP_IPC_HOST_DEV device handle.
Route it instead through the generic ipc_platform_send_msg_direct(), which
maps to ipc_service_send_critical() and the backend critical/emergency
send, identical register behaviour (busy-wait, no ack, bypasses flow
control), but expressed with the backend-agnostic ipc_service API and a
struct ipc_msg, mirroring the secondary-core path.
This removes the watchdog's dependency on the old interface and on the
Intel host IPC device macro, dropping the intel_adsp_ipc*.h includes.
Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>1 parent 3ba4b07 commit 9f9ea30
1 file changed
Lines changed: 15 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
20 | | - | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
40 | 47 | | |
41 | 48 | | |
42 | 49 | | |
| |||
83 | 90 | | |
84 | 91 | | |
85 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
86 | 97 | | |
87 | 98 | | |
88 | 99 | | |
| |||
0 commit comments