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
F114134390: D32687.id98834.diff
Tue, Apr 8, 7:10 AM
Unknown Object (File)
Wed, Mar 12, 6:57 AM
Unknown Object (File)
Feb 27 2025, 5:07 PM
Unknown Object (File)
Feb 21 2025, 8:06 PM
Unknown Object (File)
Feb 15 2025, 5:53 AM
Unknown Object (File)
Feb 10 2025, 2:28 AM
Unknown Object (File)
Feb 9 2025, 4:09 PM
Unknown Object (File)
Feb 6 2025, 4:28 AM

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