<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/vfio/vfio.c, branch linux-3.11.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.11.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.11.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2013-07-24T22:36:40Z</updated>
<entry>
<title>vfio: Ignore sprurious notifies</title>
<updated>2013-07-24T22:36:40Z</updated>
<author>
<name>Alex Williamson</name>
</author>
<published>2013-06-10T22:40:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c64019302bbb0b445484d870e674ab34a19a18a1'/>
<id>urn:sha1:c64019302bbb0b445484d870e674ab34a19a18a1</id>
<content type='text'>
Remove debugging WARN_ON if we get a spurious notify for a group that
no longer exists.  No reports of anyone hitting this, but it would
likely be a race and not a bug if they did.

Signed-off-by: Alex Williamson &lt;alex.williamson@redhat.com&gt;
</content>
</entry>
<entry>
<title>vfio: Don't overreact to DEL_DEVICE</title>
<updated>2013-07-24T22:36:00Z</updated>
<author>
<name>Alex Williamson</name>
</author>
<published>2013-06-10T22:40:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=de9c7602ca25f52bbfeb52e7d85765fe70b92dce'/>
<id>urn:sha1:de9c7602ca25f52bbfeb52e7d85765fe70b92dce</id>
<content type='text'>
BUS_NOTIFY_DEL_DEVICE triggers IOMMU drivers to remove devices from
their iommu group, but there's really nothing we can do about it at
this point.  If the device is in use, then the vfio sub-driver will
block the device_del from completing until it's released.  If the
device is not in use or not owned by a vfio sub-driver, then we
really don't care that it's being removed.

The current code can be triggered just by unloading an sr-iov driver
(ex. igb) while the VFs are attached to vfio-pci because it makes an
incorrect assumption about the ordering of driver remove callbacks
vs the DEL_DEVICE notification.

Signed-off-by: Alex Williamson &lt;alex.williamson@redhat.com&gt;
</content>
</entry>
<entry>
<title>Merge tag 'vfio-v3.11' of git://github.com/awilliam/linux-vfio</title>
<updated>2013-07-10T21:50:08Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2013-07-10T21:50:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=15a49b9a90c86c6cb7f270a699d2ae7468862c28'/>
<id>urn:sha1:15a49b9a90c86c6cb7f270a699d2ae7468862c28</id>
<content type='text'>
Pull vfio updates from Alex Williamson:
 "Largely hugepage support for vfio/type1 iommu and surrounding cleanups
  and fixes"

* tag 'vfio-v3.11' of git://github.com/awilliam/linux-vfio:
  vfio/type1: Fix leak on error path
  vfio: Limit group opens
  vfio/type1: Fix missed frees and zero sized removes
  vfio: fix documentation
  vfio: Provide module option to disable vfio_iommu_type1 hugepage support
  vfio: hugepage support for vfio_iommu_type1
  vfio: Convert type1 iommu to use rbtree
</content>
</entry>
<entry>
<title>vfio: Limit group opens</title>
<updated>2013-06-25T22:06:54Z</updated>
<author>
<name>Alex Williamson</name>
</author>
<published>2013-06-25T22:06:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6d6768c61b39a2184bc11bb0342e4f7f35642bcc'/>
<id>urn:sha1:6d6768c61b39a2184bc11bb0342e4f7f35642bcc</id>
<content type='text'>
vfio_group_fops_open attempts to limit concurrent sessions by
disallowing opens once group-&gt;container is set.  This really doesn't
do what we want and allow for inconsistent behavior, for instance a
group can be opened twice, then a container set giving the user two
file descriptors to the group.  But then it won't allow more to be
opened.  There's not much reason to have the group opened multiple
times since most access is through devices or the container, so
complete what the original code intended and only allow a single
instance.

Signed-off-by: Alex Williamson &lt;alex.williamson@redhat.com&gt;
</content>
</entry>
<entry>
<title>powerpc/vfio: Implement IOMMU driver for VFIO</title>
<updated>2013-06-20T06:55:14Z</updated>
<author>
<name>Alexey Kardashevskiy</name>
</author>
<published>2013-05-21T03:33:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5ffd229c02731a91d08ca21e76b503c5bbb5c095'/>
<id>urn:sha1:5ffd229c02731a91d08ca21e76b503c5bbb5c095</id>
<content type='text'>
VFIO implements platform independent stuff such as
a PCI driver, BAR access (via read/write on a file descriptor
or direct mapping when possible) and IRQ signaling.

