Project

General

Profile

Bug #3107

ACPI interrupt storm when loading i915 on Lenovo T460

Added by oyvinht 11 days ago. Updated 11 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
ACPI
Target version:
Start date:
12/03/2017
Due date:
% Done:

0%


Description

This is on a Lenovo T460 (firmware r06uj56d)

root# uname -a
DragonFly slaptop 5.1-DEVELOPMENT DragonFly v5.1.0.381.ge8ac90-DEVELOPMENT #10: Mon Dec 4 07:52:28 CET 2017 root@slaptop:/usr/obj/usr/src/sys/SLAPTOP x86_64

After doing:

root# kldload i915

the systems gets very slow, and looking at vmstat I see interrupts from acpi0 increasing by 2000-5000 every second (using kern.livelock_lowater=1000 and kern.livelock_limit=2000 makes the system usable again):

root# vmstat -i

interrupt total rate
acpi0 1681307 1925

FWIW I have tested enabling DDB and INVARIANTS in the kernel, and built /sys/dev/acpica with ACPI_DEBUG=1, which fills the kernel message buffer with messages like:

evgpe-0634 EvGpeDetect : Read registers for GPE 60-67: Status=40, Enable=46, RunEnable=46, WakeEnable=00
evgpe-0607 EvGpeDetect : Ignore disabled registers for GPE 68-6F: RunEnable=00, WakeEnable=00
evgpe-0607 EvGpeDetect : Ignore disabled registers for GPE 70-77: RunEnable=00, WakeEnable=00
evgpe-0607 EvGpeDetect : Ignore disabled registers for GPE 78-7F: RunEnable=00, WakeEnable=00
evevent-0361 EvFixedEventDetect : Fixed Event Block: Enable 00000120 Status 00000001
evgpe-0607 EvGpeDetect : Ignore disabled registers for GPE 00-07: RunEnable=00, WakeEnable=00
evgpe-0607 EvGpeDetect : Ignore disabled registers for GPE 08-0F: RunEnable=00, WakeEnable=00

History

#1 Updated by sepherosa 11 days ago

What's the interrupt rate of acpi0, before you load the i915?

On Mon, Dec 4, 2017 at 3:47 PM, <> wrote:
> Issue #3107 has been reported by oyvinht.
>
> ----------------------------------------
> Bug #3107: ACPI interrupt storm when loading i915 on Lenovo T460
> http://bugs.dragonflybsd.org/issues/3107
>
> * Author: oyvinht
> * Status: New
> * Priority: Normal
> * Assignee:
> * Category: ACPI
> * Target version: 5.0.0
> ----------------------------------------
>
> This is on a Lenovo T460 (firmware r06uj56d)
>
> root# uname -a
> DragonFly slaptop 5.1-DEVELOPMENT DragonFly v5.1.0.381.ge8ac90-DEVELOPMENT #10: Mon Dec 4 07:52:28 CET 2017 root@slaptop:/usr/obj/usr/src/sys/SLAPTOP x86_64
>
> After doing:
>
> root# kldload i915
>
> the systems gets very slow, and looking at vmstat I see interrupts from acpi0 increasing by 2000-5000 every second (using kern.livelock_lowater=1000 and kern.livelock_limit=2000 makes the system usable again):
>
> root# vmstat -i
>
> interrupt total rate
> acpi0 1681307 1925
>
>
> FWIW I have tested enabling DDB and INVARIANTS in the kernel, and built /sys/dev/acpica with ACPI_DEBUG=1, which fills the kernel message buffer with messages like:
>
> evgpe-0634 EvGpeDetect : Read registers for GPE 60-67: Status=40, Enable=46, RunEnable=46, WakeEnable=00
> evgpe-0607 EvGpeDetect : Ignore disabled registers for GPE 68-6F: RunEnable=00, WakeEnable=00
> evgpe-0607 EvGpeDetect : Ignore disabled registers for GPE 70-77: RunEnable=00, WakeEnable=00
> evgpe-0607 EvGpeDetect : Ignore disabled registers for GPE 78-7F: RunEnable=00, WakeEnable=00
> evevent-0361 EvFixedEventDetect : Fixed Event Block: Enable 00000120 Status 00000001
> evgpe-0607 EvGpeDetect : Ignore disabled registers for GPE 00-07: RunEnable=00, WakeEnable=00
> evgpe-0607 EvGpeDetect : Ignore disabled registers for GPE 08-0F: RunEnable=00, WakeEnable=00
>
>
>
>
>
> --
> You have received this notification because you have either subscribed to it, or are involved in it.
> To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account

--
Tomorrow Will Never Die

#2 Updated by oyvinht 11 days ago

sepherosa wrote:
> What's the interrupt rate of acpi0, before you load the i915?

interrupt total rate
acpi0 345 8

Also available in: Atom PDF