Re: EC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Li, Shaohua пишет:

-----Original Message-----
From: Alexey Starikovskiy [mailto:astarikovskiy@xxxxxxx]
Sent: Thursday, July 02, 2009 2:21 PM
To: Li, Shaohua
Cc: lenb@xxxxxxxxxx; linux-acpi@xxxxxxxxxxxxxxx
Subject: Re: EC

Li, Shaohua пишет:
Hi,
Preempt isn't disabled between ec_burst_enable()/ec_burst_disable(), so
it's very likely there is a preemption between them and make the timing
for burst mode not comply with ACPI spec (400ms for first access and 50ms
for subsequent access).
We have a system with broken EC and the BIOS engineer identified it's
the timing issue.
What's the judgment why Linux doesn't comply with ACPI spec?
Please disable ec_burst_* and check again. Judgement is that ec_burst_* is
irrelevant to the protocol.
What did you about 'irrelevant to the protocol'? This is what the spec defines.
I mean, that EC may drop out of burst mode if timeout happens, and it should not change
the flow of reads and writes to EC (the protocol). More, EC should work properly even if
we do not enter burst mode at all (my suggestion to disable calls to burst functions).

What platform and what other symptoms do you have? How exactly this EC is
broken?
The temperature is wrong when we get it from reading EC. The BIOS engineer measured
A lot of EC timeout in EC firmware, and they measured the timing how Linux accesses
EC. The data they captured in oscilloscope shows Linux has long delay to access
Ec with burst mode enabled, this occurs more often when another application is running.
Do they have any document about implemented EC timeouts? State diagram? Other than burst timeout, do they have any other timeouts? What happens if they get timeout, do they abort transaction? What do they write in status register?
Do they send GPE? Please collect as much as you can, I was looking for such info for a very long time.

Thanks,
Alex.
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux