Bug 204121

Summary: tpm_tis - TPM interrupt not working, polling instead
Product: Drivers Reporter: Oleksii Shevchuk (alxchk)
Component: OtherAssignee: drivers_other
Status: NEW ---    
Severity: normal CC: 2574468916, alex.hung, andor, andretiagob, carloscg, cornogle, darlor, dgfguida, frazar0, joseph-thommes, kernel, konoha02, Larry, liff, mail.ipv4v6+kernel, maxxozz, michael.haelsig, mikhail.zabaluev, paul.richards, rum.knoblauch.nuss, sebastien.bocq, sehguh.hsa, yunying.sun
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 5.2.0 Subsystem:
Regression: No Bisected commit-id:
Attachments: dmesg

Description Oleksii Shevchuk 2019-07-09 20:19:12 UTC
Created attachment 283595 [details]
dmesg

[    1.497494] tpm_tis NTC0702:00: 2.0 TPM (device-id 0xFC, rev-id 1)
[    1.497730] tpm tpm0: tpm_try_transmit: send(): error -5
[    1.497735] tpm tpm0: [Firmware Bug]: TPM interrupt not working, polling instead

[    3.356315] irq 31: nobody cared (try booting with the "irqpoll" option)
[    3.356343] CPU: 4 PID: 0 Comm: swapper/4 Tainted: G     U     O    T 5.2.0 #10
[    3.356344] Hardware name: LENOVO 20NXCTO1WW/20NXCTO1WW, BIOS N2JET66W (1.44 ) 05/30/2019
[    3.356344] Call Trace:
[    3.356346]  <IRQ>
[    3.356349]  dump_stack+0x46/0x60
[    3.356351]  __report_bad_irq+0x30/0xa2
[    3.356352]  note_interrupt.cold+0xb/0x64
[    3.356353]  handle_irq_event_percpu+0x6a/0x80
[    3.356354]  handle_irq_event+0x2f/0x4c
[    3.356355]  handle_fasteoi_irq+0x9e/0x140
[    3.356356]  handle_irq+0x11/0x20
[    3.356358]  do_IRQ+0x5e/0xf0
[    3.356359]  common_interrupt+0xf/0xf
[    3.356359]  </IRQ>
[    3.356361] RIP: 0010:cpuidle_enter_state+0xa8/0x430
[    3.356362] Code: c5 0f 1f 44 00 00 31 ff e8 15 c1 9b ff 80 7c 24 0b 00 74 12 9c 58 f6 c4 02 0f 85 5f 03 00 00 31 ff e8 0c d9 a0 ff fb 45 85 e4 <0f> 88 9e 02 00 00 4c 2b 2c 24 49 63 cc 48 8d 04 49 48 c1 e0 05 8b
[    3.356363] RSP: 0018:ffff9eeb4198be70 EFLAGS: 00000202 ORIG_RAX: ffffffffffffffdd
[    3.356364] RAX: ffff92b040300000 RBX: ffffffff9ee95ba0 RCX: 000000000000001f
[    3.356364] RDX: 0000000000000000 RSI: 000000004041cc98 RDI: 0000000000000000
[    3.356364] RBP: ffff92b040332900 R08: 00000000c80d360e R09: 000000007fffffff
[    3.356365] R10: ffff92b040327984 R11: ffff92b040327964 R12: 0000000000000001
[    3.356365] R13: 00000000c80d360e R14: 0000000000000001 R15: ffff92b03e201e80
[    3.356367]  cpuidle_enter+0x24/0x40
[    3.356368]  do_idle+0x1cb/0x240
[    3.356369]  cpu_startup_entry+0x14/0x20
[    3.356371]  start_secondary+0x14c/0x180
[    3.356372]  secondary_startup_64+0xa4/0xb0
[    3.356373] handlers:
[    3.356381] [<000000002abd4fbe>] tis_int_handler
[    3.356390] Disabling IRQ #31
Comment 1 kernel 2019-08-07 09:57:51 UTC
Same here:

[    0.000000] Linux version 5.2.6-arch1-1-ARCH (builduser@heftig-3961) (gcc version 9.1.0 (GCC)) #1 SMP PREEMPT Sun Aug 4 14:58:49 UTC 2019

[    3.116017] tpm_tis STM7308:00: 2.0 TPM (device-id 0x0, rev-id 78)
[    3.116401] tpm tpm0: tpm_try_transmit: send(): error -5
[    3.117360] tpm tpm0: [Firmware Bug]: TPM interrupt not working, polling instead

[    4.711561] irq 31: nobody cared (try booting with the "irqpoll" option)
[    4.713175] CPU: 5 PID: 0 Comm: swapper/5 Tainted: G           OE     5.2.6-arch1-1-ARCH #1
[    4.713176] Hardware name: LENOVO 20Q1S02M00/20Q1S02M00, BIOS N2JET71W (1.49 ) 07/03/2019
[    4.713176] Call Trace:
[    4.713179]  <IRQ>
[    4.713185]  dump_stack+0x5c/0x80
[    4.713189]  __report_bad_irq+0x35/0xaa
[    4.713191]  note_interrupt.cold+0xb/0x69
[    4.713195]  handle_irq_event_percpu+0x6f/0x80
[    4.713198]  handle_irq_event+0x37/0x54
[    4.713200]  handle_fasteoi_irq+0xb5/0x160
[    4.713204]  handle_irq+0x1f/0x30
[    4.713206]  do_IRQ+0x63/0x100
[    4.713209]  common_interrupt+0xf/0xf
[    4.713211]  </IRQ>
[    4.713214] RIP: 0010:cpuidle_enter_state+0xc4/0x480
[    4.713215] Code: e8 01 ca 9c ff 80 7c 24 0f 00 74 17 9c 58 0f 1f 44 00 00 f6 c4 02 0f 85 93 03 00 00 31 ff e8 13 4c a3 ff fb 66 0f 1f 44 00 00 <45> 85 e4 0f 88 be 02 00 00 49 63 cc 4c 2b 6c 24 10 48 8d 04 49 48
[    4.713217] RSP: 0000:ffffb15d819a7e68 EFLAGS: 00000246 ORIG_RAX: ffffffffffffffdc
[    4.713219] RAX: ffff8f9440340000 RBX: ffffffffa28bb8c0 RCX: 000000000000001f
[    4.713220] RDX: 0000000000000000 RSI: 00000000471c71c7 RDI: 0000000000000000
[    4.713221] RBP: ffff8f9440374300 R08: 0000000118d49a4d R09: 000000000000afc7
[    4.713222] R10: ffff8f94403692c4 R11: ffff8f94403692a4 R12: 0000000000000001
[    4.713223] R13: 0000000118d49a4d R14: 0000000000000001 R15: ffff8f943ddf0000
[    4.713227]  ? cpuidle_enter_state+0x9f/0x480
[    4.713229]  cpuidle_enter+0x29/0x40
[    4.713232]  do_idle+0x1ec/0x270
[    4.713235]  cpu_startup_entry+0x19/0x20
[    4.713237]  start_secondary+0x19f/0x1f0
[    4.713240]  secondary_startup_64+0xa4/0xb0
[    4.713243] handlers:
[    4.714760] [<00000000f392c87b>] tis_int_handler [tpm_tis_core]
[    4.716325] Disabling IRQ #31
Comment 2 Joseph Thommes 2019-08-24 16:00:22 UTC
Can also confirm:
[    0.000000] Linux version 5.2.9-arch1-1-ARCH (builduser@heftig-119803) (gcc version 9.1.0 (GCC)) #1 SMP PREEMPT Fri Aug 16 11:29:43 UTC 2019

