[PATCH kvmtool 0/2] Fixes for arm64 and MIPS

Will Deacon will at kernel.org
Thu May 26 02:17:33 PDT 2022


On Wed, 25 May 2022 17:57:02 +0100, Alexandru Elisei wrote:
> The first fix is for arm64, where the VCPUs weren't pinned correctly with
> --vcpu-affinity when creating an aarch32 guest. Hopefully the patch is
> straightforward.
> 
> The last patch is a fix for MIPS not compiling for a year now, ever since
> hw/serial.c was changed to use a different address for arm/arm64 in commit
> 45b4968e0de1 ("hw/serial: ARM/arm64: Use MMIO at higher addresses"). Did
> some digging and it turns out that the serial never worked on MIPS since
> RAM starts at 0 for the architecture. So I just removed hw/serial.o from the
> list of compilation objects, which revelead that kvm-ipc assumes that all
> architectures use the 16550/8250 UART. Added a stub for
> serial8250__inject_sysreg() to MIPS to fix that.
> 
> [...]

Applied to kvmtool (master), thanks!

[1/2] arm64: Honor --vcpu-affinity for aarch32 guests
      https://git.kernel.org/will/kvmtool/c/8ec1e8bf3bc2
[2/2] mips: Do not emulate a serial device
      https://git.kernel.org/will/kvmtool/c/6f6f384cef27

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev



More information about the linux-arm-kernel mailing list