The platform dependent part includes IOMMU initialization
and handling.  This implements an IOMMU driver for VFIO
which does mapping/unmapping pages for the guest IO and
provides information about DMA window (required by a POWER
guest).

Cc: David Gibson &lt;david@gibson.dropbear.id.au&gt;
Signed-off-by: Alexey Kardashevskiy &lt;aik@ozlabs.ru&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
Acked-by: Alex Williamson &lt;alex.williamson@redhat.com&gt;
Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>vfio: fix crash on rmmod</title>
<updated>2013-06-05T14:54:16Z</updated>
<author>
<name>Alexey Kardashevskiy</name>
</author>
<published>2013-06-05T14:54:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9a6aa279d3d17af73a029fa40654e92f4e75e8bb'/>
<id>urn:sha1:9a6aa279d3d17af73a029fa40654e92f4e75e8bb</id>
<content type='text'>
devtmpfs_delete_node() calls devnode() callback with mode==NULL but
vfio still tries to write there.

The patch fixes this.

Signed-off-by: Alexey Kardashevskiy &lt;aik@ozlabs.ru&gt;
Signed-off-by: Alex Williamson &lt;alex.williamson@redhat.com&gt;
</content>
</entry>
<entry>
<title>vfio: Set container device mode</title>
<updated>2013-04-30T21:42:28Z</updated>
<author>
<name>Alex Williamson</name>
</author>
<published>2013-04-30T21:42:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=664e9386bd05dbdfecfb28d6cf2fde983aabc65c'/>
<id>urn:sha1:664e9386bd05dbdfecfb28d6cf2fde983aabc65c</id>
<content type='text'>
Minor 0 is the VFIO container device (/dev/vfio/vfio).  On it's own
the container does not provide a user with any privileged access.  It
only supports API version check and extension check ioctls.  Only by
attaching a VFIO group to the container does it gain any access.  Set
the mode of the container to allow access.

Signed-off-by: Alex Williamson &lt;alex.williamson@redhat.com&gt;
</content>
</entry>
<entry>
<title>vfio: Use down_reads to protect iommu disconnects</title>
<updated>2013-04-29T14:41:36Z</updated>
<author>
<name>Alex Williamson</name>
</author>
<published>2013-04-29T14:41:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0b43c082338b857c27d2f87c886eb78812ccd236'/>
<id>urn:sha1:0b43c082338b857c27d2f87c886eb78812ccd236</id>
<content type='text'>
If a group or device is released or a container is unset from a group
it can race against file ops on the container.  Protect these with
down_reads to allow concurrent users.

Signed-off-by: Alex Williamson &lt;alex.williamson@redhat.com&gt;
Reported-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>vfio: Convert container-&gt;group_lock to rwsem</title>
<updated>2013-04-25T22:12:38Z</updated>
<author>
<name>Alex Williamson</name>
</author>
<published>2013-04-25T22:12:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9587f44aa69a4cfb13701b31a633852684bed701'/>
<id>urn:sha1:9587f44aa69a4cfb13701b31a633852684bed701</id>
<content type='text'>
All current users are writers, maintaining current mutual exclusion.
This lets us add read users next.

Signed-off-by: Alex Williamson &lt;alex.williamson@redhat.com&gt;
</content>
</entry>
<entry>
<title>VFIO: Wrapper for getting reference to vfio_device</title>
<updated>2013-03-11T15:28:44Z</updated>
<author>
<name>Vijay Mohan Pandarathil</name>
</author>
<published>2013-03-11T15:28:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=44f507163d9e51238458ee6904b4d71fb0723723'/>
<id>urn:sha1:44f507163d9e51238458ee6904b4d71fb0723723</id>
<content type='text'>
- Added vfio_device_get_from_dev() as wrapper to get
  reference to vfio_device from struct device.

- Added vfio_device_data() as a wrapper to get device_data from
  vfio_device.

Signed-off-by: Vijay Mohan Pandarathil &lt;vijaymohan.pandarathil@hp.com&gt;
Signed-off-by: Alex Williamson &lt;alex.williamson@redhat.com&gt;
</content>
</entry>
</feed>
