Thread (71 messages) 71 messages, 4 authors, 2024-03-05

Re: [kvm-unit-tests PATCH 03/32] powerpc: Fix stack backtrace termination

From: Thomas Huth <hidden>
Date: 2024-03-05 07:00:12
Also in: kvm

On 05/03/2024 07.29, Nicholas Piggin wrote:
On Tue Feb 27, 2024 at 6:50 PM AEST, Thomas Huth wrote:
quoted
On 26/02/2024 11.11, Nicholas Piggin wrote:
...
quoted
quoted
   	/* save DTB pointer */
-	std	r3, 56(r1)
+	SAVE_GPR(3,r1)
Isn't SAVE_GPR rather meant for the interrupt frame, not for the normal C
calling convention frames?

Sorry for asking dumb questions ... I still have a hard time understanding
the changes here... :-/
Ah, that was me being lazy and using an interrupt frame for the new
frame.
Ah, ok. It's super-confusing (at least for me) to see an interrupt frame 
here out of no reason... could you please either add proper comments here 
explaining this, or even better switch to a normal stack frame, please?

  Thanks,
   Thomas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help