From: Palmer Dabbelt <palmer@dabbelt.com>
To: Richard Henderson <richard.henderson@linaro.org>,
philmd@linaro.org, mjt@tls.msk.ru, dbarboza@ventanamicro.com
Cc: qemu-devel@nongnu.org, qemu-riscv@nongnu.org,
Alistair Francis <Alistair.Francis@wdc.com>,
bin.meng@windriver.com, liweiwei@iscas.ac.cn,
zhiwei_liu@linux.alibaba.com
Subject: Re: riscv kvm breakage
Date: Tue, 11 Jul 2023 09:49:16 -0700 (PDT) [thread overview]
Message-ID: <mhng-cc1adc21-625f-4def-bd89-8ccf08c98514@palmer-ri-x1c9a> (raw)
In-Reply-To: <629afcc2-ffed-c081-9564-7faa6defc1f4@linaro.org>
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~
prev parent reply other threads:[~2023-07-11 16:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-11 16:43 riscv kvm breakage Richard Henderson
2023-07-11 16:47 ` Philippe Mathieu-Daudé
2023-07-11 17:02 ` Daniel Henrique Barboza
2023-07-11 16:49 ` Palmer Dabbelt [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=mhng-cc1adc21-625f-4def-bd89-8ccf08c98514@palmer-ri-x1c9a \
--to=palmer@dabbelt.com \
--cc=Alistair.Francis@wdc.com \
--cc=bin.meng@windriver.com \
--cc=dbarboza@ventanamicro.com \
--cc=liweiwei@iscas.ac.cn \
--cc=mjt@tls.msk.ru \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-riscv@nongnu.org \
--cc=richard.henderson@linaro.org \
--cc=zhiwei_liu@linux.alibaba.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).