Received: by 10.223.164.202 with SMTP id h10csp4143496wrb; Wed, 29 Nov 2017 01:30:51 -0800 (PST) X-Google-Smtp-Source: AGs4zMbSVyQEMOG9fl5AoHrsPlEMp5zvelkSG5lzyF6yR50VaPfkIH1DH0eZl3ukMlAgNlzL39Lh X-Received: by 10.99.146.65 with SMTP id s1mr2238482pgn.354.1511947851161; Wed, 29 Nov 2017 01:30:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511947851; cv=none; d=google.com; s=arc-20160816; b=IULaYy377856kxYyzwgFflni0P6Iq03KqJuZY6g9P3xvZOET784XK9J7P8yloEAT/B OTsjFL2d97Xem2FC1hUBkdr8chp8oEz8veuruFxx8Gv9UQR4ECQRGW4QmpmziHlvRdwp lJ/3YsMg5JAIizEVbLit/HojhMMG4p1Kav0d/1XE3c4Y/fSr0UNmDBjAwOHTwa/A43wJ I0hKiXcLq41nL42oR56vNYFt2MAy+Z9+8LYcjZfAMCCDgEU7AOaAck/ePAiKX+QHdwM1 HxzvIcLk2ZyCBb9s1isyhWCvashSGxw5n7ahsca6L2vDfHkOUOWpIoTZWOjYPzL+SOoS fguQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=ZSkqM5kq7QwFJmjAcwXXwDSbdE2DPO5LiyfsIrnA5RY=; b=Z8mjq9SqJKzlAPonWFKuWzHrCDFPPM3/zCFIFvQF/Dsw+zd4ASfsWdM1dVoz6JmpvA 252ERrYhOoUAo6pPbWfwuQUbNnKlgwopHKiuxZaO23wMjeiZECBu6mjldNKVqwr6g40M psZQXvPmegBZSoM3JAGaxbM8EMYVjJLeoDiUV7qCvwnw2Oc7Yd6IAZ4OkvR9wvskIiac FSISzMIn8tDhB4v66Kz3+OX5afZ2LA0GUxsLoczdi+tav0qoYkcc8Ih41LlZIeUunJbU BkmCqHIIMDhakvQrt1mOtWV2O9mz/6ynsJsEskXIkOv3auer+wUUtB62ND0tp/POglxA 6B+w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p3si1029048pfg.369.2017.11.29.01.30.40; Wed, 29 Nov 2017 01:30:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753703AbdK2J2g (ORCPT + 70 others); Wed, 29 Nov 2017 04:28:36 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:37526 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751781AbdK2J2f (ORCPT ); Wed, 29 Nov 2017 04:28:35 -0500 Received: from hsi-kbw-5-158-153-52.hsi19.kabel-badenwuerttemberg.de ([5.158.153.52] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1eJyeK-0006uu-2o; Wed, 29 Nov 2017 10:27:24 +0100 Date: Wed, 29 Nov 2017 10:28:30 +0100 (CET) From: Thomas Gleixner To: Jarkko Nikula cc: Ingo Molnar , linux-kernel , Andy Lutomirski , Peter Zijlstra , Linus Torvalds , Borislav Petkov Subject: Re: [PATCH] x86/entry/64: Fix native_load_gs_index() SWAPGS handling with IRQ state tracing enabled In-Reply-To: <17b6e0c8-db18-f63d-0118-52b85c0c2a7f@linux.intel.com> Message-ID: References: <0fede9f9-88b0-a6e7-1027-dfb2019b8ef2@linux.intel.com> <20171129070951.hjjjpbyilzaak4ig@gmail.com> <17b6e0c8-db18-f63d-0118-52b85c0c2a7f@linux.intel.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 29 Nov 2017, Jarkko Nikula wrote: > On 11/29/2017 09:09 AM, Ingo Molnar wrote: > > > > * Jarkko Nikula wrote: > > > > > Hi > > > > > > Suspend-to-ram and resume stopped working on v4.15-rc1 and I bisected it > > > to commit ca37e57bbe0c ("x86/entry/64: Add missing irqflags tracing to > > > native_load_gs_index()"). > > > > > > I noticed it on Intel Kabylake (core) and Apollolake (atom) based > > > prototype machines. Symptoms are that machine appears to enter > > > into suspend but resumes instantly and hangs. Unfortunately no > > > logs. > > > > > > If I revert ca37e57bbe0c on v4.15-rc1 it works as expected. > > > > Hm, that commit looks broken with irq-tracing enabled. Does the > > patch below fix it? > > > No, it makes the machine not to boot at all :-( > > Log below when I used my config (now attached). With x86_64_defconfig it > booted twice but didn't survive suspend/resume. However several other boot > attempts with x86_64_defconfig failed somewhat similarly. Not in the same > place but hanging anyway. With my own config it seems to always end up failing > in trace_hardirqs_off_caller. Does it work when you disable all the tracing muck? Thanks, tglx From 1585383480543829622@xxx Wed Nov 29 07:11:47 +0000 2017 X-GM-THRID: 1585383480543829622 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread