Skip to contentSkip to conversation

ARM : unwinder : Prevent data abort due to stack overflow

PATCH Anurag Aggarwal 2 participants 2 messages Dec 10, 2013

lore
Share & tools
lore
#0 lore raw
Quoted 9 lines

I can confirm that the kernel "doesn't crash" with this applied, and that backtracing at least partially works. But this is not really sufficient to demontrate that the now code works better than the old code in corner cases (which is the point of the patch).

Can you give details of what additional testing you have, or plan to do?

We saw a data abort in unwinder for one of Samsung Project, during a Samsung Automation test case.
After that I created the initial the patch, and the data abort has not been seen till now.

Is it possible for you to give an idea on what other kind of additional testing do you have in mind.

Regads
Anurag

ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ¥Šwÿº{.nÇ+‰·¥Š{±þG«�éÿŠ{ayºʇڙë,j­¢f£¢·hš�ï�êÿ‘êçz_è®(­éšŽŠÝ¢j"�ú¶m§ÿÿ¾«þG«�éÿ¢¸?™¨è­Ú&£ø§~�á¶iO•æ¬z·švØ^¶m§ÿÿà ÿ¶ìÿ¢¸?–I¥

#1 lore raw
Quoted 2 lines

Review

Quoted 2 lines
(quoted diff) +2 -0
+               if (*vsp >= (unsigned long *)ctrl->sp_high)
+                       return -URC_FAILURE;

I tested the same patch, by adding a printk statement in the above if condition. The print statement I added came a few times as a part of dmesg log.

I think this proves that such corner cases are being handled by the above code

Regards
Anurag

Quoted 21 lines · Anurag Aggarwal
Quoted 9 lines

I can confirm that the kernel "doesn't crash" with this applied, and that backtracing at least partially works. But this is not really sufficient to demontrate that the now code works better than the old code in corner cases (which is the point of the patch).

Can you give details of what additional testing you have, or plan to do?

We saw a data abort in unwinder for one of Samsung Project, during a Samsung Automation test case.
After that I created the initial the patch, and the data abort has not been seen till now.

Is it possible for you to give an idea on what other kind of additional testing do you have in mind.

Regads
Anurag

Signature · 1 line
Anurag Aggarwal