Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2764892yba; Mon, 6 May 2019 11:08:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqzbXlOqGYE4gDGXHclzr7ZYFzPlkXFvqVfuDY6dkkx+Ry7r7QgShjf+gp3NYZa2rlroBJM6 X-Received: by 2002:a63:4c06:: with SMTP id z6mr24090512pga.296.1557166123307; Mon, 06 May 2019 11:08:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557166123; cv=none; d=google.com; s=arc-20160816; b=m6AsFzjpND5TWpdyW189FMMqqljASBZrfNVr6O2SGEo55ObjJeiBENz/3cR39kRIBD VbZh1Eey71S9mI+S3p4Tzp8krBDmZA9zGXHj02Vn8Ne9BR1e0J5XwZcTgrUyG+V+qWIb 31lnjpbBtIc4F5tE1VOD5uPK35HOCAtsqt/pt7fQ7CE5Pn7qmjXRJkWtO81a1KF3kQ3z mPHjwGyCPg7HFkm8XQOb6P97d1gw6GlgF08ewpHL1BgiO8AHv6J8A2X1Qa1RF1HdaToj 2J8b/lsvzLvC5VS2fGENcF2qcrcyXd4Bw848ayNenk/sM8mb7NvkmXaqs+aVfcSo6hFQ 0Plw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=+QBasbgDBBBZgS2pVJekzI8/+EO3uoHDtSFy2Fyb2GE=; b=ujkELlVQhNxsec6NTDDZh7zWQR4Os9+3xM4UTidRAYRNIo2CLVNOgFx46a/1hekP5j u3v1QibZaWL7E6E4p2o0mKlffZFBXw7PwXq+l1EvbtxS54pLEIx8KUG5XPwFRfCM6YNr EqdRTENZYr1pJKRJVBgRMLbGbd5AeR+QryGtdkiMYOwTecbaKnAkdrc7nOTbiyCoWsHU vuPvKDT65ngcEd24dE9CMHjOuF6uU1DC0UXLXNSCYMAhL0deLyfg+LHujZ/vA2RQAipo /6NTzpaWw9om8Dj8puoNcB2dJiWMpcqps+/qu+B0ccg6AjKhwwpNgcqPT00CoSu0nKov N7eQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=KY56o2zk; 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 j16si13208296pfn.225.2019.05.06.11.08.27; Mon, 06 May 2019 11:08:43 -0700 (PDT) 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; dkim=pass header.i=@linux-foundation.org header.s=google header.b=KY56o2zk; 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 S1726672AbfEFSHN (ORCPT + 99 others); Mon, 6 May 2019 14:07:13 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:37523 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726094AbfEFSHM (ORCPT ); Mon, 6 May 2019 14:07:12 -0400 Received: by mail-lf1-f65.google.com with SMTP id h126so9827781lfh.4 for ; Mon, 06 May 2019 11:07:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+QBasbgDBBBZgS2pVJekzI8/+EO3uoHDtSFy2Fyb2GE=; b=KY56o2zkPfttJHquP5i+aSm2DJQcYtHn8+L5gH++7lWF4448+Xba0wDZ28VwqzrGv1 tcq/bdUNFwTDnHCXu5vdwHSNmP7T3yuhy8K9P+M95vYbA5STJOSfgc37VSP/ttbrK7R6 jlISK8kLlMP2oYwfXqmkLs9dVgVVu51tUvEBQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+QBasbgDBBBZgS2pVJekzI8/+EO3uoHDtSFy2Fyb2GE=; b=OGpSnaUioKVaIXkoCNse0sgc74C3YqDOylIH3rk9qVqO7/yaBpaIEFne/7/E+kkLUh W1F3LzDMUKLGeL//yRPlV3gt0rf6T0nHmiIKmI7k2FsUF1o/RUFa8lzLWR2/+yJTJfXy tHk7MoN5YCcuYH1Ht+XfViJM77GkVDkrJflc0YMYslu/+ix54421S/Kp4YeguwUYlnXY +ygFEhAmZq13byfiKB08HUUa/97q8oM+QVpQ8QejW0Wu/KkovwZrKH6y6GBuU37wECjH ZSw9Zj9JQSZ0aJebQ5RZWhzYX5tAWqfmyE9gFCo3A6DP9k4BdtXlVZeTO+gcdyvnzxcK DO9w== X-Gm-Message-State: APjAAAVg19/DESPQUFD3crk3UdW89idifxjZNka6OLbbvKGQTtFq6Rtz ZrMuSZpvjFzJAYmAJu6aoBO/EB7BeNw= X-Received: by 2002:a19:189:: with SMTP id 131mr11910785lfb.74.1557166030435; Mon, 06 May 2019 11:07:10 -0700 (PDT) Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com. [209.85.208.178]) by smtp.gmail.com with ESMTPSA id f2sm1682377ljb.63.2019.05.06.11.07.07 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 May 2019 11:07:08 -0700 (PDT) Received: by mail-lj1-f178.google.com with SMTP id k8so11895375lja.8 for ; Mon, 06 May 2019 11:07:07 -0700 (PDT) X-Received: by 2002:a2e:9ac8:: with SMTP id p8mr13096464ljj.79.1557166027424; Mon, 06 May 2019 11:07:07 -0700 (PDT) MIME-Version: 1.0 References: <20190502181811.GY2623@hirez.programming.kicks-ass.net> <20190502202146.GZ2623@hirez.programming.kicks-ass.net> <20190502185225.0cdfc8bc@gandalf.local.home> <20190502193129.664c5b2e@gandalf.local.home> <20190502195052.0af473cf@gandalf.local.home> <20190503092959.GB2623@hirez.programming.kicks-ass.net> <20190503092247.20cc1ff0@gandalf.local.home> <2045370D-38D8-406C-9E94-C1D483E232C9@amacapital.net> <20190506081951.GJ2606@hirez.programming.kicks-ass.net> <20190506095631.6f71ad7c@gandalf.local.home> <20190506130643.62c35eeb@gandalf.local.home> In-Reply-To: <20190506130643.62c35eeb@gandalf.local.home> From: Linus Torvalds Date: Mon, 6 May 2019 11:06:51 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC][PATCH 1/2] x86: Allow breakpoints to emulate call functions To: Steven Rostedt Cc: Peter Zijlstra , Andy Lutomirski , Linux List Kernel Mailing , Ingo Molnar , Andrew Morton , Andy Lutomirski , Nicolai Stange , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , "the arch/x86 maintainers" , Josh Poimboeuf , Jiri Kosina , Miroslav Benes , Petr Mladek , Joe Lawrence , Shuah Khan , Konrad Rzeszutek Wilk , Tim Chen , Sebastian Andrzej Siewior , Mimi Zohar , Juergen Gross , Nick Desaulniers , Nayna Jain , Masahiro Yamada , Joerg Roedel , "open list:KERNEL SELFTEST FRAMEWORK" , stable Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 6, 2019 at 10:06 AM Steven Rostedt wrote: > > Can you try booting with: > [ snip snip ] > > And see if it boots? No it doesn't. Dang, I tried to figure out what's up, but now I really have to start handling all the puill requests.. I thought it might be an int3 that happens on the entry stack, but I don't think that should ever happen. Either it's a user-mode int3, or we're in the kernel and have switched stacks. So I still don't see why my patch doesn't work, but now I have no time to debug it. Linus