On Mon, 2022-03-07 at 17:58 +0100, Cezary Rojewski wrote: > > I'm not following this, Czarek. If there are rules defined by the > > FW, > > the driver has to follow it isnt it? What I am asking is how and > > where > > do you enforce this in the AVS driver? > > > > > How the stream looks is defined by the topology. Code that > translates > > such patterns into runtime being is not part of this patchset. It's > part > > of avs_path and its collaterals instead. Alright, I'll wait for the next patchset for the explanation. > > > > > > > How come you dont have a loop here? What if the rec'd data size > > > > if > > > > larger than the max size of IP payload? > > > That's not how LARGE_CONFIG_GET message works. There is no > > > looping > > > involved or expected by the firmware and so we don't have it > > > here. > > So, are you saying that when retrieving data from the FW, the size > > of > > the retrieved data can never exceed max IPC payload size? > > > > > Precisely. This is fundmentally flawed isnt it? If set_large_config() sets a config that can exceed max IPC size, get_large_config() has to be able to support it. Thanks, Ranjani