Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1764687ybh; Fri, 13 Mar 2020 07:03:45 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuy6sJ/bZgmU+GAvoIVq1i24klWKoAHfNCZQ5wPvdICAcDThCz+9hxLcAknq5Njm2UXXexC X-Received: by 2002:aca:f07:: with SMTP id 7mr6808273oip.29.1584108225180; Fri, 13 Mar 2020 07:03:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584108225; cv=none; d=google.com; s=arc-20160816; b=LXScJbE18eYiPXe2zWSkTPFZw1eUbIU1dw3JrhrlgrY9JD7grYdLlqXN6bBDNvj/9G H+B7uYLD+55R8+XHBxiWmYUlXGXn5ZlY0HwBf8OaomCYMRtaobMNswCrD+2o7QH6Blos NU7fcJLB8Yz0hJm6M9ycQBooTcd46X6neySV7lA76FSJA6NEQr0ClyVTIPbXpgAKKo1F Y5Rq+A0CukoM2xYtMBErwj6EyKCFli50zlg0MhW8K1B6+UHTn1T7LKi2gUtO+p9xXA17 OOGfJOfb4dKuWEtpTJzorOt4GM9y/1xp7I+QXkLCcEpXq68mXl6SkhSw6JbGXxrH1n/H sAPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=2tqbHzYsEtBvUXIpxY0TrX9VMLfxNNDEudjLI8hUmUE=; b=GTe/Xse9PgRl5HoL6PRmTHWtnVykni4Q7Ka59fwWfgVwHgYx4wbJZgV9WEECUn7lsc H7sLFwa96WSUTfgW0iM2OP3/BW8UpL8Z1baaKQmQA9NEDpmMBUtybHsfty4NeR0em6rj AqxCPDQNNC6knZrtD8irGSydA9BKuRz01td2fmbkl+iCK6GgUUK4iyGkoDBcvTxacWhX e9AO+/P9MKpHIZjHAzcbWpHrS9V2JtaHhFVo2PgOyHgP+Bp6odtABMiRsrtOlHeNxIq+ Dewg5RE2xCkoppty4HxXHQOxEUI19WpsFHGBM06MA3598JxS8RPqlaH2/XKjBKhXOS8X iS5g== 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 y15si4451979otk.125.2020.03.13.07.03.18; Fri, 13 Mar 2020 07:03:45 -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 S1726691AbgCMOAq (ORCPT + 99 others); Fri, 13 Mar 2020 10:00:46 -0400 Received: from mx2.suse.de ([195.135.220.15]:52298 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726327AbgCMOAq (ORCPT ); Fri, 13 Mar 2020 10:00:46 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 7E952AC6B; Fri, 13 Mar 2020 14:00:43 +0000 (UTC) Date: Fri, 13 Mar 2020 15:00:42 +0100 (CET) From: Miroslav Benes To: Josh Poimboeuf cc: x86@kernel.org, linux-kernel@vger.kernel.org, Peter Zijlstra , Vince Weaver , Dave Jones , Jann Horn , Andy Lutomirski , Steven Rostedt , Thomas Gleixner Subject: Re: [PATCH 00/14] x86/unwind/orc: ORC fixes In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 12 Mar 2020, Josh Poimboeuf wrote: > Several ORC unwinder cleanups, fixes, and debug improvements. > > Jann Horn (1): > x86/entry/64: Fix unwind hints in rewind_stack_do_exit() > > Josh Poimboeuf (12): > x86/dumpstack: Add SHOW_REGS_IRET mode > objtool: Fix stack offset tracking for indirect CFAs > x86/entry/64: Fix unwind hints in register clearing code > x86/entry/64: Fix unwind hints in kernel exit path > x86/entry/64: Fix unwind hints in __switch_to_asm() > x86/unwind/orc: Convert global variables to static > x86/unwind: Prevent false warnings for non-current tasks > x86/unwind/orc: Prevent unwinding before ORC initialization > x86/unwind/orc: Fix error path for bad ORC entry type > x86/unwind/orc: Fix premature unwind stoppage due to IRET frames > x86/unwind/orc: Add more unwinder warnings > x86/unwind/orc: Add 'unwind_debug' cmdline option > > Miroslav Benes (1): > x86/unwind/orc: Don't skip the first frame for inactive tasks > > .../admin-guide/kernel-parameters.txt | 6 + > arch/x86/entry/calling.h | 40 ++-- > arch/x86/entry/entry_64.S | 14 +- > arch/x86/include/asm/kdebug.h | 1 + > arch/x86/include/asm/unwind.h | 2 +- > arch/x86/kernel/dumpstack.c | 27 +-- > arch/x86/kernel/dumpstack_64.c | 3 +- > arch/x86/kernel/process_64.c | 7 +- > arch/x86/kernel/unwind_frame.c | 3 + > arch/x86/kernel/unwind_orc.c | 185 ++++++++++++++---- > tools/objtool/check.c | 2 +- > 11 files changed, 201 insertions(+), 89 deletions(-) Apart from the two nits I mentioned and Jann's comment on comment, it looks good to me. Reviewed-by: Miroslav Benes M