Displaying 3 results from an estimated 3 matches for "local_time_calibr".
2007 May 30
4
RE: Timer going backwards and Unable to handle kernel NULLpointer
...gt;to the last value read (and cached inside the kernel), resulting in a huge
>timeout value rather than the intended 50ms one.
>Without having collected data proving this (will do later today), I currently
>think that the interpolation parameters are too imprecise until the first time
>local_time_calibration() runs on each CPU, i.e. during little less than the first
>second of dom0''s life).
The box I''m looking at takes 600ms to enable ACPI mode, during which time
no interrupts get delivered. Since it is not having a (visible) HPET, it has to
use the PIT, the 16-bit counter of...
2007 May 15
3
[PATCH 1/12] Add suspend/resume to devices owned by Xen
...break;
+ }
+
+ i++;
+ }
+
+ if (!cur_timer)
+ panic("Failed to find a usable platform timer source!!!\n");
}
@@ -725,6 +805,7 @@ void do_settime(unsigned long secs, unsi
rcu_read_unlock(&domlist_read_lock);
}
+static int on_resume;
static void local_time_calibration(void *unused)
{
struct cpu_time *t = &this_cpu(cpu_time);
@@ -872,7 +953,8 @@ void init_percpu_time(void)
local_irq_save(flags);
rdtscll(t->local_tsc_stamp);
- now = (smp_processor_id() == 0) ? 0 : read_platform_stime();
+ now = ((smp_processor_id() == 0) &&a...
2007 Aug 30
0
[PATCH][Retry 1] 1/4: cpufreq/PowerNow! in Xen: Xen timer changes
...time_master_stamp = read_platform_stime();
+ local_irq_enable();
+
+ platform_time_calibration();
+}
+
/* Set clock to <secs,usecs> after 00:00:00 UTC, 1 January, 1970. */
void do_settime(unsigned long secs, unsigned long nsecs, u64 system_time_base)
{
@@ -862,7 +897,7 @@ static void local_time_calibration(void
if ( error_factor != 0 )
calibration_mul_frac = mul_frac(calibration_mul_frac, error_factor);
-#if 0
+#if 0
printk("---%d: %08x %08x %d\n", smp_processor_id(),
error_factor, calibration_mul_frac, tsc_shift);
#endif
diff -r 256160ff19b7 xen/com...