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)
Oct 25 2024, 8:37 PM
Unknown Object (File)
Oct 19 2024, 3:50 PM
Unknown Object (File)
Oct 2 2024, 1:47 AM
Unknown Object (File)
Oct 1 2024, 11:12 PM
Unknown Object (File)
Sep 29 2024, 6:45 PM
Unknown Object (File)
Sep 27 2024, 2:39 AM
Unknown Object (File)
Sep 22 2024, 11:40 AM
Unknown Object (File)
Sep 19 2024, 11:54 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 Skipped
Unit
Tests Skipped