Message ID | cover.1676068346.git.jpoimboe@kernel.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1214043wrn; Fri, 10 Feb 2023 14:45:50 -0800 (PST) X-Google-Smtp-Source: AK7set/ez1mpkvH1bCetaxDhvh1gRURxriAtN/rK3Atx6w+ZceroOc1wAzDFLzDadfgJq8a5yrCe X-Received: by 2002:a17:906:cb92:b0:889:5ca0:146e with SMTP id mf18-20020a170906cb9200b008895ca0146emr16442224ejb.16.1676069150051; Fri, 10 Feb 2023 14:45:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676069150; cv=none; d=google.com; s=arc-20160816; b=t+kLQuTATCmB2FSEVfV9+ix/Xdf2qMjW48tFdi0GaumaEv0HSCTkuEzWI79VCyrnYS 4Qe5AIdidhvL/ycR4kW3gcM08m47afZFBhNu+BuM8BViU7011EDznmAqROHmIU11RUgO ah3lsf7TSoeTx0djpjSJmwbVRtVmUI+huvZ/+g8Sw6XNlJhDWk+a+941uBIw1Ge+aJTh wdEHGNpaU6khnN3J72nIn6SLy24YNqvV4v34jaKbqwTnImjorWDb/U8rABr141L2Ghmf Fedc81fedzwUOlVztlLUo84xvm6yzsJTyEzZ1+DJqjhvLqygZm7pbR1wEkc279HwQFWX Acvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=pih9hGz1CNhijo2URkTvWg9ICrGYwMcqw4OH5rBYEeM=; b=ajXvcwJpB3WBoJtHOW1KptGDk+I11gFdZO2OAbO1oMFpWbfRLrMY+nLckJb74lp3oi AhOu5vedDo8cQRkjngY2o9OMoyQ44amRaXW650LHIz/KvSRCzcPaIjx1CUx7V/ZjovjJ AXf/cZB/vzmJEGlt3b7BJgbSv236Fjp9afCHlQDBMXI0imGLQ8vFNWVRlfoCfQtFvqEp fgAmXKY02+Plmm12vu3XB5kdq0jH0axCbigHTciu0FhRqQbIozGw3DEu5biqFrPoXwly lMrv8c64AUKFg/tyggUQDAgxS5UoDqElHcwXUW78vZHmC2+6dMZv31CIYAg/Q+BHWhUw uuMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WwJm2H7v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u5-20020aa7d0c5000000b004ab4b0d0069si3030978edo.0.2023.02.10.14.45.25; Fri, 10 Feb 2023 14:45:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WwJm2H7v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233937AbjBJWmU (ORCPT <rfc822;ybw1215001957@gmail.com> + 99 others); Fri, 10 Feb 2023 17:42:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233929AbjBJWmR (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 10 Feb 2023 17:42:17 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8989372885 for <linux-kernel@vger.kernel.org>; Fri, 10 Feb 2023 14:42:13 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 241AEB8260F for <linux-kernel@vger.kernel.org>; Fri, 10 Feb 2023 22:42:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 89679C433EF; Fri, 10 Feb 2023 22:42:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1676068930; bh=lean2QP7sM/VxWfpzVyF1SwVdvPL+L0ykV3X0Mivkhc=; h=From:To:Cc:Subject:Date:From; b=WwJm2H7vK4Fc7JspfZsTwrY2E4UU+fclg2VDoT2DYwASVoHvAmc6ZQ+ooRVoaMfdo QvzCpJcgQIWQzwHU87cmgLfS6ShUB9A2x/BacR4ViURx+gsNFTIBN1v/QWAZf/0bG2 xJk/3DyS00bKY5cjt2KhPK3pwH1nhPdgjWG34ey4ItHLXsWkqgitutY10o+KW4uLLF /pUJk9Fncio/lCR26HiXaPa8jGwnFKcCqd/7W/TiJrm3aS9IF5BD/131aEmVdmpfB8 qBLYpZwKh/PQI+/cSLqPKa67jOe88z/uS6w6av+FSi4pO3Ah6Z50dOwcDwpvjt2Ku2 KUmCT1VMhji8g== From: Josh Poimboeuf <jpoimboe@kernel.org> To: x86@kernel.org Cc: linux-kernel@vger.kernel.org, Peter Zijlstra <peterz@infradead.org>, Chen Zhongjin <chenzhongjin@huawei.com>, "Naveen N. Rao" <naveen.n.rao@linux.ibm.com>, Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>, "David S. Miller" <davem@davemloft.net>, Masami Hiramatsu <mhiramat@kernel.org> Subject: [PATCH 0/2] x86/unwind/orc: Fix unwinding from kprobe on PUSH/POP instruction Date: Fri, 10 Feb 2023 14:42:00 -0800 Message-Id: <cover.1676068346.git.jpoimboe@kernel.org> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-type: text/plain Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757485885028330550?= X-GMAIL-MSGID: =?utf-8?q?1757485885028330550?= |
Series |
x86/unwind/orc: Fix unwinding from kprobe on PUSH/POP instruction
|
|
Message
Josh Poimboeuf
Feb. 10, 2023, 10:42 p.m. UTC
Josh Poimboeuf (2): x86/unwind/orc: Add 'signal' field to ORC metadata x86/entry: Fix unwinding from kprobe on PUSH/POP instruction arch/x86/entry/entry_64.S | 9 ++++++++- arch/x86/include/asm/orc_types.h | 4 +++- arch/x86/include/asm/unwind_hints.h | 10 +++++----- arch/x86/kernel/unwind_orc.c | 5 ++--- include/linux/objtool.h | 11 +++++++---- tools/arch/x86/include/asm/orc_types.h | 4 +++- tools/include/linux/objtool.h | 11 +++++++---- tools/objtool/orc_dump.c | 4 ++-- 8 files changed, 37 insertions(+), 21 deletions(-)