Re: [PATCH] sandbox: disable tracing before unmapping RAM

2023-04-25 Thread Pavel Skripkin
Hi Tom, Tom Rini says: Simon takes sandbox patches himself and I've assigned this to him in patchwork, thanks for submitting the patch. Ah, sorry for noise then. I am just unfamiliar with u-boot development process. Thank you! With regards, Pavel Skripkin

Re: [PATCH] sandbox: disable tracing before unmapping RAM

2023-04-25 Thread Pavel Skripkin
Hi Simon, Simon Glass says: On Wed, 12 Apr 2023 at 12:55, Pavel Skripkin wrote: Currently doing 'reset' command in sandbox with tracing enabled causes SIGSEV ``` Hit any key to stop autoboot: 0 => => => reset resetting ... Segmentation fault (core dumped) ``` Tracing callback

Re: [PATCH] docs: fix wrong proftool usage

2023-04-25 Thread Pavel Skripkin
Hi Simon, Simon Glass says: On Wed, 12 Apr 2023 at 13:05, Pavel Skripkin wrote: Guide shows incorrect usage of proftool, which is confusing. If proftool is used w/o '-o' argument it complains like following $ ./sandbox/tools/proftool -m sandbox/System.map -t trace dump-ftrace > trace.

[PATCH] docs: fix wrong proftool usage

2023-04-13 Thread Pavel Skripkin
s/>/-o/ fixes it and proftool outputs decoded data to trace.dat Signed-off-by: Pavel Skripkin --- doc/develop/trace.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/develop/trace.rst b/doc/develop/trace.rst index 8425d843e9..9bbe1345d2 100644 --- a/doc/develop/tra

[PATCH] sandbox: disable tracing before unmapping RAM

2023-04-13 Thread Pavel Skripkin
AM, which causes SIGSEV on umapped memory inside tracing subsystem. Fix it by disabling tracing before unmapping memory Signed-off-by: Pavel Skripkin --- arch/sandbox/cpu/state.c | 4 1 file changed, 4 insertions(+) diff --git a/arch/sandbox/cpu/state.c b/arch/sandbox/cpu/state.c index 6

[PATCH] arm64: interrupts: print FAR_ELx on sync exceptions

2023-04-03 Thread Pavel Skripkin
, 0x34 or 0x35. Same applies for EL1. This patch adds function whivh determine current EL, gets correct FAR register and prints it on panic. Signed-off-by: Pavel Skripkin --- arch/arm/lib/interrupts_64.c | 38 +++- 1 file changed, 37 insertions(+), 1 deletion