[PATCH] [v1] arch: arm: configs: gxp_defconfig

Verdun, Jean-Marie verdun at hpe.com
Fri Mar 18 14:53:59 PDT 2022


Hi Arnd,

>    I'm not familiar with the hw_breakpoint.c code, but I can see that the
>    get_debug_arch()
>    and core_has_os_save_restore() functions are at least eight years old,
>    and Cortex-A9
>    is one of the most common CPU cores, so it would be unlikely that this
>    is a problem
>    with the CPU core in general. My best guess would be that your boot
>    loader code is
>    missing a bit of initialization that is required to put this into the
>    correct state.

I kept digging, and there is an ARM errata https://developer.arm.com/documentation/uan0009/d/ (764319) which is heading into the direction of the issue we face. The challenge is that the DBGSWENABLE signal is not accessible through software (I am still digging to confirm that), it has to be switched from the external debugger. What is weird is that many vendors are referring this errata, they shall be facing the same kind of challenges in some way.

vejmarie



More information about the linux-arm-kernel mailing list