Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp955633ybb; Wed, 1 Apr 2020 12:47:20 -0700 (PDT) X-Google-Smtp-Source: APiQypIhGrvtKiJeUFUSeOqPfJ8du9/1PFFudVaT3k+3nmeEA3nLYxxaSvJfPE6Z+L9YjXcjk5SM X-Received: by 2002:aca:2209:: with SMTP id b9mr4175283oic.103.1585770440440; Wed, 01 Apr 2020 12:47:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585770440; cv=none; d=google.com; s=arc-20160816; b=TbhNZs/TatXN/VERdNV98ZFwLUotmyyTPxemVEdGzcrNzNwYtOMEr+j73MKWzrex+a +KHX6GTzuctwuFSffy7V18LbOUk/y7M3kP5u7aFgw53lGQfpnKNefydchM89IFYCzSBv tXtkEkvtgiZylFjdxBcjzijc226KpknBlcDHzzbBWjvM01Zu4rk52quPfS00gxtOFCqJ 11ggX3UEpl0E/9SD/iqF0cu09sS1qqI3G9LcOQY1KpSYFbeeDjXU9nFyveMb6mOdwFCh VT92NR9cPjAZXA5CTnkYuA/Ywu3YV6hy9VTwwH3ce0wAYM9QOVkZByOlCks5jqt7U7oK qeXQ== 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=dMitRcdeMSgR41kZoY5zsFRfUziC2C0G3PVuFqFOiLI=; b=Zn8tarhRcSDYLR+bZDsmO6oK79bY9H0emM+2z0g5GwbH180P04O+/gUCXKJVkdZiiW MRALaBwmsPiGZ1j2sVBpvDmrxp7fKXxDREJtJBy0qLLZ3JLsZDghnENOL3r1ys/cc/um IjWzRh6j8qwN5e2N0KgJzXYHi/wRDWdW8MlLFM1sFms8syVW48/pvejTR+I8rfAeStmO PuaOImwbKXiKEWnsBiU3XEmYnVH1p5mqYnJzI6ozxwOmSh/E9uFN5PVvDbzo2HzgfboM S9OxqhNcQXqrXO+4zcqSdScJLArnt+Fsp9AzVcsBNv8APFiNjp9hrBsK/dhLTQ5B2j93 cAFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="u/dmKdJh"; 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 u199si1270609oif.110.2020.04.01.12.47.06; Wed, 01 Apr 2020 12:47:20 -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="u/dmKdJh"; 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 S1732314AbgDATos (ORCPT + 99 others); Wed, 1 Apr 2020 15:44:48 -0400 Received: from mail-il1-f196.google.com ([209.85.166.196]:46316 "EHLO mail-il1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732428AbgDATos (ORCPT ); Wed, 1 Apr 2020 15:44:48 -0400 Received: by mail-il1-f196.google.com with SMTP id i75so1158004ild.13 for ; Wed, 01 Apr 2020 12:44:46 -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=dMitRcdeMSgR41kZoY5zsFRfUziC2C0G3PVuFqFOiLI=; b=u/dmKdJhlfmAN2bTLr3r6kTbcyymnzw9e9+YbKgpSsBwe2ATN8zQJ3vxb/yJxpmxmY dLMVNBaWcC7VxA3WZXCOx6dvXRuhXj3nWYJG++B7GV0T3fZoGvPV2dGNM/oMfe9Di5wm uru2cfNrwaJ57UtsUYADY9Rd9RBsLDQtxRttndz9G/w6Lg0vkWRKxw62dwh4LiQShIvc 4OVSVO7seqvcNFTGL796rXFHZKkeM3DEbfWnBIhUxWRPiLGiJUwG9obks03oMW85b0oY yMHerCmf9wrKbYzblUqyARqgnnhaclyhZeCswooOW27VWUHcdHEoSca4sGkBYGd27H5d p9Sw== 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=dMitRcdeMSgR41kZoY5zsFRfUziC2C0G3PVuFqFOiLI=; b=JzA8Wkc871NzLErKbiSt3dT6XEzh+OdWWnZ7rPZo0rh0YSHlp2fiSLGzgi9tntqqTB F5TM5leGDWKg2lhUjczCk/UiMCmeXH+QXeVrJn6Q6CRodJ+1ENpWB3mndUDhBgyd08Xb Ym/1ABqQ6wO6c68aq7or5IBG2LW/SI9PyEJj3Pw8xXeN9L/AbH7jjRnAF0rxzgHqJK25 y39BTi8yiIAVceIhuJPN6V9hT2V38UHtgZpK67jATTB5KBL5UBtjJ9W/0qZ0xPmRf+fl sup4z0NOcW6h+60BCx0K6wL2i7ZI9P5bI8HXIU5VOB1eZUPoAh6yQuPvLvVkOgyuKFM8 Giag== X-Gm-Message-State: ANhLgQ0RHsqzhEnXVE7yQzmbwmw3au5SdVoOIzhzXN5h5g8FC4LP9uuF h+Xu2d09wbCy7gTSl754+FVm/Q== X-Received: by 2002:a92:8cc7:: with SMTP id s68mr23999899ill.268.1585770285630; Wed, 01 Apr 2020 12:44:45 -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 z13sm830881ioh.16.2020.04.01.12.44.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 01 Apr 2020 12:44:44 -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> From: Alex Elder Message-ID: <3c878065-8d25-8177-b7c4-9813b60c9ff6@linaro.org> Date: Wed, 1 Apr 2020 14:44:31 -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 2:13 PM, Nick Desaulniers wrote: > On Wed, Apr 1, 2020 at 11:24 AM Alex Elder wrote: >> >> On 4/1/20 12:35 PM, Nick Desaulniers wrote: >>>> Define FIELD_MAX(), which supplies the maximum value that can be >>>> represented by a field value. Define field_max() as well, to go >>>> along with the lower-case forms of the field mask functions. >>>> >>>> Signed-off-by: Alex Elder >>>> Acked-by: Jakub Kicinski >>>> --- >>>> v3: Rebased on latest netdev-next/master. >>>> >>>> David, please take this into net-next as soon as possible. When the >>>> IPA code was merged the other day this prerequisite patch was not >>>> included, and as a result the IPA driver fails to build. Thank you. >>>> >>>> See: https://lkml.org/lkml/2020/3/10/1839 >>>> >>>> -Alex >>> >>> In particular, this seems to now have regressed into mainline for the 5.7 >>> merge window as reported by Linaro's ToolChain Working Group's CI. >>> Link: https://github.com/ClangBuiltLinux/linux/issues/963 >> >> Is the problem you're referring to the result of a build done >> in the midst of a bisect? >> >> The fix for this build error is currently present in the >> torvalds/linux.git master branch: >> 6fcd42242ebc soc: qcom: ipa: kill IPA_RX_BUFFER_ORDER > > Is that right? That patch is in mainline, but looks unrelated to what > I'm referring to. > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6fcd42242ebcc98ebf1a9a03f5e8cb646277fd78 > From my github link above, the issue I'm referring to is a > -Wimplicit-function-declaration warning related to field_max. > 6fcd42242ebc doesn't look related. I'm very sorry, I pointed you at the wrong commit. This one is also present in torvalds/linux.git master: e31a50162feb bitfield.h: add FIELD_MAX() and field_max() It defines field_max() as a macro in , and "gsi.c" includes that header file. This was another commit that got added late, after the initial IPA code was accepted. >> I may be mistaken, but I believe this is the same problem I discussed >> with Maxim Kuvyrkov this morning. A different build problem led to >> an automated bisect, which conluded this was the cause because it >> landed somewhere between the initial pull of the IPA code and the fix >> I reference above. > > Yes, Maxim runs Linaro's ToolChain Working Group (IIUC, but you work > there, so you probably know better than I do), that's the CI I was > referring to. > > I'm more concerned when I see reports of regressions *in mainline*. > The whole point of -next is that warnings reported there get fixed > BEFORE the merge window opens, so that we don't regress mainline. Or > we drop the patches in -next. 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. Thank you. -Alex