From: Marc Zyngier <maz@kernel.org>
To: Fuad Tabba <tabba@google.com>
Cc: kvmarm@lists.linux.dev, oliver.upton@linux.dev,
catalin.marinas@arm.com, joey.gouly@arm.com,
suzuki.poulose@arm.com, yuzenghui@huawei.com, will@kernel.org,
christoffer.dall@arm.com
Subject: Re: [PATCH v1 0/4] KVM: arm64: Update KVM_VCPU_MAX_FEATURES and refactor to avoid same issue
Date: Tue, 15 Oct 2024 11:15:28 +0100 [thread overview]
Message-ID: <864j5d65a7.wl-maz@kernel.org> (raw)
In-Reply-To: <CA+EHjTx--swGhnNMm1m-8wCA0HUKojv9R7R-UNCs67fCfVrDog@mail.gmail.com>
On Mon, 14 Oct 2024 19:17:19 +0100,
Fuad Tabba <tabba@google.com> wrote:
>
> Hi Marc,
>
> On Mon, 14 Oct 2024 at 18:17, Marc Zyngier <maz@kernel.org> wrote:
> >
> > On Mon, 14 Oct 2024 17:58:05 +0100,
> > Fuad Tabba <tabba@google.com> wrote:
> > >
> > > The value of KVM_VCPU_MAX_FEATURES has not been updated since
> > > adding new features in commit 89b0e7de3451 ("KVM: arm64: nv:
> > > Introduce nested virtualization VCPU feature").
> >
> > Could you please expand on what is broken? 89b0e7de3451 makes a point
> > in *not* exposing this to userspace, as outlined in the commit
> > message -- this is done on purpose, because NV is not functional yet.
>
> I understand. I was wondering how you would test NV when this feature
Testing????? Fool!!! KVM is a *write-only* code base.
More seriously, we have zillions of out-of-tree patches that actually
enable the thing, just like for pKVM.
> isn't settable, which is why I thought it was broken. That said, maybe
> a comment by the definition of KVM_VCPU_MAX_FEATURES to that effect
> might make things less confusing for people like me :)
>
> With that, is it worth repinning this patch, or is it not worth the
> complexity of trying to hide NV as long as it's not supported?
Maybe that's the sort of kick up the bum I need to actually enable
*some* NV support upstream.
Let me see if I can extract something from the current mess.
M.
--
Without deviation from the norm, progress is not possible.
prev parent reply other threads:[~2024-10-15 10:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-14 16:58 [PATCH v1 0/4] KVM: arm64: Update KVM_VCPU_MAX_FEATURES and refactor to avoid same issue Fuad Tabba
2024-10-14 16:58 ` [PATCH v1 1/4] KVM: arm64: Update the value of KVM_VCPU_MAX_FEATURES Fuad Tabba
2024-10-14 16:58 ` [PATCH v1 2/4] KVM: arm64: Move KVM_VCPU_MAX_FEATURES to the features it is counting Fuad Tabba
2024-10-14 16:58 ` [PATCH v1 3/4] KVM: arm64: Convert KVM_ARM_VCPU_* features into an enum Fuad Tabba
2024-10-14 17:13 ` Marc Zyngier
2024-10-14 16:58 ` [PATCH v1 4/4] KVM: arm64: Convert KVM_ARCH_FLAG_* " Fuad Tabba
2024-10-14 17:17 ` [PATCH v1 0/4] KVM: arm64: Update KVM_VCPU_MAX_FEATURES and refactor to avoid same issue Marc Zyngier
2024-10-14 18:17 ` Fuad Tabba
2024-10-15 10:15 ` Marc Zyngier [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=864j5d65a7.wl-maz@kernel.org \
--to=maz@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=christoffer.dall@arm.com \
--cc=joey.gouly@arm.com \
--cc=kvmarm@lists.linux.dev \
--cc=oliver.upton@linux.dev \
--cc=suzuki.poulose@arm.com \
--cc=tabba@google.com \
--cc=will@kernel.org \
--cc=yuzenghui@huawei.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.