Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp207374pxk; Thu, 17 Sep 2020 00:20:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwQ39y6PcbNhG+iPPu3jbfF5q+TEURhLz2ijH/mzixIB9lGuSnB6nEFy2Blhln5r1ocAO5X X-Received: by 2002:a05:6402:3193:: with SMTP id di19mr30914982edb.211.1600327250574; Thu, 17 Sep 2020 00:20:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600327250; cv=none; d=google.com; s=arc-20160816; b=yNpKg6SUSSObPtuIao5+k6zn9yPntGc1gwVmg46BuygSzyXfODz4T6iPMsFHvLWFgw TyOvkMneMm/KVb6eii5qvgbXXtLGG6x99oG3i1spVA0vpuEXZ/DqliPiarmAnj1rLGfM 7PdVQDET7kkqmhYsVGARA/d2aie6e1d/xOudUXKp4pPKPN1dY1IEqbDVSLqsUZ5p8H/k MmN4oYjjKikDmMYq6rHbk7U5wuiafvWpBiIQVnEhjNAb/uQYbQTXE8+p1ySeByh794BK s2HwKSg0vdmHtSe/T+ZP5obdJl/4AXa3dz+mxC79NR1emsklSu/CoOMYa8X8dItmaHPd Hciw== 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=QRIyLtZ6o3VP5j0NQg3mA1t52Fj+F7jjIZuCaV434Cg=; b=zuRavFWCFdXlFc9IwI/81rGBxlZf0+8eT7VIkPJeeEfWykHJneUzRTFA4VDpwpLclQ 3MXTNQlc76fLF5GwgZjF9PZiPyYHHIs55UwakaSzjow8JszyjIbszve8UUWdQzRg2H/J zyizbWJYkbyWF+olo+vwQh/ri7w65iKwbUKMmTnnyOzXNxPqMgP07pkQZGNlkKzsvW5I kB55flNyJT1XC5XbYyxS+m8hp9fiEsyFIIL9NaT2nOVI5s6kufu76bWGQKgkXyK0B3CZ q67t6O5qvBnAaZ54YAv/iwirRvflElTo3f/537XVQqhWnnscDbOoSTQgZ4i63MM3brm7 QEeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@benyossef-com.20150623.gappssmtp.com header.s=20150623 header.b=ULn0yfGO; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z34si14786154ede.447.2020.09.17.00.20.18; Thu, 17 Sep 2020 00:20:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@benyossef-com.20150623.gappssmtp.com header.s=20150623 header.b=ULn0yfGO; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726202AbgIQHUL (ORCPT + 99 others); Thu, 17 Sep 2020 03:20:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726171AbgIQHUJ (ORCPT ); Thu, 17 Sep 2020 03:20:09 -0400 Received: from mail-pj1-x1043.google.com (mail-pj1-x1043.google.com [IPv6:2607:f8b0:4864:20::1043]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61525C061756 for ; Thu, 17 Sep 2020 00:20:09 -0700 (PDT) Received: by mail-pj1-x1043.google.com with SMTP id a9so802314pjg.1 for ; Thu, 17 Sep 2020 00:20:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=benyossef-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=QRIyLtZ6o3VP5j0NQg3mA1t52Fj+F7jjIZuCaV434Cg=; b=ULn0yfGOq/R//vSsUP4iOnvhuzYmEaeUgbMAPc2961ZS5jeg+KZ0CGfJ9FkLMr75Yl r/fiKIxYciaNrl6NgROpW03mh8PUGU+iftEI2XmXgA0EPw8nztV1v4E6iBhTQ/zL6WyO uSRMsgebDkv3+dYNXkepEV+ipn+APPOlJR+bQwpz+SFdVjWps5rtXx0VfKy6t5GwyENy RVVlCdjn2gVNJk4wFQGiCtcLlvZ7gCPX24QQmMY6Y2BSHi9phKfs+KxAruKxN5/bARft DvyvZfB96TMiNSpYidAnFF5j0CqyIfQsi97BOscSRWER7ranrl3oOZRK2YXR0L6gU8Jf lApQ== 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:content-transfer-encoding; bh=QRIyLtZ6o3VP5j0NQg3mA1t52Fj+F7jjIZuCaV434Cg=; b=Dk6hqbwFUe5X6B/vQwrCpMkPxtp5PoZnJYsP0lrmLhqQLPMUwDDsgmxqcC1cvC28GS Ajf01N3NMcXEFnV3WE1M7hVrb/sjJxpyDtt0q07hphPhFmQkdwZdvkqjYvkHrSb/Co3y yskx4+K+KJdt1yX9kgEDU03zTV6DQeqjCfbpiPBeILDg9FOwhPIrDiWKelpONLK66G7s ijI0TPQSl94SAlw/M9SUP6tLAK/UfNlKfXkE3sxKaG8gVGJ5fhDEvHMw8nREZ0Jbhr0E KgBkDQN1PMdnwXVG8AgUaCo89NZJbrq+N67f+h6tz0Dkys0LVqRXfHP6hUi1fmhWZj4d kH+g== X-Gm-Message-State: AOAM530Fe5VYmTQhaOmQnsKazrk9zd5OhJ3aTvD+w3FESu+3n70BbrYd D49DmE0/UHvlyDt2Ip8G6L6bMqwPkuvc8jtWYWJz9A== X-Received: by 2002:a17:90a:e609:: with SMTP id j9mr6843624pjy.129.1600327208818; Thu, 17 Sep 2020 00:20:08 -0700 (PDT) MIME-Version: 1.0 References: <20200916071950.1493-3-gilad@benyossef.com> <202009162154.fxQ0Z6wT%lkp@intel.com> In-Reply-To: <202009162154.fxQ0Z6wT%lkp@intel.com> From: Gilad Ben-Yossef Date: Thu, 17 Sep 2020 10:19:59 +0300 Message-ID: Subject: Re: [PATCH 2/2] crypto: ccree - add custom cache params from DT file To: kernel test robot Cc: Herbert Xu , "David S. Miller" , Rob Herring , kbuild-all@lists.01.org, clang-built-linux@googlegroups.com, netdev@vger.kernel.org, Ofir Drang , Linux Crypto Mailing List , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux kernel mailing list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org hmm... On Wed, Sep 16, 2020 at 4:48 PM kernel test robot wrote: > > url: https://github.com/0day-ci/linux/commits/Gilad-Ben-Yossef/add-opt= ional-cache-params-from-DT/20200916-152151 > base: https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev= -2.6.git master > config: arm64-randconfig-r015-20200916 (attached as .config) > compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 9e38= 42d60351f986d77dfe0a94f76e4fd895f188) > reproduce (this is a W=3D1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbi= n/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # install arm64 cross compiling tool for clang build > # apt-get install binutils-aarch64-linux-gnu > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cross AR= CH=3Darm64 > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All warnings (new ones prefixed by >>): > > >> drivers/crypto/ccree/cc_driver.c:120:18: warning: result of comparison= of constant 18446744073709551615 with expression of type 'u32' (aka 'unsig= ned int') is always false [-Wtautological-constant-out-of-range-compare] > cache_params |=3D FIELD_PREP(mask, val); > ^~~~~~~~~~~~~~~~~~~~~ > include/linux/bitfield.h:94:3: note: expanded from macro 'FIELD_PREP' > __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); = \ > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > include/linux/bitfield.h:52:28: note: expanded from macro '__BF_FIELD_= CHECK' > BUILD_BUG_ON_MSG((_mask) > (typeof(_reg))~0ull, = \ > ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~ > include/linux/build_bug.h:39:58: note: expanded from macro 'BUILD_BUG_= ON_MSG' > #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) > ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ > include/linux/compiler_types.h:319:22: note: expanded from macro 'comp= iletime_assert' > _compiletime_assert(condition, msg, __compiletime_assert_, __C= OUNTER__) > ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~~~~~~~ > include/linux/compiler_types.h:307:23: note: expanded from macro '_com= piletime_assert' > __compiletime_assert(condition, msg, prefix, suffix) > ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > include/linux/compiler_types.h:299:9: note: expanded from macro '__com= piletime_assert' > if (!(condition)) = \ > ^~~~~~~~~ I am unable to understand this warning. It looks like it is complaining about a FIELD_GET sanity check that is always false, which makes sense since we're using a constant. Anyone can enlighten me if I've missed something? Thanks, Gilad --=20 Gilad Ben-Yossef Chief Coffee Drinker values of =CE=B2 will give rise to dom!