Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp973704ybh; Wed, 11 Mar 2020 14:46:53 -0700 (PDT) X-Google-Smtp-Source: ADFU+vupUR+VE4Vvy9l7CXwj75oA7eYrFN/cTq0m/0KDA+35SHzBMtjULwwwh6N4g5MyvF3tJWYU X-Received: by 2002:aca:4509:: with SMTP id s9mr547378oia.24.1583963213821; Wed, 11 Mar 2020 14:46:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583963213; cv=none; d=google.com; s=arc-20160816; b=MLK8AX9ZBKryYU8RrQhOqiVFbn0V3YNpagvYLMCiTeFnM2ywVUHzpNZmUws2LQqKY3 HG53+jGUuk7ekX/ybfc1YT5yknbn+azfN+HK9EBz8WxJHKVUj9X2lqOaZD5IDT7Kpkxw yb/kJAaOrbZ3s0HyAU4YZ7hnRjUIhIU1GDiOk7dHwsInwLhtVedGUmnlm/OhhePYo4sD fUPiriTzsN7O8EzONX8GpPPzYbLaxiU7PHwM76C+oyS6lP0yZtotYQy6MFM+TtkN6kOO c1upDKykM0iztP0IgnC+T67Dkv0UO4F0eKYEMpYBBGvMLMdT3x3cOn+w/rC+geytocYh +FgQ== 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:date:subject:cc:to:from :dkim-signature; bh=7JWWrLpMPfuXSLxuL+fBzfMQH6uO+44dWeHXReAxO5I=; b=ogTAksx96Q/cJvoNAvNL2YtUkCD4kOwDPZQG3g2yTJq8SMiz3BkFl5fGBc6wRu16b+ usnUdzchw5ihhC/S4c3kDU+eF7Wx/dN7edjDrQ6cskUZW/17h8Sf7sySnyxwUKNSDva9 65J7wCzDX3fbP2vkzCY9jb7WiQfZgCshrGB6raHsCadMzvHhlJDWjkyvCxGOWTNkB2vI CagZ6fBLaFzd2ksjV6cyc8k3sMjvC6igO6xUxcpzA+3jJ/ZykVH3IKtZIjWuLpxiWiK/ faFA5/ir7+J1irTv7pFeM/pnq1FMq0n5Xf++cSEXklitL2pCAzlUYylRtWaS09aZXRX+ omnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=MPPdLR3P; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r1si678179ooq.16.2020.03.11.14.46.41; Wed, 11 Mar 2020 14:46:53 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=MPPdLR3P; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729746AbgCKVqK (ORCPT + 99 others); Wed, 11 Mar 2020 17:46:10 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:41726 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729333AbgCKVqK (ORCPT ); Wed, 11 Mar 2020 17:46:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1583963168; 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: in-reply-to:in-reply-to:references:references; bh=7JWWrLpMPfuXSLxuL+fBzfMQH6uO+44dWeHXReAxO5I=; b=MPPdLR3PfRfMtBWNAImxhUu0IcAEOB2ogJOnOixzbUbgTlAxfEjv5tgTEFhZe92AqiqumJ UH46sQMrm6t1D2dYT77ptPnsEGKLjuVbCAAIwKRGgyn539ct3kPIJGvAbp67GceM0r8+yH oBch1qz2j5KRJGLdH+zjtiWqri0DMPY= 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-151-mPfppP5iNCeyNw-8P1U3iw-1; Wed, 11 Mar 2020 17:46:07 -0400 X-MC-Unique: mPfppP5iNCeyNw-8P1U3iw-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 0FAA81005510; Wed, 11 Mar 2020 21:46:06 +0000 (UTC) Received: from x1.localdomain.com (ovpn-116-105.ams2.redhat.com [10.36.116.105]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9F46591D63; Wed, 11 Mar 2020 21:46:04 +0000 (UTC) From: Hans de Goede To: Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H . Peter Anvin" Cc: Hans de Goede , x86@kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 1/2] x86/purgatory: Fix missing ftrace_likely_update symbol Date: Wed, 11 Mar 2020 22:46:00 +0100 Message-Id: <20200311214601.18141-2-hdegoede@redhat.com> In-Reply-To: <20200311214601.18141-1-hdegoede@redhat.com> References: <20200311214601.18141-1-hdegoede@redhat.com> 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 Fix the purgatory code having a (silent, not reported) missing symbol reference to ftrace_likely_update when CONFIG_TRACE_BRANCH_PROFILI= NG is enabled. Signed-off-by: Hans de Goede --- Changes in v4: -This is a new patch in v4 of this series --- arch/x86/purgatory/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/purgatory/Makefile b/arch/x86/purgatory/Makefile index fb4ee5444379..c1bd85d6392d 100644 --- a/arch/x86/purgatory/Makefile +++ b/arch/x86/purgatory/Makefile @@ -25,7 +25,7 @@ KCOV_INSTRUMENT :=3D n =20 PURGATORY_CFLAGS_REMOVE :=3D -mcmodel=3Dkernel PURGATORY_CFLAGS :=3D -mcmodel=3Dlarge -ffreestanding -fno-zero-initiali= zed-in-bss -PURGATORY_CFLAGS +=3D $(DISABLE_STACKLEAK_PLUGIN) +PURGATORY_CFLAGS +=3D $(DISABLE_STACKLEAK_PLUGIN) -DDISABLE_BRANCH_PROFI= LING =20 # Default KBUILD_CFLAGS can have -pg option set when FTRACE is enabled. = That # in turn leaves some undefined symbols like __fentry__ in purgatory and= not --=20 2.25.1