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
F133687230: D22566.id64930.diff
Mon, Oct 27, 2:43 PM
F133653374: D22566.diff
Mon, Oct 27, 7:30 AM
Unknown Object (File)
Sat, Oct 25, 3:37 AM
Unknown Object (File)
Wed, Oct 15, 12:16 AM
Unknown Object (File)
Fri, Oct 10, 11:32 PM
Unknown Object (File)
Fri, Oct 10, 11:32 PM
Unknown Object (File)
Fri, Oct 10, 11:32 PM
Unknown Object (File)
Fri, Oct 10, 11:32 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