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





--- Comment #6 from alexs <alex....@intel.com>  2009-04-15 02:17:59 ---
(In reply to comment #5)
> (In reply to comment #4)
> >     How about adding the boot option of "notsc"?
> 
> Might try it, but from the log it looks like the TSC is already being thrown
> out, so I suspect its the acpi_pm timer stalling in higher C states.

Does you meaning the acpi_pm timer can save the box from TSC issue which make
box hang? 

John:
the main contents of bad commit is quite simple as below, would you like to add
some debug printk to check the kt2/kt1's value? 

-       t1 = inl(acpi_gbl_FADT.xpm_timer_block.address);
+       kt1 = ktime_get_real();
        acpi_idle_do_entry(cx);
-       t2 = inl(acpi_gbl_FADT.xpm_timer_block.address);
+       kt2 = ktime_get_real();
+       idle_time =  ktime_to_us(ktime_sub(kt2, kt1));

        local_irq_enable();
        cx->usage++;

-       return ticks_elapsed_in_us(t1, t2);
+       return idle_time;

-- 
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.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to