From: Thomas Huth <thuth@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>,
Pierrick Bouvier <pierrick.bouvier@linaro.org>
Cc: qemu-devel@nongnu.org, qemu-arm@nongnu.org
Subject: Re: [PATCH] hw/misc/npcm_clk: fix buffer-overflow
Date: Mon, 17 Mar 2025 14:31:14 +0100 [thread overview]
Message-ID: <e66516bd-27d9-43ad-a1e2-be7ee75037a7@redhat.com> (raw)
In-Reply-To: <CAFEAcA8jzYvCLxDTybE34K5DxQqOG4-m8_-oNwiATVBHYbEV9A@mail.gmail.com>
On 26/02/2025 21.50, Peter Maydell wrote:
> (edited cc list since it's moved away from a discussion of this
> particular patch and on to a testing/ci coverage issue)
>
> On Wed, 26 Feb 2025 at 19:03, Pierrick Bouvier
> <pierrick.bouvier@linaro.org> wrote:
>>
>> On 2/26/25 03:50, Peter Maydell wrote:
>>> On Tue, 25 Feb 2025 at 20:57, Pierrick Bouvier
>>> <pierrick.bouvier@linaro.org> wrote:
>>>>
>>>> On 2/25/25 05:41, Peter Maydell wrote:
>>>>> (Looking more closely at the cold_reset_values handling
>>>>> in npcm_gcr.c, that looks not quite right in a different
>>>>> way; I'll send a reply to that patch email about that.)
>>>>>
>>>>
>>>> It may be a hole in our CI right now.
>>>> Would that be interesting for CI to run all tests (check-functional +
>>>> check w/o functional) with both ubsan and asan?
>>>
>>> We do have at least some ubsan tests in our CI right now
>>> (eg the "clang-system" job). The problem with ubsan coverage
>>> is the usual one that we already have too much CI going on,
>>> and it takes forever and we don't have that much headroom
>>> for adding more jobs.
...
>> Would that hurt so much to have one configuration enabled with ubsan and
>> asan, which catches *real* bugs, and potential security issues?
>> Yes, it adds overhead, but it should not be x10. Around x2 to x3.
>
> You'd need to have a duplicate of all of the above
> functional-system-* test jobs if you wanted
> to test all the guest architectures, I think. So it's
> 30 mins build * six configs plus 60 mins total for testing.
> Or we could convert (some of?) the existing jobs to use the
> sanitisers if we needed to economise on CI time.
I agree with Peter that having additional build jobs is currently rather a
no-go ... but maybe we could enable ubsan and/or asan in some (more) of the
existing pipelines?
Thomas
prev parent reply other threads:[~2025-03-17 13:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-24 20:50 [PATCH] hw/misc/npcm_clk: fix buffer-overflow Pierrick Bouvier
2025-02-24 20:54 ` Hao Wu
2025-02-25 13:41 ` Peter Maydell
2025-02-25 20:57 ` Pierrick Bouvier
2025-02-26 11:50 ` Peter Maydell
2025-02-26 19:03 ` Pierrick Bouvier
2025-02-26 20:50 ` Peter Maydell
2025-03-17 13:31 ` Thomas Huth [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=e66516bd-27d9-43ad-a1e2-be7ee75037a7@redhat.com \
--to=thuth@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=pierrick.bouvier@linaro.org \
--cc=qemu-arm@nongnu.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).