[coreboot-gerrit] Change in coreboot[master]: cpu/intel/sandybridge: Add `hyper_threading` option

Tristan Corrick (Code Review) gerrit at coreboot.org
Sun Nov 18 05:48:11 CET 2018


Tristan Corrick has posted comments on this change. ( https://review.coreboot.org/29669 )

Change subject: cpu/intel/sandybridge: Add `hyper_threading` option
......................................................................


Patch Set 1:

I've tested this on a P8H61-M LX with an i3-2100. The sibling CPUs are
indeed disabled and `/sys/devices/system/cpu/smt/control` reports that
SMT is "notsupported".

However, coreboot still tries to initialise the sibling CPUs during
`intel_cores_init()`. The attempts fail but it increases boot time by
one second per disabled core.

Also, the ACPI Processor objects are not generated correctly when SMT is
disabled. With the current cpu init, `generate_cpu_entries()` reports 0
CPUs with 4 cores, generating nothing, but Linux seems to run fine. If
the parallel MP init patch for model_206ax is applied, it does generate
the ACPI objects, but includes the disabled cores. Linux notes "acpi
LNXCPU:02: BIOS reported wrong ACPI id 1 for the processor", "smpboot:
do_boot_cpu failed(-1) to wakeup CPU#2", and runs extremely slowly.


-- 
To view, visit https://review.coreboot.org/29669
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I2b73e32ff5af8ea64a47e8aa706e27648aaf0993
Gerrit-Change-Number: 29669
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Huber <nico.h at gmx.de>
Gerrit-Reviewer: Angel Pons <th3fanbus at gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply at coreboot.org>
Gerrit-CC: Tristan Corrick <tristan at corrick.kiwi>
Gerrit-Comment-Date: Sun, 18 Nov 2018 04:48:11 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: No
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181118/a97f8b39/attachment.html>


More information about the coreboot-gerrit mailing list