Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp134030pxa; Fri, 21 Aug 2020 03:20:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx7wtD+Ae72pOgVsDaXkEuJkrDA5nGRRy3xxTiN4JMSC8rMnGxLXm9ldiHBzN9HvnMP6J44 X-Received: by 2002:a17:906:4f8c:: with SMTP id o12mr2229164eju.69.1598005258889; Fri, 21 Aug 2020 03:20:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598005258; cv=none; d=google.com; s=arc-20160816; b=hcCFcNGbtHl2jWbA9dbZ1e3ZvHHSgwkybBaV++wghEPtj0Bm+dANlSe9mt4QPa0IEL kmaV+eIiuo1CT8JwljZKP3k+PIGJxnJig4CBH+xyj+U3mdmjc84Vnod/KEOItqkD6Zv9 AvhYa/vgCwRsbdLHnXJt6N7w2mRlTb/SP41DtT30RBwY3+BG5uMh9tjpIRsXmmSPZVSz vPnAyTe1kGg8P2yxQQOQ7OVtXAkKed4QmACyKBAQmXEAhMpc2t7paBddhs95I98VIK7h 5WwlQlbm2bSkqPlbI17up77LnAFbkyE7+7eINmLPEZUarpMetwk+RgCX7XfSu/03UO9+ dcpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Mgh8GfKsrOrDT7qKfkxXyGihi2GN79kgkLGFle4IU/4=; b=WfyAmu1DYQXmIdnHRcwS1uhcP5oTIgnO8cC8mMBXk5BnEJvWXb+kGjnYWMYzO4V7Uo tmiR4HNWJFscMyD7bJbD7eeFz2ztwUK+lPI9SIhibdAUFM8oi1o2krf2UjgH6IrXErRG IYd8UiSXAUnP+2RGbivmiTCqfi4T89Nk9hVJCGYTm/m61pnW6InFMXHV2OWZsGK8/2nI DqSRWtBfPdjzk6qj9BSHYLmR6MMdP36f8HdvOD8/Dq+A14U4Ow3TkEeL6HS+QF5kYpLn IJaaLETeiCD4DL48eGvrQ6byf64OX+XiNGeRG0C+EI+EXSyvdiZ5P+KPfSLtHwbfngAs 7GoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=Yu6ZPhnc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u25si837145ejj.483.2020.08.21.03.20.33; Fri, 21 Aug 2020 03:20:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=Yu6ZPhnc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728182AbgHUKTp (ORCPT + 99 others); Fri, 21 Aug 2020 06:19:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727791AbgHUKTo (ORCPT ); Fri, 21 Aug 2020 06:19:44 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BBABC061385 for ; Fri, 21 Aug 2020 03:19:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=Mgh8GfKsrOrDT7qKfkxXyGihi2GN79kgkLGFle4IU/4=; b=Yu6ZPhnckWyVt1Ig7Nj3pDS2fc RLEVyjRR8IWIoNgeRm6dc/gpuiTtDlzmV/sDgQhWf01ezVdvTAf36FMTAdSCTxygOIwLCG7T1s0wn ifeDG9AuyR2S0PT3PztYYKr3Q25ChyGsmJDqr/y0sML67G+1RKXFNwaeLpKCvef3ysokxB/S3565M fW9e61SfQAeVrYnyf8xm3VL5IfeBxW4RY9FrfUQV6Rc9Dap6OxzmuaOUu4qv6/R9MKA+X+BV6E1pK B5Hx3TAn68qrjBiV76k+fBUgItJVjBxLE9o6COb4MIka/yau4vkwKFftyHEz5ENVkLo2REm1iYauv wt77PNKw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1k948X-00036r-SE; Fri, 21 Aug 2020 10:19:05 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id B5D43302526; Fri, 21 Aug 2020 12:19:03 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 9B41F2C8FF2DC; Fri, 21 Aug 2020 12:19:03 +0200 (CEST) Date: Fri, 21 Aug 2020 12:19:03 +0200 From: peterz@infradead.org To: Daniel Thompson Cc: x86@kernel.org, linux-kernel@vger.kernel.org, Kyle Huey , Alexandre Chartre , Robert O'Callahan , "Paul E. McKenney" , Frederic Weisbecker , Paolo Bonzini , Sean Christopherson , Masami Hiramatsu , Petr Mladek , Steven Rostedt , Joel Fernandes , Boris Ostrovsky , Juergen Gross , Brian Gerst , Andy Lutomirski , Josh Poimboeuf Subject: Re: [RFC][PATCH 4/7] x86/debug: Move historical SYSENTER junk into exc_debug_kernel() Message-ID: <20200821101903.GK1362448@hirez.programming.kicks-ass.net> References: <20200820103832.486877479@infradead.org> <20200820104905.294802764@infradead.org> <20200820152828.tvluka3lvmzof5xt@holly.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200820152828.tvluka3lvmzof5xt@holly.lan> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 20, 2020 at 04:28:28PM +0100, Daniel Thompson wrote: > Specifically I've entered the kdb in pretty much the simplest way > possible: a direct call to kgdb_breakpoint() from a task context. I > generate a backtrace to illustrate this, just to give you a better > understanding of what might be happening) and then ran the single step. > + make -C .. O=$PWD x86_64_defconfig > + ../scripts/config --enable RUNTIME_TESTING_MENU > + ../scripts/config --enable DEBUG_INFO --enable DEBUG_FS --enable KALLSYMS_ALL --enable MAGIC_SYSRQ --enable KGDB --enable KGDB_TESTS --enable KGDB_KDB --enable KDB_KEYBOARD --enable LKDTM > + ../scripts/config --enable PROVE_LOCKING --enable DEBUG_ATOMIC_SLEEP > + make olddefconfig That asked me about a kgdb boottime selftest, which I figured was a good idea, but even without my patches that seems to fail, and fail so that it doesn't boot :/ > # echo g > /proc/sysrq-trigger OK, I think I got that working with the latest set. Thanks!