Skip to content

Conversation

@abonislawski
Copy link
Member

@abonislawski abonislawski commented Apr 2, 2019

This will fix SOF_IPC_PANIC_STACK in dump_stack()

This commit will change the order of functions in panic_rewind() to fix SOF_IPC_PANIC_STACK in dump_stack().
Thats because arch_dump_regs() function is not able to make a 100% safe return which is causing a problem for dump_stack()

Signed-off-by: Adrian Bonislawski adrian.bonislawski@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.

Sorry, I have no idea what bug you are trying to fix without a commit message. You must explain the issue and how your patch fixes the issue.

@abonislawski
Copy link
Member Author

@lgirdwood sorry, fixed

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.

Don't we need an update to core-dump.sh given we are changing order ?

@lgirdwood lgirdwood added this to the 1.3 milestone Apr 2, 2019
This commit will change the order of functions in panic_rewind() to fix SOF_IPC_PANIC_STACK in dump_stack().
Thats because arch_dump_regs() function is not able to make a 100% safe return

Signed-off-by: Adrian Bonislawski <adrian.bonislawski@linux.intel.com>
@abonislawski
Copy link
Member Author

abonislawski commented Apr 3, 2019

@lgirdwood its not needed because from the reader point of view everything is exactly the same. Struct positions and offsets are the same, thats why now in line 65 there is a place for sof_ipc_dsp_oops_xtensa struct which will be filled later by arch_dump_regs() and thats the only thing which changed - the order of data processing, not their positions in memory.
I hope this is clear now.

@lgirdwood
Copy link
Member

@abonislawski can you give CI a quick check, seems like a build is pending.

@smakows
Copy link

smakows commented Apr 3, 2019

@lgirdwood there was a need to do rerun of PRs from last night so we need to wait for them to reschedule to only then run PR tests for this day

@lgirdwood lgirdwood merged commit 2ec2c21 into thesofproject:master Apr 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants