Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp5193145ybv; Mon, 17 Feb 2020 14:28:08 -0800 (PST) X-Google-Smtp-Source: APXvYqzCRgDr/H8nu87Gf4+jNZGlH94GvuDJIcVNBKHl563Butp9EN+jfbHLnZHyxuK80rL25gnT X-Received: by 2002:a05:6830:15d7:: with SMTP id j23mr12416784otr.357.1581978488135; Mon, 17 Feb 2020 14:28:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581978487; cv=none; d=google.com; s=arc-20160816; b=NfriIQL2m5e/HGMCxyexYKp9zCe444BQj7WC45/moijfXGBsa33zxn0qrvJbOTApY5 0FlMF5c9PWTNr/MB84kA1ZAbnDs1sG9GIKsRpfGhtnnBWCKDluoZyWH/NU67libPtoTU r5kTn0pUNc2/PJqb3uFuTwFnNjriQuHwTc3JvY3E0RYRR2sSykz7poa/6XFAJnbkgFPp Lv2TF0FfE/x301A6ydKbBScRyWfBYs58AlbPaD+V9wfWmzDoNn1aQn2IfX+X779hkAiH N9iGzqJYhhAYIZMuETFNMpIqmBmLpn1J8ieeXQkDVsHrsuZo1qJsGUhdOP9Gh5B/chcK ddfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=/FJJbCDOjUUmIUjMyPfoaIaLPNSqF3CmeICmYvc3W8g=; b=spp6ylteL/R3I4txzAyehxH4xt1hiVphtSaDn7YROeUu5822kA5G+2bwUNcW2Rh2q5 /pmA95d8z+pZAYQAe0C0dNHDJAmDiefqgY6TRpPeYeSUVYw6yG5EjtWHKAuIM3/va1nm qS3av+/0JCvHZKOnnzKUvidu4NSsZqlBGHXY3KLUo7bs/5WVYWBrn80keZXrj7D41Tjh KDIbt4zLAAZYCChgAGZV/A7CE1qrEcgjBDk5khMWt0y7ica3TiJAUqFoKLYLWbrqhTqo m98Vmtg8UzOdUfJk67yJOfoSG8sQl2MZxKwwnd8YhlsoOYq1qWcLJA65sbTELS27UeWV VnTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=PJWCQCab; 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=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 8si7025084oix.109.2020.02.17.14.27.54; Mon, 17 Feb 2020 14:28:07 -0800 (PST) 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=@alien8.de header.s=dkim header.b=PJWCQCab; 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=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726002AbgBQW1m (ORCPT + 99 others); Mon, 17 Feb 2020 17:27:42 -0500 Received: from mail.skyhub.de ([5.9.137.197]:37418 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725829AbgBQW1m (ORCPT ); Mon, 17 Feb 2020 17:27:42 -0500 Received: from zn.tnic (p200300EC2F060D003890503FBB74C433.dip0.t-ipconnect.de [IPv6:2003:ec:2f06:d00:3890:503f:bb74:c433]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 3229E1EC0CBD; Mon, 17 Feb 2020 23:27:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1581978461; h=from:from: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:in-reply-to:in-reply-to: references:references; bh=/FJJbCDOjUUmIUjMyPfoaIaLPNSqF3CmeICmYvc3W8g=; b=PJWCQCabxkS21RV5mj+zPgHQgLexge4YBqr7R8AD+YLRwOAvyYvku5qXJ8loni+8xdPqIF iEI0W3bu7pKZz3HQKdmOU86GIHPiFTA8dRp0eQ5J80okED4X25EGO0ay7C80fDNxfMMhEG 2y9wv30+YrPL2ZQkTtmCX/7oUppDgYM= Date: Mon, 17 Feb 2020 23:27:36 +0100 From: Borislav Petkov To: Andy Lutomirski Cc: "H.J. Lu" , linux-kernel@vger.kernel.org, Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , x86@kernel.org, Yu-cheng Yu Subject: Re: [PATCH] x86: Don't clare __force_order in kaslr_64.c Message-ID: <20200217222736.GG14426@zn.tnic> References: <20200124181811.4780-1-hjl.tools@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 24, 2020 at 10:24:19AM -0800, Andy Lutomirski wrote: > Why does anything actually define that variable? Surely any actual > references are just an outright bug. Is it needed for LTO? I think the answer to your question is at the top of arch/x86/include/asm/special_insns.h -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette