From: Richard Henderson <richard.henderson@linaro.org>
To: Peter Maydell <peter.maydell@linaro.org>,
qemu-devel@nongnu.org, Akihiko Odaki <akihiko.odaki@daynix.com>
Subject: Re: [PULL 05/21] hvf: arm: Raise an exception for sysreg by default
Date: Fri, 2 Aug 2024 17:51:47 +1000 [thread overview]
Message-ID: <f8ccb6da-e3d5-4717-8b7b-b20249cf5290@linaro.org> (raw)
In-Reply-To: <20240730094020.2758637-6-peter.maydell@linaro.org>
On 7/30/24 19:40, Peter Maydell wrote:
> From: Akihiko Odaki <akihiko.odaki@daynix.com>
>
> Any sysreg access results in an exception unless defined otherwise so
> we should raise an exception by default.
>
> Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
> Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
> target/arm/hvf/hvf.c | 174 +++++++++++++++++++++----------------------
> 1 file changed, 85 insertions(+), 89 deletions(-)
This patch fails to compile:
https://gitlab.com/qemu-project/qemu/-/jobs/7489527235
../target/arm/hvf/hvf.c:1283:42: error: incompatible pointer types passing 'uint64_t **'
(aka 'unsigned long long **') to parameter of type 'uint64_t *' (aka 'unsigned long long
*'); remove & [-Werror,-Wincompatible-pointer-types]
if (hvf_sysreg_read_cp(cpu, reg, &val)) {
^~~~
../target/arm/hvf/hvf.c:1175:71: note: passing argument to parameter 'val' here
static bool hvf_sysreg_read_cp(CPUState *cpu, uint32_t reg, uint64_t *val)
^
1 error generated.
This snuck in while our Cirrus build minutes were exhausted, but it suggests that the
patch was never tested at all.
r~
next prev parent reply other threads:[~2024-08-02 7:52 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-30 9:39 [PULL 00/21] target-arm queue Peter Maydell
2024-07-30 9:40 ` [PULL 01/21] hw/char/bcm2835_aux: Fix assert when receive FIFO fills up Peter Maydell
2024-07-30 9:40 ` [PULL 02/21] hw/arm/smmuv3: Assert input to oas2bits() is valid Peter Maydell
2024-07-30 9:40 ` [PULL 03/21] target/arm/kvm: Set PMU for host only when available Peter Maydell
2024-07-30 9:40 ` [PULL 04/21] target/arm/kvm: Do not silently remove PMU Peter Maydell
2024-07-30 9:40 ` [PULL 05/21] hvf: arm: Raise an exception for sysreg by default Peter Maydell
2024-08-02 7:51 ` Richard Henderson [this message]
2024-08-02 8:41 ` Akihiko Odaki
2024-07-30 9:40 ` [PULL 06/21] hvf: arm: Properly disable PMU Peter Maydell
2024-07-30 9:40 ` [PULL 07/21] hvf: arm: Do not advance PC when raising an exception Peter Maydell
2024-07-30 9:40 ` [PULL 08/21] hw/misc/bcm2835_property: Fix handling of FRAMEBUFFER_SET_PALETTE Peter Maydell
2024-07-30 9:40 ` [PULL 09/21] hw/misc/bcm2835_property: Avoid overflow in OTP access properties Peter Maydell
2024-07-30 9:40 ` [PULL 10/21] hw/misc/bcm2835_property: Restrict scope of start_num, number, otp_row Peter Maydell
2024-07-30 9:40 ` [PULL 11/21] hw/misc/bcm2835_property: Reduce scope of variables in mbox push function Peter Maydell
2024-07-30 9:40 ` [PULL 12/21] target/arm: Don't assert for 128-bit tile accesses when SVL is 128 Peter Maydell
2024-07-30 9:40 ` [PULL 13/21] target/arm: Fix UMOPA/UMOPS of 16-bit values Peter Maydell
2024-07-30 9:40 ` [PULL 14/21] target/arm: Avoid shifts by -1 in tszimm_shr() and tszimm_shl() Peter Maydell
2024-07-30 9:40 ` [PULL 15/21] target/arm: Ignore SMCR_EL2.LEN and SVCR_EL2.LEN if EL2 is not enabled Peter Maydell
2024-07-30 9:40 ` [PULL 16/21] target/tricore: Use unsigned types for bitops in helper_eq_b() Peter Maydell
2024-07-30 9:40 ` [PULL 17/21] target/xtensa: Make use of 'segment' in pptlb helper less confusing Peter Maydell
2024-07-30 9:40 ` [PULL 18/21] target/m68k: avoid shift into sign bit in dump_address_map() Peter Maydell
2024-07-30 9:40 ` [PULL 19/21] target/i386: Remove dead assignment to ss in do_interrupt64() Peter Maydell
2024-07-30 9:40 ` [PULL 20/21] target/sh4: Avoid shift into sign bit in update_itlb_use() Peter Maydell
2024-07-30 9:40 ` [PULL 21/21] system/physmem: Where we assume we have a RAM MR, assert it Peter Maydell
2024-07-31 1:18 ` [PULL 00/21] target-arm queue Richard Henderson
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=f8ccb6da-e3d5-4717-8b7b-b20249cf5290@linaro.org \
--to=richard.henderson@linaro.org \
--cc=akihiko.odaki@daynix.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/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).