0012-fix-speedstep-on-x200-t400-Revert-cpu-intel-model_10.patch 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. From 69ae79e6dd11cee4e63e89907177ad199d71d74f Mon Sep 17 00:00:00 2001
  2. From: Leah Rowe <leah@libreboot.org>
  3. Date: Wed, 1 Dec 2021 02:53:00 +0000
  4. Subject: [PATCH 1/1] fix speedstep on x200/t400: Revert
  5. "cpu/intel/model_1067x: enable PECI"
  6. This reverts commit 70fea013c7ebd6d85a7806748233fcfd76802f5f.
  7. Enabling PECI without microcode updates loaded causes the CPUID feature set
  8. to become corrupted. And one consequence is broken SpeedStep. At least, that's
  9. my understanding looking at Intel Errata. This revert is not a fix, because
  10. upstream is correct (upstream assumes microcode updates). We will simply
  11. maintain this revert patch in Libreboot, from now on.
  12. ---
  13. src/cpu/intel/model_1067x/model_1067x_init.c | 9 ---------
  14. 1 file changed, 9 deletions(-)
  15. diff --git a/src/cpu/intel/model_1067x/model_1067x_init.c b/src/cpu/intel/model_1067x/model_1067x_init.c
  16. index cc7a5edca9..72983eca4f 100644
  17. --- a/src/cpu/intel/model_1067x/model_1067x_init.c
  18. +++ b/src/cpu/intel/model_1067x/model_1067x_init.c
  19. @@ -167,8 +167,6 @@ static void configure_emttm_tables(void)
  20. wrmsr(MSR_EMTTM_CR_TABLE(5), msr);
  21. }
  22. -#define IA32_PECI_CTL 0x5a0
  23. -
  24. static void configure_misc(const int eist, const int tm2, const int emttm)
  25. {
  26. msr_t msr;
  27. @@ -211,13 +209,6 @@ static void configure_misc(const int eist, const int tm2, const int emttm)
  28. msr.lo |= (1 << 20); /* Lock Enhanced SpeedStep Enable */
  29. wrmsr(IA32_MISC_ENABLE, msr);
  30. }
  31. -
  32. - /* Enable PECI
  33. - WARNING: due to Erratum AW67 described in Intel document #318733
  34. - the microcode must be updated before this MSR is written to. */
  35. - msr = rdmsr(IA32_PECI_CTL);
  36. - msr.lo |= 1;
  37. - wrmsr(IA32_PECI_CTL, msr);
  38. }
  39. #define PIC_SENS_CFG 0x1aa
  40. --
  41. 2.25.1