Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp775469pxa; Wed, 5 Aug 2020 12:27:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyn95hrRF2+P1rpimGa+FyXsAzyRKfvT65JVoY+jn/MOw6rDdY0dWWFRaH91svSSaGf8mm8 X-Received: by 2002:a05:6402:b26:: with SMTP id bo6mr816465edb.104.1596655624282; Wed, 05 Aug 2020 12:27:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596655624; cv=none; d=google.com; s=arc-20160816; b=KgY3w957QqtMUNTW7FMoDFEWrrvVtylkKam11mruFmX6Ys3ZDAZuCUAD5J6b8KL1Nn yT0o0eULGEspQ+VkGi8N+/OpugPZgdf2s7S+dcH52C8M3cevFuCbum4m+An74zGy329A 46JngpD1S1cKXNGox1hK0mklmk0l/+x0I6exe8jJOMV5+pwYm2yuepfflHC2ol4fMbzC DUylYh+nxlMUevMI4YJZaf1NjR7QVlyd2fQ/IFWG4h8CFd5CgdxU02Ha9OaZ36+EPzjI QGT1FesE9gSTbNptoHJan0qFVmzaxFgdRwR60ckmC71GYeLVzr2W89zcWBUJqxoMJ0rY /04A== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=r9p1250UjzzVY01/1Vj9Qr0UbfbQH5yUpRo8ZxWHA8Y=; b=BhitYLCQIRMm90ftxrsFNB4FgjVZFFQhU5fWrjs7Q5qVsaKi6QK23dxT8DCBWYf7fY dqzoupQ25EFbzN2tuV682ifZrQ7GnmRAypWUhPPgKDSSMMK5uy36R2jRO1ibQnwyw04Z mEwLOZSpcPPuwN07E/u9xpFGNG+z2hutxfyFABIS6vqF1eFfxE1niqvTfQaUx3nP6v1T e/YeqJ3RkbzAWt4t9C6mzuIkNhfpe9PBwaB18N3y+YdaKOtNLEA8Vy6f23Eq9AFJvI+T ErogH7cuQsIII6QTcxSMKLw1PO4qBKi+t1ywrgciswtT1mTeAm7F2oRmG3XP6Fe0SdjI 7TxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QpAeZz4Z; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e2si1837998ejj.50.2020.08.05.12.26.40; Wed, 05 Aug 2020 12:27:04 -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=@linaro.org header.s=google header.b=QpAeZz4Z; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728068AbgHET0g (ORCPT + 99 others); Wed, 5 Aug 2020 15:26:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728183AbgHET0a (ORCPT ); Wed, 5 Aug 2020 15:26:30 -0400 Received: from mail-oi1-x243.google.com (mail-oi1-x243.google.com [IPv6:2607:f8b0:4864:20::243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4507C061575 for ; Wed, 5 Aug 2020 12:26:29 -0700 (PDT) Received: by mail-oi1-x243.google.com with SMTP id z22so10051643oid.1 for ; Wed, 05 Aug 2020 12:26:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=r9p1250UjzzVY01/1Vj9Qr0UbfbQH5yUpRo8ZxWHA8Y=; b=QpAeZz4ZcD3ILEIVu1SjzSNPjeiCdcwiT3e+D1LCoTOp0piHaCyb0xtpHwZkV3Xu/L mRuUkva02Hndsc+r6kMiGL91YtTmqh5ePG1dy3SiUpUERbp8eHDXAm6pLqfcRtPXvL75 3HAW9FY0D8QzTI4wbv4wK67+YcFE3wq8k2hEJ0onqfGCj3iinkKt+x7JAPg1rKIp8bFq pcGAiJ3vUf1X+eIjB98q5xYR+mP3ykzwngmbTLtx5Vxe5DEBvrJwTcOPLh3g975lXXla QoFlpAWwjdTY18smAdBgtZmcLtjn8YLcJ9iK3tDTDhoW2cG5jzp/L+AZh0cZ/MugDR7L znxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=r9p1250UjzzVY01/1Vj9Qr0UbfbQH5yUpRo8ZxWHA8Y=; b=X0Qh3F5vhrEBiWdzPZHjbrFE5s3R0JD5VSVr/NgFtSQdt1qCnz9m00EU+ph/6KcGBg OVN2e5bFF9yiwvJx6jnR3V0cFHrJGxyKuOIY8p5CG4TkY3hLz9UQqK08zHZjI4InJRWK jEj5KWfdVoum0OelGpdsiZi+9HnS0fz5bm4LkWsyi1WIXha8MPoWi/PPaqtsk472Ehsr 0zwIjrw3Hc+zaVP0f+BKgJy3CVgsePPCjHedPeEQRVrQ1RwI9G4LYUKMuJURGcps+YzP dDWoKYVb+lrQfib3Wd2qlMIUYi34AxDUxVIuwGxIJLngxEls+vK0/rslV08b6VQPZMdr e2zg== X-Gm-Message-State: AOAM530gM20RI4O84pb7Khozpb6uDRJjejig6/NIL9V4K+2LL6xByMAm C8PClx33h4yDshf8Gc93KIculPlXNjHvHivGOtQQZQ== X-Received: by 2002:aca:d595:: with SMTP id m143mr3883997oig.11.1596655589299; Wed, 05 Aug 2020 12:26:29 -0700 (PDT) MIME-Version: 1.0 References: <20200805153506.978105994@linuxfoundation.org> <71a132bf-5ddb-a97a-9b65-6767fd806ee9@roeck-us.net> In-Reply-To: From: =?UTF-8?B?RGFuaWVsIETDrWF6?= Date: Wed, 5 Aug 2020 14:26:17 -0500 Message-ID: Subject: Re: [PATCH 5.7 0/6] 5.7.14-rc1 review To: Linus Torvalds Cc: Guenter Roeck , Ben Hutchings , Grygorii Strashko , Greg Kroah-Hartman , patches@kernelci.org, lkft-triage@lists.linaro.org, open list , linux- stable , Marc Zyngier , Andrew Morton , Shuah Khan , Willy Tarreau Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello! On Wed, 5 Aug 2020 at 13:37, Linus Torvalds wrote: > On Wed, Aug 5, 2020 at 11:24 AM Guenter Roeck wrote: > > > > Same with older versions of gcc. I don't see the problem with the > > mainline kernel. > > https://www.youtube.com/watch?v=3D-b5aW08ivHU > > > I think this is caused by more recursive includes. > > arch/arm64/include/asm/archrandom.h includes include/linux/random.h > > which includes arch/arm64/include/asm/archrandom.h to get the definitio= n > > of arch_get_random_seed_long_early (which it won't get because of > > the recursion). > > > > What I don't really understand is how this works with new versions > > of gcc. > > Is that the only place it triggers? Yes > Because the trivial fix would be something like the appended, which is > the right thing to do anyway. > > Linus > > diff --git a/arch/arm64/kernel/kaslr.c b/arch/arm64/kernel/kaslr.c > index 07c4c8cc4a67..9ded4237e1c1 100644 > --- a/arch/arm64/kernel/kaslr.c > +++ b/arch/arm64/kernel/kaslr.c > @@ -11,8 +11,8 @@ > #include > #include > #include > +#include > > -#include > #include > #include > #include Tested-by: Daniel D=C3=ADaz This patch works fine. Built with gcc 7.3.0 and glibc 2.27. Greetings! Daniel D=C3=ADaz daniel.diaz@linaro.org