[    2.681764] tpm_tis STM7308:00: 2.0 TPM (device-id 0x0, rev-id 78)
[    2.682071] tpm tpm0: tpm_try_transmit: send(): error -5
[    2.683058] tpm tpm0: [Firmware Bug]: TPM interrupt not working, polling instead
[    4.218411] irq 31: nobody cared (try booting with the "irqpoll" option)
[    4.218466] CPU: 2 PID: 964 Comm: mknod Tainted: G           OE     5.2.9-arch1-1-ARCH #1
[    4.218467] Hardware name: LENOVO 20N20049GE/20N20049GE, BIOS N2IET71W (1.49 ) 07/03/2019
[    4.218469] Call Trace:
[    4.218471]  <IRQ>
[    4.218477]  dump_stack+0x5c/0x80
[    4.218482]  __report_bad_irq+0x35/0xaa
[    4.218484]  note_interrupt.cold+0xb/0x69
[    4.218489]  handle_irq_event_percpu+0x6f/0x80
[    4.218492]  handle_irq_event+0x37/0x54
[    4.218494]  handle_fasteoi_irq+0xb5/0x160
[    4.218498]  handle_irq+0x1f/0x30
[    4.218500]  do_IRQ+0x63/0x100
[    4.218504]  common_interrupt+0xf/0xf
[    4.218506]  </IRQ>
[    4.218509] RIP: 0010:filemap_map_pages+0xd4/0x360
[    4.218511] Code: b8 00 00 00 40 f6 c5 01 75 28 48 8b 45 08 a8 01 48 8d 50 ff 48 0f 44 d5 48 8b 4a 08 48 8d 41 ff 83 e1 01 48 0f 44 c2 48 8b 00 <a8> 01 0f 84 d4 00 00 00 48 8b 43 20 48 8b 38 48 89 f8 0f 1f 40 00
[    4.218512] RSP: 0000:ffffa23742627d78 EFLAGS: 00000246 ORIG_RAX: ffffffffffffffdb
[    4.218515] RAX: 02ffff0000020036 RBX: ffffa23742627df8 RCX: 0000000000000000
[    4.218516] RDX: ffffdd7acc9523c0 RSI: ffff9c4e1ae20248 RDI: 0000000000000000
[    4.218517] RBP: ffffdd7acc9523c0 R08: 000000032548e000 R09: 000000000000001d
[    4.218518] R10: 0000000000000000 R11: 0000000000000000 R12: 0400000000000080
[    4.218520] R13: 000000000000001d R14: ffff9c4e1797f008 R15: ffff9c4e172eb600
[    4.218524]  ? filemap_map_pages+0x34a/0x360
[    4.218528]  __handle_mm_fault+0x110a/0x15d0
[    4.218532]  handle_mm_fault+0xce/0x1f0
[    4.218536]  __do_page_fault+0x244/0x4d0
[    4.218539]  do_page_fault+0x33/0x130
[    4.218542]  ? page_fault+0x8/0x30
[    4.218545]  page_fault+0x1e/0x30
[    4.218548] RIP: 0033:0x7f64ac5981f7
[    4.218550] Code: ff 66 90 f3 0f 1e fa 66 0f 6e ce 89 f8 25 ff 0f 00 00 66 0f 60 c9 3d c0 0f 00 00 66 0f 61 c9 66 0f 70 c9 00 0f 8f 69 01 00 00 <f3> 0f 6f 07 66 0f ef db 66 0f 6f e0 66 0f 74 c1 66 0f 74 e3 66 0f
[    4.218551] RSP: 002b:00007ffe6fcfe8a8 EFLAGS: 00010283
[    4.218553] RAX: 0000000000000179 RBX: 00007f64ac53d9e0 RCX: 0000000000000000
[    4.218554] RDX: 0000000000000008 RSI: 0000000000000024 RDI: 00007f64ac39d179
[    4.218555] RBP: 00007ffe6fcfee50 R08: 00007f64ac385898 R09: 00000000effffef5
[    4.218556] R10: 0000000070000022 R11: 0000000000000202 R12: 0000000000000000
[    4.218557] R13: 00007ffe6fcfea20 R14: 00007f64ac545000 R15: 00007f64ac39d179
[    4.218560] handlers:
[    4.218582] [<000000003321e921>] tis_int_handler [tpm_tis_core]
[    4.218618] Disabling IRQ #31
Comment 3 BzukTuk 2019-10-18 18:02:31 UTC
Hi guys,
on Lenovo L490 I got the same error. Since kernel 5.3.4 I could not boot at all, when I added modprobe.blacklist=tpm_tis it booted. After adding `tpm_tis.interrupts=0` into kernel parameters via grub, no error related to tpm_tis appeared and TPM seems to work. I hope this workaround/quirk works for you.

My error:

