From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751555AbdKVHoD (ORCPT ); Wed, 22 Nov 2017 02:44:03 -0500 Received: from mail-wr0-f173.google.com ([209.85.128.173]:36944 "EHLO mail-wr0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751425AbdKVHn4 (ORCPT ); Wed, 22 Nov 2017 02:43:56 -0500 X-Google-Smtp-Source: AGs4zMbDJGD8OToexNXrUFpieUK0YAIlP236YT6CqDK47q1Ab1gyiQS941Dq1vHiuUqQdh4Y022jqg== Date: Wed, 22 Nov 2017 08:43:52 +0100 From: Ingo Molnar To: Andy Lutomirski , Josh Poimboeuf Cc: X86 ML , Borislav Petkov , "linux-kernel@vger.kernel.org" , Brian Gerst , Dave Hansen , Linus Torvalds Subject: Re: WARNING: can't dereference registers at ffffc90004dfff60 for ip error_entry+0x7d/0xd0 (Re: [PATCH v2 00/18] Entry stack switching) Message-ID: <20171122074352.6d2e6u7ynro3wrrf@gmail.com> References: <20171122073907.mg6yayycfyvf4x4k@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171122073907.mg6yayycfyvf4x4k@gmail.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Ingo Molnar wrote: > > * Andy Lutomirski wrote: > > > This sets up stack switching, including for SYSCALL. I think it's > > in decent shape. > > > > Known issues: > > - I think we're going to want a way to turn the stack switching on and > > off either at boot time or at runtime. It should be fairly straightforward > > to make it work. > > > > - I think the ORC unwinder isn't so good at dealing with stack overflows. > > It bails too early (I think), resulting in lots of ? entries. This > > isn't a regression with this series -- it's just something that could > > be improved. > > Note that with the attached config on an Intel testbox I get the following new ORC > unwinder warning during bootup: > > [ 12.200554] calling ghash_pclmulqdqni_mod_init+0x0/0x54 @ 1 > [ 12.209536] WARNING: can't dereference registers at ffffc90004dfff60 for ip error_entry+0x7d/0xd0 > [ 12.231388] initcall ghash_pclmulqdqni_mod_init+0x0/0x54 returned 0 after 23480 usecs > > Thanks, Also note that the ORC warning goes away if CONFIG_PROVE_LOCKING is disabled. Thanks, Ingo