created | 2019-06-01T10:56:41Z |
---|---|
begin | 2019-05-26T00:00:00Z |
end | 2019-05-27T00:00:00Z |
path | src/sys |
commits | 4 |
date | 2019-05-26T15:14:16Z | |||
---|---|---|---|---|
author | sf | |||
files | src/sys/dev/pci/virtio_pci.c | log | diff | annotate |
message |
virtio_pci: Split bus space handles In virtio_pci 1.0, different parts of the register set may be located in different BARs. Use subregions to make the access independent of the virtio version. |
date | 2019-05-26T15:14:50Z | |||
---|---|---|---|---|
author | sf | |||
files | src/sys/dev/pci/virtio_pci.c | log | diff | annotate |
message |
virtio_pci: Move msix vector config into functions ok mlarkin@ |
date | 2019-05-26T15:20:04Z | |||
---|---|---|---|---|
author | sf | |||
files | src/sys/dev/fdt/virtio_mmio.c | log | diff | annotate |
src/sys/dev/pci/virtio_pci.c | log | diff | annotate | |
src/sys/dev/pv/if_vio.c | log | diff | annotate | |
src/sys/dev/pv/vioblk.c | log | diff | annotate | |
src/sys/dev/pv/viocon.c | log | diff | annotate | |
src/sys/dev/pv/viomb.c | log | diff | annotate | |
src/sys/dev/pv/viornd.c | log | diff | annotate | |
src/sys/dev/pv/vioscsi.c | log | diff | annotate | |
src/sys/dev/pv/virtio.c | log | diff | annotate | |
src/sys/dev/pv/virtiovar.h | log | diff | annotate | |
src/sys/dev/pv/vmmci.c | log | diff | annotate | |
message |
Rework virtio_negotiate_features() Add a sc_driver_features field that is automatically used by virtio_negotiate_features() and during reinit. Make virtio_negotiate_features() return an error code. Virtio 1.0 has a special status bit for feature negotiation that means that negotiation can fail. Make virtio_negotiate_features() return an error code instead of the features. Make virtio_reinit_start() automatically call virtio_negotiate_features(). Add a convenience function virtio_has_feature() to make checking bits easier. Add an error check in viomb for virtio_negotiate_features because it has some feature bits that may cause negotiation to fail. More error checking in the child drivers is still missing. ok mlarkin@ |
date | 2019-05-26T15:22:31Z | |||
---|---|---|---|---|
author | sf | |||
files | src/sys/dev/pci/virtio_pci.c | log | diff | annotate |
src/sys/dev/pci/virtio_pcireg.h | log | diff | annotate | |
src/sys/dev/pv/if_vio.c | log | diff | annotate | |
src/sys/dev/pv/virtiovar.h | log | diff | annotate | |
message |
Support virtio 1.0 for virtio_pci virtio 1.0 for virtio_mmio it not yet implemented, but 0.9 devices continue to work. |