From: Ryan Roberts <ryan.roberts@arm.com>
To: Marc Zyngier <maz@kernel.org>, Oliver Upton <oliver.upton@linux.dev>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
Shuah Khan <shuah@kernel.org>,
linux-kselftest@vger.kernel.org, kvmarm@lists.linux.dev
Subject: Re: [PATCH v2 0/3] KVM: selftests: Fixes for broken tests
Date: Fri, 24 Mar 2023 09:04:53 +0000 [thread overview]
Message-ID: <7c3377b8-716a-fe95-81b9-0637075475dc@arm.com> (raw)
In-Reply-To: <2d3bc930bd3fdc20a7257b6f343313ed@kernel.org>
On 23/03/2023 18:56, Marc Zyngier wrote:
> On 2023-03-23 17:38, Oliver Upton wrote:
>> Hey Ryan,
>>
>> On Thu, Mar 23, 2023 at 12:56:18PM +0000, Ryan Roberts wrote:
>>> Hi Oliver,
>>>
>>> Just a polite nudge on this: I was originally hoping to get these into 6.3 since
>>> I thought they were fairly uncontroversial and clearly fixing bugs. What are my
>>> chances?
>>
>> Yes, your changes are indeed uncontroversial :) At least for me, fixes to
>> selftests take a strictly lower priority than fixes to the kernel outside of
>> a merge window. AFAICT, only LPA systems are affected by the changes here and
>> I'm not aware of any of those out in the wild.
The first patch is not related to LPA, it adds a missing kernel config to the
config fragment so that one of the tests (access_tracking_perf_test) is not
skipped. This change will mean our CI system starts actually running the test.
>
> Agreed. My usual take on fixing tests is that unless the test has been
> broken in the current cycle, we can safely delay merging the fix until
> the following cycle.
Thanks for the explanation. I have a slightly different opinion though (please
bare with me through the rant):
Being fairly new to Linux development, I'd like to be able to run (all) the
selftests as a matter of course to be able to quickly answer the "did I
obviously break anything?" question. But there is a lot of friction to even
being able to compile, let alone run, the things - undocumented dependencies on
libraries (even more difficult when needing to cross compile), undocumented
dependencies on kernel configs, test code that is broken and fails to compile,
tests that silently skip for difficult to determine reasons, tests that fail
even when run against the unmodified kernel, and results buried in copious
amounts of logs. These are all paper cuts that make them difficult to use and
trust. Or perhaps I'm just doing it wrong...
I would love to live in a world where I could confidently take a mainline
release, compile and run tests at close-to-zero effort and see all tests running
and passing... one day, perhaps. But only if we give more priority to the test
code ;-)
>
> And yes, LPA-capable HW is essentially vapourware at this stage.
>
>>
>> So, unless there is a burning issue, I'd like to defer these patches to the
>> 6.4 merge window. Nonetheless, it all looks good to me:
>>
>> Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Thanks for that.
>
> Thanks for that. I'll start queuing 6.4 material once I'm back to my
> usual time zone, beginning of next week.
Appreciated. Thanks for taking the patches. If you have a rule-of-thumb about
the best time to post different types of patches (and what it's best to base
them on), I'll try to follow it in future.
Thanks,
Ryan
>
> Cheers,
>
> M.
next prev parent reply other threads:[~2023-03-24 9:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-08 11:09 [PATCH v2 0/3] KVM: selftests: Fixes for broken tests Ryan Roberts
2023-03-08 11:09 ` [PATCH v2 1/3] KVM: selftests: Fixup config fragment for access_tracking_perf_test Ryan Roberts
2023-03-24 15:32 ` Sean Christopherson
2023-03-08 11:09 ` [PATCH v2 2/3] KVM: selftests: arm64: Fix pte encode/decode for PA bits > 48 Ryan Roberts
2023-03-08 11:09 ` [PATCH v2 3/3] KVM: selftests: arm64: Fix ttbr0_el1 encoding " Ryan Roberts
2023-03-23 12:56 ` [PATCH v2 0/3] KVM: selftests: Fixes for broken tests Ryan Roberts
2023-03-23 17:38 ` Oliver Upton
2023-03-23 18:56 ` Marc Zyngier
2023-03-24 9:04 ` Ryan Roberts [this message]
2023-03-30 18:37 ` Marc Zyngier
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=7c3377b8-716a-fe95-81b9-0637075475dc@arm.com \
--to=ryan.roberts@arm.com \
--cc=kvmarm@lists.linux.dev \
--cc=linux-kselftest@vger.kernel.org \
--cc=maz@kernel.org \
--cc=oliver.upton@linux.dev \
--cc=pbonzini@redhat.com \
--cc=shuah@kernel.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