From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B0BACC433E0 for ; Fri, 3 Jul 2020 11:51:19 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 819D72084C for ; Fri, 3 Jul 2020 11:51:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="b/hhrLJ+"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="puyU9qyi" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 819D72084C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=DJD4UspRwozbbbTjleapbjIzPdZDrCIVpn4+4DLEn+c=; b=b/hhrLJ+JAMA0NzE0PBwU3zLX 7q+9fjXKFraJFTbXgWbYQSGXrqqht6mnB1XXDnwtDdPuaVkXu7ufXoqIqMCDzkWnWunBGNJRPEFmY VCJCdo4uV+Q6Uxu2vCPEhPWVD2CZq8J5pgRLN5UNRCfcIHu5OVdkk9iHnlHCONhY525mKUXCfwGEb xVhejfTP1KOhY9jCN17jtfmjyAMn/v37Lc1osWPXiyqtLXzgy1KqD2jenyR4D04uUQFSr7vc7PFzh OKCoApx21iLnP0iGaG4Rw6ig8rxkd96yw2r3t8H6C0jwnXFaPvMsw8Nzakt2ZMr2o10wk353jFxK1 ekCc+1veg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jrKCb-0007js-0q; Fri, 03 Jul 2020 11:49:57 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jrKCX-0007iS-Gz for linux-arm-kernel@lists.infradead.org; Fri, 03 Jul 2020 11:49:54 +0000 Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (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 79B4120737; Fri, 3 Jul 2020 11:49:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1593776990; bh=BTpZivMV/PsF43LD2YbW86BrmNkbsraAZRymqKK6bWw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=puyU9qyiRdsuQVbgqE9prQRE7g0rfXBTfHJfxuRmU2mvj83vKdBtAcEoLHpBQxO12 JemohItTVz95HNLybSfuL7P9rgx5sNsSkYJCpc7mhcdLLIMIhrsCeCn/Ln5SFILcoq Gghbm+hN3MJ3iNZeOTV6qNjuxZsn8lTLqU0Zb6/I= Date: Fri, 3 Jul 2020 12:49:46 +0100 From: Will Deacon To: Luis Machado Subject: Re: [PATCH v2 0/4] arm64: Fix single-step handling Message-ID: <20200703114945.GA18652@willie-the-truck> References: <20200702212618.17800-1-will@kernel.org> <598bb1fd-c475-53b6-ef6a-bb2838f4be25@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <598bb1fd-c475-53b6-ef6a-bb2838f4be25@linaro.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200703_074953_649985_607671DB X-CRM114-Status: GOOD ( 16.50 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Keno Fischer , kernel-team@android.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Luis, On Fri, Jul 03, 2020 at 07:52:34AM -0300, Luis Machado wrote: > On 7/2/20 6:26 PM, Will Deacon wrote: > > This is version two of the patches I previously posted here: > > > > v1: https://lore.kernel.org/linux-arm-kernel/20200603151033.11512-1-will@kernel.org/ > > > > Thanks to Keno for a bunch of helpful feedback on that, which has led to > > the following major changes for v2: > > > > - Use pseudo-step traps for both entering a signal handler and exiting a > > system call. > > > > - Document our weird x7 behaviour with PTRACE_SYSCALL. > > > > It has to be said that I'm a bit nervous about these changes. I played > > around with GDB and things seemed ok, but I would really appreciate it > > if Luis could run the GDB testsuite with these changes applied. > > Thanks for working on this. I'll need some time to give this a go. I'll let > you know what the results are. Brilliant, thank you. > Do I only need to exercise the AArch64 state? Or would this impact AArch32 > as well? I doubt AArch32 userspace goes very near PTRACE_SINGLESTEP, as it's not supported by arch/arm/, so AArch64 testing should be sufficient. Cheers, Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel