Skip to content

Conversation

@akloniex
Copy link
Member

Signed-off-by: ArturX Kloniecki arturx.kloniecki@linux.intel.com

Copy link
Member

@lgirdwood lgirdwood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you be able to take care of the section attributes for the SRAM window, CC info structurse too in a new patch.

Copy link
Member

@lgirdwood lgirdwood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still needs the section updates for this data too.

@akloniex akloniex requested a review from lyakh as a code owner February 5, 2020 00:16
@akloniex
Copy link
Member Author

akloniex commented Feb 5, 2020

@lgirdwood I've created new section .fw_ready_metadata to store extended boot messages and updated linker scripts to append that to .fw_ready section. This way we keep struct sof_ipc_fw_ready body as first member of that section to maintain proper section layout, so that it shouldn't cause any issues with veriosn verification in sof-logger.

@akloniex akloniex requested a review from lgirdwood February 5, 2020 00:20
Copy link
Member

@lgirdwood lgirdwood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this series need squashed as the second patch undoes part of the first patch.

@lgirdwood
Copy link
Member

@akloniex can you take a quick look at checkpatch, not sure if it's attributes warnings are valid for XCC ?

@jajanusz
Copy link
Contributor

jajanusz commented Feb 7, 2020

@akloniex can you take a quick look at checkpatch, not sure if it's attributes warnings are valid for XCC ?

They are not valid for our project. We don't even have this macro and I'm not sure if we should introduce it. We don't have also __packed f.e. as we can't use these in abi headers. So I guess it's better to just leave attribute everywhere instead of porting part of kernel macros.

Create compile-time section .fw_ready_metadata and append it to
.fw_ready with linker.

Signed-off-by: ArturX Kloniecki <arturx.kloniecki@linux.intel.com>
Move extended boot metadata structures to compile-time section
.fw_ready_metadata which is appended to .fw_ready section of binary.

Signed-off-by: ArturX Kloniecki <arturx.kloniecki@linux.intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ABI ABI change involved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants