[Midnightbsd-cvs] [MidnightBSD/src] 01ceaf: Implement ACPI CPU support when Processor object i...

Lucas Holt noreply at github.com
Sat Nov 14 15:04:45 EST 2020


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/src
  Commit: 01ceaf83f1d81a624fdb784ff6b981e6baaff1ab
      https://github.com/MidnightBSD/src/commit/01ceaf83f1d81a624fdb784ff6b981e6baaff1ab
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2020-11-14 (Sat, 14 Nov 2020)

  Changed paths:
    M sys/dev/acpica/acpi_cpu.c

  Log Message:
  -----------
  Implement ACPI CPU support when Processor object is not present

By the ACPI standard (ACPI 5 chapter 8.4 Declaring Processors) Processors
can be implemented in 2 distinct ways:

* Through a Processor object type (which provides P_BLK)
* Through a Device object type

AMD Epyc / Poweredge systems we are testing both implement the latter only.  Add
the missing support.

Because P_BLK is not defined in the device object case, C-states entering
must be completely controlled via _CST methods rather than P_LVL2/3.




More information about the Midnightbsd-cvs mailing list