Skip to content

Hexagon: improve output for arch version debugging

Matheus Tavares Bernardino qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Hexagon: list available CPUs with `-cpu help`target/hexagon/cpu.c target/hexagon/cpu.h+23 -01 reply
2/2Hexagon: append eflags to unknown cpu model stringlinux-user/hexagon/target_elf.h+6 -11 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchTaylor Simpson
1/2R-b T-b
2/2R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Hexagon: improve output for arch version debugging

If we run qemu with an Hexagon binary compiled to an arch version that is higher than the threshold modeled by qemu, we will get the following error:

qemu-hexagon: unable to find CPU model 'unknown'

This can be confusing ("Was qemu unable to read the arch version from this binary? Or did it read but does not know such version?").

And running qemu-hexagon -cpu help doesn't help either, as it just errors out with no output. This patchset tries to improve this process.

https://lore.kernel.org/qemu-devel/[email protected]/

Matheus Tavares Bernardino (2):
Hexagon: list available CPUs with -cpu help
Hexagon: append eflags to unknown cpu model string

 linux-user/hexagon/target_elf.h |  7 ++++++-
 target/hexagon/cpu.h            |  3 +++
 target/hexagon/cpu.c            | 20 ++++++++++++++++++++
 3 files changed, 29 insertions(+), 1 deletion(-)
Signature · 1 line
2.37.2