Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

英雄帖: LA264/364/664 target support in QEMU #79

Open
xen0n opened this issue Jan 17, 2025 · 4 comments
Open

英雄帖: LA264/364/664 target support in QEMU #79

xen0n opened this issue Jan 17, 2025 · 4 comments
Labels
AREA: Emulation Related to emulation (NOT virtualization -- host and guest must have different arches) 英雄帖 Volunteers welcome!

Comments

@xen0n
Copy link
Member

xen0n commented Jan 17, 2025

We have received message from the Loongson QEMU team that they wouldn't (have the bandwidth to) work on these targets at the moment, so volunteers are welcome.

LA664 support would be more tricky, because one would have to implement the new semantics of LoongArch v1.1. The sc.q is a known tricky one to start with.

The other smaller uarches would probably be easier or even trivial, but that's only the CPU side. The SoC peripherals can also be tricky to get right, but we can see if a virtualization-oriented approach (i.e. virt platforms) would work.

Please reply in the thread if you'd like to try!

@xen0n xen0n added AREA: Emulation Related to emulation (NOT virtualization -- host and guest must have different arches) 英雄帖 Volunteers welcome! labels Jan 17, 2025
@xry111
Copy link
Member

xry111 commented Feb 7, 2025

Oops, I just hit this when I attempted to test my GCC 16B atomic changes on a 3C6000 VM from AOSC.

@xry111
Copy link
Member

xry111 commented Feb 20, 2025

Just tried sc.q on that VM and it worked perfectly. I'll see if CPUCFG output is correct.

@xry111
Copy link
Member

xry111 commented Feb 20, 2025

Just tried sc.q on that VM and it worked perfectly. I'll see if CPUCFG output is correct.

No, CPUCFG does not announce the LA1.1 instructions (though they are usable).

@jiegec
Copy link

jiegec commented Feb 21, 2025

We should take TCG and KVM cases separately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AREA: Emulation Related to emulation (NOT virtualization -- host and guest must have different arches) 英雄帖 Volunteers welcome!
Projects
None yet
Development

No branches or pull requests

3 participants