Re: [PATCH 3/5] ACPI: EC: Add a limited number of repeats afterfalse EC interrupts

From: Matthew Garrett
Date: Mon Feb 06 2012 - 11:27:45 EST


On Mon, Feb 06, 2012 at 08:17:10AM -0800, Andi Kleen wrote:
> My Acer laptop has a large number of false EC interrupts
> (interrupts when the EC indexed data register protocol is in the wrong
> state, expecting input when we should send output or vice versa)
> It seems the hardware triggers the interrupt before it actually
> sets the right status in the register.

Our EC code is, at this point, a layer of hacks piled on top of other
hacks. We have various patches that fix some machines and break others
and a lack of a detailed description of what the driver actually does
and where it deviates from the specification (and why).

I mention this not because I object to adding more hacks to the pile,
but because at some point we're really going to need to bite the bullet
and figure out how Windows deals with this hardware and what we're doing
differently. That probably means adding ec emulation to qemu.

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
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/