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