Re: rc7 + tip/master suspend fun

From: Rafael J. Wysocki
Date: Mon Jul 28 2014 - 16:41:30 EST


On Monday, July 28, 2014 07:53:26 PM Borislav Petkov wrote:
>
> --Nq2Wo0NMKNjxTN9z
> Content-Type: text/plain; charset=utf-8
> Content-Disposition: inline
>
> Hi guys,
>
> so during my rc7 + tip/master testing today, I've hit the second WARN
> in remove_proc_entry, see attached pic. This happens right before I
> suspend to disk and I can't successfully suspend because sda gets choked
> afterwards and floods dmesg with something-has-timeout messages which I
> can't read - whizzing by too fast.
>
> And this seems consistent with the warning because sda1 is behind AHCI
> for which the warning is for.
>
> Oh, and I'm saying it is tip/master-related because plain rc7 is fine.
>
> Other strange things I was able to observe in dmesg between plain rc7
> and rc7+tip/master are that something in the interrupts allocation is
> different now (plenty of movement in that area recently) leading to the
> following diffs between dmesg:
>
> --- 16-rc7 2014-07-28 19:43:13.000000000 +0200
> +++ 16-rc7+ 2014-07-28 11:11:24.000000000 +0200
>
> @@ -137,11 +138,9 @@ IOAPIC[1]: apic_id 10, version 33, addre
> ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
> ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
> ACPI: IRQ0 used by override.
> -ACPI: IRQ2 used by override.
> ACPI: IRQ9 used by override.
> Using ACPI (MADT) for SMP configuration information
> smpboot: Allowing 8 CPUs, 0 hotplug CPUs
> -nr_irqs_gsi: 72
> PM: Registered nosave memory: [mem 0x0009e000-0x0009efff]
> PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
> PM: Registered nosave memory: [mem 0x000a0000-0x000dffff]
>
> that gsi thing went away, apparently.
>
> -NR_IRQS:4352 nr_irqs:1288 16
> +NR_IRQS:4352 nr_irqs:1032 0
>
> fun.
>
> And then something lead to different interrupts being assigned:
>
> -pci 0000:00:00.2: irq 72 for MSI/MSI-X
> +pci 0000:00:00.2: irq 27 for MSI/MSI-X
>
> -ahci 0000:04:00.0: irq 73 for MSI/MSI-X
> +ahci 0000:04:00.0: irq 29 for MSI/MSI-X
>
> and lookie lookie, it is ahci which changes IRQ lines.
>
> Suggestions and ideas how to narrow down are appreciated.

Please try to revert this patch from Peter:

http://marc.info/?l=linux-kernel&m=140620918218199

Rafael

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/