]> git.dujemihanovic.xyz Git - u-boot.git/commit
Merge branch '2022-06-08-virtio-harden-and-test-vring' into next
authorTom Rini <trini@konsulko.com>
Wed, 8 Jun 2022 15:15:28 +0000 (11:15 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 8 Jun 2022 15:15:28 +0000 (11:15 -0400)
commitc0e63bf46848d573b3ef86d5796f8f993c316ed6
tree7967ae792497f0618b8ec3e2c22a0721cbcdae29
parented1cbbe2afe4d4c7c25316db4c2e15c4c579fc4e
parentd036104a02995efe416dd5ada503408ae37b56a5
Merge branch '2022-06-08-virtio-harden-and-test-vring' into next

To quote the author:
Make the virtio ring code resilient against corruption of the buffers
shared with the device.

It follows the example of Linux by keeping a private copy of the
descriptors and metadata for state tracking and only ever writing to the
descriptors that are shared with the device. I was able to test these
hardening steps in the sandbox by simulating device writes to the
queues.