[    7.003985] tpm_tis STM7308:00: 2.0 TPM (device-id 0x0, rev-id 78)
[    7.006391] tpm tpm0: [Firmware Bug]: TPM interrupt not working, polling instead
...  
...  
...  
[    8.325832] irq 31: nobody cared (try booting with the "irqpoll" option)
[    8.325834] CPU: 5 PID: 0 Comm: swapper/5 Not tainted 5.0.9-301.fc30.x86_64 #1
[    8.325834] Hardware name: LENOVO 20Q6S4JH01/20Q6S4JH01, BIOS R0ZET33W (1.11 ) 08/01/2019
[    8.325835] Call Trace:
[    8.325836]  <IRQ>
[    8.325840]  dump_stack+0x5c/0x80
[    8.325842]  __report_bad_irq+0x35/0xa7
[    8.325843]  note_interrupt.cold+0xb/0x63
[    8.325844]  handle_irq_event_percpu+0x6f/0x80
[    8.325845]  handle_irq_event+0x28/0x48
[    8.325847]  handle_fasteoi_irq+0x86/0x130
[    8.325848]  handle_irq+0xbf/0x100
[    8.325849]  do_IRQ+0x4b/0xe0
[    8.325850]  common_interrupt+0xf/0xf
[    8.325851]  </IRQ>
[    8.325864] RIP: 0010:cpuidle_enter_state+0xc4/0x450
[    8.325866] Code: e8 c1 34 95 ff 80 7c 24 0f 00 74 17 9c 58 0f 1f 44 00 00 f6 c4 02 0f 85 61 03 00 00 31 ff e8 13 e6 9a ff fb 66 0f 1f 44 00 00 <45> 85 e4 0f 88 8c 02 00 00 49 63 cc 4c 2b 6c 24 10 48 8d 04 49 48
[    8.325866] RSP: 0018:ffffbc9c41997e88 EFLAGS: 00000246 ORIG_RAX: ffffffffffffffde
[    8.325867] RAX: ffff992ade560fc0 RBX: ffffffffb72d2f60 RCX: 000000000000001f
[    8.325868] RDX: 0000000000000000 RSI: 000000004382b34f RDI: 0000000000000000
[    8.325868] RBP: ffff992ade56b850 R08: 00000001f0420e62 R09: 0000000000000008
[    8.325868] R10: 00000012350e84f0 R11: ffff992ade55fe44 R12: 0000000000000001
[    8.325869] R13: 00000001f0420e62 R14: 0000000000000001 R15: ffffffffb72d2f60
[    8.325870]  ? cpuidle_enter_state+0x9f/0x450
[    8.325872]  do_idle+0x1dd/0x260
[    8.325873]  cpu_startup_entry+0x19/0x20
[    8.325874]  start_secondary+0x1a7/0x200
[    8.325876]  secondary_startup_64+0xa4/0xb0
[    8.325877] handlers:
[    8.325878] [<00000000cc375a2a>] tis_int_handler
[    8.325879] Disabling IRQ #31
Comment 4 Mikhail Zabaluev 2019-11-26 13:15:55 UTC
This is popping up in my ABRT reports in Fedora after every suspend, lastly observed on kernel 5.3.11-300.fc31.x86_64.
An excerpt from the kernel log:

Nov 26 15:34:48 iobook kernel: irq 31: nobody cared (try booting with the "irqpoll" option)
Nov 26 15:34:48 iobook kernel: CPU: 2 PID: 0 Comm: swapper/2 Not tainted 5.3.11-300.fc31.x86_64 #1
Nov 26 15:34:48 iobook kernel: Hardware name: LENOVO 20N4CTO1WW/20N4CTO1WW, BIOS N2IET77W (1.55 ) 10/17/2019
Nov 26 15:34:48 iobook kernel: Call Trace:
Nov 26 15:34:48 iobook kernel:  <IRQ>
Nov 26 15:34:48 iobook kernel:  dump_stack+0x66/0x90
Nov 26 15:34:48 iobook kernel:  __report_bad_irq+0x35/0xa7
Nov 26 15:34:48 iobook kernel:  note_interrupt.cold+0xb/0x63
Nov 26 15:34:48 iobook kernel:  handle_irq_event_percpu+0x6f/0x80
Nov 26 15:34:48 iobook kernel:  handle_irq_event+0x28/0x48
Nov 26 15:34:48 iobook kernel:  handle_fasteoi_irq+0x86/0x130
Nov 26 15:34:48 iobook kernel:  handle_irq+0x1c/0x30
Nov 26 15:34:48 iobook kernel:  do_IRQ+0x4b/0xd0
Nov 26 15:34:48 iobook kernel:  common_interrupt+0xf/0xf
Nov 26 15:34:48 iobook kernel:  </IRQ>
Nov 26 15:34:48 iobook kernel: RIP: 0010:cpuidle_enter_state+0xc4/0x420
Nov 26 15:34:48 iobook kernel: Code: e8 01 c9 92 ff 80 7c 24 0f 00 74 17 9c 58 0f 1f 44 00 00 f6 c4 02 0f 85 39 03 00 00 31 ff e8 6>
Nov 26 15:34:48 iobook kernel: RSP: 0018:ffff9e84400ebe68 EFLAGS: 00000246 ORIG_RAX: ffffffffffffffdd
Nov 26 15:34:48 iobook kernel: RAX: ffff89ef364a8880 RBX: ffffffffbd4d6560 RCX: 000000000000001f
Nov 26 15:34:48 iobook kernel: RDX: 0000000000000000 RSI: 000000004041b11c RDI: 0000000000000000
Nov 26 15:34:48 iobook kernel: RBP: ffff89ef364b3900 R08: 00000000cb0dee7b R09: 000000007fffffff
Nov 26 15:34:48 iobook kernel: R10: ffff89ef364a76c4 R11: ffff89ef364a76a4 R12: 0000000000000008
Nov 26 15:34:48 iobook kernel: R13: 00000000cb0dee7b R14: 0000000000000008 R15: ffff89ef32b25f40
Nov 26 15:34:48 iobook kernel:  ? cpuidle_enter_state+0x9f/0x420
Nov 26 15:34:48 iobook kernel:  cpuidle_enter+0x29/0x40
Nov 26 15:34:48 iobook kernel:  do_idle+0x1cf/0x250
Nov 26 15:34:48 iobook kernel:  cpu_startup_entry+0x19/0x20
Nov 26 15:34:48 iobook kernel:  start_secondary+0x163/0x1b0
Nov 26 15:34:48 iobook kernel:  secondary_startup_64+0xa4/0xb0
Nov 26 15:34:48 iobook kernel: handlers:
Nov 26 15:34:48 iobook kernel: [<00000000fa6a848f>] tis_int_handler
Nov 26 15:34:48 iobook kernel: Disabling IRQ #31
Comment 5 Alvaro G 2019-11-28 11:32:46 UTC
Me too:

