From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752189Ab3KANHR (ORCPT ); Fri, 1 Nov 2013 09:07:17 -0400 Received: from 8bytes.org ([85.214.48.195]:38071 "EHLO mail.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750976Ab3KANHQ (ORCPT ); Fri, 1 Nov 2013 09:07:16 -0400 Date: Fri, 1 Nov 2013 14:07:10 +0100 From: Joerg Roedel To: Peter Senna Tschudin Cc: iommu@lists.linux-foundation.org, "linux-kernel@vger.kernel.org" , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, Seiji Aguchi , Konrad Rzeszutek Wilk Subject: Re: VT-d and x2apic: broken resume after suspend to ram Message-ID: <20131101130702.GA3348@8bytes.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-DSPAM-Result: Whitelisted X-DSPAM-Processed: Fri Nov 1 14:07:13 2013 X-DSPAM-Confidence: 0.9993 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 5273a78120863386567649 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Peter, On Fri, Nov 01, 2013 at 01:37:36PM +0100, Peter Senna Tschudin wrote: > I have one notebook that is failing to resume after suspend to ram. > I've filled a bug report back on the 2.6.41 days: > > https://bugzilla.redhat.com/show_bug.cgi?id=787299 > > The issue is that trying to resume after suspending to ram freezes the > computer. The resume starts well, but then it hangs. > > Yesterday I found that this may be related to VT-d / x2apic. If I > disable VT-d on the BIOS, suspend / resume works fine. If I enable > VT-d and pass nox2apic as boot parameter to Kernel suspend and resume > works fine. I would like some pointers to fix this issue. Can you help > me? > > Only when I have VT-d enabled, dmesg gives me additional output: > [ 0.023913] IOAPIC id 2 under DRHD base 0xfed91000 IOMMU 1 > [ 0.024080] Enabled IRQ remapping in x2apic mode > [ 0.024081] Enabling x2apic > [ 0.024082] Enabled x2apic > [ 0.024087] Switched APIC routing to cluster x2apic. > > The notebook is Toshiba R830-10p with i7-2620M. Which kernels have you tried? Does it happen with all of them or is there a kernel-version where this started? Joerg