Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp885099ybb; Wed, 1 Apr 2020 11:25:40 -0700 (PDT) X-Google-Smtp-Source: APiQypKUMd6UhzzzQGxOCm3iMXiqf45Cb8lN/ZWG9uBSxszromQgL2bADs3/MNnlIAY+jkX6JFu/ X-Received: by 2002:aca:c488:: with SMTP id u130mr3920908oif.154.1585765539944; Wed, 01 Apr 2020 11:25:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585765539; cv=none; d=google.com; s=arc-20160816; b=OXh81rTsN+0hlKheaHmCBYtoxFERgA0luyLB1Db/EAgkrAgHZmv+hcEndkNfEMvugw sk8943RlA5/2XpC1jd1ufnxjhJC9SF3e9FK156VHIQ8otl4Cdlon6NOM7XssyxMHWAo+ TDk4lNmytqIkwiJKv2AvmqYhj0kn7220a9GJCsUodEt+MbhYwafdHjU7+DpN/NXGSwV2 Yy+nH7LKaMO3k4mNPohNdZYO4edQ4QMJuWLYGW7ts3twxYVpjkmpnP347kVLBNZXiGVe xOMHhV0MT+/Tfadz/fJKIAvqFjuxQDAZBp+U73YQDJcTSjbWMZi72NNiQiJJJVk/R+pD uiqw== 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=vQ2OyByzCNPUOg0UszgwsKtMo04SQLJBapqaLXtjWnk=; b=oBJn4WckVqeZc3Kr0HA3MYrZlFK4DBvD6zLitTjIcQjiVreBAdQDMRrGbbc0Qq32DP Z57MvT5yx+410QU9FTNkNQtM38PNnALNTqFIEP3R18bDZvJtqpcyQ272lFWRrSDRLQuj vivsAj9jylyVtoH+vwYXdXs61m4rdzKDXhop0u3W0iTYPu4YT5ZNQoQr8YYyfd0mvuq2 cXptt28hDQp1XXkYN8Cmk7BOV4w0qPJJZCN80FPcfk/npZ/dKeGlBVgxMCv/aEG/Zimg hewHH0ELlQN7tSe/R0GXyENuZqM12ZAxopiNZYCKQpiWHoGqEhw0MgyvM10FUW+v26Og o9cQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="k/jEVm8/"; 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 q11si1050355oti.46.2020.04.01.11.25.27; Wed, 01 Apr 2020 11:25:39 -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="k/jEVm8/"; 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 S1733049AbgDASYa (ORCPT + 99 others); Wed, 1 Apr 2020 14:24:30 -0400 Received: from mail-il1-f196.google.com ([209.85.166.196]:36484 "EHLO mail-il1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732842AbgDASYa (ORCPT ); Wed, 1 Apr 2020 14:24:30 -0400 Received: by mail-il1-f196.google.com with SMTP id p13so965902ilp.3 for ; Wed, 01 Apr 2020 11:24:28 -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=vQ2OyByzCNPUOg0UszgwsKtMo04SQLJBapqaLXtjWnk=; b=k/jEVm8/97i0AU5APIrMERozBG0z33+ERySRtF6V3Ed8Q/R1ScSNaPjjpir8Lst9Rb ITEuS3so5umcVLTXlH354yEcgDJhN4Asbt+qhUmiJS+U3wDVVsbqb0sSH06OyotIYgQ5 xi4FoJhjl3siq0lVVaDPhFDSDaUiVsnOfHI7XpcSlYbP1dbRVQYGWrpc/SnQ5ykWKSJN pBPJxbjV5HVphQJRb2rvcy0yOQBZxef59x3c/eHU/0nvSOPURSLjtoMSXGCVgTC0daRP GfMhX/V7fzT7Dwrk1/1KtM83ZC2vFHnZ7FHYB7TkG1wiFMWFWgtoaQ19N0DrwQaWXYyO EUkg== 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=vQ2OyByzCNPUOg0UszgwsKtMo04SQLJBapqaLXtjWnk=; b=uHDSjjVdJTFZQbWylwxRwqbyJmhqlaRU39ci5P1+Lfw1pYpg5pBj37u4ECpXNaBs/5 1NfAt6m6J5Nw9Yi6r6WjLSR/XbJuRhFqZX+R7tjJeOHbTSGEDPVOze8zVZxosNyFExU0 Sln067L9i2f6ytKLt6+PImpV3dpyzFzyktv1S0dAWQHz1gv5e1AbyGG0ADTUyTCeIRdU LNIpgLq/u2hffKS5QKQMVSaKP+Gb8K04sC4uXTcXfBRfAL9/WbZicHHJdMr0g96UPn8f u+fwoVlHdRxFzHodWmS1LZbN2fAAUawvEabYDVtS++TqAEQ3nQZg5jHZrbcNz7cKNspU 2tzw== X-Gm-Message-State: ANhLgQ3p8761b3oXHLn9SFzi6w57QwtHQC6OXiV9cgf0aiT7JByHsdR2 GBUs1id9U36la2uA2heXaTT6dA== X-Received: by 2002:a92:5b56:: with SMTP id p83mr23368972ilb.70.1585765467664; Wed, 01 Apr 2020 11:24:27 -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 i18sm208082ioh.12.2020.04.01.11.24.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 01 Apr 2020 11:24:27 -0700 (PDT) Subject: Re: [PATCH v3] bitfield.h: add FIELD_MAX() and field_max() To: Nick Desaulniers , Maxim Kuvyrkov Cc: arnd@arndb.de, bjorn.andersson@linaro.org, davem@davemloft.net, johannes@sipsolutions.net, kuba@kernel.org, linux-kernel@vger.kernel.org, masahiroy@kernel.org, natechancellor@gmail.com, netdev@vger.kernel.org, viro@zeniv.linux.org.uk References: <20200311024240.26834-1-elder@linaro.org> <20200401173515.142249-1-ndesaulniers@google.com> From: Alex Elder Message-ID: <3659efd7-4e72-6bff-5657-c1270e8553f4@linaro.org> Date: Wed, 1 Apr 2020 13:24:14 -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: <20200401173515.142249-1-ndesaulniers@google.com> 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 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 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. -Alex