From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752946AbdK0S2j (ORCPT ); Mon, 27 Nov 2017 13:28:39 -0500 Received: from mga02.intel.com ([134.134.136.20]:63393 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752635AbdK0S2h (ORCPT ); Mon, 27 Nov 2017 13:28:37 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,465,1505804400"; d="scan'208";a="10202866" Subject: Re: 2f47e7e19f ("x86/mm/kaiser: Use PCID feature to make user and .."): WARNING: CPU: 0 PID: 1 at mm/early_ioremap.c:114 __early_ioremap To: Eduardo Valentin References: <5a1aaa36.CWNgvwmmRFzeAlPc%fengguang.wu@intel.com> <20171127101814.jsglrh7typy3pxxp@gmail.com> <20171127180328.GA12661@u40b0340c692b58f6553c.ant.amazon.com> Cc: Ingo Molnar , kernel test robot , LKP , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Gleixner , wfg@linux.intel.com, aliguori@amazon.com From: Dave Hansen Message-ID: Date: Mon, 27 Nov 2017 10:28:35 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171127180328.GA12661@u40b0340c692b58f6553c.ant.amazon.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/27/2017 10:03 AM, Eduardo Valentin wrote: > On top of VM crashes, on your branch: > https://git.kernel.org/pub/scm/linux/kernel/git/daveh/x86-kaiser.git/log/?h=kaiser-414-tipwip-20171123 > > I am also getting crashes in early userspace, during tlb flushes. When KAISER is enabled and whenever userspace is loaded, I get a stack trace around __do_page_fault() called from restore_regs_and_return_to_kernel(). I saw this very same behavior in your v3 branch (kaiser-414-tipwip-20171121) too. > > The crashes are followed by a machine halt via NMI. They also get the following warning: > WARNING: can't dereference iret registers at fffffffffe198048 for ip page_fault+0x11/0x60 There was a known bug in my branch with not mapping some of the interrupt entry routines. Random alignment makes it break or work. Ingo/Thomas, correct me if I'm wrong, but I think we need folks testing here at the moment: > https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/log/?h=auto-latest My tree from last week is ancient gunk at this point. :) From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============4296171074837934326==" MIME-Version: 1.0 From: Dave Hansen To: lkp@lists.01.org Subject: Re: 2f47e7e19f ("x86/mm/kaiser: Use PCID feature to make user and .."): WARNING: CPU: 0 PID: 1 at mm/early_ioremap.c:114 __early_ioremap Date: Mon, 27 Nov 2017 10:28:35 -0800 Message-ID: In-Reply-To: <20171127180328.GA12661@u40b0340c692b58f6553c.ant.amazon.com> List-Id: --===============4296171074837934326== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On 11/27/2017 10:03 AM, Eduardo Valentin wrote: > On top of VM crashes, on your branch: > https://git.kernel.org/pub/scm/linux/kernel/git/daveh/x86-kaiser.git/log/= ?h=3Dkaiser-414-tipwip-20171123 > = > I am also getting crashes in early userspace, during tlb flushes. When KA= ISER is enabled and whenever userspace is loaded, I get a stack trace aroun= d __do_page_fault() called from restore_regs_and_return_to_kernel(). I saw = this very same behavior in your v3 branch (kaiser-414-tipwip-20171121) too. > = > The crashes are followed by a machine halt via NMI. They also get the fol= lowing warning: > WARNING: can't dereference iret registers at fffffffffe198048 for ip pag= e_fault+0x11/0x60 There was a known bug in my branch with not mapping some of the interrupt entry routines. Random alignment makes it break or work. Ingo/Thomas, correct me if I'm wrong, but I think we need folks testing here at the moment: > https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/log/?h=3Dauto= -latest My tree from last week is ancient gunk at this point. :) --===============4296171074837934326==--