Re: [GIT pull] x86 APIC updates for 4.15

From: Thomas Gleixner
Date: Thu Nov 30 2017 - 04:18:31 EST


Maarten,

On Wed, 29 Nov 2017, Maarten Lankhorst wrote:
> The changes to interrupts bring down our CI during hibernate, see:
>
> https://bugs.freedesktop.org/show_bug.cgi?id=103712
>
> I created a bug report at https://bugzilla.kernel.org/show_bug.cgi?id=198033
>
> Short reproducer:
>
> Create a swapfile on a snb 2600, attempt to hibernate to it with echo
> disk > /sys/power/state, this will fail in the end, but will go through
> most of the steps.
>
> After the almost complete hibernate, i915 will not receive irqs any more,
> which kills our entire integration testing.
>
> Kernel config is available at
> https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3402/kernel.config.bz2
> Results with pull request reverted at
> https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_7333/shards.html
>
> First bad commit:
>
> commit fdba46ffb4c203b6e6794163493fd310f98bb4be (HEAD, refs/bisect/bad)
> Author: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Date: Wed Sep 13 23:29:27 2017 +0200
>
> x86/apic: Get rid of multi CPU affinity
>
< SNIP >
>
> Could you have a look at it please?

I had a look at it. Do I need to do anything else? :)

Seriously. Can you please do the following:

1) Enable CONFIG_GENERIC_IRQ_DEBUGFS

2) mount debugfs

3) Before suspend collect information from there

cat /sys/kernel/debug/irq/domains/*

and

cat /sys/kernel/debug/irq/irqs/$N

where $N is the interrupt which does not fire anymore

4) suspend/resume

5) Collect the same data as in #3

Thanks,

tglx