Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753087AbeAEV2p (ORCPT + 1 other); Fri, 5 Jan 2018 16:28:45 -0500 Received: from mail-pl0-f67.google.com ([209.85.160.67]:46350 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753016AbeAEV2n (ORCPT ); Fri, 5 Jan 2018 16:28:43 -0500 X-Google-Smtp-Source: ACJfBosyaf94kUtLupijVZK+2xrSNjODTJWVBs4EW52ZyuifmEJ6i0Mp9YY/COtzV7cD+ZrKZKz2fw== Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: Failing S3 resume since "Add missing irqflags tracing to native_load_gs_index()" From: Andy Lutomirski X-Mailer: iPhone Mail (15C153) In-Reply-To: Date: Fri, 5 Jan 2018 13:28:39 -0800 Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, Andy Lutomirski , Borislav Petkov , linux-kernel@vger.kernel.org, Josh Poimboeuf , "Kirill A. Shutemov" , Juergen Gross , "Deucher, Alexander" , amd-gfx@lists.freedeskop.org, Greg Kroah-Hartman , marta.lofstedt@intel.com Content-Transfer-Encoding: 8BIT Message-Id: <62B74215-776F-4DB0-A316-FCE56E1328F0@amacapital.net> References: To: Harry Wentland Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: > On Jan 5, 2018, at 1:00 PM, Harry Wentland wrote: > > Since rebasing our dev trees on v4.15-rc2 a bunch of our systems are failing to resume from S3. I've bisected it to the following commit > > commit ca37e57bbe0cf1455ea3e84eb89ed04a132d59e1 (refs/bisect/bad) > Author: Andy Lutomirski > Date: Wed Nov 22 20:39:16 2017 -0800 > > x86/entry/64: Add missing irqflags tracing to native_load_gs_index() > > When reverting this on the tip of our tree (https://cgit.freedesktop.org/~agd5f/linux/log/?h=amd-staging-drm-next) we still observe the issue, though, so there must be more going on. > > I only observe this issue when CONFIG_TRACE_IRQFLAGS is on, but in order to disable it I'll also have to disable things like CONFIG_LOCKDEP and CONFIG_DEBUG_WW_MUTEX_SLOWPATH, which is less than ideal. > > Attached are my .config, dmesg.log (up until suspend) and a system configuration log with lshw, lspci, lsmod, and distro info. > > I could find a ton of info online when searching for this. The only two things I found were a mention by Intel IGT guys of the same or similar issue and a revert from Greg K-H for the 4.14 stable tree. > * https://bugs.freedesktop.org/show_bug.cgi?id=103936 > * https://patchwork.kernel.org/patch/10090797/ > > Has anyone else seen this? > > Please let me know if there's anything else I can do to help find the root cause and fix for this. It's a known issue, and it should be fixed in newer -rc kernels.