Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1082691ybb; Wed, 1 Apr 2020 15:29:09 -0700 (PDT) X-Google-Smtp-Source: APiQypL/Tf74L7RGnu5o2IJ1iF35yt0TAUzmEBPOjvhQMqcx6qEC6bk3J8nkgqIT3hCa2Q/mWcF2 X-Received: by 2002:a4a:e78b:: with SMTP id x11mr401559oov.45.1585780149652; Wed, 01 Apr 2020 15:29:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585780149; cv=none; d=google.com; s=arc-20160816; b=1J92N+ySz2O473nias0Azoqdaecyyd2kPoneR5Ciy67TVfDhFEnDuVdjonI/NwQUwR WAkhyYLA5+gZ9OQkOzFtYIT0Hu7d7dZKdvD/g6J6GTbcsANUD/gBemREXgOvCFKnR3EQ dZ0Z4Qr0mERjhHrtRJCs1glDMhs7KN6YBBEf+wi68KwLaxcr99SCKOrcH1OOmH5hzG3V H1jZPm3Y7/e8ctCfKe18wC1iT8enPHWJFW/4c0O0CSnkxj+TmhsPNTQTuzDShLoIqznk 4aOmFXTBpIR6OA0G/m9zKr/uCnHqIRn5NszM2vJiYl1d2h38dV7tDeDXofevkWhoFjGQ YD1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=/5I5n44oluC7i5iMGc1kCApSIMH8aU+TEHJYNftWu74=; b=VlY7dAaTTRKOWzS6AWjzqQMzwpCbZaUOTx9P1p588CgzqTfS4Oi9mG7S7voeCiFCHS uDOvivYQsLURI47RIYPB7qnkB2AXUu4m0udolCAqngQtP7LzYxoEYVkH2llR3+rq3XSn VMzWyw1oFh61EI9nQIb3q1AOSFbrJPuHTmXDjpaKObhWZPPI7wmMKYJr/yuI3Of6woUc Wv9KL6QaQFnUbrTbaPArL1TRXAp79oDE1Lspm9PB3Wxma9VdqYk8JYPYbxlAC8/5aJJC 5MnT5rMn03hIohfdrMrQ4FtdmkbwQ9mi6Ih4G9EwzgxAl/KQIQ8aiz2FmNJhGby9Gcwl mVyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=PSwVlgPt; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k3si1456855oib.82.2020.04.01.15.28.49; Wed, 01 Apr 2020 15:29:09 -0700 (PDT) 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=@google.com header.s=20161025 header.b=PSwVlgPt; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732637AbgDAW1G (ORCPT + 99 others); Wed, 1 Apr 2020 18:27:06 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:38678 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732537AbgDAW1F (ORCPT ); Wed, 1 Apr 2020 18:27:05 -0400 Received: by mail-pl1-f195.google.com with SMTP id w3so553094plz.5 for ; Wed, 01 Apr 2020 15:27:05 -0700 (PDT) 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=/5I5n44oluC7i5iMGc1kCApSIMH8aU+TEHJYNftWu74=; b=PSwVlgPtuIY/hJbpB3m2prpdGLQvhpH1sfXsOEzX7CzUuAZ1h/SMVcUjR75F0HJb33 F626YuNjcRK4M1QEgz/Ng7ZDyADmtbfWc3sTyqpSM9ZPyRWssvVUAoF2aRXSVlLEpAHU C00grz1kxYmJOgxOpIqsvDI5AVVRLjvNmz121Q96uUIG4WucrydsJsyqD795OU+A1M0C 4PxbUycDLk2pWZK5osYG1a14Nj3S3qwp57uxvaueuyLA+1+7GtxBxh3Wukisq5wCDtjo ecL5yRbgh1Le8MvvKJ85oOmDFlXclOrCTjs9BnjOLhtFmNhH8OcPQTH3Z4lSTgKMRwbb eM0Q== 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=/5I5n44oluC7i5iMGc1kCApSIMH8aU+TEHJYNftWu74=; b=llDXvmLIWIoQfjSVxyWU6OLi4/2UsQAc2TjOuoBsMwrqMEyq//qfwZ6jJ5RRT5WZwi 6LMl9On6b8/YUrrr/Zro7e0YIQTMhWj7Dit51ArYUqjlS4c44TsesiA0WZSdnEdJaJfl ptuVkzV9z5IQwxBDaDatTkK+Dbn7tFre529NbVJKXPuUFAvmnURRJLEojZF4gBg9wReC I5b7v0wGiN2frgYzN5xuyc88DJm+buYMb8j5SSTNE9q8L3MLJuBioE2QBjiebLHAj0zE /XSFsXeeoJJR/bVptB7K0y/Pz3xdLPw9aORcgYNyWsVmsuLveIjjPGmhws+iAHvotPAq ce5w== X-Gm-Message-State: AGi0Puboae/odOJTSjDJQmbtQ9kL1sTCKXYCXGlYGbcqY/qtJBi2OvS4 kdHx1LCIwO7sBn5OJHckeY+FAMmRettmYvH/Qy/H00KT7j0= X-Received: by 2002:a17:90b:230d:: with SMTP id mt13mr247965pjb.164.1585780024565; Wed, 01 Apr 2020 15:27:04 -0700 (PDT) MIME-Version: 1.0 References: <20200311024240.26834-1-elder@linaro.org> <20200401173515.142249-1-ndesaulniers@google.com> <3659efd7-4e72-6bff-5657-c1270e8553f4@linaro.org> <3c878065-8d25-8177-b7c4-9813b60c9ff6@linaro.org> In-Reply-To: From: Nick Desaulniers Date: Wed, 1 Apr 2020 15:26:53 -0700 Message-ID: Subject: Re: [PATCH v3] bitfield.h: add FIELD_MAX() and field_max() To: Alex Elder Cc: Maxim Kuvyrkov , Arnd Bergmann , Bjorn Andersson , "David S. Miller" , Johannes Berg , Jakub Kicinski , LKML , Masahiro Yamada , Nathan Chancellor , Network Development , Alexander Viro Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 1, 2020 at 1:21 PM Alex Elder wrote: > > On 4/1/20 2:54 PM, Nick Desaulniers wrote: > > On Wed, Apr 1, 2020 at 12:44 PM Alex Elder wrote: > >> > >> Can you tell me where I can find the commit id of the kernel > >> that is being built when this error is reported? I would > >> like to examine things and build it myself so I can fix it. > >> But so far haven't found what I need to check out. > > > > From the report: https://groups.google.com/g/clang-built-linux/c/pX-kr_t5l_A > > That link doesn't work for me. Sigh, second internal bug filed against google groups this week...settings look correct but I too see a 404 when in private browsing mode. > > > Configuration details: > > rr[llvm_url]="https://github.com/llvm/llvm-project.git" > > rr[linux_url]="https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git" > > rr[linux_branch]="7111951b8d4973bda27ff663f2cf18b663d15b48" > > That commit is just the one in which Linux v5.6 is tagged. > It doesn't include any of this code (but it's the last > tagged release that current linus/master is built on). > > It doesn't answer my question about what commit id was > used for this build, unfortunately. 7111951b8d4973bda27ff663f2cf18b663d15b48 *is* the commit id that was used for the build. It sync'd the mainline tree at that commit. > > the linux_branch looks like a SHA of what the latest ToT of mainline > > was when the CI ran. > > > > I was suspecting that maybe there was a small window between the > > regression, and the fix, and when the bot happened to sync. But it > > seems that: e31a50162feb352147d3fc87b9e036703c8f2636 landed before > > 7111951b8d4973bda27ff663f2cf18b663d15b48 IIUC. > > Yes, this: > e31a50162feb bitfield.h: add FIELD_MAX() and field_max() > landed about 200 commits after the code that needed it. > > So there's a chance the kernel that got built was somewhere > between those two, and I believe the problem you point out > would happen in that case. This is why I started by asking > whether it was something built during a bisect. > > It's still not clear to me what happened here. I can explain > how this *could* happen, but I don't believe problem exists > in the latest upstream kernel commit. > > Is there something else you think I should do? mainline is hosed for aarch64 due to some dtc failures. I'm not sure how TCWG's CI chooses the bisection starting point, but if mainline was broken, and it jumped back say 300 commits, then the automated bisection may have converged on your first patch, but not the second. I just checked out mainline @ 7111951b8d4973bda27ff663f2cf18b663d15b48 and couldn't reproduce, so I assume the above is what happened. So sorry for the noise, I'll go investigate the dtc failure. Not sure how that skipped -next coverage. -- Thanks, ~Nick Desaulniers