Computer boots but has kernel error messages.

Lenovo X390 - Debian 10

➜  ~ uname -a
Linux HOSTNAME 5.3.0-0.bpo.2-amd64 #1 SMP Debian 5.3.9-2~bpo10+1 (2019-11-13) x86_64 GNU/Linux

Kernel from buster-backports repo, package: linux-image-5.3.0-0.bpo.2-amd64

Message:
[   15.860964] irq 31: nobody cared (try booting with the "irqpoll" option)
[   15.860967] CPU: 6 PID: 0 Comm: swapper/6 Tainted: G           OE     5.3.0-0.bpo.2-amd64 #1 Debian 5.3.9-2~bpo10+1
[   15.860967] Hardware name: LENOVO 20Q0CTO1WW/20Q0CTO1WW, BIOS N2JET77W (1.55 ) 08/13/2019
[   15.860967] Call Trace:
[   15.860969]  <IRQ>
[   15.860972]  dump_stack+0x5c/0x80
[   15.860974]  __report_bad_irq+0x3a/0xb4
[   15.860975]  note_interrupt.cold.10+0xa/0x64
[   15.860976]  handle_irq_event_percpu+0x6d/0x80
[   15.860977]  handle_irq_event+0x3c/0x5c
[   15.860978]  handle_fasteoi_irq+0xa3/0x160
[   15.860980]  handle_irq+0x1f/0x30
[   15.860981]  do_IRQ+0x49/0xd0
[   15.860982]  common_interrupt+0xf/0xf
[   15.860983]  </IRQ>
[   15.860985] RIP: 0010:cpuidle_enter_state+0xbc/0x450
[   15.860986] Code: e8 49 66 ae ff 80 7c 24 13 00 74 17 9c 58 0f 1f 44 00 00 f6 c4 02 0f 85 67 03 00 00 31 ff e8 8b 87 b4 ff fb 66 0f 1f 44 00 00 <45> 85 e4 0f 89 d1 01 00 00 c7 45 10 00 00 00 00 48 83 c4 18 44 89
[   15.860987] RSP: 0018:ffffaf8e4010fe78 EFLAGS: 00000246 ORIG_RAX: ffffffffffffffdb
[   15.860988] RAX: ffff951d203aa580 RBX: ffffffffb70b92c0 RCX: 000000000000001f
[   15.860988] RDX: 00000003b163026d RSI: 000000004041d50d RDI: 0000000000000000
[   15.860989] RBP: ffff951d203b4a00 R08: 0000000000000002 R09: 0000000000029e00
[   15.860989] R10: 0000001061daa775 R11: ffff951d203a94e4 R12: 0000000000000001
[   15.860989] R13: ffffffffb70b9338 R14: 0000000000000001 R15: 0000000000000000
[   15.860991]  ? cpuidle_enter_state+0x97/0x450
[   15.860992]  cpuidle_enter+0x29/0x40
[   15.860994]  do_idle+0x228/0x270
[   15.860996]  cpu_startup_entry+0x19/0x20
[   15.860997]  start_secondary+0x160/0x1b0
[   15.860998]  secondary_startup_64+0xa4/0xb0
[   15.860999] handlers:
[   15.861002] [<0000000098f4a482>] tis_int_handler [tpm_tis_core]
[   15.861002] Disabling IRQ #31
Comment 6 sebastien.bocq 2020-01-12 22:14:32 UTC
Same problem here on Lenovo T490, Fedora 31


$ uname -a
Linux localhost.localdomain 5.4.8-200.fc31.x86_64 #1 SMP Mon Jan 6 16:44:18 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

