Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1123689ybb; Wed, 1 Apr 2020 16:21:53 -0700 (PDT) X-Google-Smtp-Source: APiQypIcAKsl4blIBWixoJ8T6qepNGf4/7lJdifKAXM/VSzuMOnju7UiWS4BYP3tkmNFlnBVyoy7 X-Received: by 2002:aca:3b85:: with SMTP id i127mr264070oia.123.1585783313152; Wed, 01 Apr 2020 16:21:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585783313; cv=none; d=google.com; s=arc-20160816; b=hm0CgilNfqJsJyPR9hnALQu/aXzsW1ooHEQYCVqbM9oIkFQ/BKZZAEd8BTIvSzazFC Im04yhJ3b22KqyooLMocvaF5mhqdXMWj41zEIKH7Pb5Qe/GWbwUUuID0vify4J99t3xY eKPAfgbf6Ra+LuA2Lj+ip+YTsBM0e1NzXTURGsOB8DZSDNYK/KSHnL6Q24hLTO7wgTxo f6sDbAtNX8FpWdPI2c7JJwYJPBr0bGBhqZnj6A5F24rbUUtNGYwe500dw2iyZPYPCpW8 SW/pz8ICXwRj+lqXZHpK4ZOzSHcjEWG4PA/YHeFJ4+QOC2COyIUvRSc6hGGdlh0IjI7x sRKQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=aStNwHGcg4HXgGp/sSqVaH0OjggLXkpoemAa7H6Bkb0=; b=g6zhbAwBqEGhJ/W2ew0R+cx32NWc2XpG1dKp6ORpPQRaPweMn4K5fagnnJe8qvL/IS JLA6pWcuw0nnsJrek80xxjJo6S5Cbc2z5EPlqC0Xns5F0wZ8D3VRET7JhPv56YUVdxKJ 41PB7et6paezbmlG+MDBuJmeWcvWkHJQlfwcV3JdHlgTmmdkP0z4SAvXA6wIdrCn0NXi Zpz55EitjOfFr7czpSSaTjQlBbD6CI0IG1H+D/g5gsZwWJtX4NMv+kmqzPx8uQhGUe7I n9FJS/aOcPBqi4v7rvjOnH9XssCseT0dzEEy9JYwyis5W4xO2PM9VizjOoYox+nGw7Cm 230g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Dn5mU/W/"; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a6si174950ool.29.2020.04.01.16.21.41; Wed, 01 Apr 2020 16:21:53 -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=@linaro.org header.s=google header.b="Dn5mU/W/"; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733173AbgDAXSZ (ORCPT + 99 others); Wed, 1 Apr 2020 19:18:25 -0400 Received: from mail-il1-f193.google.com ([209.85.166.193]:42923 "EHLO mail-il1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732537AbgDAXSZ (ORCPT ); Wed, 1 Apr 2020 19:18:25 -0400 Received: by mail-il1-f193.google.com with SMTP id f16so1731292ilj.9 for ; Wed, 01 Apr 2020 16:18:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=aStNwHGcg4HXgGp/sSqVaH0OjggLXkpoemAa7H6Bkb0=; b=Dn5mU/W/+GRdMM3sDBTNeLnkiFRb44aiL0YQOTntjU8euIcQFhES3L/oeOm6yB5HBU CSSOyEy5QLInpY8AwQGo1wsgahYyQxtjbuyj65M8BaG3zzG+oGp1/w/DrLbXolu6yTa0 HPmC8ADsY5vjV20y5HB0hkOOHJHZWG2x+uyFxKL9w0uc9x0ttsSN/EqS0jLy+U9j6VmE ADgrnsI372y7EiFFnB+ELkTKx6NlLQweK85wf6oLvY1pkc0QaiL+5waFQlm8V8+/Ooz/ cKv5MLodezEM8O9O2GwczBvLZlh6+3iIMq6fA7n4H7pUQOWNJI2kHrIzBM8D6qcKDuR2 raPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=aStNwHGcg4HXgGp/sSqVaH0OjggLXkpoemAa7H6Bkb0=; b=EEauClJkPu7YIFUsa0ED1iqYp2xDlqV13XxGCUg9oQc+WA+8YMj0tMMjpOFR822ory x2i5WhxofB6qoxYw+izNt4g5GoViTvGJKH6AcU9Cs7qOc0GZNnCeuhVufFdE+8HlZCVa KeDvmIRY9inEhUKl24XSdF8bDvcxRWLMYdoTrQB6lsT+s54Rc6TDjFxSewZvvlark2jq 8/oPGjI1hR/orUCzLqmRZUa8nWzc4r1GN6g6lv3Zrv+eK4fm1+cw7d9Qf0E07qJ2YJm9 ArYP5Kzj6inFCkofmbsBDpju69ualoMZsezri1Msquo5D0u68+RaPV5hq84HotdDwbOX 876w== X-Gm-Message-State: AGi0PuapcWTAHjHUhGo5JOIa2sK2/NvPEgBmOVAGNQ3jYL1UuiVvUzsv EqbRYshyzSFjcJZUbXQyKygfzg== X-Received: by 2002:a92:d108:: with SMTP id a8mr443859ilb.107.1585783104162; Wed, 01 Apr 2020 16:18:24 -0700 (PDT) Received: from [172.22.22.26] (c-73-185-129-58.hsd1.mn.comcast.net. [73.185.129.58]) by smtp.googlemail.com with ESMTPSA id p76sm939011iod.13.2020.04.01.16.18.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 01 Apr 2020 16:18:23 -0700 (PDT) Subject: Re: [PATCH v3] bitfield.h: add FIELD_MAX() and field_max() To: Nick Desaulniers Cc: Maxim Kuvyrkov , Arnd Bergmann , Bjorn Andersson , "David S. Miller" , Johannes Berg , Jakub Kicinski , LKML , Masahiro Yamada , Nathan Chancellor , Network Development , Alexander Viro 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> From: Alex Elder Message-ID: <5635b511-64f8-b612-eb25-20b43ced4ed3@linaro.org> Date: Wed, 1 Apr 2020 18:18:09 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/1/20 5:26 PM, Nick Desaulniers wrote: > 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. This is similar to the situation I discussed with Maxim this morning. A different failure (yes, DTC related) led to an automated bisect process, which landed on my commit. And my commit unfortunately has the the known issue that was later corrected. Maxim said this was what started the automated bisect: === +# 00:01:41 make[2]: *** [arch/arm64/boot/dts/ti/k3-am654-base-board.dtb] Error 2 +# 00:01:41 make[2]: *** [arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dtb] Error 2 +# 00:01:41 make[1]: *** [arch/arm64/boot/dts/ti] Error 2 +# 00:01:41 make: *** [dtbs] Error 2 === > 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. Thank you for following up. -Alex