http://bugzilla.kernel.org/show_bug.cgi?id=12949
--- Comment #5 from Corrado Zoccolo <czocc...@gmail.com> 2009-03-27 17:02:42 --- Created an attachment (id=20706) --> (http://bugzilla.kernel.org/attachment.cgi?id=20706) dmesg after disabling acpi_ec_burst_enable, with some sleep, + printing flags sleeps were added as follows: @@ -255,7 +256,8 @@ static int acpi_ec_transaction_unlocked(struct acpi_ec *ec, { unsigned long tmp; int ret = 0; - pr_debug(PREFIX "transaction start\n"); + pr_my_debug(PREFIX "transaction start\n"); + msleep(1); /* disable GPE during transaction if storm is detected */ if (test_bit(EC_FLAGS_GPE_STORM, &ec->flags)) { clear_bit(EC_FLAGS_GPE_MODE, &ec->flags); @@ -263,6 +265,7 @@ static int acpi_ec_transaction_unlocked(struct acpi_ec *ec, } if (EC_FLAGS_MSI) udelay(ACPI_EC_DELAY); + msleep(1); /* start transaction */ spin_lock_irqsave(&ec->curr_lock, tmp); /* following two actions should be kept atomic */ @@ -271,15 +274,21 @@ static int acpi_ec_transaction_unlocked(struct acpi_ec *ec, if (ec->curr->command == ACPI_EC_COMMAND_QUERY) clear_bit(EC_FLAGS_QUERY_PENDING, &ec->flags); spin_unlock_irqrestore(&ec->curr_lock, tmp); + + msleep(1); /* if we selected poll mode or failed in GPE-mode do a poll loop */ if (force_poll || !test_bit(EC_FLAGS_GPE_MODE, &ec->flags) || acpi_ec_wait(ec)) ret = ec_poll(ec); - pr_debug(PREFIX "transaction end\n"); + pr_my_debug(PREFIX "transaction end\n"); + + msleep(1); spin_lock_irqsave(&ec->curr_lock, tmp); ec->curr = NULL; spin_unlock_irqrestore(&ec->curr_lock, tmp); + + msleep(1); if (test_bit(EC_FLAGS_GPE_STORM, &ec->flags)) { /* check if we received SCI during transaction */ ec_check_sci(ec, acpi_ec_read_status(ec)); -- Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ _______________________________________________ acpi-bugzilla mailing list acpi-bugzilla@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla