Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp648573rwd; Thu, 18 May 2023 01:49:09 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4ercZvNfwcmfL7NQ1aztySkK24BbIUr8ISLAi/frTeQbrDqOwbeZ+qK9tL2rjpcv+3AsKt X-Received: by 2002:a17:903:258f:b0:1ac:7b13:de71 with SMTP id jb15-20020a170903258f00b001ac7b13de71mr1957746plb.37.1684399749503; Thu, 18 May 2023 01:49:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684399749; cv=none; d=google.com; s=arc-20160816; b=Vocoy7952qefSqdVD+4R0f5vHOY4StOZ+FDrksFXBS259nKI6xnT1DG+VlYiHdd2Kq v9NxwAJRF9a6UQIDR/dk5AuJDQ3kvEBWo4lBsBRRcPkxxnbcxnxcW6pRoKxWdaavCGXS txpoquwoKmt9PxhVr0z053gNYKAWA5C7sGNn3pznl8JDOTVF0EPib+LM3jeLRpxfYlkO BqqJYgdTkyVwPvdqqNSKTEzGrxyQnXkyFju4pZhcPx4El1ph9EhMLOYQWVBw1fks6iaZ 2fCwN1GrLvAV2NXgHQ2klArOoaZFr5/zHlZoEhvofCTjNX8S0xGM4cjcfiTfQzVy57Yu Wglg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=vJlrBazb5W6pvqAkGpSmYAQfm9m/AW9wlnqOl8N63jA=; b=JZDrujRouNANhL48V7Zv5ft13Aoop5FpEDjKOk3nPa6w6tWXnw9RubgXWZeey46vt/ R/y1f6F2jmLJ4QK0yLPANTZDGcIjl1Pufh3kCzvyQMOM8zQ3x+48PZYgkSaSCyZnPOl2 cLcN7EnABxS/TM6Y4AoGb5qO1d3XqnD0Jc1AGXC5TXLaUXhPmEnqbH/XIW7tUgiiLg9+ vZULD3zzBRjIN3Y2ITsRdion2ra2hXO/VqQDosne7T9LH0o6d2ucANGuqI+UMSxWquEj xfso5g+U7w7L0xXCRBCBCmp5qtcqwd8Qk4qlxMqLn+aQsBIBKn/3clEoYMpDMlwKIYcf zQGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aUqQAYgq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d14-20020a170903230e00b001aaf1734d1dsi891558plh.241.2023.05.18.01.48.53; Thu, 18 May 2023 01:49:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aUqQAYgq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S230141AbjERIhN (ORCPT + 99 others); Thu, 18 May 2023 04:37:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229998AbjERIhL (ORCPT ); Thu, 18 May 2023 04:37:11 -0400 Received: from mail-ua1-x932.google.com (mail-ua1-x932.google.com [IPv6:2607:f8b0:4864:20::932]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D13E4198B for ; Thu, 18 May 2023 01:37:08 -0700 (PDT) Received: by mail-ua1-x932.google.com with SMTP id a1e0cc1a2514c-76fd0036c7fso575857241.3 for ; Thu, 18 May 2023 01:37:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684399028; x=1686991028; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=vJlrBazb5W6pvqAkGpSmYAQfm9m/AW9wlnqOl8N63jA=; b=aUqQAYgqVLTDsX91gOAdoeg2c7O+sQtrXK0F3DicTqkElYHBH1hFeJ+UvtNUxL5RGx GAX1pyIyWp6fiEqyj4wBOzLpGQsvntdgNk3bwbKu+lyb3hix47Ds/eEcsremHR/WgBfx NI/xZocGbp+47aWh3VzVI84kVMfcUM5kTT3QMfh59P40S/AlZvbj1NlL1lbQQz3lqcmc f2JuGWDtcNS677keV+s4gvF2SgigYrQDC3j0z8u2Y0EqCFF5Co22j2fJ+EppWujJ1H5G frsm+0hjwsQ8iY7FY0biJqcXaXKS1/d7XxOr5jGwe9JBAoM6RQ2RghRyJ4XPWb6EqIdF EMWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684399028; x=1686991028; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vJlrBazb5W6pvqAkGpSmYAQfm9m/AW9wlnqOl8N63jA=; b=YQRymgVDVSg9vksVmQo7pfBXXVmhVdvCh2YcrSRtXwE8/BZ6qitLJcPM3Bg3IvVAPl JU/VC6ke0fD4FFYzEgCopLL+DDxHN9say0Iz5MSZ5XLQouIinim6MjLJaRKBY53H/rzA sdR4Jjj4SbwW4l9bjBlMnwtVNgHekDLYiFL9bFizHc4lHQ1/5l4uB1cd8AitF8niR4fU klHu3XqCoofrosfX6lI2rY6IdFtNvltII3gRW1WBMzSrU6bafBBCy/3nHqkF7S/dtmQL WKKzXm/rqbzBM0o8+edaZONuV+u1NHjksQkNodpv5n3C5BodQ2gDec5eYey2XlQab509 1vSw== X-Gm-Message-State: AC+VfDw8k7dFN6Q+1Xkq3X0ljdTOZb9FEjIrfZA6aS7kWtrEPw5dPzp1 CnoXhyjXesB2H9CMbBpoXWihMcdFtWsVJUDhCb/OPQ== X-Received: by 2002:a67:fac8:0:b0:42e:6185:8c94 with SMTP id g8-20020a67fac8000000b0042e61858c94mr213833vsq.29.1684399027714; Thu, 18 May 2023 01:37:07 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Naresh Kamboju Date: Thu, 18 May 2023 14:06:56 +0530 Message-ID: Subject: Re: next: i386-boot: clang-nightly: failed - intermittently - BUG: unable to handle page fault for address: 000024c0 To: Nick Desaulniers Cc: x86@vger.kernel.org, Peter Zijlstra , Borislav Petkov , open list , Linux-Next Mailing List , lkft-triage@lists.linaro.org, Nathan Chancellor , Dan Carpenter , Arnd Bergmann , Anders Roxell , clang-built-linux Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 17 May 2023 at 23:42, Nick Desaulniers wr= ote: > > On Wed, May 17, 2023 at 8:21=E2=80=AFAM Naresh Kamboju > wrote: > > > > Linux next-20230517 build with clang nightly for i386 boot fails interm= ittently. > > Keyword: intermittently. That will make tracking this down fun. > > Our CI also hit a boot failure on tip/master with the same splat: > https://github.com/ClangBuiltLinux/continuous-integration2/actions/runs/4= 998374271/jobs/8957285746 > Though the CI pulled down a SHA > 0932447780e1f9a43bf68ef7fe3d9b41b46d58fc > which looks weird on > https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=3D= 0932447780e1f9a43bf68ef7fe3d9b41b46d58fc > >> Notice: this object is not reachable from any branch. > > That this failed in -next and -tip in the same way makes me wonder if > something affecting this is coming in via -tip? Maybe the splat looks > familiar to x86 folks? > > I haven't been able to reproduce locally when my machine is relatively > load-less. If I do a kernel build in the background, I was able to > get QEMU to hang, but without any splat. That was using tip/master @ > f81d8f759e7f. > > Naresh, when you say "intermittent" do you have any data on the > relative frequency of this boot failure? (Also, please make sure to > use llvm@lists.linux.dev in the future; we moved mailing lists years > ago). Noted: It is reproducible only 3 times out of 100 runs. > > Looks like our CI report linked above has an additional splat though > via apply_alternatives and optimize_nops. > > >> [ 0.166742] Code: Unable to access opcode bytes at 0x36. > > Peter, that smells like perhaps either: > commit b6c881b248ef ("x86/alternative: Complicate optimize_nops() some mo= re") > commit 6c480f222128 ("x86/alternative: Rewrite optimize_nops() some") > > Looks like BP committed them May 11; maybe just recently they were > merged into tip/master? > > > > - i386: boot/clang-nightly-lkftconfig - failed > > - Naresh