From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753338AbdK0TIS (ORCPT ); Mon, 27 Nov 2017 14:08:18 -0500 Received: from smtp-fw-4101.amazon.com ([72.21.198.25]:17338 "EHLO smtp-fw-4101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753251AbdK0TIP (ORCPT ); Mon, 27 Nov 2017 14:08:15 -0500 X-IronPort-AV: E=Sophos;i="5.44,465,1505779200"; d="scan'208";a="695866747" Date: Mon, 27 Nov 2017 11:08:02 -0800 From: Eduardo Valentin To: Dave Hansen CC: Eduardo Valentin , Ingo Molnar , kernel test robot , LKP , , , Thomas Gleixner , , 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 Message-ID: <20171127190802.GC12661@u40b0340c692b58f6553c.ant.amazon.com> References: <5a1aaa36.CWNgvwmmRFzeAlPc%fengguang.wu@intel.com> <20171127101814.jsglrh7typy3pxxp@gmail.com> <20171127180328.GA12661@u40b0340c692b58f6553c.ant.amazon.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 27, 2017 at 10:28:35AM -0800, Dave Hansen wrote: > 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. :) OK, thanks for let me know, I will give it a shot on the tip tree today and send feed back. -- All the best, Eduardo Valentin