Re: [PATCH] Disable i8042 checks on Intel Apple Macs

From: H. Peter Anvin
Date: Mon Jan 25 2010 - 18:06:01 EST


On 01/25/2010 02:30 PM, Dmitry Torokhov wrote:
>>
>> We should never read from port 0x60 unless bit 1 in port 0x64 is set.
>> Do we do that?
>
> No, we don't read of OBF is 0. Incidentially 0xff has it set ;) so we do
> try reading data port.
>

What do you do after reading the data port? In the case of the A20
code, we do dummy reads and loop until the data port drains (0xff of
course means it never drains...)

Note that it is quite likely the A20 code never gets exercised on Apple
boxes, since we only run it if A20 is disabled on entry, *and* the BIOS
doesn't implement INT 15h AX=2401h.

-hpa
--
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/