You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the local APIC timer (CONFIG_LOAPIC_TIMER=y), k_sleep() on the up_squared board sleep durations are off by a factor approximately of 100.
To Reproduce
Build with CONFIG_LOAPIC_TIMER=y and CONFIG_HPET_TIMER=n, and invoke k_sleep().
Expected behavior
e.g., k_sleep(1000) should sleep for 1 second, not 100 seconds.
Impact
This doesn't affect typical applications because the HPET is the default timer source. However, under ACRN the local APIC must be used for timekeeping, so there's a significant impact.
The text was updated successfully, but these errors were encountered:
Describe the bug
When using the local APIC timer (CONFIG_LOAPIC_TIMER=y), k_sleep() on the up_squared board sleep durations are off by a factor approximately of 100.
To Reproduce
Build with CONFIG_LOAPIC_TIMER=y and CONFIG_HPET_TIMER=n, and invoke k_sleep().
Expected behavior
e.g., k_sleep(1000) should sleep for 1 second, not 100 seconds.
Impact
This doesn't affect typical applications because the HPET is the default timer source. However, under ACRN the local APIC must be used for timekeeping, so there's a significant impact.
The text was updated successfully, but these errors were encountered: