Skip to content

ast2600: Disable NEON and VFPv4-D32

Cédric Le Goater qemu-arm qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2target/arm: Disable VFPv4-D32 when NEON is not availabletarget/arm/cpu.c+4 -09 replies
2/2ast2600: Drop NEON from the CPU featureshw/arm/aspeed_ast2600.c+2 -01 reply

Reviews trailers per patch

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

PatchRichard HendersonJoel Stanley
1/2R-b R-b
2/2R-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] ast2600: Disable NEON and VFPv4-D32

Hello,

Currently, the CPU features exposed to the AST2600 QEMU machines are :

half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm

But, the features of the Cortex A7 CPU on the Aspeed AST2600 A3 SoC are :

half thumb fastmult vfp edsp vfpv3 vfpv3d16 tls vfpv4 idiva idivt lpae evtstrm

NEON support should be dropped and, in that case, QEMU should advertise a VFPv4 unit with 16 double-precision registers, and not 32 registers.

This problem was raised by a buildroot rootfs compiled with vfpv4. Boot went fine under QEMU but on real HW, user space binaries had issues with output. Compiling buildroot with vfpv4d16 fixed it and I didn't dig further. Nevertheless, it would be nice to catch such issues with QEMU.

Thanks,

C.

Cédric Le Goater (2):
target/arm: Disable VFPv4-D32 when NEON is not available
ast2600: Drop NEON from the CPU features

 hw/arm/aspeed_ast2600.c | 2 ++
 target/arm/cpu.c        | 4 ++++
 2 files changed, 6 insertions(+)
Signature · 1 line
2.37.3