SVNews r322349

NOTE: This service is experimental and subject to change! Use at your own risk!

2017-08-10 09:16:40 - r322349 by royger (royger)

Complete list of files affected by revision r322349:

(Note: At the moment, these links point to ViewVC on svn.freebsd.org. They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /head/sys/x86/acpica/madt.c  
  History   Contents   Diff   MODIFY   /head/sys/x86/include/apicvar.h  
  History   Contents   Diff   MODIFY   /head/sys/x86/x86/mp_x86.c  
  History   Contents   Diff   MODIFY   /head/sys/x86/x86/mptable.c  

Commit message:

x86: bump MAX_APIC_ID to 512

Introduce a new define to take int account the xAPIC ID limit, for
systems where x2APIC is not available/reliable.

Also change some of the usages of the APIC ID to use an unsigned int
(which is the correct storage type to deal with x2APIC IDs as found in
x2APIC MADT entries).

This allows booting FreeBSD on a box with 256 CPUs and APIC IDs up to
295:

FreeBSD/SMP: Multiprocessor System Detected: 256 CPUs
FreeBSD/SMP: 1 package(s) x 64 core(s) x 4 hardware threads
Package HW ID = 0
  Core HW ID = 0
  CPU0 (BSP): APIC ID: 0
  CPU1 (AP/HT): APIC ID: 1
  CPU2 (AP/HT): APIC ID: 2
  CPU3 (AP/HT): APIC ID: 3
[...]
  Core HW ID = 73
  CPU252 (AP): APIC ID: 292
  CPU253 (AP/HT): APIC ID: 293
  CPU254 (AP/HT): APIC ID: 294
  CPU255 (AP/HT): APIC ID: 295

Submitted by: kib (previous version)
Relnotes: yes
MFC after: 1 month
Reviewed by: kib
Differential revision: https://reviews.freebsd.org/D11913

 


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 29 ms, 4 files printed. Current time is 2017-10-21 08:41:18. All times are in UTC/GMT.