$ dmesg -t
...
[dim jan 12 22:44:41 2020] irq 31: nobody cared (try booting with the "irqpoll" option)
[dim jan 12 22:44:41 2020] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 5.4.8-200.fc31.x86_64 #1
[dim jan 12 22:44:41 2020] Hardware name: LENOVO 20N2CTO1WW/20N2CTO1WW, BIOS N2IET80W (1.58 ) 11/26/2019
[dim jan 12 22:44:41 2020] Call Trace:
[dim jan 12 22:44:41 2020]  <IRQ>
[dim jan 12 22:44:41 2020]  dump_stack+0x66/0x90
[dim jan 12 22:44:41 2020]  __report_bad_irq+0x35/0xa7
[dim jan 12 22:44:41 2020]  note_interrupt.cold+0xb/0x63
[dim jan 12 22:44:41 2020]  handle_irq_event_percpu+0x6f/0x80
[dim jan 12 22:44:41 2020]  handle_irq_event+0x36/0x53
[dim jan 12 22:44:41 2020]  handle_fasteoi_irq+0x8b/0x130
[dim jan 12 22:44:41 2020]  do_IRQ+0x50/0xe0
[dim jan 12 22:44:41 2020]  common_interrupt+0xf/0xf
[dim jan 12 22:44:41 2020]  </IRQ>
[dim jan 12 22:44:41 2020] RIP: 0010:cpuidle_enter_state+0xc4/0x450
[dim jan 12 22:44:41 2020] Code: e8 81 77 90 ff 80 7c 24 0f 00 74 17 9c 58 0f 1f 44 00 00 f6 c4 02 0f 85 61 03 00 00 31 ff e8 b3 af 96 
ff fb 66 0f 1f 44 00 00 <45> 85 e4 0f 88 8c 02 00 00 49 63 cc 4c 2b 6c 24 10 48 8d 04 49 48
[dim jan 12 22:44:41 2020] RSP: 0018:ffffb239c00ebe68 EFLAGS: 00000246 ORIG_RAX: ffffffffffffffdd
[dim jan 12 22:44:41 2020] RAX: ffff8e46be4a89c0 RBX: ffffffffb074a480 RCX: 000000000000001f
[dim jan 12 22:44:41 2020] RDX: 0000000000000000 RSI: 000000004041ceb5 RDI: 0000000000000000
[dim jan 12 22:44:41 2020] RBP: ffff8e46be4b2f10 R08: 00000000b5940165 R09: 000000000000afc7
[dim jan 12 22:44:41 2020] R10: ffff8e46be4a77a0 R11: ffff8e46be4a7780 R12: 0000000000000001
[dim jan 12 22:44:41 2020] R13: 00000000b5940165 R14: 0000000000000001 R15: ffff8e46bc1aa700
[dim jan 12 22:44:41 2020]  ? cpuidle_enter_state+0x9f/0x450
[dim jan 12 22:44:41 2020]  cpuidle_enter+0x29/0x40
[dim jan 12 22:44:41 2020]  do_idle+0x1dc/0x270
[dim jan 12 22:44:41 2020]  cpu_startup_entry+0x19/0x20
[dim jan 12 22:44:41 2020]  start_secondary+0x162/0x1b0
[dim jan 12 22:44:41 2020]  secondary_startup_64+0xb6/0xc0
[dim jan 12 22:44:41 2020] handlers:
[dim jan 12 22:44:41 2020] [<0000000082ddad9f>] tis_int_handler
[dim jan 12 22:44:41 2020] Disabling IRQ #31
...
Comment 7 kernel 2020-01-12 22:40:17 UTC
Still the same on Kernel 5.4.10 and X390:
```
[    5.434796] irq 31: nobody cared (try booting with the "irqpoll" option)
[    5.435364] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 5.4.10-arch1-1 #1
[    5.435364] Hardware name: LENOVO 20Q1SXXXX00, BIOS N2JET83P (1.61 ) 11/22/2019
[    5.435365] Call Trace:
[    5.435366]  <IRQ>
[    5.435371]  dump_stack+0x66/0x90
[    5.435373]  __report_bad_irq+0x35/0xaa
[    5.435374]  note_interrupt.cold+0xb/0x69
[    5.435376]  handle_irq_event_percpu+0x6f/0x80
[    5.435377]  handle_irq_event+0x37/0x54
[    5.435379]  handle_fasteoi_irq+0xb5/0x160
[    5.435380]  do_IRQ+0x84/0x140
[    5.435382]  common_interrupt+0xf/0xf
[    5.435383]  </IRQ>
[    5.435385] RIP: 0010:cpuidle_enter_state+0xc4/0x480
[    5.435386] Code: e8 f1 fb 99 ff 80 7c 24 0f 00 74 17 9c 58 0f 1f 44 00 00 f6 c4 02 0f 85 93 03 00 00 31 ff e8 c3 52 a0 ff fb 66 0f 1f 44 00 00 <45> 85 e4 0f 88 be 02 00 00 49 63 cc 4c 2b 6c 24 10 48 8d 04 49 48
[    5.435387] RSP: 0018:ffffbf6c40103e68 EFLAGS: 00000246 ORIG_RAX: ffffffffffffffdb
[    5.435388] RAX: ffffa3e580280000 RBX: ffffffffad2bc1c0 RCX: 000000000000001f
[    5.435388] RDX: 0000000000000000 RSI: 00000000471c501e RDI: 0000000000000000
[    5.435389] RBP: ffffa3e5802b5300 R08: 0000000143f0454b R09: 000000007fffffff
[    5.435389] R10: ffffa3e5802a97e0 R11: ffffa3e5802a97c0 R12: 0000000000000001
[    5.435390] R13: 0000000143f0454b R14: 0000000000000001 R15: ffffa3e57dee3d80
[    5.435392]  ? cpuidle_enter_state+0x9f/0x480
[    5.435393]  cpuidle_enter+0x29/0x40
[    5.435395]  do_idle+0x1de/0x260
[    5.435396]  cpu_startup_entry+0x19/0x20
[    5.435398]  start_secondary+0x186/0x1d0
[    5.435400]  secondary_startup_64+0xb6/0xc0
[    5.435401] handlers:
[    5.435961] [<0000000088dcf262>] tis_int_handler [tpm_tis_core]
[    5.436532] Disabling IRQ #31
```
Comment 8 dgfguida 2020-01-17 15:39:17 UTC
Same issue, Lenovo T490
Kernel:
5.4.12-arch1-1

Message:

[   11.207455] irq 31: nobody cared (try booting with the "irqpoll" option)
[   11.207459] CPU: 4 PID: 0 Comm: swapper/4 Tainted: G     U     OE     5.4.12-arch1-1 #1
[   11.207461] Hardware name: LENOVO 20N2000LSP/20N2000LSP, BIOS N2IET76W (1.54 ) 09/20/2019
[   11.207462] Call Trace:
[   11.207465]  <IRQ>
[   11.207474]  dump_stack+0x66/0x90
[   11.207480]  __report_bad_irq+0x35/0xaa
[   11.207483]  note_interrupt.cold+0xb/0x69
[   11.207487]  handle_irq_event_percpu+0x6f/0x80
[   11.207491]  handle_irq_event+0x37/0x54
[   11.207495]  handle_fasteoi_irq+0xb5/0x160
[   11.207498]  do_IRQ+0x84/0x140
[   11.207503]  common_interrupt+0xf/0xf
[   11.207505]  </IRQ>
[   11.207510] RIP: 0010:cpuidle_enter_state+0xc4/0x480
[   11.207514] Code: e8 e1 f8 99 ff 80 7c 24 0f 00 74 17 9c 58 0f 1f 44 00 00 f6 c4 02 0f 85 93 03 00 00 31 ff e8 b3 4f a0 ff fb 66 0f 1f 44 00 00 <45> 85 e4 0f 88 be 02 00 00 49 63 cc 4c 2b 6c 24 10 48 8d 04 49 48
[   11.207515] RSP: 0018:ffff9d9500117e68 EFLAGS: 00000246 ORIG_RAX: ffffffffffffffdb
[   11.207518] RAX: ffff90ff8e500000 RBX: ffffffffa84bc1c0 RCX: 000000000000001f
[   11.207520] RDX: 0000000000000000 RSI: 000000004041d947 RDI: 0000000000000000
[   11.207521] RBP: ffff90ff8e534600 R08: 000000029c040f15 R09: 000000007fffffff
[   11.207522] R10: ffff90ff8e5297e0 R11: ffff90ff8e5297c0 R12: 0000000000000001
[   11.207524] R13: 000000029c040f15 R14: 0000000000000001 R15: ffff90ff8c2e1ec0
[   11.207530]  ? cpuidle_enter_state+0x9f/0x480
[   11.207533]  cpuidle_enter+0x29/0x40
[   11.207536]  do_idle+0x1de/0x260
[   11.207541]  cpu_startup_entry+0x19/0x20
[   11.207546]  start_secondary+0x186/0x1d0
[   11.207550]  secondary_startup_64+0xb6/0xc0
[   11.207554] handlers:
[   11.207560] [<0000000045c33e9d>] tis_int_handler [tpm_tis_core]
[   11.207561] Disabling IRQ #31
Comment 9 Ash Hughes 2020-02-06 01:03:44 UTC
Same issue on Clevo N150CU:

