Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp339405lqe; Sat, 6 Apr 2024 03:33:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUKFqVWwmz+IdC1mW8mAdnpgXLBIqv75vaVcTqP5f7Jz/1Ma2V0ELwmepFnLlBg0hptBJuGqW0y4ctfHLGGHerKRVw5SrU0krTyrUpsPA== X-Google-Smtp-Source: AGHT+IFItXPXrw0xFHBqz88kZiN6av0Anqbh8yVmWGdgJtvNN5DuuLMYzD9FE+2LD0Xfgss6TmVu X-Received: by 2002:a05:6358:7a5:b0:186:131e:822 with SMTP id n37-20020a05635807a500b00186131e0822mr838083rwj.3.1712399628028; Sat, 06 Apr 2024 03:33:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712399627; cv=pass; d=google.com; s=arc-20160816; b=TUR6NOLxvbnSr9t4cShsSKyvXTiEOdGNpFVdeiBv1nFDKYfReLebpqET4vYZQ/b+WN JK0+7H7o/HaaNLIsMs/cZbSZZPSF8yH7fwI8gsoLCjKSQ4ribtH4yMun6945iF3YyvXa jVrF108iBm5dps2o1wg3ynrmtyctLM+BgQ68/1fhQxY5stZt11Ou3zEwAsrZPbXfTzRS D0NbygOGCEjKA8oQBYKYfaHQpP7t4xR8/F0vWAgnXk6suyhPP6fHGV9HYm9znGAq7Jw8 OKKlbetqywlizr6IjKEIZmbo8f+QcendTaF+6Y0ZDDIqDcmSzzkEk+SbFDP3KkeHrUS4 E+oQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=T7+jRWwDyz3qinDS/MWp4zsee9zcuBUZTnK+9CTqmSM=; fh=TnWCveFN99m3zFs/w786fiXMr/r+UTfm9YOkbz2UyCQ=; b=MaP1CyV+uTyo5yBgwtiTX3nbtfy+CQx5gMtg3oL7zqAzW2GTEls/yMhk2V8musYfaj g45zLJ8tMqUhbUnXPHZcAmv5ZW7OUveyuNDj0IzNVijiDzAwKwdzVDoxP5SBBtGeEN8p v6ZfYHCWFxWa8xvVu9IOOnYIhs57JQ9YXLQURI0igmQp02ZsXIAZ/1PdrSQ1LzoQ1cIw Zdrbc2D5C59WjA0aqV/XMlq/LfEqgEopTCqDGuHbiiPmnWRCdt8PDvKtnqSrrF7m5aoS CROw+dHj7ticTdsQvFY9QAw21rT+Z7ynZXQqreHpM7HyJkdGoItYkReyfOaAqNC/uI+K OAQQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ZeZhQfgI; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-133890-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133890-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id u19-20020a63f653000000b005dc425a94d9si2934136pgj.369.2024.04.06.03.33.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Apr 2024 03:33:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-133890-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ZeZhQfgI; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-133890-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133890-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id A523D282B67 for ; Sat, 6 Apr 2024 10:33:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 093362B9D5; Sat, 6 Apr 2024 10:33:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="ZeZhQfgI" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0C4F6210E6; Sat, 6 Apr 2024 10:33:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.8 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712399619; cv=none; b=Ul+8hlDJLoOZ/uF3opdwsCn+Q4CnfMzRuNcbyknxTByQMIzI8f4G0iMGpT/KuMiz4TDM3voJmdc1hg4hx1KjM+tmMu/8SW73BgxHEWBvsq4zo4aHoZdX75AF6rNWKXWXSFtyLx2zKOYBo9WSzAMoOpOhk7RL/rhkJbi8r7kXA3w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712399619; c=relaxed/simple; bh=X5tsa7eLX6h92RpchhaZofh+CcOwNJe3uIwkNfFcBrc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Z6uJxwG/XwrlIwKiJgGqg0FUpvSV60Gqv2r2P+VW3bMfii2zSck4PFO/XK4fRoiYvxq39Y+het6/VvWkiisn9ugrJhrE51wRshoaY4be1uKhN/cQlt7smLj5nrE3Gffzmw6sSAXXxdIUPYXz3E8a7pQjr9l3PWaynPJ0tU7DDkA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=ZeZhQfgI; arc=none smtp.client-ip=192.198.163.8 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712399616; x=1743935616; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=X5tsa7eLX6h92RpchhaZofh+CcOwNJe3uIwkNfFcBrc=; b=ZeZhQfgI023MBA4C2DutgU2cY8H1FhKWHLLpL65G2ASzVZzqCFDmYNAG ODHrx9brvt7/3DHTGx/SBdqER5mH+qlvHrV3pyemti85pTEHej8dZMptn dEUFaTuyXnStsYKDAxdw4++o2vEGzYsh6eyy6R4W88/9EB2K3hO5i+w4t cWRX3rGKaHmLOKXSg2cIW5BESGLb35eh9Kjg/MvR1WR0NWEYeZPRDtRyF kZ0M7lIh+a2TU3w9vSJUe5V2aNEjVo/vJ57EeKZv6PrN5hzoYwj6FHK9x aQtfgXO49ZBi5W3UbFLq3MQ5/VLAH+XyRDf63a5Lvg7PqPskU/Cu+E/cm Q==; X-CSE-ConnectionGUID: Qpbui0qoSRua5yyU1V6/2g== X-CSE-MsgGUID: qjtw67OwRc6tCqrCKpCdxA== X-IronPort-AV: E=McAfee;i="6600,9927,11035"; a="25234383" X-IronPort-AV: E=Sophos;i="6.07,182,1708416000"; d="scan'208";a="25234383" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Apr 2024 03:33:35 -0700 X-CSE-ConnectionGUID: G9PzvfOATT+1qypTb+2KIA== X-CSE-MsgGUID: sVDakfYxRMSk61kSRpmTIA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,183,1708416000"; d="scan'208";a="19266072" Received: from lkp-server01.sh.intel.com (HELO e61807b1d151) ([10.239.97.150]) by orviesa010.jf.intel.com with ESMTP; 06 Apr 2024 03:33:30 -0700 Received: from kbuild by e61807b1d151 with local (Exim 4.96) (envelope-from ) id 1rt3MW-0003Nu-0H; Sat, 06 Apr 2024 10:33:28 +0000 Date: Sat, 6 Apr 2024 18:32:43 +0800 From: kernel test robot To: Konrad Dybcio , Bjorn Andersson , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, Neil Armstrong , Konrad Dybcio Subject: Re: [PATCH 4/6] drm/msm/adreno: Implement SMEM-based speed bin Message-ID: <202404061839.0waGfXwj-lkp@intel.com> References: <20240405-topic-smem_speedbin-v1-4-ce2b864251b1@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240405-topic-smem_speedbin-v1-4-ce2b864251b1@linaro.org> Hi Konrad, kernel test robot noticed the following build errors: [auto build test ERROR on 2b3d5988ae2cb5cd945ddbc653f0a71706231fdd] url: https://github.com/intel-lab-lkp/linux/commits/Konrad-Dybcio/soc-qcom-Move-some-socinfo-defines-to-the-header-expand-them/20240405-164231 base: 2b3d5988ae2cb5cd945ddbc653f0a71706231fdd patch link: https://lore.kernel.org/r/20240405-topic-smem_speedbin-v1-4-ce2b864251b1%40linaro.org patch subject: [PATCH 4/6] drm/msm/adreno: Implement SMEM-based speed bin config: i386-buildonly-randconfig-001-20240406 (https://download.01.org/0day-ci/archive/20240406/202404061839.0waGfXwj-lkp@intel.com/config) compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240406/202404061839.0waGfXwj-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202404061839.0waGfXwj-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/gpu/drm/msm/adreno/adreno_gpu.c:1090:14: error: call to undeclared function 'FIELD_PREP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1090 | *speedbin = FIELD_PREP(ADRENO_SKU_ID_PCODE, pcode) | | ^ 1 error generated. vim +/FIELD_PREP +1090 drivers/gpu/drm/msm/adreno/adreno_gpu.c 1062 1063 int adreno_read_speedbin(struct adreno_gpu *adreno_gpu, 1064 struct device *dev, u32 *speedbin) 1065 { 1066 u32 fcode, pcode; 1067 int ret; 1068 1069 /* Try reading the speedbin via a nvmem cell first */ 1070 ret = nvmem_cell_read_variable_le_u32(dev, "speed_bin", speedbin); 1071 if (!ret && ret != -EINVAL) 1072 return ret; 1073 1074 ret = qcom_smem_get_feature_code(&fcode); 1075 if (ret) { 1076 dev_err(dev, "Couldn't get feature code from SMEM!\n"); 1077 return ret; 1078 } 1079 1080 ret = qcom_smem_get_product_code(&pcode); 1081 if (ret) { 1082 dev_err(dev, "Couldn't get product code from SMEM!\n"); 1083 return ret; 1084 } 1085 1086 /* Don't consider fcode for external feature codes */ 1087 if (fcode <= SOCINFO_FC_EXT_RESERVE) 1088 fcode = SOCINFO_FC_UNKNOWN; 1089 > 1090 *speedbin = FIELD_PREP(ADRENO_SKU_ID_PCODE, pcode) | 1091 FIELD_PREP(ADRENO_SKU_ID_FCODE, fcode); 1092 1093 return ret; 1094 } 1095 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki