Implement xtensa_exception_name() and register it as the
CPUClass::exception_name() handler, so the common exception
logging can resolve Xtensa exception codes to names.
Use the new helper in xtensa_cpu_do_interrupt().
With '-d int', xtensa_cpu_do_interrupt() now logs the exception
name after its number.
Signed-off-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
Message-ID: <20261022215115.19680-34-philmd@oss.qualcomm.com>