Page MenuHomeFreeBSD

Move new IVHD definitions out of ACPI
ClosedPublic

Authored by anish on Feb 25 2018, 2:57 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 5, 7:33 PM
Unknown Object (File)
Sun, Apr 5, 4:02 PM
Unknown Object (File)
Tue, Mar 31, 7:22 PM
Unknown Object (File)
Tue, Mar 31, 12:54 PM
Unknown Object (File)
Fri, Mar 27, 4:25 AM
Unknown Object (File)
Wed, Mar 25, 7:50 AM
Unknown Object (File)
Wed, Mar 25, 7:47 AM
Unknown Object (File)
Sun, Mar 22, 6:11 AM
Subscribers

Details

Summary
  • Move the new AMD-Vi IVHD [ACPI_IVRS_HARDWARE_NEW]definitions added in r329360 in contrib ACPI to local files till ACPI code adds new definitions.
  • Rename ACPI_IVRS_HARDWARE_NEW to ACPI_IVRS_HARDWARE_EFRSUP, since new definitions add Extended Feature Register support.
  • Use IvrsType to distinguish three types of IVHD - 0x10(legacy), 0x11 and 0x40(with EFR). IVHD 0x40 is also called mixed type since it supports HID device entries.
  • Fix couple of Coverity bugs including a typo.

Diff Detail

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

Event Timeline

sys/amd64/vmm/amd/amdvi_priv.h
360 ↗(On Diff #39697)

typos: New IVHD types 0x11 and 0x40 as defined

375 ↗(On Diff #39697)

Should there be a CTASSERT for this struct size ? Looks like it could need to be __packed.

Added CTASSERT check for new IVHD definitions.

This revision is now accepted and ready to land.Mar 4 2018, 5:26 PM
This revision was automatically updated to reflect the committed changes.