Re: [linux-kernel] Re: [PATCH] x86: provide a DMI based port 0x80I/O delay override.
From: David P. Reed
Date: Wed Jan 09 2008 - 17:23:47 EST
Zachary Amsden wrote:
According to Phoenix Technologies book "System BIOS for IBM PCs,
Compatibles and EISA Computers, 2nd Edition", the I/O port list gives
port 0080h R/W Extra page register (temporary storage)
Despite looking, I've never seen it documented anywhere else, but I
believe it works on just about every PC platform. Except, apparently,
my laptop.
The port 80 problem was discovered by me, after months of "bisecting"
the running code around a problem with hanging when using hwclock in
64-bit mode when ACPI is on. So it kills my laptop, too, and many
currentlaptop motherboards designed by Quanta for HP and Compaq (dv6000,
dv9000, tx1000, apparently)
In the last couple of weeks, I was able with luck to discover that the
problem is the ENE KB3920 chip, which is the "big brother" of the KB3700
chip included in the OLPC XO "$100 laptop" made also by Quanta. I
verified this by taking my laptop apart - a fun and risky experience.
Didn't break any connectors, but I don't recommend it for those who are
not experienced disassembling laptops and cellphones, etc. The KB3920
contains an EC, an SMBus, a KBC, some watchdog timers, and a variety of
other functions that keep the laptop going, coordinating the
relationships among various peripherals. The firmware is part standard
from ENE, part OEM-specific, in this case coded by Quanta or a BIOS
subcontractor.
You can read the specsheet for the KB3700 online at laptop.org, since
the specs of the laptop are "open". The 3920's spec is confidential.
And the firmware is confidential as well for both the 3700 and 3920.
Clues as to what it does can be gleaned by reading the disassembler
output of the DSDT code in the particular laptops - though the SMM BIOS
probably also talks to it.
Modern machines have many subsystems, and the ACPI and SMBIOS coordinate
to run them; blade servers also have drawer controllers and backplane
management buses. The part that runs Linux is only part of the machine.
Your laptop isn't an aberration. It's part of the new generation of
evolved machines that take advantage of the capabilities of ACPI and
SMBIOS and DMI standards that are becoming core parts of the market.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/