[    3.151496] irq 31: nobody cared (try booting with the "irqpoll" option)
[    3.151497] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G           OE     5.4.15-200.fc31.x86_64 #1
[    3.151498] Hardware name: PC Specialist LTD N150CU                          /N151CU, BIOS 1.07.07TPCS2 11/15/2019
[    3.151498] Call Trace:
[    3.151500]  <IRQ>
[    3.151504]  dump_stack+0x66/0x90
[    3.151507]  __report_bad_irq+0x35/0xa7
[    3.151508]  note_interrupt.cold+0xb/0x63
[    3.151509]  handle_irq_event_percpu+0x6f/0x80
[    3.151510]  handle_irq_event+0x36/0x53
[    3.151511]  handle_fasteoi_irq+0x8b/0x130
[    3.151512]  do_IRQ+0x50/0xe0
[    3.151513]  common_interrupt+0xf/0xf
[    3.151514]  </IRQ>
[    3.151516] RIP: 0010:cpuidle_enter_state+0xc4/0x450
[    3.151517] Code: e8 41 6b 90 ff 80 7c 24 0f 00 74 17 9c 58 0f 1f 44 00 00 f6 c4 02 0f 85 61 03 00 00 31 ff e8 43 a3 96 ff fb 66 0f 1f 44 00 00 <45> 85 e4 0f 88 8c 02 00 00 49 63 cc 4c 2b 6c 24 10 48 8d 04 49 48
[    3.151517] RSP: 0018:ffffbc33800efe68 EFLAGS: 00000246 ORIG_RAX: ffffffffffffffdd
[    3.151518] RAX: ffff9748704a89c0 RBX: ffffffff8a74a680 RCX: 000000000000001f
[    3.151519] RDX: 0000000000000000 RSI: 000000003c9b0a94 RDI: 0000000000000000
[    3.151519] RBP: ffff9748704b3200 R08: 00000000bbd7b80a R09: 00000000000003e8
[    3.151520] R10: ffff9748704a77a0 R11: ffff9748704a7780 R12: 0000000000000001
[    3.151520] R13: 00000000bbd7b80a R14: 0000000000000001 R15: ffff97486e1ace00
[    3.151522]  ? cpuidle_enter_state+0x9f/0x450
[    3.151523]  cpuidle_enter+0x29/0x40
[    3.151524]  do_idle+0x1dc/0x270
[    3.151526]  cpu_startup_entry+0x19/0x20
[    3.151527]  start_secondary+0x162/0x1b0
[    3.151528]  secondary_startup_64+0xb6/0xc0
[    3.151529] handlers:
[    3.151531] [<00000000e7e1349b>] tis_int_handler
[    3.151532] Disabling IRQ #31


Earlier in the log I get:

[    1.700612] tpm_tis IFX0785:00: 2.0 TPM (device-id 0x1B, rev-id 22)
[    1.700752] tpm tpm0: tpm_try_transmit: send(): error -5
[    1.700753] tpm tpm0: [Firmware Bug]: TPM interrupt not working, polling instead
Comment 10 Christian Hartmann 2020-03-02 14:41:24 UTC
Same issue on Lenovo T490:

uname -a
Linux chartmann-t490 4.18.0-177.el8.x86_64 #1 SMP Wed Feb 12 19:59:38 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

