proc_cap_intel.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /* Vendor specific processor capabilities bit definition
  3. * for Intel processors. Those bits are used to convey OSPM
  4. * power management capabilities to the platform.
  5. */
  6. #ifndef __PROC_CAP_INTEL_H__
  7. #define __PROC_CAP_INTEL_H__
  8. #define ACPI_PROC_CAP_P_FFH (0x0001)
  9. #define ACPI_PROC_CAP_C_C1_HALT (0x0002)
  10. #define ACPI_PROC_CAP_T_FFH (0x0004)
  11. #define ACPI_PROC_CAP_SMP_C1PT (0x0008)
  12. #define ACPI_PROC_CAP_SMP_C2C3 (0x0010)
  13. #define ACPI_PROC_CAP_SMP_P_SWCOORD (0x0020)
  14. #define ACPI_PROC_CAP_SMP_C_SWCOORD (0x0040)
  15. #define ACPI_PROC_CAP_SMP_T_SWCOORD (0x0080)
  16. #define ACPI_PROC_CAP_C_C1_FFH (0x0100)
  17. #define ACPI_PROC_CAP_C_C2C3_FFH (0x0200)
  18. #define ACPI_PROC_CAP_SMP_P_HWCOORD (0x0800)
  19. #define ACPI_PROC_CAP_COLLAB_PROC_PERF (0x1000)
  20. #define ACPI_PROC_CAP_EST_CAPABILITY_SMP (ACPI_PROC_CAP_SMP_C1PT | \
  21. ACPI_PROC_CAP_C_C1_HALT | \
  22. ACPI_PROC_CAP_P_FFH)
  23. #define ACPI_PROC_CAP_EST_CAPABILITY_SWSMP (ACPI_PROC_CAP_SMP_C1PT | \
  24. ACPI_PROC_CAP_C_C1_HALT | \
  25. ACPI_PROC_CAP_SMP_P_SWCOORD | \
  26. ACPI_PROC_CAP_SMP_P_HWCOORD | \
  27. ACPI_PROC_CAP_P_FFH)
  28. #define ACPI_PROC_CAP_C_CAPABILITY_SMP (ACPI_PROC_CAP_SMP_C2C3 | \
  29. ACPI_PROC_CAP_SMP_C1PT | \
  30. ACPI_PROC_CAP_C_C1_HALT | \
  31. ACPI_PROC_CAP_C_C1_FFH | \
  32. ACPI_PROC_CAP_C_C2C3_FFH)
  33. #endif /* __PROC_CAP_INTEL_H__ */