qemu-riscv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: riscv kvm breakage


From: Palmer Dabbelt
Subject: Re: riscv kvm breakage
Date: Tue, 11 Jul 2023 09:49:16 -0700 (PDT)

On Tue, 11 Jul 2023 09:43:48 PDT (-0700), Richard Henderson wrote:
Hiya,

This breakage crept in while cross-riscv64-system was otherwise broken in 
configure:

https://gitlab.com/qemu-project/qemu/-/jobs/4633277557#L4165

../target/riscv/kvm.c:209:38: error: ‘KVM_RISCV_ISA_EXT_ZICBOZ’ undeclared here 
(not in a
function); did you mean ‘KVM_RISCV_ISA_EXT_ZICBOM’?
   209 |     KVM_EXT_CFG("zicboz", ext_icboz, KVM_RISCV_ISA_EXT_ZICBOZ),
       |                                      ^~~~~~~~~~~~~~~~~~~~~~~~
../target/riscv/kvm.c:205:20: note: in definition of macro ‘KVM_EXT_CFG’
   205 |      .kvm_reg_id = _reg_id}
       |                    ^~~~~~~
../target/riscv/kvm.c:211:33: error: ‘KVM_RISCV_ISA_EXT_ZBB’ undeclared here 
(not in a
function); did you mean ‘KVM_RISCV_ISA_EXT_MAX’?
   211 |     KVM_EXT_CFG("zbb", ext_zbb, KVM_RISCV_ISA_EXT_ZBB),
       |                                 ^~~~~~~~~~~~~~~~~~~~~
../target/riscv/kvm.c:205:20: note: in definition of macro ‘KVM_EXT_CFG’
   205 |      .kvm_reg_id = _reg_id}
       |                    ^~~~~~~
../target/riscv/kvm.c:212:37: error: ‘KVM_RISCV_ISA_EXT_SSAIA’ undeclared here 
(not in a
function); did you mean ‘KVM_RISCV_ISA_EXT_SSTC’?
   212 |     KVM_EXT_CFG("ssaia", ext_ssaia, KVM_RISCV_ISA_EXT_SSAIA),
       |                                     ^~~~~~~~~~~~~~~~~~~~~~~
../target/riscv/kvm.c:205:20: note: in definition of macro ‘KVM_EXT_CFG’
   205 |      .kvm_reg_id = _reg_id}
       |                    ^~~~~~~
In file included from /usr/riscv64-linux-gnu/include/rpc/netdb.h:42,
                  from /usr/riscv64-linux-gnu/include/netdb.h:32,
                  from /builds/qemu-project/qemu/include/sysemu/os-posix.h:34,
                  from /builds/qemu-project/qemu/include/qemu/osdep.h:151,
                  from ../target/riscv/kvm.c:19:
../target/riscv/kvm.c:288:44: error: ‘struct kvm_riscv_config’ has no member 
named
‘zicboz_block_size’; did you mean ‘zicbom_block_size’?
   288 |     .kvm_reg_id = KVM_REG_RISCV_CONFIG_REG(zicboz_block_size)
       |                                            ^~~~~~~~~~~~~~~~~

Can someone have a look asap?  Thanks,

+Phillippe and Michael, there's already a discussion on IRC and sounds like there's a fix?



r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]