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)
Thu, Aug 7, 5:09 AM
Unknown Object (File)
Sat, Aug 2, 12:27 PM
Unknown Object (File)
Jul 10 2025, 11:22 AM
Unknown Object (File)
Jun 25 2025, 8:23 PM
Unknown Object (File)
Jun 20 2025, 9:00 AM
Unknown Object (File)
Jun 14 2025, 7:54 PM
Unknown Object (File)
Jun 8 2025, 1:53 PM
Unknown Object (File)
Jun 7 2025, 1:57 PM
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.