All of lore.kernel.org
 help / color / mirror / Atom feed
* [6.6 regression] qemu-system-riscv64: Unable to read ISA_EXT KVM register ssaia, error -1
@ 2023-11-09  9:19 Andreas Schwab
  2023-11-09 15:45 ` Palmer Dabbelt
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Schwab @ 2023-11-09  9:19 UTC (permalink / raw)
  To: kvm-riscv

v6.6 broke KVM with qemu 8.1.2.

$ qemu-system-riscv64 -cpu rv64 -machine virt,accel=kvm
qemu-system-riscv64: Unable to read ISA_EXT KVM register ssaia, error -1

openat(AT_FDCWD, "/dev/kvm", O_RDWR|O_CLOEXEC) = 9
ioctl(9, _IOC(_IOC_NONE, 0xae, 0x1, 0), 0) = 10
ioctl(10, _IOC(_IOC_NONE, 0xae, 0x41, 0), 0) = 11
ioctl(11, _IOC(_IOC_WRITE, 0xae, 0xab, 0x10), 0x7fffd101e3f8) = 0
ioctl(11, _IOC(_IOC_WRITE, 0xae, 0xab, 0x10), 0x7fffd101e3f8) = 0
ioctl(11, _IOC(_IOC_WRITE, 0xae, 0xab, 0x10), 0x7fffd101e3f8) = 0
ioctl(11, _IOC(_IOC_WRITE, 0xae, 0xab, 0x10), 0x7fffd101e3f8) = 0
ioctl(11, _IOC(_IOC_WRITE, 0xae, 0xab, 0x10), 0x7fffd101e3f8) = 0
ioctl(11, _IOC(_IOC_WRITE, 0xae, 0xab, 0x10), 0x7fffd101e3f8) = 0
ioctl(11, _IOC(_IOC_WRITE, 0xae, 0xab, 0x10), 0x7fffd101e3f8) = 0
ioctl(11, _IOC(_IOC_WRITE, 0xae, 0xab, 0x10), 0x7fffd101e3f8) = 0
ioctl(11, _IOC(_IOC_WRITE, 0xae, 0xab, 0x10), 0x7fffd101e3f8) = -1 ENOENT (No such file or directory)
write(2, "qemu-system-riscv64:", 20qemu-system-riscv64:)    = 20
write(2, " ", 1 )                        = 1
write(2, "Unable to read ISA_EXT KVM regis"..., 51Unable to read ISA_EXT KVM register ssaia, error -1) = 51
write(2, "\n", 1
)                       = 1
close(11)                               = 0
close(10)                               = 0
close(9)                                = 0
exit_group(1)                           = ?
+++ exited with 1 +++

-- 
Andreas Schwab, SUSE Labs, schwab at suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


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

* [6.6 regression] qemu-system-riscv64: Unable to read ISA_EXT KVM register ssaia, error -1
  2023-11-09  9:19 [6.6 regression] qemu-system-riscv64: Unable to read ISA_EXT KVM register ssaia, error -1 Andreas Schwab
@ 2023-11-09 15:45 ` Palmer Dabbelt
  2023-11-13  8:45   ` Andreas Schwab
  0 siblings, 1 reply; 3+ messages in thread
From: Palmer Dabbelt @ 2023-11-09 15:45 UTC (permalink / raw)
  To: kvm-riscv

On Thu, 09 Nov 2023 01:19:20 PST (-0800), schwab at suse.de wrote:
> v6.6 broke KVM with qemu 8.1.2.

Do you have known good commits for those?  It'd help for somone trying 
to bisect...

> $ qemu-system-riscv64 -cpu rv64 -machine virt,accel=kvm
> qemu-system-riscv64: Unable to read ISA_EXT KVM register ssaia, error -1

What's the host, just QEMU of the same version?

> openat(AT_FDCWD, "/dev/kvm", O_RDWR|O_CLOEXEC) = 9
> ioctl(9, _IOC(_IOC_NONE, 0xae, 0x1, 0), 0) = 10
> ioctl(10, _IOC(_IOC_NONE, 0xae, 0x41, 0), 0) = 11
> ioctl(11, _IOC(_IOC_WRITE, 0xae, 0xab, 0x10), 0x7fffd101e3f8) = 0
> ioctl(11, _IOC(_IOC_WRITE, 0xae, 0xab, 0x10), 0x7fffd101e3f8) = 0
> ioctl(11, _IOC(_IOC_WRITE, 0xae, 0xab, 0x10), 0x7fffd101e3f8) = 0
> ioctl(11, _IOC(_IOC_WRITE, 0xae, 0xab, 0x10), 0x7fffd101e3f8) = 0
> ioctl(11, _IOC(_IOC_WRITE, 0xae, 0xab, 0x10), 0x7fffd101e3f8) = 0
> ioctl(11, _IOC(_IOC_WRITE, 0xae, 0xab, 0x10), 0x7fffd101e3f8) = 0
> ioctl(11, _IOC(_IOC_WRITE, 0xae, 0xab, 0x10), 0x7fffd101e3f8) = 0
> ioctl(11, _IOC(_IOC_WRITE, 0xae, 0xab, 0x10), 0x7fffd101e3f8) = 0
> ioctl(11, _IOC(_IOC_WRITE, 0xae, 0xab, 0x10), 0x7fffd101e3f8) = -1 ENOENT (No such file or directory)
> write(2, "qemu-system-riscv64:", 20qemu-system-riscv64:)    = 20
> write(2, " ", 1 )                        = 1
> write(2, "Unable to read ISA_EXT KVM regis"..., 51Unable to read ISA_EXT KVM register ssaia, error -1) = 51
> write(2, "\n", 1
> )                       = 1
> close(11)                               = 0
> close(10)                               = 0
> close(9)                                = 0
> exit_group(1)                           = ?
> +++ exited with 1 +++


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

* [6.6 regression] qemu-system-riscv64: Unable to read ISA_EXT KVM register ssaia, error -1
  2023-11-09 15:45 ` Palmer Dabbelt
@ 2023-11-13  8:45   ` Andreas Schwab
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Schwab @ 2023-11-13  8:45 UTC (permalink / raw)
  To: kvm-riscv

On Nov 09 2023, Palmer Dabbelt wrote:

> On Thu, 09 Nov 2023 01:19:20 PST (-0800), schwab at suse.de wrote:
>> v6.6 broke KVM with qemu 8.1.2.
>
> Do you have known good commits for those?

It's a regression from 6.5, probably 2a88f38cd58d.

> What's the host, just QEMU of the same version?

Yes, both the same.

-- 
Andreas Schwab, SUSE Labs, schwab at suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


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

end of thread, other threads:[~2023-11-13  8:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-09  9:19 [6.6 regression] qemu-system-riscv64: Unable to read ISA_EXT KVM register ssaia, error -1 Andreas Schwab
2023-11-09 15:45 ` Palmer Dabbelt
2023-11-13  8:45   ` Andreas Schwab

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.