dmesg -T 
...
[Mo Mär  2 13:36:56 2020] irq 31: nobody cared (try booting with the "irqpoll" option)
[Mo Mär  2 13:36:56 2020] CPU: 4 PID: 0 Comm: swapper/4 Not tainted 4.18.0-177.el8.x86_64 #1
[Mo Mär  2 13:36:56 2020] Hardware name: LENOVO 20N2000KGE/20N2000KGE, BIOS N2IET82W (1.60 ) 12/30/2019
[Mo Mär  2 13:36:56 2020] Call Trace:
[Mo Mär  2 13:36:56 2020]  <IRQ>
[Mo Mär  2 13:36:56 2020]  dump_stack+0x5c/0x80
[Mo Mär  2 13:36:56 2020]  __report_bad_irq+0x37/0xae
[Mo Mär  2 13:36:56 2020]  note_interrupt.cold.9+0xa/0x69
[Mo Mär  2 13:36:56 2020]  handle_irq_event_percpu+0x6a/0x80
[Mo Mär  2 13:36:56 2020]  handle_irq_event+0x36/0x53
[Mo Mär  2 13:36:56 2020]  handle_fasteoi_irq+0x8b/0x130
[Mo Mär  2 13:36:56 2020]  handle_irq+0xbf/0x100
[Mo Mär  2 13:36:56 2020]  do_IRQ+0x49/0xe0
[Mo Mär  2 13:36:56 2020]  common_interrupt+0xf/0xf
[Mo Mär  2 13:36:56 2020]  </IRQ>
[Mo Mär  2 13:36:56 2020] RIP: 0010:poll_idle+0x98/0xb6
[Mo Mär  2 13:36:56 2020] Code: 5c 41 5d c3 4c 89 e7 48 89 de e8 63 2e e1 ff 49 89 c4 b8 c9 00 00 00 65 48 8b 14 25 80 5c 01 00 48 8b 12 83 e2 08 75 ac f3 90 <83> e8 01 75 e8 65 8b 3d 9c ac 57 4f e8 c7 0c 85 ff 48 29 e8 4c 39
[Mo Mär  2 13:36:56 2020] RSP: 0018:ffffbfa58198be40 EFLAGS: 00000246 ORIG_RAX: ffffffffffffffdd
[Mo Mär  2 13:36:56 2020] RAX: 000000000000005e RBX: ffff9be50e534500 RCX: 000000000000001f
[Mo Mär  2 13:36:56 2020] RDX: 0000000000000000 RSI: 000000004041cc98 RDI: fffffff8cb2f7b58
[Mo Mär  2 13:36:56 2020] RBP: 00000000c917bea3 R08: 0000000000000000 R09: 0000000000029040
[Mo Mär  2 13:36:56 2020] R10: 000000100d9fdb77 R11: ffff9be50e528780 R12: 00000000004c4b40
[Mo Mär  2 13:36:56 2020] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[Mo Mär  2 13:36:56 2020]  cpuidle_enter_state+0x73/0x420
[Mo Mär  2 13:36:56 2020]  ? menu_select+0x8a/0x620
[Mo Mär  2 13:36:56 2020]  cpuidle_enter+0x2c/0x40
[Mo Mär  2 13:36:56 2020]  do_idle+0x236/0x280
[Mo Mär  2 13:36:56 2020]  cpu_startup_entry+0x6f/0x80
[Mo Mär  2 13:36:56 2020]  start_secondary+0x1a7/0x200
[Mo Mär  2 13:36:56 2020]  secondary_startup_64+0xb7/0xc0
[Mo Mär  2 13:36:56 2020] handlers:
[Mo Mär  2 13:36:56 2020] [<0000000056fc4653>] tis_int_handler
[Mo Mär  2 13:36:56 2020] Disabling IRQ #31
[Mo Mär  2 13:36:56 2020] usb 1-5.4: new high-speed USB device number 7 using xhci_hcd
[Mo Mär  2 13:36:56 2020] usb 1-5.4: New USB device found, idVendor=17ef, idProduct=3073, bcdDevice=50.33
[Mo Mär  2 13:36:56 2020] usb 1-5.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[Mo Mär  2 13:36:56 2020] usb 1-5.4: Product: USB2.0 Hub             
[Mo Mär  2 13:36:56 2020] usb 1-5.4: Manufacturer: VIA Labs, Inc.         
[Mo Mär  2 13:36:56 2020] hub 1-5.4:1.0: USB hub found
[Mo Mär  2 13:36:56 2020] hub 1-5.4:1.0: 4 ports detected
[Mo Mär  2 13:36:56 2020] IPv6: ADDRCONF(NETDEV_UP): enp0s31f6: link is not ready
[Mo Mär  2 13:36:56 2020] IPv6: ADDRCONF(NETDEV_UP): enp0s31f6: link is not ready
[Mo Mär  2 13:36:57 2020] CPU7: Core temperature above threshold, cpu clock throttled (total events = 1)
[Mo Mär  2 13:36:57 2020] CPU3: Core temperature above threshold, cpu clock throttled (total events = 1)
[Mo Mär  2 13:36:57 2020] CPU3: Package temperature above threshold, cpu clock throttled (total events = 1)
[Mo Mär  2 13:36:57 2020] CPU7: Package temperature above threshold, cpu clock throttled (total events = 1)
[Mo Mär  2 13:36:57 2020] CPU1: Package temperature above threshold, cpu clock throttled (total events = 1)
[Mo Mär  2 13:36:57 2020] CPU5: Package temperature above threshold, cpu clock throttled (total events = 1)
...


Today I set the 'irqpoll' option in /etc/default/grub ; dracut -f all
Testing it with irqpoll the next days.
Comment 11 Stefan Pietsch 2020-04-22 20:13:35 UTC
The problem on Lenovo T490 still exists with Linux kernel 5.5.17 from Debian unstable:

####################

Apr 22 20:34:53 lt490 kernel: irq 31: nobody cared (try booting with the "irqpoll" option)
Apr 22 20:34:53 lt490 kernel: CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.5.0-2-amd64 #1 Debian 5.5.17-1
Apr 22 20:34:53 lt490 kernel: Hardware name: LENOVO 20N2007GGE/20N2007GGE, BIOS N2IET81W (1.59 ) 11/29/2019
Apr 22 20:34:53 lt490 kernel: Call Trace:
Apr 22 20:34:53 lt490 kernel:  <IRQ>
Apr 22 20:34:53 lt490 kernel:  dump_stack+0x66/0x90
Apr 22 20:34:53 lt490 kernel:  __report_bad_irq+0x38/0xad
Apr 22 20:34:53 lt490 kernel:  note_interrupt.cold+0xb/0x6e
Apr 22 20:34:53 lt490 kernel:  handle_irq_event_percpu+0x72/0x80
Apr 22 20:34:53 lt490 kernel:  handle_irq_event+0x3c/0x5c
Apr 22 20:34:53 lt490 kernel:  handle_fasteoi_irq+0xa3/0x160
Apr 22 20:34:53 lt490 kernel:  do_IRQ+0x53/0xe0
Apr 22 20:34:53 lt490 kernel:  common_interrupt+0xf/0xf
Apr 22 20:34:53 lt490 kernel:  </IRQ>
Apr 22 20:34:53 lt490 kernel: RIP: 0010:poll_idle+0x63/0xb2
Apr 22 20:34:53 lt490 kernel: Code: f0 41 80 4e 02 20 49 8b 06 a8 08 75 3a 4c 89 e7 48 89 ee e8 df 32 e3 ff 49 89 c4 b8 c9 00 00 00 49 8b 16 83 e2 08 75 1f f3 90 <83> e8 01 75 f1 65 8b 3d 89 2d e4 79 e8 ec b1 8e ff 48 29 d8 4c 39
Apr 22 20:34:53 lt490 kernel: RSP: 0000:ffff9fb7c00e7e38 EFLAGS: 00000246 ORIG_RAX: ffffffffffffffda
Apr 22 20:34:53 lt490 kernel: RAX: 00000000000000c5 RBX: 0000000220a76bdc RCX: 000000000000001f
Apr 22 20:34:53 lt490 kernel: RDX: 0000000000000000 RSI: ffffbfb7bfc64300 RDI: ffffffff86abda40
Apr 22 20:34:53 lt490 kernel: RBP: ffffbfb7bfc64300 R08: 0000000220a76bdc R09: 00000000000004b7
Apr 22 20:34:53 lt490 kernel: R10: 0000000000000001 R11: ffff91a63666b9a4 R12: 00000000000007d0
Apr 22 20:34:53 lt490 kernel: R13: 0000000000000000 R14: ffff91a0c74e6c80 R15: ffff91a0c74e6c80
Apr 22 20:34:53 lt490 kernel:  ? poll_idle+0x51/0xb2
Apr 22 20:34:53 lt490 kernel:  cpuidle_enter_state+0x81/0x3e0
Apr 22 20:34:53 lt490 kernel:  cpuidle_enter+0x29/0x40
Apr 22 20:34:53 lt490 kernel:  do_idle+0x1e4/0x280
Apr 22 20:34:53 lt490 kernel:  cpu_startup_entry+0x19/0x20
Apr 22 20:34:53 lt490 kernel:  start_secondary+0x15f/0x1b0
Apr 22 20:34:53 lt490 kernel:  secondary_startup_64+0xa4/0xb0
Apr 22 20:34:53 lt490 kernel: handlers:
Apr 22 20:34:53 lt490 kernel: [<000000003a30779c>] tis_int_handler [tpm_tis_core]
Apr 22 20:34:53 lt490 kernel: Disabling IRQ #31
Comment 12 Maksim 2020-11-06 17:49:37 UTC
_Same issue on HP ProBook with Linux version 5.8.17_

