diff options
author | Curtis Malainey <cujomalainey@chromium.org> | 2023-06-09 00:18:16 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-06-09 11:44:40 +0200 |
commit | 70dad53ddff0778c4920a1ee9eb1cfea539d4e91 (patch) | |
tree | 4dd0238bc5236ea5e997f78ca9b977dab24f057e /sound/soc/sof/sof-client.h | |
parent | ASoC: SOF: Refactor rx function for fuzzing (diff) | |
download | linux-70dad53ddff0778c4920a1ee9eb1cfea539d4e91.tar.xz linux-70dad53ddff0778c4920a1ee9eb1cfea539d4e91.zip |
ASoC: SOF: Add IPC3 Kernel Injector
Add debugfs path to fake a malicious firmware message for fuzzing purposes.
Skip IPC4 for initial integration
Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20230608221822.2825786-2-cujomalainey@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/sof-client.h')
-rw-r--r-- | sound/soc/sof/sof-client.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/sof/sof-client.h b/sound/soc/sof/sof-client.h index 10571d1ea9a7..b6ccc2cd69e5 100644 --- a/sound/soc/sof/sof-client.h +++ b/sound/soc/sof/sof-client.h @@ -75,5 +75,6 @@ int sof_client_register_fw_state_handler(struct sof_client_dev *cdev, sof_client_fw_state_callback callback); void sof_client_unregister_fw_state_handler(struct sof_client_dev *cdev); enum sof_fw_state sof_client_get_fw_state(struct sof_client_dev *cdev); +int sof_client_ipc_rx_message(struct sof_client_dev *cdev, void *ipc_msg, void *msg_buf); #endif /* __SOC_SOF_CLIENT_H */ |