http://bugzilla.kernel.org/show_bug.cgi?id=8459





------- Comment #38 from [EMAIL PROTECTED]  2007-10-05 10:43 -------
Created an attachment (id=13048)
 --> (http://bugzilla.kernel.org/attachment.cgi?id=13048&action=view)
spinlock + more printk()

I applied the patch from comment #37 to linux-2.6.23-rc8 without problem. The
result was that the sensor reading out is still slow. I modified the patch and
added more printk()s, the dmesg contains:

[   21.441681] ACPI: EC: acpi_ec_transaction_unlocked() enter
[   21.441829] ACPI: EC: acpi_ec_gpe_handler(): old_state=EC_WAIT_INTERRUPT
[   21.441886] ACPI: EC: acpi_ec_gpe_handler(): new_state=EC_READ_STATUS
[   21.941138] ACPI: EC: lost interrupt, ec->state forced to EC_READ_STATUS
old_state=EC_WAIT_INTERRUPT
[   21.941217] ACPI: EC: transaction is complete
[   21.941450] ACPI: EC: acpi_ec_transaction_unlocked() enter
[   21.941610] ACPI: EC: acpi_ec_gpe_handler(): old_state=EC_WAIT_INTERRUPT
[   21.941668] ACPI: EC: acpi_ec_gpe_handler(): new_state=EC_READ_STATUS
[   22.440804] ACPI: EC: lost interrupt, ec->state forced to EC_READ_STATUS
old_state=EC_WAIT_INTERRUPT
[   22.440884] ACPI: EC: transaction is complete
... and so on.

Is it possible that the acpi_ec_gpe_handler() is working on an other ec, or on
a different address space than the other part of the driver...?

I added a "volatile" before enum ec_state state in the struct acpi_ec, but it
did not help.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to