Page MenuHomeFreeBSD

Bhyve AMD IOMMU: log the last timeout command.
ClosedPublic

Authored by anish on Nov 27 2019, 4:12 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 11, 8:53 PM
Unknown Object (File)
Apr 20 2025, 1:15 AM
Unknown Object (File)
Apr 16 2025, 1:33 AM
Unknown Object (File)
Apr 14 2025, 11:52 AM
Unknown Object (File)
Apr 14 2025, 4:13 AM
Unknown Object (File)
Apr 14 2025, 12:12 AM
Unknown Object (File)
Apr 13 2025, 10:12 PM
Unknown Object (File)
Apr 13 2025, 9:55 PM

Details

Summary

amdvi_dump_cmds() logs the command for which the command
completion failed. Completion is checked in poll mode although
it can be done using interrupts.

No need to log all the commands in command ring but only the last
one for which completion failed.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This comment was removed by anish.
markj added a subscriber: markj.
markj added inline comments.
sys/amd64/vmm/amd/amdvi_hw.c
324 ↗(On Diff #64931)

The parens around AMDVI_CMP_WAIT_STORE are redundant.

This revision is now accepted and ready to land.Nov 27 2019, 4:39 PM