Enable apic ext id to use 256 apic id for AMD64

YhLu YhLu at tyan.com
Fri Jan 7 11:00:00 CET 2005


Stefan,

Please check out the code from the CVS code.

After LinuxBIOS keeps the bsp to still use apicid 0. Kernel (2.6.10) x86-64
can work well.

Andi suggest that. But I wonder why the normal BIOS (kernel with acpi
enabled) can lift that to 0x10. --- normal BIOS (kernel with acpi disabled)
will fail too.

I also CC the kernel guys relating to this.

YH

-----Original Message-----
From: YhLu 
Sent: Wednesday, January 05, 2005 12:43 PM
To: Ronald G. Minnich; Stefan Reinauer
Cc: linuxbios at clustermatic.org
Subject: RE: mptable.c

Enable apic ext id committed.

Changes
Auto.c
         nodeid = lapicid() & 0xf;
        #if ENABLE_APIC_EXT_ID == 1
                enable_apic_ext_id(nodeid);
                lapic_write(LAPIC_ID, ( lapic_read(LAPIC_ID) |
(APIC_ID_OFFSET<<24) ) ); // CPU apicid is from 0x10
        #endif
                if (cpu_init_detected(nodeid)) {
                        asm volatile ("jmp __cpu_reset");
                }
                distinguish_cpu_resets(nodeid);

also reset_test.c
change cpu_init_detected and distinguish_cpu_resets to take node id.

YH




More information about the coreboot mailing list