Project

General

Profile

Actions

Bug #6807

closed

only one CPU detected on HP Gen9

Added by Hans Rosenfeld over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
driver - device drivers
Start date:
2016-03-25
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

When booting on a HP Gen9, the system will detect only one CPU:

Mar 22 04:56:56 myhost unix: [ID 608849 kern.notice] NOTICE: System detected 36 cpus, but only 1 cpu(s) were enabled during boot.
Mar 22 04:56:56 myhost unix: [ID 458440 kern.notice] NOTICE: Use "boot-ncpus" parameter to enable more CPU(s). See eeprom(1M).

Disabling x2apic makes it work.

This is because of a ACPI spec violation by the HP BIOS: The MADT table is supposed to use local APIC structured for all CPUs with APIC IDs less than 255, and X2APIC structures only for those that use APIC ID 255 and above. The HP BIOS instead only uses X2APIC structures for all CPUs, regardless of the APIC ID.

This will need a workaround in apix (acpi_probe() in mp_platform_common.c) and acpidev (in acpidev_cpu.c).


Related issues

Related to illumos gate - Bug #8934: ACPI 6.0 requires Processor Local X2APIC for all processorsClosedMarcel Telka2017-12-22

Actions
Actions #1

Updated by Electric Monk over 5 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit c67b1bdc42c9c8c104b7c28c14222c006aa56b1e

commit  c67b1bdc42c9c8c104b7c28c14222c006aa56b1e
Author: Hans Rosenfeld <hans.rosenfeld@nexenta.com>
Date:   2016-03-30T22:33:46.000Z

    6807 only one CPU detected on HP Gen9
    Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
    Reviewed by: Dan McDonald <danmcd@omniti.com>
    Reviewed by: Garrett D'Amore <garrett@damore.org>
    Approved by: Robert Mustacchi <rm@joyent.com>

Actions #2

Updated by Marcel Telka almost 4 years ago

  • Related to Bug #8934: ACPI 6.0 requires Processor Local X2APIC for all processors added
Actions

Also available in: Atom PDF