The System Control Processor expects data sent in the messages
to be contiguos. When using unpacked structures to describe
the data being transmitted we increase the general size of the
message which leads to SCP rejecting our request.
Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
{
struct scpi_data_buf sdata;
struct mhu_data_buf mdata;
- struct {
+ struct __packed {
u32 status;
u32 clk_rate;
} buf;
struct scpi_data_buf sdata;
struct mhu_data_buf mdata;
int stat;
- struct {
+ struct __packed {
u32 clk_rate;
u16 clk_id;
} buf;
{
struct scpi_data_buf sdata;
struct mhu_data_buf mdata;
- struct {
+ struct __packed {
u32 status;
u32 header;
u32 freqs[MAX_DVFS_OPPS];
{
struct scpi_data_buf sdata;
struct mhu_data_buf mdata;
- struct {
+ struct __packed {
u32 status;
u8 dvfs_idx;
} buf;
{
struct scpi_data_buf sdata;
struct mhu_data_buf mdata;
- struct {
+ struct __packed {
u8 dvfs_domain;
u8 dvfs_idx;
} buf;