qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Hexagon: improve output for arch version debugging
@ 2023-05-04 18:53 Matheus Tavares Bernardino
  2023-05-04 18:53 ` [PATCH 1/2] Hexagon: list available CPUs with `-cpu help` Matheus Tavares Bernardino
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Matheus Tavares Bernardino @ 2023-05-04 18:53 UTC (permalink / raw)
  To: qemu-devel; +Cc: bcain, tsimpson

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/cover.1673616964.git.quic_mathbern@quicinc.com/

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(-)

-- 
2.37.2



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-05-05 19:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-04 18:53 [PATCH 0/2] Hexagon: improve output for arch version debugging Matheus Tavares Bernardino
2023-05-04 18:53 ` [PATCH 1/2] Hexagon: list available CPUs with `-cpu help` Matheus Tavares Bernardino
2023-05-05 18:58   ` Taylor Simpson
2023-05-04 18:53 ` [PATCH 2/2] Hexagon: append eflags to unknown cpu model string Matheus Tavares Bernardino
2023-05-05 18:58   ` Taylor Simpson
2023-05-05 18:59 ` [PATCH 0/2] Hexagon: improve output for arch version debugging Taylor Simpson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).