From: Niklas Schnelle <schnelle@linux.ibm.com>
To: Jason Gunthorpe <jgg@ziepe.ca>, Alex Williamson <alex@shazbot.org>
Cc: Farhan Ali <alifm@linux.ibm.com>,
Julian Ruess <julianr@linux.ibm.com>,
wintera@linux.ibm.com, ts@linux.ibm.com, oberpar@linux.ibm.com,
gbayer@linux.ibm.com, Yishai Hadas <yishaih@nvidia.com>,
Shameer Kolothum <skolothumtho@nvidia.com>,
Kevin Tian <kevin.tian@intel.com>,
mjrosato@linux.ibm.com, raspl@linux.ibm.com, hca@linux.ibm.com,
agordeev@linux.ibm.com, gor@linux.ibm.com, kvm@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org,
linux-pci@vger.kernel.org
Subject: Re: [PATCH v8 2/3] vfio/ism: Implement vfio_pci driver for ISM devices
Date: Tue, 31 Mar 2026 10:29:31 +0200 [thread overview]
Message-ID: <4fb2b835ec81ca0ef24bc1c867d177a7d04b4873.camel@linux.ibm.com> (raw)
In-Reply-To: <20260331000334.GI246076@ziepe.ca>
On Mon, 2026-03-30 at 21:03 -0300, Jason Gunthorpe wrote:
> On Mon, Mar 30, 2026 at 12:39:25PM -0600, Alex Williamson wrote:
> > Yes, that would be the ideal balance of enabling larger BARs while
> > retaining compatibility for existing devices. Sounds like we'll
> > continue down the variant driver path for this one-off device for
> > now. It remains fairly self contained so long as we don't add more
> > regions for vfio-pci-core to manage.
> >
> > This could be a good project if someone is looking though, especially
> > if it had a build-time config option to set the minimum region size so
> > we can exercise it before we hit 1TB BARs. Thanks,
>
> Well, it took claude an hour to vibe code a draft from a four sentence
> prompt.. I see many things that need changing/cleaning in here, but
> the patch strategy and general idea looks sound.
>
> I guess another day of effort would probably get things into something
> presentable. We are not so far away - maybe the variant driver path is
> not necessary?
>
> https://github.com/jgunthorpe/linux/commits/vfio_maple_tree/
>
> Jason
I'm in no way against changing the offset handling in general but for
what it's worth, we need a variant driver for ISM regardless, though it
would be smaller with large offset support. This is because besides the
large BAR we also have to use our classic function handle based PCI
instructions to access that BAR instead of the newer memory-I/O (MIO)
PCI instructions. And sadly the way the ISM device uses the PCI Store
Block instruction there is no straight forward way to enable the newer
instructions even if we changed the device implementation. This also
means that we would want to keep the no-mmap() restriction.
Thanks,
Niklas
next prev parent reply other threads:[~2026-03-31 8:30 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-25 13:31 [PATCH v8 0/3] vfio/pci: Introduce " Julian Ruess
2026-03-25 13:31 ` [PATCH v8 1/3] vfio/pci: Rename vfio_config_do_rw() to vfio_pci_config_rw_single() and export it Julian Ruess
2026-03-25 13:31 ` [PATCH v8 2/3] vfio/ism: Implement vfio_pci driver for ISM devices Julian Ruess
2026-03-26 13:03 ` Niklas Schnelle
2026-03-26 19:05 ` Farhan Ali
2026-03-27 14:53 ` Niklas Schnelle
2026-03-30 15:36 ` Alex Williamson
2026-03-30 15:56 ` Jason Gunthorpe
2026-03-30 18:09 ` Alex Williamson
2026-03-30 18:16 ` Jason Gunthorpe
2026-03-30 18:39 ` Alex Williamson
2026-03-31 0:03 ` Jason Gunthorpe
2026-03-31 8:29 ` Niklas Schnelle [this message]
2026-03-31 20:44 ` Alex Williamson
2026-03-30 18:15 ` Niklas Schnelle
2026-04-01 16:28 ` Farhan Ali
2026-04-01 22:04 ` Alex Williamson
2026-04-02 9:06 ` Julian Ruess
2026-03-25 13:31 ` [PATCH v8 3/3] MAINTAINERS: add VFIO ISM PCI DRIVER section Julian Ruess
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=4fb2b835ec81ca0ef24bc1c867d177a7d04b4873.camel@linux.ibm.com \
--to=schnelle@linux.ibm.com \
--cc=agordeev@linux.ibm.com \
--cc=alex@shazbot.org \
--cc=alifm@linux.ibm.com \
--cc=gbayer@linux.ibm.com \
--cc=gor@linux.ibm.com \
--cc=hca@linux.ibm.com \
--cc=jgg@ziepe.ca \
--cc=julianr@linux.ibm.com \
--cc=kevin.tian@intel.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=mjrosato@linux.ibm.com \
--cc=oberpar@linux.ibm.com \
--cc=raspl@linux.ibm.com \
--cc=skolothumtho@nvidia.com \
--cc=ts@linux.ibm.com \
--cc=wintera@linux.ibm.com \
--cc=yishaih@nvidia.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
all inboxes | Powered by JetHome®