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

Taylor Simpson posted 2 patches 12 months ago
Only 0 patches received!
RE: [PATCH 0/2] Hexagon: improve output for arch version debugging
Posted by Taylor Simpson 12 months ago

> -----Original Message-----
> From: Matheus Tavares Bernardino <quic_mathbern@quicinc.com>
> Sent: Thursday, May 4, 2023 1:53 PM
> To: qemu-devel@nongnu.org
> Cc: Brian Cain <bcain@quicinc.com>; Taylor Simpson
> <tsimpson@quicinc.com>
> Subject: [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/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(-)

Queued for next Hexagon PR

Thanks,
Taylor