<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/samples/vfio-mdev/mbochs.c, branch linux-5.1.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-5.1.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-5.1.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2019-02-12T20:21:05Z</updated>
<entry>
<title>samples/vfio-mdev/mbochs: expand minor range when registering chrdev region</title>
<updated>2019-02-12T20:21:05Z</updated>
<author>
<name>Chengguang Xu</name>
<email>cgxu519@gmx.com</email>
</author>
<published>2019-02-12T05:59:30Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=16355214a54efdb82a48d77b5389ee6fcc73015e'/>
<id>urn:sha1:16355214a54efdb82a48d77b5389ee6fcc73015e</id>
<content type='text'>
Actually, total amount of available minor number
for a single major is MINORMARK + 1. So expand
minor range when registering chrdev region.

Signed-off-by: Chengguang Xu &lt;cgxu519@gmx.com&gt;
Signed-off-by: Alex Williamson &lt;alex.williamson@redhat.com&gt;
</content>
</entry>
<entry>
<title>vfio: add edid support to mbochs sample driver</title>
<updated>2018-10-11T16:22:36Z</updated>
<author>
<name>Gerd Hoffmann</name>
<email>kraxel@redhat.com</email>
</author>
<published>2018-09-21T08:30:13Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=104c7405a64d937254b6a154938e6151f91c9e0d'/>
<id>urn:sha1:104c7405a64d937254b6a154938e6151f91c9e0d</id>
<content type='text'>
Signed-off-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
Signed-off-by: Alex Williamson &lt;alex.williamson@redhat.com&gt;
</content>
</entry>
<entry>
<title>sample: vfio-mdev: avoid deadlock in mdev_access()</title>
<updated>2018-07-11T19:22:41Z</updated>
<author>
<name>Alexey Khoroshilov</name>
<email>khoroshilov@ispras.ru</email>
</author>
<published>2018-07-06T20:50:06Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=498e8bf51c633cc4496343e6113f340f8e9301ae'/>
<id>urn:sha1:498e8bf51c633cc4496343e6113f340f8e9301ae</id>
<content type='text'>
mdev_access() calls mbochs_get_page() with mdev_state-&gt;ops_lock held,
while mbochs_get_page() locks the mutex by itself.
It leads to unavoidable deadlock.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov &lt;khoroshilov@ispras.ru&gt;
Signed-off-by: Alex Williamson &lt;alex.williamson@redhat.com&gt;
</content>
</entry>
<entry>
<title>sample/vfio-mdev: Change return type to vm_fault_t</title>
<updated>2018-07-04T16:42:04Z</updated>
<author>
<name>Souptick Joarder</name>
<email>jrdr.linux@gmail.com</email>
</author>
<published>2018-07-04T15:30:14Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=d7ef4899d7182f9d4267b4e4a5cc3689c1a04f25'/>
<id>urn:sha1:d7ef4899d7182f9d4267b4e4a5cc3689c1a04f25</id>
<content type='text'>
convert mbochs_region_vm_fault and mbochs_dmabuf_vm_fault
to return vm_fault_t type.

Signed-off-by: Souptick Joarder &lt;jrdr.linux@gmail.com&gt;
Signed-off-by: Alex Williamson &lt;alex.williamson@redhat.com&gt;
</content>
</entry>
<entry>
<title>sample/mdev/mbochs: add mbochs_kunmap_dmabuf</title>
<updated>2018-06-26T06:27:23Z</updated>
<author>
<name>Gerd Hoffmann</name>
<email>kraxel@redhat.com</email>
</author>
<published>2018-06-25T06:44:52Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=7733e05b34f5d855c5590d816b41ddfee972d188'/>
<id>urn:sha1:7733e05b34f5d855c5590d816b41ddfee972d188</id>
<content type='text'>
There is no default implementation for dma_buf_ops-&gt;unmap.
So add a function unmapping the page, otherwise we'll leak them.

Signed-off-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
Signed-off-by: Alex Williamson &lt;alex.williamson@redhat.com&gt;
</content>
</entry>
<entry>
<title>sample/mdev/mbochs: remove mbochs_kmap_atomic_dmabuf</title>
<updated>2018-06-26T06:27:22Z</updated>
<author>
<name>Gerd Hoffmann</name>
<email>kraxel@redhat.com</email>
</author>
<published>2018-06-25T06:44:51Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=2203d8a76ea3b962559acfe3bb80eddfdfbc9cee'/>
<id>urn:sha1:2203d8a76ea3b962559acfe3bb80eddfdfbc9cee</id>
<content type='text'>
Atomic mapping interface for dmabufs will be removed.

Signed-off-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
Signed-off-by: Alex Williamson &lt;alex.williamson@redhat.com&gt;
</content>
</entry>
<entry>
<title>sample: vfio bochs vbe display (host device for bochs-drm)</title>
<updated>2018-06-08T16:24:16Z</updated>
<author>
<name>Gerd Hoffmann</name>
<email>kraxel@redhat.com</email>
</author>
<published>2018-05-11T15:05:04Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=a5e6e6505f38f7bce1d3576503a2bffff3fa888c'/>
<id>urn:sha1:a5e6e6505f38f7bce1d3576503a2bffff3fa888c</id>
<content type='text'>
Display device, demo-ing the vfio dmabuf display interface
(VFIO_GFX_PLANE_TYPE_DMABUF).  Compatible enough to qemu stdvga
that bochs-drm.ko can be used as guest driver.

Signed-off-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
Signed-off-by: Alex Williamson &lt;alex.williamson@redhat.com&gt;
</content>
</entry>
</feed>
