APIC support on Slot-A Athlon, K6

From: Ryan Underwood
Date: Mon Dec 08 2003 - 03:49:47 EST



Hello,

2.4.23 kernel on all machines, freshly compiled.

In i386/kernel/apic.c:detect_init_APIC(), we have the following lines:
switch (boot_cpu_data.x86_vendor) {
case X86_VENDOR_AMD:
if (boot_cpu_data.x86 == 6 && boot_cpu_data.x86_model > 1)
break;
goto no_apic;
...

Unfortunately, this disables the APIC support (if it existed) on a
Slot-A Athlon 600 MS-6167 (family 6, model 1, AMD-751/756), and a K6/3 400
Tyan S1598 (family 5, model 9, MVP3/686A).

What is the purpose of this check? Why is the APIC availability dependent
on the CPU, rather than just the southbridge? Also, there are only
checks for Intel and AMD CPUs. Is it not possible to use an APIC in
conjunction with a Cyrix, et.al. ?



On to another topic, I would also like to know if anyone has used a
Shuttle HOT-591P successfully in ACPI mode. It passes the date check as
the BIOS is (dmidecode):
Vendor: Award Software International, Inc.
Version: 4.51 PG
Release Date: 03/27/01

board:
Manufacturer: Shuttle Inc.
Product Name: VIA APOLLO MVP3 (HOT-597)
Version: 2A5LEH2B
(It is actually a 591P, regardless of the DMI string)

However, the kernel does the following on bootup:

ACPI: Subsystem revision 20031002
PCI: PCI BIOS revision 2.10 entry at 0xfb410, last bus=1
PCI: Using configuration type 1
tbxface-0117 [03] acpi_load_tables : ACPI Tables successfully acquired
Parsing all Control Methods:.......................................................
Table [DSDT](id F004) - 227 Objects with 26 Devices 55 Methods 17 Regions
ACPI Namespace successfully loaded at root c02dba3c
ACPI: IRQ9 SCI: Level Trigger.
evxfevnt-0089: *** Error: Could not transition to ACPI mode.
utxface-0170 [03] acpi_enable_subsystem : acpi_enable failed.
ACPI: Unable to start the ACPI Interpreter
evxfevnt-0127 [06] acpi_disable : System is already in legacy (non-ACPI) mode
utalloc-0986 [05] ut_dump_allocations : No outstanding allocations.
PCI: Probing PCI hardware
PCI: ACPI tables contain no PCI IRQ routing entries
...

At the "ACPI: IRQ9 SCI:" part, it pauses for a few seconds before continuing.
The APIC is also not enabled on this machine, but it is a 586B southbridge, which
I am not sure contains an APIC.

Any enlightenment on these topics would be appreciated.

thanks,

--
Ryan Underwood, <nemesis@xxxxxxxxxxxx>

Attachment: signature.asc
Description: Digital signature