From: "Daniel P. Berrangé" <berrange@redhat.com>
To: "Alex Bennée" <alex.bennee@linaro.org>
Cc: "Thomas Huth" <thuth@redhat.com>, "Stefan Weil" <sw@weilnetz.de>,
"Richard Henderson" <richard.henderson@linaro.org>,
qemu-devel@nongnu.org, "Paolo Bonzini" <pbonzini@redhat.com>,
"Philippe Mathieu-Daudé" <philmd@redhat.com>
Subject: Re: [PATCH v4 4/4] meson: Warn when TCI is selected but TCG backend is available
Date: Wed, 27 Jan 2021 10:02:21 +0000 [thread overview]
Message-ID: <20210127100221.GD3653144@redhat.com> (raw)
In-Reply-To: <875z3jy3tt.fsf@linaro.org>
On Tue, Jan 26, 2021 at 05:24:10PM +0000, Alex Bennée wrote:
>
> Stefan Weil <sw@weilnetz.de> writes:
>
> > Am 25.01.21 um 23:35 schrieb Richard Henderson:
> >> On 1/25/21 11:02 AM, Stefan Weil wrote:
> >>> Am 25.01.21 um 20:02 schrieb Richard Henderson:
> >>>> On 1/25/21 8:58 AM, Stefan Weil wrote:
> >>>>> I have no evidence that TCI is less reliable than TCG, so I would not write
> >>>>> that.
> >>>> It can't pass make check-tcg.
> >>> Where does it fail? Maybe an expected timeout problem which can be solved by
> >>> increasing the timeouts for TCI?
> >>>
> >>> I have just run a local test of `make check-tcg` with native TCG and with TCI
> >>> and did not see a difference. But I noticed that in both cases many tests show
> >>> "skipped".
> >> You need to enable docker or podman for your development, so that you get all
> >> of the cross-compilers.
> >>
> >> Then:
> >>
> >> TEST fcvt on arm
> >> TODO ../qemu/tcg/tci.c:614: tcg_qemu_tb_exec()
> >> ../qemu/tcg/tci.c:614: tcg fatal error
> >> qemu: uncaught target signal 11 (Segmentation fault) - core dumped
> >>
> >> TEST float_convs on m68k
> >> TODO ../qemu/tcg/tci.c:614: tcg_qemu_tb_exec()
> >> ../qemu/tcg/tci.c:614: tcg fatal error
> >> qemu: uncaught target signal 11 (Segmentation fault) - core dumped
> >>
> >> which is of course one of the TODO assertions.
> >> It's positively criminal those still exist in the code.
> >
> >
> > I installed podman and repeated `make check-tcg`. The log file still
> > shows 87 lines with "SKIPPED". There is also a gdb core dump, several
> > warnings, but nothing related to TCI. Both tests cited above seem to
> > work without a problem.
>
> I'm going to go out on a limb and guess you have commit:
>
> 23a77b2d18 (build-system: clean up TCG/TCI configury)
>
> which temporarily has the effect of disabling TCI. See
>
> Subject: Re: [PATCH v4 1/4] configure: Fix --enable-tcg-interpreter
> From: Paolo Bonzini <pbonzini@redhat.com>
> Message-ID: <2b8b6291-b54c-b285-ae38-21f067a8497d@redhat.com>
> Date: Mon, 25 Jan 2021 17:36:42 +0100
>
> with that fix fixed I see the same failures as Richard:
>
> ./qemu-arm ./tests/tcg/arm-linux-user/fcvt > /dev/null
> TODO ../../tcg/tci.c:614: tcg_qemu_tb_exec()
> ../../tcg/tci.c:614: tcg fatal error
> qemu: uncaught target signal 11 (Segmentation fault) - core dumped
> fish: “./qemu-arm ./tests/tcg/arm-linu…” terminated by signal SIGSEGV (Address boundary error)
>
> which does raise the question before today when was the last time anyone
> attempted to run check-tcg on this?
>
> > The complete log file is available from
> > https://qemu.weilnetz.de/test/check-tcg.txt.
> >
> > Daniel, regarding your comment: TCI has 100 % test coverage for the
> > productive code lines.
>
> By what tests? The fact you don't hit asserts in your day to day testing
> doesn't mean there are features missing that are easily tripped up or
> that TCI got it right.
>
> > All code lines which were never tested raise an
> > assertion, so can easily be identified (and fixed as soon as there is a
> > test case which triggers such an assertion). The known deficits are
> > speed, missing TCG opcodes, unimplemented TCG opcodes because of missing
> > test cases and missing support for some host architectures.
>
> Passing check-tcg would be a minimum for me.
Passing check-tcg *in gitlab CI* would be the minimum to consider
it on a par with TCG.
The lack of automated GitLab CI for TCI is a reason my proposed wording
described TCI as less reliable than native TCG. We can't claim it has
equivalent reliability unless we have equiv automated testing of TCI.
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
next prev parent reply other threads:[~2021-01-27 10:04 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-25 14:45 [PATCH v4 0/4] meson: Try to clarify TCG / TCI options for new users Philippe Mathieu-Daudé
2021-01-25 14:45 ` [PATCH v4 1/4] configure: Fix --enable-tcg-interpreter Philippe Mathieu-Daudé
2021-01-25 16:36 ` Paolo Bonzini
2021-01-25 17:10 ` Daniel P. Berrangé
2021-01-26 19:46 ` Stefan Weil
2021-01-25 14:45 ` [PATCH v4 2/4] configure: Improve TCI feature description Philippe Mathieu-Daudé
2021-01-25 16:44 ` Daniel P. Berrangé
2021-01-25 14:45 ` [PATCH v4 3/4] meson: Explicit TCG backend used Philippe Mathieu-Daudé
2021-01-25 16:45 ` Daniel P. Berrangé
2021-01-25 14:45 ` [PATCH v4 4/4] meson: Warn when TCI is selected but TCG backend is available Philippe Mathieu-Daudé
2021-01-25 16:46 ` Daniel P. Berrangé
2021-01-25 16:47 ` Daniel P. Berrangé
2021-01-25 17:05 ` Philippe Mathieu-Daudé
2021-01-25 18:58 ` Stefan Weil
2021-01-25 19:02 ` Richard Henderson
2021-01-25 21:02 ` Stefan Weil
2021-01-25 22:35 ` Richard Henderson
2021-01-26 11:40 ` Stefan Weil
2021-01-26 17:24 ` Alex Bennée
2021-01-26 19:44 ` Stefan Weil
2021-01-26 20:07 ` Paolo Bonzini
2021-01-26 20:10 ` Stefan Weil
2021-01-26 22:39 ` Richard Henderson
2021-01-27 6:53 ` Stefan Weil
2021-01-27 17:19 ` Richard Henderson
2021-01-27 19:52 ` Alex Bennée
2021-01-27 20:49 ` Stefan Weil
2021-01-27 21:47 ` Alex Bennée
2021-01-28 2:49 ` Stefan Weil
2021-01-28 6:51 ` qemu user mode fails to run programs with large VM / built with address sanitizer (was: Re: [PATCH v4 4/4] meson: Warn when TCI is selected but TCG backend is available) Stefan Weil
2021-01-28 8:29 ` Richard Henderson
2021-01-27 10:02 ` Daniel P. Berrangé [this message]
2021-01-27 12:34 ` [PATCH v4 4/4] meson: Warn when TCI is selected but TCG backend is available Alex Bennée
2021-01-26 10:34 ` Daniel P. Berrangé
2021-01-29 8:06 ` [PATCH v4 0/4] meson: Try to clarify TCG / TCI options for new users Paolo Bonzini
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=20210127100221.GD3653144@redhat.com \
--to=berrange@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=pbonzini@redhat.com \
--cc=philmd@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
--cc=sw@weilnetz.de \
--cc=thuth@redhat.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).