Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core: fix print_kernel_stack() #1664

Merged
merged 1 commit into from
Jul 6, 2017

Conversation

jenswi-linaro
Copy link
Contributor

Previously was print_kernel_stack() supplying zeroes instead of real
values for start and size of exidx tables needed for unwind. With this
patch are correct values for exidx and exidx_sz supplied.

Tested-by: Jens Wiklander jens.wiklander@linaro.org (QEMU)
Signed-off-by: Jens Wiklander jens.wiklander@linaro.org

@jforissier
Copy link
Contributor

Ooops! Looks like it is something I omitted to do when we decided to drop the special meaning of zeroes for exidx/exidx_sz during the review of 31a2964 ("core: dump call stack of user TAs on abort") :( I'm not sure this special meaning for zeroes ever reached mainline, it was only during the review that this change occurred, therefore the "previously" part of the commit message may not be very useful. And please add a Fixes: tag with the above commit.

Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>

I think we should take this in 2.5.0 if no one objects.

@etienne-lms
Copy link
Contributor

Tested-by: Etienne Carriere <etienne.carriere@linaro.org> (b2260) (based on2.5.0-rc2)

Very efficient. Yes please, if no one objects, merge in 2.5.0.
Thank you Jens.

Previously was print_kernel_stack() supplying zeroes instead of real
values for start and size of exidx tables needed for unwind.  With this
patch are correct values for exidx and exidx_sz supplied.

Tested-by: Etienne Carriere <etienne.carriere@linaro.org> (b2260)
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Fixes: 31a2964 ("core: dump call stack of user TAs on abort")
Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU)
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
@jenswi-linaro
Copy link
Contributor Author

Update

@jforissier jforissier merged commit e4c86a0 into OP-TEE:master Jul 6, 2017
@jenswi-linaro jenswi-linaro deleted the print_kernel_stack branch July 6, 2017 13:59
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