Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2655974yba; Mon, 6 May 2019 09:28:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqxvf16WJPQH3Wrmjds2x5W2pfen+Wk5taDpsYUw5svvOygh9ASwanWrKEBRAXqeW+Drd08m X-Received: by 2002:aa7:80d0:: with SMTP id a16mr35376496pfn.206.1557160093909; Mon, 06 May 2019 09:28:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557160093; cv=none; d=google.com; s=arc-20160816; b=fWiwnO4RBq/4hISO31uI3m6UyNNXRwtBbj1s643emwv0wJGvk8GKRqCLcYiSjo/Nrl vI8jOF9QTdRkdAS3bggKvPACg2wTNd0rYABpv+ub+AkJaMfIqCFrp95BoEBwcy5JH83f sF0B//Pg2dUFIKgb8PybEbbijwMPRe6aIJ0iZplrtUoivJ5u7BpYCgM/Sn/gdDzhxWBk A0WG/9gjpTfxcNx1awsf2aHjMo8rKLVByYLS65xmGfEoZO7roIqZVK9Dmp+bLHDLn8bj 6XdpD1eLIBEavEcobpFKoVGMUnJiNrYnPTjKv4xh+nMz8i3FZkZWqhZuZCNJ5C7+oxDs 1/VQ== 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=YVhVdCTcPM0PTipUC5cKupbZldiZWmaMJ+OXUnCYkpU=; b=gKIMjb/UKOUwOumu9YIamhjZgQkLWrk5DEmvIrf7OVAjHEwaYTdNGeis+gd9rhbovG nM5r34Ukn8LHVzBXiILM6W7AS/V/YewIrIZ7dFN79YGctfkfKnoo7qSn08cKlvoTKoya qn9kFBFLkYkbFMDvOGXjxT2y0Jfc4SX1rBNuwdUZZQKwfJXaKaa33dmMwLeLEsFVRGN+ f5wtj/47lTKl1TN0Ik9AQiP54D1crkZfoHkv+l9cdrmelArX3H2OWEG/6KgizPIeIXkj gHBpHkr6QJob6bAeMWP2bB3WemhoJjXHCgaF4Nlpv1lujJOftBhDUIvI/Ae/DvrB0G11 Y/KQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=Uf62pHFt; 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 z9si14839234pln.65.2019.05.06.09.27.57; Mon, 06 May 2019 09:28:13 -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=Uf62pHFt; 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 S1726479AbfEFQ1H (ORCPT + 99 others); Mon, 6 May 2019 12:27:07 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:37847 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726197AbfEFQ1G (ORCPT ); Mon, 6 May 2019 12:27:06 -0400 Received: by mail-lf1-f65.google.com with SMTP id h126so9603885lfh.4 for ; Mon, 06 May 2019 09:27:05 -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=YVhVdCTcPM0PTipUC5cKupbZldiZWmaMJ+OXUnCYkpU=; b=Uf62pHFtgllYqALvEUKMKV6I76IKCFItvVqLvjkQ3d2lCpV1XjpBx0yJQ+iFGh0+Ij IF7dcBQsUWv2vieVJNPLLPfGaN2XG0Ytn2qDMwNEB3RNtdjQ3+fNKlJGrdwbxOWlqMDS z9PbLEvLjajjgofELNpGz9INcqnXVrYbR8qgQ= 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=YVhVdCTcPM0PTipUC5cKupbZldiZWmaMJ+OXUnCYkpU=; b=eFdPSGA4c0BthVnYuc+yeCJ9RBxV0KNGu21qfG1EBNdnLMqNJxZ1h/GdVJnJnPEU4w wDquK9M9HB7p6mYbIkvVEj4HIyYIdyZKkSDw1DlOQUR3JwPyxxOGido544BE6VyhppBW 6nrhdeIJPlWZlWM3rX0TuiBMXEyxScv6n00Rnsjng4G6Rcz95KTnl5b8BY2uhPH08arK kLyzSaIs6zcBORCOexUOENpcYvyfz+0wU1ZEkgIdNYsye7yXNgSNdIgR3ZrFDq4O6bVq 8KNUtmmO/wS5WS7uAtfb22goNU69O6akBomg5wUNTMEY/2KxrkR7hjTqwmxWTyAyNIe8 RITA== X-Gm-Message-State: APjAAAVNcZ5Gz9QNXzZkbCJJmjZwnGIWY523UdWjHHeu3bTnGRmiiHAv uCWH2V22GPM6hy5cETlZpsdwEcpLqrA= X-Received: by 2002:ac2:485a:: with SMTP id 26mr13566398lfy.23.1557160024350; Mon, 06 May 2019 09:27:04 -0700 (PDT) Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com. [209.85.208.180]) by smtp.gmail.com with ESMTPSA id r3sm2509811ljr.7.2019.05.06.09.27.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 May 2019 09:27:04 -0700 (PDT) Received: by mail-lj1-f180.google.com with SMTP id k8so11619927lja.8 for ; Mon, 06 May 2019 09:27:03 -0700 (PDT) X-Received: by 2002:a05:651c:8f:: with SMTP id 15mr13394592ljq.118.1557159592300; Mon, 06 May 2019 09:19:52 -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> In-Reply-To: From: Linus Torvalds Date: Mon, 6 May 2019 09:19:35 -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 9:17 AM Linus Torvalds wrote: > > So what is it that doesn't actually work? I've looked at the patch > even more, and I can't for the life of me see how it wouldn't work. And I do still react to PeterZ's arch/x86/entry/entry_32.S | 150 +++++++++++++++++++++++++++++------ vs arch/x86/entry/entry_32.S | 7 ++++++- for mine. And PeterZ's apparently still had bugs. Yes, mine can have bugs too, but I really *have* done some basic testing, and with 6 lines of code, I think they are more localized. Linus