Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp5409712rwb; Tue, 1 Aug 2023 01:57:20 -0700 (PDT) X-Google-Smtp-Source: APBJJlGLDRw5wcDK0vqZ/r+OV0hkZGA5ec4/tHJaU2Mhf++9s2mCe4yINK1J7cy2l66YaNjI4jK4 X-Received: by 2002:a05:6a20:a11d:b0:132:7fb3:3325 with SMTP id q29-20020a056a20a11d00b001327fb33325mr12139589pzk.59.1690880240172; Tue, 01 Aug 2023 01:57:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690880240; cv=none; d=google.com; s=arc-20160816; b=Kv8aN0/EV0GdrearfnJHnu+j/LnhyMAeary+PWry5gI32ceOTt8YlYKWUCTzdBbOnT rz200UzVasKUCCCMkxUDOCA1JRRxvVzuCDDJRI2WSaQprlXN8podDCEBmpCqWZLJajeL ANqEYQD7RtqBgS5T/BVhxK7c5P1chxdsq/4P1Didq/CPtOKxW1kprt7rDH5DH0Nux3ec 6bjG+hbNt1hlWaxS3x3gO1+3go6Y7ZmN5ECYkO+cKY6ClfU+g0tLsA5sGki2QHaVLjHF lPZj7JR7a39Oh2h+L2BFSGeYUZ5KfI6h3S4glX9AO25UoBlqWjBegmH1XlBZbzyIT5ze I0pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=nX2cZF2LTRM2I9iESiukmqr5WaPMP352v6soH0wkpV0=; fh=QFZQi+Wvb09KiokXrvPUZIvk/2l8lUTSN20vzEs2oh4=; b=QZKuT2EKhu7LoDWSQKrSvma8NHvqebX1HVc9lzl5Ki5YvqPCPm9V5qjAVk2pCnYq18 WbKuppMHpd2DYhPwybl/RL44v6RGdrMLcBkvnh0uwhAWhEQ5j6UGm+IqB7JBUjlR1a7K SjmH8lJxbEvr91FhvuNpNfM2UwbQvl5w9WjbTV6q46ErqoDt6lAPx/xcKa8BQda2LzXJ ORU3AQUwswwF352+SVSlFfJc1r6Y0dRmaVA8+6gxwKQ0ODmXmbRxCppu3f2lR93yprgo pV1DFHlnqtJ6tWQvyxcuU5s4RP6P/wnzau9zbd5HHK5uwgx4exy2jLoSgWwQbm0mnoTv o0RQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=PnAEkfzW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k8-20020a633d08000000b00563eced0fe6si7085401pga.236.2023.08.01.01.57.07; Tue, 01 Aug 2023 01:57:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=PnAEkfzW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231578AbjHAH1t (ORCPT + 99 others); Tue, 1 Aug 2023 03:27:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231572AbjHAH1q (ORCPT ); Tue, 1 Aug 2023 03:27:46 -0400 Received: from mgamail.intel.com (unknown [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4FC919B0; Tue, 1 Aug 2023 00:27:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1690874864; x=1722410864; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=lpPJ90+riuw2ummWKQe5ELJBHXw8RuUjjS4B9wtPCaA=; b=PnAEkfzWQAtQM4WmVfdyPMiq99EgeuPHLKD5pqgbCmIYJgpHcDDMbWM3 jVQldGvErNAZ8IOA8Giq0HgxhpoZbXQfT7Q31Wt0K5B8LCbW0q0jp/984 PZPIRcNrFS+gLRa/uOYkyW295jq9uICh2PkP7wNIqt3m1419xnF1KWLYl d2H27RoZJmpdx0dS8uJksu1SWBXqK+y+rGLP4a1UU3NuSbdom+IKVLzqf +/XP4KTXm0Hg3TXXzNRNqHQLngG9ShuPT+jX16dstYRBiE0vvkxRBU7YF PV0EnhRPicm03c2C6x72gRK7MKU44NcDw7etFxZKJkLx8iGu9p9In0LQn A==; X-IronPort-AV: E=McAfee;i="6600,9927,10788"; a="348817523" X-IronPort-AV: E=Sophos;i="6.01,246,1684825200"; d="scan'208";a="348817523" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Aug 2023 00:27:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10788"; a="794052071" X-IronPort-AV: E=Sophos;i="6.01,246,1684825200"; d="scan'208";a="794052071" Received: from lkp-server01.sh.intel.com (HELO d1ccc7e87e8f) ([10.239.97.150]) by fmsmga008.fm.intel.com with ESMTP; 01 Aug 2023 00:27:40 -0700 Received: from kbuild by d1ccc7e87e8f with local (Exim 4.96) (envelope-from ) id 1qQjn9-00004N-34; Tue, 01 Aug 2023 07:27:39 +0000 Date: Tue, 1 Aug 2023 15:27:36 +0800 From: kernel test robot To: Nikunj Kela , sudeep.holla@arm.com Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, cristian.marussi@arm.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Nikunj Kela Subject: Re: [PATCH v2 3/3] firmware: arm_scmi: Add qcom hvc/shmem transport Message-ID: <202308011516.voJRAbHr-lkp@intel.com> References: <20230724164419.16092-4-quic_nkela@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230724164419.16092-4-quic_nkela@quicinc.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Nikunj, kernel test robot noticed the following build errors: [auto build test ERROR on robh/for-next] [also build test ERROR on linus/master v6.5-rc4 next-20230801] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Nikunj-Kela/dt-bindings-arm-convert-nested-if-else-construct-to-allOf/20230725-004613 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next patch link: https://lore.kernel.org/r/20230724164419.16092-4-quic_nkela%40quicinc.com patch subject: [PATCH v2 3/3] firmware: arm_scmi: Add qcom hvc/shmem transport config: arm-randconfig-r004-20230731 (https://download.01.org/0day-ci/archive/20230801/202308011516.voJRAbHr-lkp@intel.com/config) compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project.git 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a) reproduce: (https://download.01.org/0day-ci/archive/20230801/202308011516.voJRAbHr-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/202308011516.voJRAbHr-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/firmware/arm_scmi/qcom_hvc.c:182:2: error: write to reserved register 'R7' arm_smccc_1_1_hvc(scmi_info->func_id, (unsigned long)scmi_info->cap_id, ^ include/linux/arm-smccc.h:536:48: note: expanded from macro 'arm_smccc_1_1_hvc' #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __VA_ARGS__) ^ include/linux/arm-smccc.h:398:24: note: expanded from macro 'SMCCC_HVC_INST' #define SMCCC_HVC_INST __HVC(0) ^ arch/arm/include/asm/opcodes-virt.h:11:22: note: expanded from macro '__HVC' #define __HVC(imm16) __inst_arm_thumb32( \ ^ arch/arm/include/asm/opcodes.h:215:2: note: expanded from macro '__inst_arm_thumb32' __inst_thumb32(thumb_opcode) ^ arch/arm/include/asm/opcodes.h:205:27: note: expanded from macro '__inst_thumb32' #define __inst_thumb32(x) ___inst_thumb32( \ ^ arch/arm/include/asm/opcodes.h:230:2: note: expanded from macro '___inst_thumb32' ".short " __stringify(first) ", " __stringify(second) "\n\t" ^ 1 error generated. vim +/R7 +182 drivers/firmware/arm_scmi/qcom_hvc.c 167 168 static int qcom_hvc_send_message(struct scmi_chan_info *cinfo, 169 struct scmi_xfer *xfer) 170 { 171 struct scmi_qcom_hvc *scmi_info = cinfo->transport_info; 172 struct arm_smccc_res res; 173 174 /* 175 * Channel will be released only once response has been 176 * surely fully retrieved, so after .mark_txdone() 177 */ 178 mutex_lock(&scmi_info->shmem_lock); 179 180 shmem_tx_prepare(scmi_info->shmem, xfer, cinfo); 181 > 182 arm_smccc_1_1_hvc(scmi_info->func_id, (unsigned long)scmi_info->cap_id, 183 0, 0, 0, 0, 0, 0, &res); 184 185 if (res.a0) { 186 mutex_unlock(&scmi_info->shmem_lock); 187 return -EOPNOTSUPP; 188 } 189 190 return 0; 191 } 192 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki