From: fengchengwen <fengchengwen@huawei.com>
To: Alex Williamson <alex.williamson@nvidia.com>
Cc: kvm <kvm@vger.kernel.org>, Alex Williamson <alex@shazbot.org>,
linux-kernel <linux-kernel@vger.kernel.org>,
Jason Gunthorpe <jgg@ziepe.ca>, Kevin Tian <kevin.tian@intel.com>,
<kanie@linux.alibaba.com>
Subject: Re: [PATCH v2 5/5] vfio/pci: Latch all module parameters per device
Date: Mon, 15 Jun 2026 08:59:21 +0800 [thread overview]
Message-ID: <28ce60f0-41d4-4f69-9069-8388bb4a8659@huawei.com> (raw)
In-Reply-To: <20260612081124.6228fdb8@nvidia.com>
On 6/12/2026 10:11 PM, Alex Williamson wrote:
> On Fri, 12 Jun 2026 16:40:37 +0800
> fengchengwen <fengchengwen@huawei.com> wrote:
>>
>> Since nointxmask and disable_idle_d3 already have S_IWUSR and share the same
>> "latch per device at init" behavior, it would be better to also add S_IWUSR
>> to disable_vga for permission and behavior consistency.
>>
>> Runtime writes will only affect future devices, existing devices keep their
>> latched value, so no extra risk.
>
> The difference is that notintxmask and disable_idle_d3 are typically
> diagnostic measures while disable_vga is a feature mask. disable_vga
> has never supported runtime modification. So, while I agree it's
> possible, this would expand the scope of this series from bug fixes and
> behavior restoration into feature enablement, which should have some
> actual use case in mind. Therefore I don't intend to pursue it in this
> series. Thanks,
Understood and agreed. Thanks for clarifying the scope.
>
> Alex
>
next prev parent reply other threads:[~2026-06-15 0:59 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-11 21:35 [PATCH v2 0/5] vfio/pci: Latch module params, fix bitfield use and VGA unwind Alex Williamson
2026-06-11 21:35 ` [PATCH v2 1/5] vfio/pci: Latch disable_idle_d3 per device Alex Williamson
2026-06-11 21:35 ` [PATCH v2 2/5] vfio/pci: Release the VGA arbiter client on register_device() failure Alex Williamson
2026-06-11 21:35 ` [PATCH v2 3/5] vfio/pci: Fix racy bitfields and tighten struct layout Alex Williamson
2026-06-11 21:35 ` [PATCH v2 4/5] vfio/mlx5: " Alex Williamson
2026-06-11 21:35 ` [PATCH v2 5/5] vfio/pci: Latch all module parameters per device Alex Williamson
2026-06-12 6:25 ` Guixin Liu
2026-06-12 15:05 ` Alex Williamson
2026-06-12 8:40 ` fengchengwen
2026-06-12 14:11 ` Alex Williamson
2026-06-15 0:59 ` fengchengwen [this message]
2026-06-15 1:10 ` fengchengwen
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=28ce60f0-41d4-4f69-9069-8388bb4a8659@huawei.com \
--to=fengchengwen@huawei.com \
--cc=alex.williamson@nvidia.com \
--cc=alex@shazbot.org \
--cc=jgg@ziepe.ca \
--cc=kanie@linux.alibaba.com \
--cc=kevin.tian@intel.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.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
all inboxes | Powered by JetHome®