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
F161707837: D22566.id65083.diff
Mon, Jul 6, 3:33 AM
Unknown Object (File)
Tue, Jun 23, 12:17 AM
Unknown Object (File)
Sun, Jun 21, 5:35 PM
Unknown Object (File)
Mon, Jun 15, 4:14 PM
Unknown Object (File)
Mon, Jun 15, 2:46 PM
Unknown Object (File)
Mon, Jun 15, 11:36 AM
Unknown Object (File)
Jun 5 2026, 1:56 AM
Unknown Object (File)
Jun 2 2026, 9:35 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