From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: Tim Lee <timlee660101@gmail.com>, Fabiano Rosas <farosas@suse.de>
Cc: lvivier@redhat.com, pbonzini@redhat.com, wuhaotsh@google.com,
kfting@nuvoton.com, chli30@nuvoton.com, qemu-arm@nongnu.org,
qemu-devel@nongnu.org
Subject: Re: [PATCH] tests/qtest: Add qtest for NPCM8XX PSPI module
Date: Tue, 6 May 2025 10:28:06 +0200 [thread overview]
Message-ID: <af2cf890-6a9b-4715-9fef-4ec7416baba6@linaro.org> (raw)
In-Reply-To: <CAJG6D+hRQQq6DaoPVs+VU-sibTSA1OSwYkhgcNy2xy1Da3BtRw@mail.gmail.com>
Hi Tim,
On 6/5/25 04:14, Tim Lee wrote:
>> This fails on top of current master, please take a look:
>>
>> $ QTEST_LOG=1 QTEST_QEMU_BINARY=./qemu-system-aarch64 ./tests/qtest/npcm8xx_pspi-test
>> # random seed: R02S03f79fc48ba73b76c881f93f90b015e9
>> 1..3
>> # Start of aarch64 tests
>> # Start of npcm8xx_pspi tests
>> # starting QEMU: exec ./qemu-system-aarch64 -qtest
>> unix:/tmp/qtest-32530.sock -qtest-log /dev/fd/2 -chardev
>> socket,path=/tmp/qtest-32530.qmp,id=char0 -mon
>> chardev=char0,mode=control -display none -audio none -machine
>> npcm845-evb -accel qtest
>> [I 0.000000] OPENED
>> [R +0.034918] endianness
>> [S +0.034944] OK little
>> {"QMP": {"version": {"qemu": {"micro": 50, "minor": 0, "major": 10},
>> "package": "v10.0.0-530-g88d6459dae"}, "capabilities": ["oob"]}}
>> {"execute": "qmp_capabilities"}
>> {"return": {}}
>> [R +0.037373] writel 0xf0201002 0x1
>> [S +0.037396] OK
>> [R +0.037417] readl 0xf0201002
>> [S +0.037426] OK 0x0000000000000000
>> **
>> ERROR:../tests/qtest/npcm8xx_pspi-test.c:45:test_init: assertion failed
>> (pspi_read_ctl(qts, pspi) == CTL_SPIEN): (0x00000000 == 0x00000001)
>> Bail out!
>> [I +0.037909] CLOSED
>> Aborted (core dumped)
>
> Thank you for testing it. I think the failure seems to be related to
> the following commit which, has not been merged yet.
> https://patchew.org/QEMU/20250414020629.1867106-1-timlee660101@gmail.com/
> Here is our test result for reference. Thanks.
It helps and saves maintainers' time if you group related / dependent
patches as a series, i.e.: patch introducing a feature with the patch
testing the feature.
Alternatively when big series are split, you can mention their
dependence using the 'Based-on' tag:
Based-on: 20250414020629.1867106-1-timlee660101@gmail.com
Regards,
Phil.
next prev parent reply other threads:[~2025-05-06 8:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-18 9:12 [PATCH] tests/qtest: Add qtest for NPCM8XX PSPI module Tim Lee
2025-05-02 12:41 ` Peter Maydell
2025-05-05 2:56 ` KFTING
2025-05-05 17:03 ` Fabiano Rosas
2025-05-06 2:14 ` Tim Lee
2025-05-06 8:28 ` Philippe Mathieu-Daudé [this message]
2025-05-06 12:52 ` Peter Maydell
2025-05-07 8:46 ` Tim Lee
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=af2cf890-6a9b-4715-9fef-4ec7416baba6@linaro.org \
--to=philmd@linaro.org \
--cc=chli30@nuvoton.com \
--cc=farosas@suse.de \
--cc=kfting@nuvoton.com \
--cc=lvivier@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=timlee660101@gmail.com \
--cc=wuhaotsh@google.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).