Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3877543yba; Tue, 7 May 2019 08:27:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqwv/jq3AzpEURXMNlDI1kDfz4O+KN8qHehSRo/EzrFp/j4HSKPbmOGvmdPtWhWAYSfPexjW X-Received: by 2002:a65:5c8c:: with SMTP id a12mr40235282pgt.452.1557242823949; Tue, 07 May 2019 08:27:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557242823; cv=none; d=google.com; s=arc-20160816; b=ACtJ0oWKPBPHCR7Fg9jnzOnQnirKQHY2rv/NxPFhkm5AsBIOwj2oYBJG4dacSYFuee QxdxKPTfpitAvrrxQomtldY1cX1ZoAmnQN2Fn9Mxza+uerD+e8C+HbanlFO3DWhZ0HSr lTff6ZRhHDEz85c39672GchnyQ44ET7+KGeEdSrPJnCyLreVVSn3vB8MdCapErHHK0mE cCSa8idnFW0heLnDrqOKeFca22nbzBtdropMT5cRC83s1YRhDC6c4cnZXUCgOpszrnH6 2e8dUMHS271q9zDnAa2uDfcrcZA+F5V5EbfBsA55GZLWudHgdnMvjyH78In8aAzWicfZ qj+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=o1kisl9RPaalIMWGIoZ8tOX9/0c57fVBfYByArT8Rqs=; b=LgsK4ThvW4oW8j71sBgZP3Rr+kuCE2XdKHlODIGKZHw3FjEMCdYKTjDVulvTsp4hzr 2533zt8Kr2Kn4M93N6X2WUnKg9zLoaMyvxvyDw/pGFMnhCyFADRZbfEY5iAlltoUOHHD +026LlDOwrR0Xuazc0A2E2bJuezXoRSkASvaJe6DRYO4xTzGc7gzizACQI14jzbSYStI BdT6S9vLtfd86Tvn4r/bV8/gWk9YnCKqKLoJs00UlcpcCrdT2McpZS/FV93HNpjf2HLy QCY7+mqqmE0wgGAWflMD4OlEmxXdL+HuS+shFgFdrZjFPJ672LVAu5x0jVCO74pTspDZ cM+Q== ARC-Authentication-Results: i=1; mx.google.com; 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 2si20273838ple.275.2019.05.07.08.26.48; Tue, 07 May 2019 08:27:03 -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; 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 S1726557AbfEGPZT (ORCPT + 99 others); Tue, 7 May 2019 11:25:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:55182 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726236AbfEGPZS (ORCPT ); Tue, 7 May 2019 11:25:18 -0400 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2737720578; Tue, 7 May 2019 15:25:15 +0000 (UTC) Date: Tue, 7 May 2019 11:25:13 -0400 From: Steven Rostedt To: Linus Torvalds 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 , Masami Hiramatsu Subject: Re: [RFC][PATCH 1/2] x86: Allow breakpoints to emulate call functions Message-ID: <20190507112513.11297412@gandalf.local.home> In-Reply-To: <20190507111227.1d4268d7@gandalf.local.home> References: <20190502181811.GY2623@hirez.programming.kicks-ass.net> <20190506145745.17c59596@gandalf.local.home> <20190506162915.380993f9@gandalf.local.home> <20190506174511.2f8b696b@gandalf.local.home> <20190506210416.2489a659@oasis.local.home> <20190506215353.14a8ef78@oasis.local.home> <20190506225819.11756974@oasis.local.home> <20190506232158.13c9123b@oasis.local.home> <20190507111227.1d4268d7@gandalf.local.home> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 7 May 2019 11:12:27 -0400 Steven Rostedt wrote: > I don't look at Peter's patch and think "this is the solution for int3 > emulate calls". I see Peter's patch as "Thanks God, we are finally > getting rid of the cause of all theses work around hacks all over the > place! and oh by the way, we can easily implement int3 call emulation > because of it". Note, if you really are adamant on your solution, I can write them up, test them, and get them out for this merge window. I really want a solution for the int3 emulate calls, as there is a real bug here that they fix. But I will say, I still prefer Peter's solution. Maybe in the future we can revisit it again. -- Steve