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)
Fri, Dec 20, 3:39 AM
Unknown Object (File)
Fri, Dec 13, 5:36 PM
Unknown Object (File)
Wed, Nov 27, 1:08 AM
Unknown Object (File)
Oct 31 2024, 5:56 AM
Unknown Object (File)
Oct 5 2024, 6:43 AM
Unknown Object (File)
Oct 3 2024, 8:37 PM
Unknown Object (File)
Oct 3 2024, 12:59 PM
Unknown Object (File)
Sep 27 2024, 11:26 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.