Re: [PATCH v1 3/4] arch: arm: mach-k3: am642_init: Probe ESM nodes

2022-02-03 Thread Nishanth Menon
On 12:22-20220202, Hari Nagalla wrote: One additional comment independent of Christian's comment.. [...] > diff --git a/arch/arm/mach-k3/am642_init.c b/arch/arm/mach-k3/am642_init.c > index 543dea02bc..cb9495e525 100644 > --- a/arch/arm/mach-k3/am642_init.c > +++ b/arch/arm/mach-k3/am642_init.c >

Re: [PATCH v1 3/4] arch: arm: mach-k3: am642_init: Probe ESM nodes

2022-02-03 Thread Christian Gmeiner
Hi Some comments from my side. > /* > * This uninitialized global variable would normal end up in the .bss > section, > * but the .bss is cleared between writing and reading this variable, so move > @@ -160,6 +173,9 @@ void board_init_f(ulong dummy) > store_boot_info_from_rom(); >

[PATCH v1 3/4] arch: arm: mach-k3: am642_init: Probe ESM nodes

2022-02-02 Thread Hari Nagalla
On AM64x devices, it is possible to route Main ESM0 error events to MCU ESM. MCU ESM high error output can trigger the reset logic to reset the device. So, for these devices we expect two ESM device nodes in the device tree, one for Main ESM and the another MCU ESM in the device tree. When these E