These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / sound / soc / intel / common / sst-ipc.h
index 125ea45..ceb7e46 100644 (file)
@@ -32,9 +32,9 @@ struct ipc_message {
        u64 header;
 
        /* direction wrt host CPU */
-       char tx_data[IPC_MAX_MAILBOX_BYTES];
+       char *tx_data;
        size_t tx_size;
-       char rx_data[IPC_MAX_MAILBOX_BYTES];
+       char *rx_data;
        size_t rx_size;
 
        wait_queue_head_t waitq;
@@ -51,6 +51,7 @@ struct sst_plat_ipc_ops {
        void (*shim_dbg)(struct sst_generic_ipc *, const char *);
        void (*tx_data_copy)(struct ipc_message *, char *, size_t);
        u64  (*reply_msg_match)(u64 header, u64 *mask);
+       bool (*is_dsp_busy)(struct sst_dsp *dsp);
 };
 
 /* SST generic IPC data */
@@ -68,6 +69,8 @@ struct sst_generic_ipc {
        struct kthread_work kwork;
        bool pending;
        struct ipc_message *msg;
+       int tx_data_max_size;
+       int rx_data_max_size;
 
        struct sst_plat_ipc_ops ops;
 };