Welcome to our peer-to-peer forums, where owners help owners. Need help now? Visit eSupport here.

English Community

Linux Operating SystemsOther Linux Discussions
All Forum Topics
Options

12 Posts

09-01-2020

Germany

15 Signins

95 Page Views

  • Posts: 12
  • Registered: ‎09-01-2020
  • Location: Germany
  • Views: 95
  • Message 1 of 7

ThinkPad E14 Gen 2 firmware issue - TSC broken

2020-09-01, 9:45 AM

Ryzen 4700U model with firmware 1.07 the kernel is falling back to HPET as clocksource.

 

HPET is slow/inefficient, so Lenovo guys, please work with AMD and release a fw update with the fix.

 

Like you did for the A485 laptop (1.28 fw - "(Fix) Fixed TSC synchronization [CPU#0 -> CPU#1] under linux.")

 

$ dmesg|egrep -i tsc|hpet|clocksource

[    0.000000] tsc: Fast TSC calibration using PIT

[    0.000000] tsc: Detected 1996.372 MHz processor

[    0.004670] ACPI: HPET 0x00000000BE69C000 000038 (v01 LENOVO TP-R1A   00001070 PTEC 00000002)

[    0.063475] ACPI: HPET id: 0x43538210 base: 0xfed00000

[    0.063512] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns

[    0.117531] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 133484873504 ns

[    0.220547] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x398d96bc98a, max_idle_ns: 881590769539 ns

[    0.328548] TSC synchronization [CPU#0 -> CPU#1]:

[    0.328548] Measured 583030380 cycles TSC warp between CPUs, turning off TSC clock.

[    0.328548] tsc: Marking TSC unstable due to check_tsc_sync_source failed

[    0.333756] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns

[    0.452600] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0

[    0.452602] hpet0: 3 comparators, 32-bit 14.318180 MHz counter

[    0.454596] clocksource: Switched to clocksource hpet

[    0.474233] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns

[    0.851485] rtc_cmos 00:01: alarms up to one month, y3k, 114 bytes nvram, hpet irqs

- ThinkPad E14 Gen 2 4700U 16 GB, Fedora 32, Kernel 5.8.4

Reply
Options

12 Posts

09-01-2020

Germany

15 Signins

95 Page Views

  • Posts: 12
  • Registered: ‎09-01-2020
  • Location: Germany
  • Views: 95
  • Message 2 of 7

Re:ThinkPad E14 Gen 2 firmware issue - TSC broken

2020-09-03, 18:44 PM

Still broken with firmware 1.08.

Reply
Options

9 Posts

10-05-2020

Germany

9 Signins

55 Page Views

  • Posts: 9
  • Registered: ‎10-05-2020
  • Location: Germany
  • Views: 55
  • Message 3 of 7

Re:ThinkPad E14 Gen 2 firmware issue - TSC broken

2020-10-05, 19:02 PM

This is also broken on a Thinkpad L14 Gen 1 running BIOS 1.12:

 

BIOS Information

       Vendor: LENOVO

       Version: R19ET28W (1.12 )

       Release Date: 08/12/2020

 

 

 

[    0.224434] smp: Bringing up secondary CPUs ...

[    0.224508] x86: Booting SMP configuration:

[    0.224509] .... node  #0, CPUs:        #1

[    0.224821] TSC synchronization [CPU#0 -> CPU#1]:

[    0.224821] Measured 5040008870 cycles TSC warp between CPUs, turning off TSC clock.

[    0.224821] tsc: Marking TSC unstable due to check_tsc_sync_source failed

 

Reply
Options

12 Posts

09-01-2020

Germany

15 Signins

95 Page Views

  • Posts: 12
  • Registered: ‎09-01-2020
  • Location: Germany
  • Views: 95
  • Message 4 of 7

Re:ThinkPad E14 Gen 2 firmware issue - TSC broken

2020-10-06, 7:35 AM
Setting the kernel parameter tsc=reliable allows me to force tsc as clocksource and things appear to be working alright at first. After a suspend/resume cycle however things like compositing window managers, repeated keypresses etc become extremely jerky. As a workaround it's unusable so I'm still looking forward to an official fix, like those Lenovo released for other models.
Reply
Options

12 Posts

09-01-2020

Germany

15 Signins

95 Page Views

  • Posts: 12
  • Registered: ‎09-01-2020
  • Location: Germany
  • Views: 95
  • Message 5 of 7

Re:ThinkPad E14 Gen 2 firmware issue - TSC broken

2020-12-19, 10:00 AM

No difference with with latest firmware 1.09.

The first core still has a too large TSC offset from the other cores, so the kernel switches to the slow HPET.

Reply
Options

78 Posts

12-26-2020

Austria

43 Signins

605 Page Views

  • Posts: 78
  • Registered: ‎12-26-2020
  • Location: Austria
  • Views: 605
  • Message 6 of 7

Re:ThinkPad E14 Gen 2 firmware issue - TSC broken

2020-12-26, 11:04 AM

Happens with 5.9.0-5 kernel on X13 (4650U) flashed with the latest BIOS, R1CET60W (1.29).

Reply
Options

6 Posts

08-26-2020

Czech Republic

8 Signins

35 Page Views

  • Posts: 6
  • Registered: ‎08-26-2020
  • Location: Czech Republic
  • Views: 35
  • Message 7 of 7

Re:ThinkPad E14 Gen 2 firmware issue - TSC broken

2021-01-26, 22:37 PM

No difference with 1.10 update

Reply
Forum Home

Community Guidelines

Please review our Guidelines before posting.

Learn More

Check out current deals!

Go Shop
X

Save

X

Delete

X

No, I don’t want to share ideas Yes, I agree to these terms