Page MenuHomeFreeBSD

bhyve: keep physical and virtual COMMAND reg in sync
ClosedPublic

Authored by corvink on Oct 27 2021, 7:44 AM.
Tags
Referenced Files
Unknown Object (File)
Mon, Apr 8, 4:17 PM
Unknown Object (File)
Feb 5 2024, 3:40 AM
Unknown Object (File)
Dec 20 2023, 5:57 AM
Unknown Object (File)
Nov 28 2023, 9:26 AM
Unknown Object (File)
Oct 12 2023, 5:45 PM
Unknown Object (File)
Oct 3 2023, 1:45 AM
Unknown Object (File)
Sep 10 2023, 10:33 AM
Unknown Object (File)
Sep 6 2023, 4:06 PM

Details

Summary

On startup all virtual BARs are registered. Additionally, the encoding bit in the virtual cmd register is set. After that, the passthru emulation overwrites the virtual cmd register with the physical one. This could lead to a mismatch between registered BARs and the encoding bits in the cmd register. Instead of writing the physical to the virtual cmd register, write the virtual to the physical cmd register to solve this issue.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable