Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3608774ybb; Tue, 31 Mar 2020 08:32:15 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsYhUrjd/gHrm5BT2kXSPULNbOUIi3DVg5CiUpIzMBt8JDFIWxE3eQmdaxeDwcJHJjpMxr0 X-Received: by 2002:aca:5e0b:: with SMTP id s11mr2320763oib.111.1585668735682; Tue, 31 Mar 2020 08:32:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585668735; cv=none; d=google.com; s=arc-20160816; b=bHQtLnrBARIaKpb4NbnGRmvC16uwbm+8QzcRFDsflB/uHwRXh5rEXzgsGcAcwf9J5p Vgc4apeq3sZ5iSWFIG0fGlQ1PAmDlsc3VGuZhVjfxYrR/zibg149ifWcDO2NHL+kwg6/ fwbtkr9pVXr5QwWqyxGuUaPLbLQu0noJiMUljRHCWQRb4uPo6XJHT/ahXZfA/CEfIRTj gg036J8FsDC0H2Xkq3zcGep6Vwg28puF2djCIBvKyqfnFab14X1ZDjyAwmo1wJ8UivtP JdLLzLQkY0/AgDvu+A1gzIEIb/az7nuZSL2H21ewtivF7EvNcLNFJ4XioglDqjSD0Ts4 Fbjw== 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=PT+HO0F4xnZR4WUDYIEXmgWOXyiSNAntrNZejzeYKQk=; b=Du+razts6MV1q3KNkDIb5m2PgHMDnZq/X3U/b9kUfzAxMOCYDv8XXP7g+Gg9hZfa5w Gj8OSkoG2BkpyToCQshO+i+UaMxRgMWRzh0qbiefwbD4mfyUVe4wk+nIDASzekMDV7pn 7ravkb1HPlpJZZs/d53W+d1LUNESSGGVZYtINJZkdyjhT1rfCRK/NZ4zVFIiJG5MWDvf PBfMJgnl5LRLwm0AUrfmtML4OOoXZD8FRHoROL5UG/TifYgIsR0Mszxy01v2CWVphH1a mryHPJvHIscCsfSQPQfPbiTeosIlXucmTP8DD5cua7jksCjSEngIPgQrcRV9ElDtbYb2 XP8w== 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 z9si8811303otj.157.2020.03.31.08.32.02; Tue, 31 Mar 2020 08:32:15 -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 S1730153AbgCaPbk (ORCPT + 99 others); Tue, 31 Mar 2020 11:31:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:41188 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726194AbgCaPbj (ORCPT ); Tue, 31 Mar 2020 11:31:39 -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 9EE3320786; Tue, 31 Mar 2020 15:31:38 +0000 (UTC) Date: Tue, 31 Mar 2020 11:31:36 -0400 From: Steven Rostedt To: Peter Zijlstra Cc: Josh Poimboeuf , tglx@linutronix.de, linux-kernel@vger.kernel.org, x86@kernel.org, mhiramat@kernel.org, mbenes@suse.cz Subject: Re: [RFC][PATCH] objtool,ftrace: Implement UNWIND_HINT_RET_OFFSET Message-ID: <20200331113136.01316614@gandalf.local.home> In-Reply-To: <20200331111652.GH20760@hirez.programming.kicks-ass.net> References: <20200325174525.772641599@infradead.org> <20200325174605.369570202@infradead.org> <20200326113049.GD20696@hirez.programming.kicks-ass.net> <20200326135620.tlmof5fa7p5wct62@treble> <20200326154938.GO20713@hirez.programming.kicks-ass.net> <20200326195718.GD2452@worktop.programming.kicks-ass.net> <20200327010001.i3kebxb4um422ycb@treble> <20200330170200.GU20713@hirez.programming.kicks-ass.net> <20200330190205.k5ssixd5hpshpjjq@treble> <20200330200254.GV20713@hirez.programming.kicks-ass.net> <20200331111652.GH20760@hirez.programming.kicks-ass.net> 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, 31 Mar 2020 13:16:52 +0200 Peter Zijlstra wrote: > @@ -235,8 +237,8 @@ SYM_INNER_LABEL(ftrace_regs_call, SYM_L_GLOBAL) > > /* If ORIG_RAX is anything but zero, make this a call to that */ > movq ORIG_RAX(%rsp), %rax > - cmpq $0, %rax > - je 1f > + testq %rax, %rax > + jz 1f > > /* Swap the flags with orig_rax */ > movq MCOUNT_REG_SIZE(%rsp), %rdi Hi Peter, Can you send this change as a separate patch as it has nothing to do with this current change, and is a clean up patch that stands on its own. Thanks, -- Steve