<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/virtio/random, branch release/14.3.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F14.3.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F14.3.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2023-10-11T15:10:32Z</updated>
<entry>
<title>virtio_random: Pipeline fetching the data</title>
<updated>2023-10-11T15:10:32Z</updated>
<author>
<name>John-Mark Gurney</name>
<email>jmg@FreeBSD.org</email>
</author>
<published>2023-09-05T15:59:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b7f5e993476f6e445895383e73aed01741f8b9cf'/>
<id>urn:sha1:b7f5e993476f6e445895383e73aed01741f8b9cf</id>
<content type='text'>
Queue an initial fetch of data during attach and after every read
rather than synchronously fetching data and polling for completion.

If data has not been returned from an previous fetch during read,
just return EAGAIN rather than blocking.

Co-authored-by: John Baldwin &lt;jhb@FreeBSD.org&gt;

Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D41656

(cherry picked from commit f1c5a2e3a625053e2b70d5b1777d849a4d9328f2)
</content>
</entry>
<entry>
<title>sys: Remove $FreeBSD$: one-line .c pattern</title>
<updated>2023-08-16T17:54:36Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:54:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=685dc743dc3b5645e34836464128e1c0558b404b'/>
<id>urn:sha1:685dc743dc3b5645e34836464128e1c0558b404b</id>
<content type='text'>
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
</content>
</entry>
<entry>
<title>spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD</title>
<updated>2023-05-12T16:44:03Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-05-10T15:40:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4d846d260e2b9a3d4d0a701462568268cbfe7a5b'/>
<id>urn:sha1:4d846d260e2b9a3d4d0a701462568268cbfe7a5b</id>
<content type='text'>
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with:		pfg
MFC After:		3 days
Sponsored by:		Netflix
</content>
</entry>
<entry>
<title>virtio: Remove unused devclass arguments to DRIVER_MODULE.</title>
<updated>2022-05-06T22:46:57Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2022-05-06T22:46:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5c4c96d3ee38b45c87bff326ec4b0daf828c5e2a'/>
<id>urn:sha1:5c4c96d3ee38b45c87bff326ec4b0daf828c5e2a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>virtio_random(8): avoid deadlock at shutdown time</title>
<updated>2022-03-16T04:41:51Z</updated>
<author>
<name>Eugene Grosbein</name>
<email>eugen@FreeBSD.org</email>
</author>
<published>2022-03-16T04:41:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=adbf7727b3a2aad3c2faa6e543ee7fa7a6c9a3d5'/>
<id>urn:sha1:adbf7727b3a2aad3c2faa6e543ee7fa7a6c9a3d5</id>
<content type='text'>
FreeBSD 13+ running as virtual guest may load virtio_random(8) driver
by means of devd(8) unless the driver is blacklisted or disabled
via device.hints(5). Currently, the driver may prevent
the system from rebooting or shutting down correctly.

This change deactivates virtio_random at very late stage
during system shutdown sequence to avoid deadlock
that results in kernel hang.

PR:		253175
Tested by:	tom
MFC after:	3 days
</content>
</entry>
<entry>
<title>virtio: Reduce boilerplate for device driver module definitions</title>
<updated>2021-01-21T01:07:23Z</updated>
<author>
<name>Jessica Clarke</name>
<email>jrtc27@FreeBSD.org</email>
</author>
<published>2021-01-21T01:07:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=633218ee4615854702fea05ba6e17c2a1876bb6b'/>
<id>urn:sha1:633218ee4615854702fea05ba6e17c2a1876bb6b</id>
<content type='text'>
Rather than have every device register itself for both virtio_pci and
virtio_mmio, provide a VIRTIO_DRIVER_MODULE wrapper to declare both,
merge VIRTIO_SIMPLE_PNPTABLE with VIRTIO_SIMPLE_PNPINFO and make the
latter register for both buses. This also has the benefit of abstracting
away the available transports and their names.

Reviewed by:	bryanv
Differential Revision:	https://reviews.freebsd.org/D28073
</content>
</entry>
<entry>
<title>virtio: Handle possible failure of virtio_finalize_features()</title>
<updated>2021-01-19T04:55:26Z</updated>
<author>
<name>Bryan Venteicher</name>
<email>bryanv@FreeBSD.org</email>
</author>
<published>2021-01-19T04:55:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e6cc42f181ce346a294ae7aa1d1c321fdc90f241'/>
<id>urn:sha1:e6cc42f181ce346a294ae7aa1d1c321fdc90f241</id>
<content type='text'>
Try to standardize how drivers negotiate feature and the
function names

Reviewed by: grehan (mentor)
Differential Revision: https://reviews.freebsd.org/D27930
</content>
</entry>
<entry>
<title>virtio_random: Add modern (V1) support</title>
<updated>2021-01-19T04:55:23Z</updated>
<author>
<name>Bryan Venteicher</name>
<email>bryanv@FreeBSD.org</email>
</author>
<published>2021-01-19T04:55:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d2536a25cc1d9080bc452bf251086a7727f0ebde'/>
<id>urn:sha1:d2536a25cc1d9080bc452bf251086a7727f0ebde</id>
<content type='text'>
Reviewed by: grehan (mentor)
Differential Revision: https://reviews.freebsd.org/D27899
</content>
</entry>
<entry>
<title>virtio: Support MMIO bus for all devices</title>
<updated>2020-05-06T23:31:30Z</updated>
<author>
<name>Jessica Clarke</name>
<email>jrtc27@FreeBSD.org</email>
</author>
<published>2020-05-06T23:31:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a1da7a46f6f59ac87f1f2b7065dd5c634d654d1e'/>
<id>urn:sha1:a1da7a46f6f59ac87f1f2b7065dd5c634d654d1e</id>
<content type='text'>
The bus is independent of the device, so all devices can be attached to
either a PCI bus or an MMIO bus. For example, QEMU's virtio-rng-device
gives the MMIO variant of virtio-rng-pci, and is now detected.

Reviewed by:	andrew, br, brooks (mentor)
Approved by:	andrew, br, brooks (mentor)
Differential Revision:	https://reviews.freebsd.org/D24730
</content>
</entry>
<entry>
<title>virtio_random(4): Drop no longer needed unload kludge</title>
<updated>2019-12-30T01:40:59Z</updated>
<author>
<name>Conrad Meyer</name>
<email>cem@FreeBSD.org</email>
</author>
<published>2019-12-30T01:40:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9b31a8daad1ac57a167b415610beb692c1ae3beb'/>
<id>urn:sha1:9b31a8daad1ac57a167b415610beb692c1ae3beb</id>
<content type='text'>
After r356194, source deregistration no longer races with concurrent use.

Reviewed by:	bryanv, markm
Differential Revision:	https://reviews.freebsd.org/D22490
</content>
</entry>
</feed>
