Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp326365pxu; Tue, 1 Dec 2020 12:13:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJyFo07nqbqa17h2s2U+qrWgeeRapV5D6YDeV6Q+fZ78dro1mcKOmbVRqjYEp9za4fWhM00p X-Received: by 2002:a17:906:1294:: with SMTP id k20mr4763744ejb.404.1606853611220; Tue, 01 Dec 2020 12:13:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606853611; cv=none; d=google.com; s=arc-20160816; b=x1chbkWLc2YHrberLU+HJAe4bfFSmADqnyd2kjAl6RDzND6sRimGtdzhsIEzd/6fsO H4vkObyk8WX7LG/HCBNO/RQ86cWPK1TJaTK3dW0Fq6xL4nAALQeRbQx0kkRrMKcSILGN zcTb7UlbNLeQeQzW8C2UnmQgvO91a0kesvQjy/vTH7qbLn+J+6CHhPjqiUsZtGojZjb7 yEP6ndwzAJdcUx272dmo7QaUNbp4PEarIleDQcXLm6pmW8UjBZoR15WIj/S+uhGqEB5O DbZUHyUdozUblGqKMf8ZnUkZT7iS92u1rS+HNz17RXV2gxeHpzSH4BS5ONI5CLLoOJZg nmEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Tl7NwbCgPB4FUQziRcqAk5bwi9HxMdhHj333bo2TW/M=; b=vS2/4jT9QaoL7iJcpNH6ve6xIUH274cF6/IV7DiQjQ64BXEmOgMPHFVLWzYufexJrz 6i/OQjeIoTaJT5BDXFPdt/q/Gl7lrbJ5Bz2Q2SJu5/1kTT0oCFF69S4SVt9nRFfTckL/ sLzJVT4u9h4qh3f6wLkek7NgEvVouL/pLqCIg1UhC6DORqI8wPly2GpLOOQf+vRCuxEn qGdpzhyRabhc6WvV+MkNrWixC/FD7jOOrGfNCVUua0Ger7R37dsjuCzrWrsO2tU07+ZA SAHV8UezE9gKgRX1qMjGAqrs8cY2o+eFFUDSDwgtKWQBWvh3xUPB459et4IWvSTDvWoY 07uQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=MNqqTk+8; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dx19si568270ejb.535.2020.12.01.12.13.06; Tue, 01 Dec 2020 12:13:31 -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=@google.com header.s=20161025 header.b=MNqqTk+8; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390824AbgLAUK5 (ORCPT + 99 others); Tue, 1 Dec 2020 15:10:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727992AbgLAUK5 (ORCPT ); Tue, 1 Dec 2020 15:10:57 -0500 Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFAA5C0617A6 for ; Tue, 1 Dec 2020 12:10:16 -0800 (PST) Received: by mail-pg1-x541.google.com with SMTP id e23so1841467pgk.12 for ; Tue, 01 Dec 2020 12:10:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Tl7NwbCgPB4FUQziRcqAk5bwi9HxMdhHj333bo2TW/M=; b=MNqqTk+8wQFzYwHDIulSC0n0tpuXsS4zGpNUpp301624jzL/9+PsDGtaaaNW2AuMQo hvEXWv2j/J1rgvntkFh37d7nx4nBjCoWRtgU6s3b3mw1eJVCdLRKUHbByJbdYN3Szid5 2gn7jq7wNLxOd6WaMsugKlMP9pZkhQ29rR4SmfOU0AwFtVEWa5DH7xv9j3lGpwRTRJeJ E4zCKTiA4HBVAlTfZMML+8L4p/h1INeaUsVGALltQ5J1R2CbkfhbuUxND0SCju18LLay vCDAvEEKE6/1ND/wQ7MidfcxC7x/Exf0daMu38OzJ/UzegmheFEbcO2P3DECNu6/b0Nz ERCQ== 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; bh=Tl7NwbCgPB4FUQziRcqAk5bwi9HxMdhHj333bo2TW/M=; b=prZOFgsgcb8c9mBS9Tnn4SnmdRZ8qbgj91wCqCz97bgpaJqRPMxNJj7XIzZQSPtwfX jYfPIhUDR6gynDul29Zt5Amkbovv7O/b2UXHcfYQBCqaiF0VUz2MQ5CUYGF/243Lp8mS e+/u6ENPpBOY/rxAm0KY5L/E2iP+XghakxGWwwtAFc+xN3zCyQ3xjj2dNC6560uAOhp9 Qo0CGGRoh9JU+MYJDEcJiJjJofWvRtpvGFWdVnRIVE67OBhV0AlLAfwNHth2502XM/me UBoNWa1BoUfC4wnnciZJHxv2jdIOM+GhBM1jwwNCgUuzPiQmXAGACk2fBZfatWJm2JZX c58A== X-Gm-Message-State: AOAM531AocCUUta7tTDpmSRTdQ4AK9bEplyDgutKHwD7r+D/r9HNM1kD 3snqpuS4PGkW42LcMgDOJI4PUn84R89rZPtt8QA6/A== X-Received: by 2002:a63:a902:: with SMTP id u2mr3776969pge.263.1606853416126; Tue, 01 Dec 2020 12:10:16 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Nick Desaulniers Date: Tue, 1 Dec 2020 12:10:04 -0800 Message-ID: Subject: Re: [stable 4.9] PANIC: double fault, error_code: 0x0 - clang boot failed on x86_64 To: Greg Kroah-Hartman , Naresh Kamboju Cc: linux-stable , open list , lkft-triage@lists.linaro.org, Sasha Levin , clang-built-linux , x86@vger.kernel.org, Matthias Kaehlcke Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 1, 2020 at 12:19 AM Greg Kroah-Hartman wrote: > > On Mon, Nov 30, 2020 at 12:12:39PM -0800, Nick Desaulniers wrote: > > On Wed, Nov 25, 2020 at 10:38 PM Greg Kroah-Hartman > > wrote: > > > > > > Is the mainline 4.9 tree supposed to work with clang? I didn't think > > > that upstream effort started until 4.19 or so. > > > > (For historical records, separate from the initial bug report that > > started this thread) > > > > I consider 785f11aa595b ("kbuild: Add better clang cross build > > support") to be the starting point of a renewed effort to upstream > > clang support. 785f11aa595b landed in v4.12-rc1. I think most patches > > landed between there and 4.15 (would have been my guess). From there, > > support was backported to 4.14, 4.9, and 4.4 for x86_64 and aarch64. > > We still have CI coverage of those branches+arches with Clang today. > > Pixel 2 shipped with 4.4+clang, Pixel 3 and 3a with 4.9+clang, Pixel 4 > > and 4a with 4.14+clang. CrOS has also shipped clang built kernels > > since 4.4+. > > Thanks for the info. Naresh, does this help explain why maybe testing > these kernel branches with clang might not be the best thing to do? On the contrary, I think it's very much worthwhile to test these branches with Clang. Particularly since CrOS is shipping x86_64 devices built with Clang since 4.4.y. This looks like a problem that's potentially been fixed but the fix not yet identified and backported. It would be good for us to identify and fix the issue before it becomes a problem for CrOS. Though, it looks like CrOS just skipped 4.9...? Looking at: https://chromium.googlesource.com/chromiumos/third_party/kernel/+refs I don't see a chromeos-4.9 branch. That said, I still find such reports helpful to track. -- Thanks, ~Nick Desaulniers