Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp730464ybz; Sat, 25 Apr 2020 03:05:10 -0700 (PDT) X-Google-Smtp-Source: APiQypKuci8XuhbsEcbCfo904TifRaLL87KapYdJ4aGGcGWG6rPEkSpx50mhXmavPvmWSFu/8SEy X-Received: by 2002:a17:906:5918:: with SMTP id h24mr11394136ejq.210.1587809110030; Sat, 25 Apr 2020 03:05:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587809110; cv=none; d=google.com; s=arc-20160816; b=ZTuVSH3jCyJZJMvKvFtQnDZxntj5IVOdAwC+Rsyy6KH20lAg2o5Ud9kzswszwa/2Qs GOAUrOjBrX0kRaZ5ePkNK+r//EPxanwxE1bF+zPri8srqL/PPRCMXn1pFLNkHrR2OGYm xQmfW9Bt03MxuUYUSXerwMUr/uGVgnIANRvmuQ17IqNiVY7koa6oEuy4q3GtQ1YHYKJ3 gV15m1HTBMoVzNh0c/Jngfg2h6LOc5Fjc6zyvhoOqZ204blk6Dr1vcns9QoqK6l/W/aW d0Bxy/OTtLjalib8z0eznrVrAIeV41GeGjBsZb577Gj2uwMZlXo2Kogu74ca5aFSx2aN Lr6g== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=qOCa5O/JBWzIhQkLQAB3sV0bF/koEEFyGjb42S2sN2M=; b=y42ONDAeEPenk2ZDYQiaz17UtTvIxKEdXFgr2XGEdBkXs4HFuHxF6/rNk6/8DJlTRY CaD/0ExKD9EFKqXOvmnFRH9McpLwoL7Sdsnc238kf0/dX7Q9ki0rLwPcwTwXPsRIdF6w bsL33raSWh5eM6rEVyubSo6ijgDlSAxrF8lxBO+LbrrVJadRDiCLIQZoKjKjDeAeX86S alhKOpZtf9rnDgOlDMVcx72hmDTKlooVhPK+D6fZjYRG/x9njJQ1m3KJOOEmrK1WMBym TeQqG6+K3LnoKV2ZS9DRJ/xkeigFVmR2ke7YYb4ORE39bXAY8UQdku6r8N8mvaoT9Yem D5PA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ZH68DJtS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e8si4802675edl.2.2020.04.25.03.04.45; Sat, 25 Apr 2020 03:05:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ZH68DJtS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726097AbgDYKD2 (ORCPT + 99 others); Sat, 25 Apr 2020 06:03:28 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:40188 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726035AbgDYKD1 (ORCPT ); Sat, 25 Apr 2020 06:03:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1587809006; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=qOCa5O/JBWzIhQkLQAB3sV0bF/koEEFyGjb42S2sN2M=; b=ZH68DJtStI9fYuK37X/Q97eSe65J36sxPwVq6B0F7FC9GIYppKuuzGMyxfxH9F9X4UrKPq Au8meXFrribg8W2wFBOHUneYfTRaDjVFEdvqyzg0C86halUGEzFrFVptfT8G16qtBmDwD4 Of4il9Y2mxRio8a8TNQhYQw5pZFyOdI= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-333-L5kzyss9MKqSTGXxEOp1_w-1; Sat, 25 Apr 2020 06:03:20 -0400 X-MC-Unique: L5kzyss9MKqSTGXxEOp1_w-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 1E61D107ACCD; Sat, 25 Apr 2020 10:03:19 +0000 (UTC) Received: from treble.redhat.com (ovpn-114-29.rdu2.redhat.com [10.10.114.29]) by smtp.corp.redhat.com (Postfix) with ESMTP id BDC376061E; Sat, 25 Apr 2020 10:03:17 +0000 (UTC) From: Josh Poimboeuf To: x86@kernel.org Cc: linux-kernel@vger.kernel.org, Peter Zijlstra , Vince Weaver , Dave Jones , Jann Horn , Miroslav Benes , Andy Lutomirski , Thomas Gleixner Subject: [PATCH v2 00/11] ORC fixes Date: Sat, 25 Apr 2020 05:02:59 -0500 Message-Id: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org v2: - Dropped three patches which technically weren't fixes. Will post them later as part of another patch set with more improvements. - Removed show_iret_regs() declaration [mbenes] - Added Miroslav Reviewed-by, Linus Reported-by v1 was here: https://lkml.kernel.org/r/cover.1584033751.git.jpoimboe@redhat.com Jann Horn (1): x86/entry/64: Fix unwind hints in rewind_stack_do_exit() Josh Poimboeuf (9): 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 Miroslav Benes (1): x86/unwind/orc: Don't skip the first frame for inactive tasks arch/x86/entry/calling.h | 40 ++++++------ arch/x86/entry/entry_64.S | 14 ++--- arch/x86/include/asm/unwind.h | 2 +- arch/x86/kernel/dumpstack_64.c | 3 +- arch/x86/kernel/unwind_frame.c | 3 + arch/x86/kernel/unwind_orc.c | 111 ++++++++++++++++++++++----------- tools/objtool/check.c | 2 +- 7 files changed, 108 insertions(+), 67 deletions(-) --=20 2.21.1