Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp374022pxb; Sat, 6 Mar 2021 02:45:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJyxmT06eXpXUNLgTyhyIj6AspOxRE+SsnsiRn7hbeKmwAX4tWFEKHJs3/qTf1SqKX3dpHtk X-Received: by 2002:a05:6402:1151:: with SMTP id g17mr13400651edw.48.1615027535924; Sat, 06 Mar 2021 02:45:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615027535; cv=none; d=google.com; s=arc-20160816; b=EO5Wyo3VcJ90oluiK+ikyDXKqwH9r/kXInxIZh2T1xOQvNC6yrUf6iNySs61UcwA1i wyJ7x88MDQkhzFO819vNJsb+UYiTZ4tVHBKJ70W3IvOF0GN/s2nYyAY7lZnnhgOFuIOr 8UWYlXIQy6RVszWi2cMT5EQayhJgCSnm7s/oZAkI9RPQcjV+X14buIrJEmYSX3rWvoub fuBCPLpjviC/ZAJ5QWP7BeDPM7RjyUlgf8gj24xzvSO/7GKXs7eXpcD/5TfIEXhU86to 9em3YEf3Q6qEyLWfdiarHn0M/4q1ds9KwEHQsjP+XvOFx4yn3Sy3gIctrw1yGij3jOEf 5dpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=qEhVbtk5QlCCXgUlRyRU8XGF3KSq9HuPYtLcmCUdGVU=; b=vEfEG8p0sf+etzg7nhY0hCEYCkT95wV560LTmlGWvNJEhRULg4cHCy1ttnDGLgMfwz Vkrk5k10TAQuGMCBXhypE3y9Cxc8M1uGO1qqma9WqpbuCCQ81GSYbH/7K3jvn0XuacOS ADCQ2x3ZUP5mDKoiZnCdR6zxAA16Jjb48Xe/GjfGPXTYiBEUoaMzCK/WT/rXFdWL16DW zbGzKFtDIxD6MogDCC5nE0FoBC3YvhcIzGGKR4YUsqwfTbW2Qhv4Q19yroDV3Ia+sduv ogcVJk3e2XsYpSZHRirl+1FpjuSZoIT5twGd6SPaqXGPeykY5pqAMl5ZliG7Gp4CU8ZU aqjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="b/sTxRfG"; dkim=neutral (no key) header.i=@linutronix.de; 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=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r18si3232223eds.390.2021.03.06.02.45.13; Sat, 06 Mar 2021 02:45:35 -0800 (PST) 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=@linutronix.de header.s=2020 header.b="b/sTxRfG"; dkim=neutral (no key) header.i=@linutronix.de; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229738AbhCFKoQ (ORCPT + 99 others); Sat, 6 Mar 2021 05:44:16 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:33938 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229833AbhCFKoM (ORCPT ); Sat, 6 Mar 2021 05:44:12 -0500 Date: Sat, 06 Mar 2021 10:44:10 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1615027450; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qEhVbtk5QlCCXgUlRyRU8XGF3KSq9HuPYtLcmCUdGVU=; b=b/sTxRfGuqBhh9k7Uel2nUTz0ANtjDHV/QTlHTWW/rfKrk2kV3hnqASy+nze7gpCovtoPq Uov3ezJmdGD6DqRfYuSRcIlFUlEfgXzLGg7hsynZ2LhF90LSyi2UPcgeyhgPrLUidX0Gi+ Mk68PebTOraNkwr7xO5PPeEWrAq12bkjFyFHy1Ubm4NK3fB3I9me0ggInsIxVhXAcbEdDH +3HsUNHtRqtDctYpQD5UTygs5kFsJ+t8/SaPXc4/Jcaikgl1dazQxLOyQiC/ofdEeR+CVs e71zWCC4v74S8+mOlGBwnTR4L0tq5ID5s7q6c7gpZ1ecRq8YrSK8ApMKiy2gXQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1615027450; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qEhVbtk5QlCCXgUlRyRU8XGF3KSq9HuPYtLcmCUdGVU=; b=FI/Yn640cVPagVt2U8JGg/i3LHLVkz8xBgl8ohBixfeeRtAlXdM0a2kTSmwedh7UawJlxh AOaQQUs7FiutP/Dw== From: "tip-bot2 for Josh Poimboeuf" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/urgent] x86/unwind/orc: Silence warnings caused by missing ORC data Cc: Josh Poimboeuf , "Peter Zijlstra (Intel)" , Ivan Babrou , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <06d02c4bbb220bd31668db579278b0352538efbb.1612534649.git.jpoimboe@redhat.com> References: <06d02c4bbb220bd31668db579278b0352538efbb.1612534649.git.jpoimboe@redhat.com> MIME-Version: 1.0 Message-ID: <161502745026.398.15873955078916279742.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the x86/urgent branch of tip: Commit-ID: d072f941c1e234f8495cc4828370b180318bf49b Gitweb: https://git.kernel.org/tip/d072f941c1e234f8495cc4828370b180318bf49b Author: Josh Poimboeuf AuthorDate: Fri, 05 Feb 2021 08:24:03 -06:00 Committer: Borislav Petkov CommitterDate: Sat, 06 Mar 2021 11:37:00 +01:00 x86/unwind/orc: Silence warnings caused by missing ORC data The ORC unwinder attempts to fall back to frame pointers when ORC data is missing for a given instruction. It sets state->error, but then tries to keep going as a best-effort type of thing. That may result in further warnings if the unwinder gets lost. Until we have some way to register generated code with the unwinder, missing ORC will be expected, and occasionally going off the rails will also be expected. So don't warn about it. Signed-off-by: Josh Poimboeuf Signed-off-by: Peter Zijlstra (Intel) Tested-by: Ivan Babrou Link: https://lkml.kernel.org/r/06d02c4bbb220bd31668db579278b0352538efbb.1612534649.git.jpoimboe@redhat.com --- arch/x86/kernel/unwind_orc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/unwind_orc.c b/arch/x86/kernel/unwind_orc.c index 1bcc14c..a120253 100644 --- a/arch/x86/kernel/unwind_orc.c +++ b/arch/x86/kernel/unwind_orc.c @@ -13,7 +13,7 @@ #define orc_warn_current(args...) \ ({ \ - if (state->task == current) \ + if (state->task == current && !state->error) \ orc_warn(args); \ })