Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp728102ybz; Wed, 22 Apr 2020 06:59:32 -0700 (PDT) X-Google-Smtp-Source: APiQypIxuDXWq78ubvqpyuSRqQeTJMt+Y91FOPT+ouL4wNhhurJxePVspw8Iqfg8qqdqLENP0Ahu X-Received: by 2002:a05:6402:22ea:: with SMTP id dn10mr14090442edb.70.1587563972372; Wed, 22 Apr 2020 06:59:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587563972; cv=none; d=google.com; s=arc-20160816; b=e8kU2avWKEEbqzd8a0+I8AqALfQTDs1L6jlmR6/qZEuscnpd1d6YIYhC542utLFY3Q /jOSCR0be7OwncCMz31JmPLMTWg+l7d8i2pk/XuPWTfkLYfxW/Enwx23knIZePLwxgTa TLGO4Qk9JXx8CgEGlkgNXKMf4K2W/0F6LlEun34PQ2K6PidPAQONneQ4UY898C7obuX2 vcZpY2oje13G5VbOTxjYt7cLzhlLuzg02uSAVc2xQ8da1KDAzU5Jg/vcAOLH7SEmUBMO qchhq4jiRJIw2XSGH7tMYnZN5zW5rmB8dVXsM7p7k6BzWjezNdOBA8vx84he5mQuIDMM Z5hA== 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:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=YpE39E0ldMec6QTYNVZpMsjRjumdc9ypXwrtK5zGWF0=; b=Xn+JOaaqql6gB1XOfchx9hn7z9bnWZuf7Brsf1XmCNruMBNUYW37A6xldCb1MqHDfn Y24otbl9Y+yNIaJ9CPeVByyC/2kgcMycCS3ts7MdviU3USdQmBOnqJ2jXjBnSiKdWW4W x87ZzDoMSE/EHCRqLVliVcNuzniGkMq2ljXuGDy1I1+u7QRIzaj7HqsXpaqu5nLf8WbD yGzCS813jdaeMvrduRen6PxRNAZqH1DMm7ehO2fmptzPawidfJ72ZZk53S0BPE4/UZwt PBAYh++3Qa35WXfDDpptoz1dwepUz1WhnRBBVXVjygV8DOTAIY5GaedtlFaZmnSOiB+9 sEDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ThmfsWXy; 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 b24si3380363edr.338.2020.04.22.06.59.09; Wed, 22 Apr 2020 06:59:32 -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=ThmfsWXy; 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 S1726584AbgDVNzt (ORCPT + 99 others); Wed, 22 Apr 2020 09:55:49 -0400 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:49778 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725810AbgDVNzs (ORCPT ); Wed, 22 Apr 2020 09:55:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1587563747; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references; bh=YpE39E0ldMec6QTYNVZpMsjRjumdc9ypXwrtK5zGWF0=; b=ThmfsWXykufRfp+xnzqN6oPz7XJ5HnjhFmH4wY0x2dLtM0yUeU3Iuh/knCw5kzWhpadhgC SB3MNL5FAD5+59nKXe0/UiSFd9ZWr4ciHNI7ykZ7UCqsjj47hCaCcHWbRvq69DHBapDcKw DpGyNpkj2OhGNVvvXK90fGhmACSrenk= 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-31-Y9yhyo1ROQeyrZpss2vJew-1; Wed, 22 Apr 2020 09:55:44 -0400 X-MC-Unique: Y9yhyo1ROQeyrZpss2vJew-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 054C318C35A0; Wed, 22 Apr 2020 13:55:42 +0000 (UTC) Received: from tucnak.zalov.cz (ovpn-112-104.ams2.redhat.com [10.36.112.104]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8D5FC5DA82; Wed, 22 Apr 2020 13:55:41 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.15.2/8.15.2) with ESMTP id 03MDtcqP019898; Wed, 22 Apr 2020 15:55:38 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.15.2/8.15.2/Submit) id 03MDtVop019897; Wed, 22 Apr 2020 15:55:31 +0200 Date: Wed, 22 Apr 2020 15:55:31 +0200 From: Jakub Jelinek To: Borislav Petkov Cc: Peter Zijlstra , Nick Desaulniers , Michael Matz , Sergei Trofimovich , LKML , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Andy Lutomirski , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , clang-built-linux Subject: Re: [PATCH v2] x86: fix early boot crash on gcc-10 Message-ID: <20200422135531.GM2424@tucnak> Reply-To: Jakub Jelinek References: <20200417085859.GU2424@tucnak> <20200417090909.GC7322@zn.tnic> <20200417190607.GY2424@tucnak> <20200422102309.GA26846@zn.tnic> <20200422114007.GC20730@hirez.programming.kicks-ass.net> <20200422134924.GB26846@zn.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200422134924.GB26846@zn.tnic> User-Agent: Mutt/1.11.3 (2019-02-01) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 22, 2020 at 03:49:24PM +0200, Borislav Petkov wrote: > On Wed, Apr 22, 2020 at 01:40:07PM +0200, Peter Zijlstra wrote: > > You haz a whitespace issue there. > > Fixed. > > > Also, can we get this in writing, signed in blood, from the various > > compiler teams ;-) > > Yah, I wouldn't want to go fix this again in gcc11 or so. That's why I > wanted the explicit marking but let's try this first - it is too simple > to pass over without having tested it. If virtual blood is enough, AFAIK GCC has never tried to accept volatile inline asm (asm ("") is such; non-volatile asm such as int x; asm ("" : "=r" (x)); could be e.g. dead code eliminated) in the statements between function call and return when deciding about what function can be tail-called or can use tail-recursion and there are no plans to change that. Jakub