OpenGrok
Cross Reference: pvscsi.c
xref
: /
src
/
sys
/
dev
/
pci
/
pvscsi.c
Home
|
History
|
Annotate
|
Download
|
only in
pci
History log of
/src/sys/dev/pci/pvscsi.c
Revision
Date
Author
Comments
1.5
06-Sep-2025
riastradh
pvscsi(4): Zero rings before using them.
bus_dmamem_alloc(9) doesn't guarantee zeroing, as far as I can tell,
and who knows what might happen if the ring header and contents have
anything nonzero initially.
Insert an initial preread/prewrite sync between zeroing and first
use, and, out of paranoia, a final postread/postwrite sync between
last use and unload/free.
Prompted by (but not really related to):
PR kern/59618: occasional virtio block device lock ups/hangs
1.4
06-Sep-2025
riastradh
pvscsi(4): Use bus_dmamap_sync, not membar_*, for DMA.
membar_* may be a noop if we're booting on a single _virtual_ CPU,
but the barriers are still needed in case the host behind pvscsi(4)
is running on another _physical_ CPU.
Prompted by (and related to but not the same issue as):
PR kern/59618: occasional virtio block device lock ups/hangs
1.3
06-Sep-2025
riastradh
pvscsi(4): Use paravirt_membar_sync(9) where needed.
PR kern/59618: occasional virtio block device lock ups/hangs
(pvscsi(4) is not virtio(4) but the same fundamental issue arises.)
1.2
05-Aug-2025
skrll
branches: 1.2.2; 1.2.4;
Add the barrier that a comment describes.
1.1
04-Aug-2025
skrll
Add a port of the FreeBSD driver for the VMware PV SCSI controller found
in VMware's ESXi product.
Tested on ESXi/Arm such that an installation from ISO succeeds and boots.
1.2.4.2
08-Aug-2025
martin
Pull up following revision(s) (requested by skrll in ticket #1148):
sys/arch/evbarm/conf/GENERIC64: revision 1.227
sys/dev/pci/files.pci: revision 1.451
sys/dev/pci/pvscsi.c: revision 1.1
sys/dev/pci/pvscsi.c: revision 1.2
sys/dev/pci/pvscsi.h: revision 1.1
sys/arch/amd64/conf/GENERIC: revision 1.617
Add a port of the FreeBSD driver for the VMware PV SCSI controller found
in VMware's ESXi product.
Tested on ESXi/Arm such that an installation from ISO succeeds and boots.
Add the barrier that a comment describes.
1.2.4.1
05-Aug-2025
martin
file pvscsi.c was added on branch netbsd-10 on 2025-08-08 14:21:39 +0000
1.2.2.2
08-Aug-2025
martin
Pull up following revision(s) (requested by skrll in ticket #6):
sys/arch/evbarm/conf/GENERIC64: revision 1.227
sys/dev/pci/files.pci: revision 1.451
sys/dev/pci/pvscsi.c: revision 1.1
sys/dev/pci/pvscsi.c: revision 1.2
sys/dev/pci/pvscsi.h: revision 1.1
sys/arch/amd64/conf/GENERIC: revision 1.617
Add a port of the FreeBSD driver for the VMware PV SCSI controller found
in VMware's ESXi product.
Tested on ESXi/Arm such that an installation from ISO succeeds and boots.
Add the barrier that a comment describes.
1.2.2.1
05-Aug-2025
martin
file pvscsi.c was added on branch netbsd-11 on 2025-08-08 14:19:54 +0000
Indexes created Thu Oct 02 01:09:59 GMT 2025