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, Dec 15, 7:41 AM
Unknown Object (File)
Sun, Dec 15, 7:38 AM
Unknown Object (File)
Sun, Dec 15, 7:37 AM
Unknown Object (File)
Tue, Dec 10, 12:37 PM
Unknown Object (File)
Sep 21 2024, 9:49 AM
Unknown Object (File)
Sep 14 2024, 12:57 PM
Unknown Object (File)
Sep 1 2024, 11:51 PM
Unknown Object (File)
Sep 1 2024, 6:40 AM

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