summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/haswell/smihandler.c
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2023-09-30 11:18:07 +0200
committerFelix Held <felix-coreboot@felixheld.de>2023-10-06 12:28:51 +0000
commit1909c3ba9f5cf1508202399d7b5c56c5f9533456 (patch)
tree7089875f45761dd6bc6a3d29e97f6de08c3fb6db /src/mainboard/lenovo/haswell/smihandler.c
parent588c6f006e5a00e64b490728bc989d4e46f01175 (diff)
cpu/intel/model_206ax: Only use supported C-states
When advertising C-state using the ACPI _CST object, make sure to only advertise those that are supported by the CPU. Downgrade if it's not and make sure to not advertise duplicate states. Add debug prints for the finally selected mapping of ACPI C-state vs Intel CPU C-state. Test: Tested on Lenovo X220. All C-states are still advertised as all are supported. Change-Id: Iaaee050e0ce3c29c12e97f5819a29f485a7946c2 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/78194 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/mainboard/lenovo/haswell/smihandler.c')
0 files changed, 0 insertions, 0 deletions