cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

pdc_intel.h (1048B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2
      3/* _PDC bit definition for Intel processors */
      4
      5#ifndef __PDC_INTEL_H__
      6#define __PDC_INTEL_H__
      7
      8#define ACPI_PDC_P_FFH			(0x0001)
      9#define ACPI_PDC_C_C1_HALT		(0x0002)
     10#define ACPI_PDC_T_FFH			(0x0004)
     11#define ACPI_PDC_SMP_C1PT		(0x0008)
     12#define ACPI_PDC_SMP_C2C3		(0x0010)
     13#define ACPI_PDC_SMP_P_SWCOORD		(0x0020)
     14#define ACPI_PDC_SMP_C_SWCOORD		(0x0040)
     15#define ACPI_PDC_SMP_T_SWCOORD		(0x0080)
     16#define ACPI_PDC_C_C1_FFH		(0x0100)
     17#define ACPI_PDC_C_C2C3_FFH		(0x0200)
     18#define ACPI_PDC_SMP_P_HWCOORD		(0x0800)
     19
     20#define ACPI_PDC_EST_CAPABILITY_SMP	(ACPI_PDC_SMP_C1PT | \
     21					 ACPI_PDC_C_C1_HALT | \
     22					 ACPI_PDC_P_FFH)
     23
     24#define ACPI_PDC_EST_CAPABILITY_SWSMP	(ACPI_PDC_SMP_C1PT | \
     25					 ACPI_PDC_C_C1_HALT | \
     26					 ACPI_PDC_SMP_P_SWCOORD | \
     27					 ACPI_PDC_SMP_P_HWCOORD | \
     28					 ACPI_PDC_P_FFH)
     29
     30#define ACPI_PDC_C_CAPABILITY_SMP	(ACPI_PDC_SMP_C2C3  | \
     31					 ACPI_PDC_SMP_C1PT  | \
     32					 ACPI_PDC_C_C1_HALT | \
     33					 ACPI_PDC_C_C1_FFH  | \
     34					 ACPI_PDC_C_C2C3_FFH)
     35
     36#endif				/* __PDC_INTEL_H__ */