```
# dmesg | grep -P "Hardware name|Linux version|tpm"
[    0.000000] Linux version 5.8.17-300.fc33.x86_64 (mockbuild@bkernel01.iad2.fedoraproject.org) (gcc (GCC) 10.2.1 20201016 (Red Hat 10.2.1-6), GNU ld version 2.35-11.fc33) #1 SMP Thu Oct 29 15:55:40 UTC 2020
[    4.634878] tpm_tis NTC0702:00: 2.0 TPM (device-id 0xFC, rev-id 1)
[    4.635105] tpm tpm0: tpm_try_transmit: send(): error -5
[    4.635130] tpm tpm0: [Firmware Bug]: TPM interrupt not working, polling instead
[11689.889824] Hardware name: HP HP ProBook 440 G7/869D, BIOS S71 Ver. 01.06.01 10/19/2020
```
Comment 13 Maksim 2020-11-06 20:04:20 UTC
(In reply to Maksim from comment #12)
> _Same issue on HP ProBook with Linux version 5.8.17_
> 
> ```
> # dmesg | grep -P "Hardware name|Linux version|tpm"
> [    0.000000] Linux version 5.8.17-300.fc33.x86_64
> (mockbuild@bkernel01.iad2.fedoraproject.org) (gcc (GCC) 10.2.1 20201016 (Red
> Hat 10.2.1-6), GNU ld version 2.35-11.fc33) #1 SMP Thu Oct 29 15:55:40 UTC
> 2020
> [    4.634878] tpm_tis NTC0702:00: 2.0 TPM (device-id 0xFC, rev-id 1)
> [    4.635105] tpm tpm0: tpm_try_transmit: send(): error -5
> [    4.635130] tpm tpm0: [Firmware Bug]: TPM interrupt not working, polling
> instead
> [11689.889824] Hardware name: HP HP ProBook 440 G7/869D, BIOS S71 Ver.
> 01.06.01 10/19/2020
> ```

Answering to myself ... 
The discussion is old, more information can be obtained by reading groups.google.com/forum
https://groups.google.com/forum/#!topic/fa.linux.kernel/aXDdaseTxOA
In my situation and from my side this 'Firmware Bug' can be ignored.
The tpm works. Thanks to all
Comment 14 Nelson G 2021-10-13 19:53:11 UTC
[    3.738804] tpm_tis NTC0702:00: 2.0 TPM (device-id 0xFC, rev-id 1)
[    3.740816] tpm tpm0: [Firmware Bug]: TPM interrupt not working, polling instead

Thinkpad E495
Debian 11, linux 5.10.70-1
Comment 15 Larry Oisher 2022-01-23 13:42:23 UTC
Occurs on Dell Vostro 3681

tpm tpm0: [Firmware Bug]: TPM interrupt not working, polling instead
Comment 16 Ucaen 2022-01-24 03:12:40 UTC
(In reply to Larry Oisher from comment #15)
> Occurs on Dell Vostro 3681
> 
> tpm tpm0: [Firmware Bug]: TPM interrupt not working, polling instead
Comment 17 André Barata 2023-01-19 15:17:08 UTC
MSI Summit E16 Flip (A12UCT)

tpm_tis MSFT0101:00: 2.0 TPM (device-id 0x1B, rev-id 22)
tpm tpm0: [Firmware Bug]: TPM interrupt not working, polling instead
Comment 18 André Barata 2023-01-19 18:53:32 UTC
MSI Summit E16 Flip (A12UCT model) Alder Lake generation
OS Fedora 37 KDE
Kernel: 6.1.6

tpm_tis MSFT0101:00: 2.0 TPM (device-id 0x1B, rev-id 22)
tpm tpm0: [Firmware Bug]: TPM interrupt not working, polling instead
Comment 19 Paul Richards 2023-03-01 11:08:44 UTC
Lenovo E595.

[    0.000000] DMI: LENOVO 20NFCTO1WW/20NFCTO1WW, BIOS R11ET44W (1.24 ) 01/26/2022

[    0.728726] tpm_tis STM7308:00: 2.0 TPM (device-id 0x0, rev-id 78)
[    0.730211] tpm tpm0: [Firmware Bug]: TPM interrupt not working, polling instead

NixOS 22.11, Linux 6.1.13.
Comment 20 xmoex 2023-04-12 20:19:59 UTC
HP Dragonfly G3.

[    0.000000] DMI: HP HP Elite Dragonfly 13.5 inch G3 Notebook PC/897F, BIOS U90 Ver. 01.04.00 10/14/2022

[    1.835173] tpm_tis IFX1522:00: 2.0 TPM (device-id 0x1D, rev-id 54)
[    1.837387] tpm tpm0: [Firmware Bug]: TPM interrupt not working, polling instead

Debian Bullseye, Linux 6.1.0.