2019-08-15 09:14:40 |
You-Sheng Yang |
bug |
|
|
added bug |
2019-08-15 09:30:06 |
Ubuntu Kernel Bot |
linux (Ubuntu): status |
New |
Incomplete |
|
2019-08-15 10:24:02 |
You-Sheng Yang |
bug |
|
|
added subscriber Canonical Hardware Enablement |
2019-08-15 10:24:06 |
You-Sheng Yang |
tags |
tsc-unstable |
oem-priority originate-from-1813901 somerville tsc-unstable |
|
2019-08-28 11:06:55 |
Anthony Wong |
linux (Ubuntu): status |
Incomplete |
Triaged |
|
2019-08-28 11:06:56 |
Anthony Wong |
hwe-next: status |
New |
Triaged |
|
2019-10-30 14:01:42 |
Kai-Heng Feng |
description |
This is actually a duplicate to https://bugzilla.kernel.org/show_bug.cgi?id=203183 that is for internal tracking.
[Overview]
On Intel CoffeeLake it's observed tsc is always marked unstable after turning off screen and let cpu enter idle state Package C10(PC10), and then clock source is switched to hpet. Following messages are printed in dmesg when this occurs:
[ 115.454117] clocksource: timekeeping watchdog on CPU2: Marking clocksource 'tsc' as unstable because the skew is too large:
[ 115.454146] clocksource: 'hpet' wd_now: a44e6960 wd_last: a42fe23b mask: ffffffff
[ 115.454151] clocksource: 'tsc' cs_now: 69ee1f8d9f cs_last: 699580f6fd mask: ffffffffffffffff
[ 115.454160] tsc: Marking TSC unstable due to clocksource watchdog
[ 115.454675] TSC found unstable after boot, most likely due to broken BIOS. Use 'tsc=unstable'.
[ 115.454679] sched_clock: Marking unstable (115712298090, -257671127)<-(115460381128, -5706726)
[ 115.455825] clocksource: Switched to clocksource hpet
[Step to reproduce]
1. use `powertop` to observe if CPU has ever enter PC10,
2. issue `xset dpms force off` to turn off screen and idle for some minutes,
3. check dmesg for above tsc marked unstable messages
[Actual Results]
TSC marked unstable and clock source switched to HPET.
[Expected Results]
TSC remains the clock source across the PC10 event.
[Build Date & Hardware]
This is reproducible on kernel version 4.14 through 5.1-rc2. Order kernel versions are not tested.
[Additional Information]
This was first found on Ubuntu (all versions) that system doesn't go suspend after stayed idle for 20 minutes. Clock source was switched to HPET, the system time is no correctly synced with reality so that the system doesn't consider it has stayed idle long enough to begin suspend process. |
=== SRU Justification ===
[Impact]
TSC marked unstable by skewed HPET after Intel SoC reached PC10 state.
[Fix]
Disable HPET on affected SoC generations, currently happens to CFL and
ICL.
[Test]
I can confirm disabling HPET can avoid this issue.
[Regression Potential]
Low. TSC on recent Intel SoC is now an invariant clocksource, so it's
harmless to disable HPET on these platforms.
=== Original Bug Report ===
This is actually a duplicate to https://bugzilla.kernel.org/show_bug.cgi?id=203183 that is for internal tracking.
[Overview]
On Intel CoffeeLake it's observed tsc is always marked unstable after turning off screen and let cpu enter idle state Package C10(PC10), and then clock source is switched to hpet. Following messages are printed in dmesg when this occurs:
[ 115.454117] clocksource: timekeeping watchdog on CPU2: Marking clocksource 'tsc' as unstable because the skew is too large:
[ 115.454146] clocksource: 'hpet' wd_now: a44e6960 wd_last: a42fe23b mask: ffffffff
[ 115.454151] clocksource: 'tsc' cs_now: 69ee1f8d9f cs_last: 699580f6fd mask: ffffffffffffffff
[ 115.454160] tsc: Marking TSC unstable due to clocksource watchdog
[ 115.454675] TSC found unstable after boot, most likely due to broken BIOS. Use 'tsc=unstable'.
[ 115.454679] sched_clock: Marking unstable (115712298090, -257671127)<-(115460381128, -5706726)
[ 115.455825] clocksource: Switched to clocksource hpet
[Step to reproduce]
1. use `powertop` to observe if CPU has ever enter PC10,
2. issue `xset dpms force off` to turn off screen and idle for some minutes,
3. check dmesg for above tsc marked unstable messages
[Actual Results]
TSC marked unstable and clock source switched to HPET.
[Expected Results]
TSC remains the clock source across the PC10 event.
[Build Date & Hardware]
This is reproducible on kernel version 4.14 through 5.1-rc2. Order kernel versions are not tested.
[Additional Information]
This was first found on Ubuntu (all versions) that system doesn't go suspend after stayed idle for 20 minutes. Clock source was switched to HPET, the system time is no correctly synced with reality so that the system doesn't consider it has stayed idle long enough to begin suspend process. |
|
2019-10-30 14:02:00 |
Kai-Heng Feng |
bug task added |
|
linux-oem (Ubuntu) |
|
2019-10-30 14:02:08 |
Kai-Heng Feng |
bug task added |
|
linux-oem-osp1 (Ubuntu) |
|
2019-10-30 14:02:18 |
Kai-Heng Feng |
nominated for series |
|
Ubuntu Eoan |
|
2019-10-30 14:02:18 |
Kai-Heng Feng |
bug task added |
|
linux (Ubuntu Eoan) |
|
2019-10-30 14:02:18 |
Kai-Heng Feng |
bug task added |
|
linux-oem (Ubuntu Eoan) |
|
2019-10-30 14:02:18 |
Kai-Heng Feng |
bug task added |
|
linux-oem-osp1 (Ubuntu Eoan) |
|
2019-10-30 14:02:18 |
Kai-Heng Feng |
nominated for series |
|
Ubuntu Bionic |
|
2019-10-30 14:02:18 |
Kai-Heng Feng |
bug task added |
|
linux (Ubuntu Bionic) |
|
2019-10-30 14:02:18 |
Kai-Heng Feng |
bug task added |
|
linux-oem (Ubuntu Bionic) |
|
2019-10-30 14:02:18 |
Kai-Heng Feng |
bug task added |
|
linux-oem-osp1 (Ubuntu Bionic) |
|
2019-10-30 14:02:18 |
Kai-Heng Feng |
nominated for series |
|
Ubuntu Disco |
|
2019-10-30 14:02:18 |
Kai-Heng Feng |
bug task added |
|
linux (Ubuntu Disco) |
|
2019-10-30 14:02:18 |
Kai-Heng Feng |
bug task added |
|
linux-oem (Ubuntu Disco) |
|
2019-10-30 14:02:18 |
Kai-Heng Feng |
bug task added |
|
linux-oem-osp1 (Ubuntu Disco) |
|
2019-10-30 14:02:32 |
Kai-Heng Feng |
linux-oem-osp1 (Ubuntu Disco): status |
New |
Won't Fix |
|
2019-10-30 14:02:41 |
Kai-Heng Feng |
linux-oem-osp1 (Ubuntu Eoan): status |
New |
Won't Fix |
|
2019-10-30 14:02:53 |
Kai-Heng Feng |
linux-oem (Ubuntu Eoan): status |
New |
Won't Fix |
|
2019-10-30 14:03:03 |
Kai-Heng Feng |
linux-oem (Ubuntu Disco): status |
New |
Won't Fix |
|
2019-11-02 13:15:59 |
AceLan Kao |
linux-oem (Ubuntu Bionic): status |
New |
Fix Committed |
|
2019-11-12 03:59:48 |
Khaled El Mously |
linux (Ubuntu Bionic): status |
New |
Fix Committed |
|
2019-11-12 04:00:00 |
Khaled El Mously |
linux (Ubuntu Disco): status |
New |
Fix Committed |
|
2019-11-12 04:00:11 |
Khaled El Mously |
linux (Ubuntu Eoan): status |
New |
Fix Committed |
|
2019-11-12 22:31:28 |
Launchpad Janitor |
linux-oem (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2019-11-12 22:31:28 |
Launchpad Janitor |
cve linked |
|
2018-12207 |
|
2019-11-12 22:31:28 |
Launchpad Janitor |
cve linked |
|
2019-0154 |
|
2019-11-12 22:31:28 |
Launchpad Janitor |
cve linked |
|
2019-0155 |
|
2019-11-12 22:31:28 |
Launchpad Janitor |
cve linked |
|
2019-11135 |
|
2019-11-12 22:31:28 |
Launchpad Janitor |
cve linked |
|
2019-15098 |
|
2019-11-12 22:31:28 |
Launchpad Janitor |
cve linked |
|
2019-17666 |
|
2019-11-13 18:24:38 |
Stefan Bader |
linux (Ubuntu Bionic): importance |
Undecided |
Medium |
|
2019-11-13 18:24:50 |
Stefan Bader |
linux (Ubuntu Disco): importance |
Undecided |
Medium |
|
2019-11-13 18:25:02 |
Stefan Bader |
linux (Ubuntu Eoan): importance |
Undecided |
Medium |
|
2019-11-14 18:31:35 |
Ubuntu Kernel Bot |
tags |
oem-priority originate-from-1813901 somerville tsc-unstable |
oem-priority originate-from-1813901 somerville tsc-unstable verification-needed-eoan |
|
2019-11-14 18:46:36 |
Ubuntu Kernel Bot |
tags |
oem-priority originate-from-1813901 somerville tsc-unstable verification-needed-eoan |
oem-priority originate-from-1813901 somerville tsc-unstable verification-needed-disco verification-needed-eoan |
|
2019-11-14 18:48:34 |
Ubuntu Kernel Bot |
tags |
oem-priority originate-from-1813901 somerville tsc-unstable verification-needed-disco verification-needed-eoan |
oem-priority originate-from-1813901 somerville tsc-unstable verification-needed-bionic verification-needed-disco verification-needed-eoan |
|
2019-11-18 06:30:44 |
You-Sheng Yang |
tags |
oem-priority originate-from-1813901 somerville tsc-unstable verification-needed-bionic verification-needed-disco verification-needed-eoan |
oem-priority originate-from-1813901 somerville tsc-unstable verification-done-bionic verification-done-disco verification-done-eoan |
|
2019-12-02 12:43:50 |
Launchpad Janitor |
linux (Ubuntu Disco): status |
Fix Committed |
Fix Released |
|
2019-12-02 12:43:50 |
Launchpad Janitor |
cve linked |
|
2019-15794 |
|
2019-12-02 12:51:47 |
Launchpad Janitor |
linux (Ubuntu Eoan): status |
Fix Committed |
Fix Released |
|
2019-12-02 13:04:55 |
Launchpad Janitor |
linux (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2019-12-02 13:36:15 |
Launchpad Janitor |
linux-oem-osp1 (Ubuntu Bionic): status |
New |
Fix Released |
|
2019-12-03 07:05:34 |
You-Sheng Yang |
linux (Ubuntu): status |
Triaged |
Invalid |
|
2019-12-03 07:05:50 |
You-Sheng Yang |
linux-oem (Ubuntu): status |
New |
Invalid |
|
2019-12-03 07:06:10 |
You-Sheng Yang |
linux-oem-osp1 (Ubuntu): status |
New |
Invalid |
|
2019-12-03 07:06:22 |
You-Sheng Yang |
hwe-next: status |
Triaged |
Fix Released |
|
2019-12-03 13:01:06 |
Launchpad Janitor |
linux-oem (Ubuntu Disco): status |
Won't Fix |
Fix Released |
|
2019-12-03 13:02:14 |
Launchpad Janitor |
linux-oem (Ubuntu Eoan): status |
Won't Fix |
Fix Released |
|
2019-12-03 13:02:04 |
Launchpad Janitor |
linux-oem-osp1 (Ubuntu Disco): status |
Won't Fix |
Fix Released |
|
2019-12-03 13:02:15 |
Launchpad Janitor |
linux-oem (Ubuntu Eoan): status |
Won't Fix |
Fix Released |
|
2019-12-03 13:02:33 |
Launchpad Janitor |
linux-oem-osp1 (Ubuntu Eoan): status |
Won't Fix |
Fix Released |
|
2019-12-06 15:57:44 |
Launchpad Janitor |
linux (Ubuntu): status |
Invalid |
Fix Released |
|