From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) (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 3F0C31F37B3; Wed, 11 Dec 2024 22:40:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733956827; cv=none; b=OrwjFK2wxTysJ2vDIqnB4tMH+UzlFFMSgo59GoNnl07Yt96qhJkB+mJOszOZmwFpiAwN2XGCCPaB+MJUZ6VLyteMOrhYHGNLoIJV8GbAuYeyrDgQxBPctVrC3FgYqNGVxFcGTzHP4+FrnGD/SAZx76kiU4J9BUoaTlToxdlswAU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733956827; c=relaxed/simple; bh=2kvRBBph1xJE6pvRj6ZGPkSzRKem9ywKKkiLD48BVGA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KXaw2v9BDeq+8/tMGmrLOhK8gALfkCv+TxmcFrLCjdU/Djp5bsM9knRkrLgVnl6O7t/kTEG1Tpw97S5UKbb9H3/tgUNDLIzoHnUQEW8NEWpP8rSzWOIp4dAeQ7lprm5B4OmUJUzjFJROBGn7/seiG4QKuAr0scTtusT6YgxobGU= 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=VIK2v61R; arc=none smtp.client-ip=198.175.65.10 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="VIK2v61R" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1733956824; x=1765492824; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=2kvRBBph1xJE6pvRj6ZGPkSzRKem9ywKKkiLD48BVGA=; b=VIK2v61RnHO7rjabHMAj1KvSnYwsyLLHiTCF2wDhqjhpzAEoBg8FnJYA c99PuZ4sZCBf/ScENPeTBo4w+DuFbu5iLL+nNr/SXPNgQX+j2hW6cZD7f gdKlOQrmZK1WNoWJJUzrwJ+7URdnXW/Q64zEotUl6exBxUdXF5yBn3wUr yPdlK7O7EKU/RoR/LGzYgszILuY+2cGcaK3Gdwmpg9+iJAK5bqLuKUwq9 KtapYld2Jepx6rsDUcQq39b4Q8PyfXYePPt5AApLiH6TKd5J7TC/OOL5Y DqkOBClqDey8fZuB+EUQxEf2D7dz363n0JXbYTf4QDkrZqQJ7KpffNY+p g==; X-CSE-ConnectionGUID: xjU1rnH3SY+ipYuFF0zUPQ== X-CSE-MsgGUID: ZF1ilPl7REKVrgEC1aU91w== X-IronPort-AV: E=McAfee;i="6700,10204,11283"; a="51772134" X-IronPort-AV: E=Sophos;i="6.12,226,1728975600"; d="scan'208";a="51772134" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Dec 2024 14:40:23 -0800 X-CSE-ConnectionGUID: OCh016OeTByxsIW9zlk+Cw== X-CSE-MsgGUID: kTbgP8mzSsaErlQESFa1/w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,226,1728975600"; d="scan'208";a="96389004" Received: from lkp-server01.sh.intel.com (HELO 82a3f569d0cb) ([10.239.97.150]) by fmviesa010.fm.intel.com with ESMTP; 11 Dec 2024 14:40:19 -0800 Received: from kbuild by 82a3f569d0cb with local (Exim 4.96) (envelope-from ) id 1tLVNQ-0007AT-2d; Wed, 11 Dec 2024 22:40:16 +0000 Date: Thu, 12 Dec 2024 06:39:54 +0800 From: kernel test robot To: "Jason-JH.Lin" , Jassi Brar , Chun-Kuang Hu , AngeloGioacchino Del Regno , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , Mauro Carvalho Chehab Cc: oe-kbuild-all@lists.linux.dev, linux-media@vger.kernel.org, David Airlie , Simona Vetter , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, "Jason-JH . Lin" , Singo Chang , Nancy Lin , Moudy Ho , Xavier Chang , Project_Global_Chrome_Upstream_Group@mediatek.com Subject: Re: [PATCH v2 6/8] soc: mediatek: Add programming flow for unsupported subsys ID hardware Message-ID: <202412120643.qzGYgONG-lkp@intel.com> References: <20241211032256.28494-7-jason-jh.lin@mediatek.com> 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: <20241211032256.28494-7-jason-jh.lin@mediatek.com> Hi Jason-JH.Lin, kernel test robot noticed the following build errors: [auto build test ERROR on robh/for-next] [also build test ERROR on linus/master v6.13-rc2 next-20241211] [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/Jason-JH-Lin/dt-bindings-mailbox-mediatek-Add-GCE-header-file-for-MT8196/20241211-112605 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next patch link: https://lore.kernel.org/r/20241211032256.28494-7-jason-jh.lin%40mediatek.com patch subject: [PATCH v2 6/8] soc: mediatek: Add programming flow for unsupported subsys ID hardware config: sparc-randconfig-001-20241212 (https://download.01.org/0day-ci/archive/20241212/202412120643.qzGYgONG-lkp@intel.com/config) compiler: sparc-linux-gcc (GCC) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241212/202412120643.qzGYgONG-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/202412120643.qzGYgONG-lkp@intel.com/ All errors (new ones prefixed by >>): sparc-linux-ld: drivers/soc/mediatek/mtk-mmsys.o: in function `mtk_mmsys_update_bits': >> drivers/soc/mediatek/mtk-mmsys.c:173:(.text+0x6c): undefined reference to `cmdq_subsys_is_valid' sparc-linux-ld: drivers/soc/mediatek/mtk-mutex.o: in function `mtk_mutex_enable_by_cmdq': >> drivers/soc/mediatek/mtk-mutex.c:976:(.text+0x48c): undefined reference to `cmdq_subsys_is_valid' vim +173 drivers/soc/mediatek/mtk-mmsys.c 162 163 static void mtk_mmsys_update_bits(struct mtk_mmsys *mmsys, u32 offset, u32 mask, u32 val, 164 struct cmdq_pkt *cmdq_pkt) 165 { 166 int ret; 167 u32 tmp; 168 169 if (mmsys->cmdq_base.size && cmdq_pkt) { 170 struct cmdq_client *cl = (struct cmdq_client *)cmdq_pkt->cl; 171 172 offset += mmsys->cmdq_base.offset; > 173 if (cmdq_subsys_is_valid(cl->chan, mmsys->cmdq_base.subsys)) { 174 ret = cmdq_pkt_write_mask(cmdq_pkt, mmsys->cmdq_base.subsys, 175 offset, val, mask); 176 } else { 177 /* only MMIO access, no need to check mminfro_offset */ 178 ret = cmdq_pkt_assign(cmdq_pkt, 0, 179 CMDQ_ADDR_HIGH(mmsys->cmdq_base.pa_base)); 180 ret |= cmdq_pkt_write_s_mask_value(cmdq_pkt, 0, 181 CMDQ_ADDR_LOW(offset), val, mask); 182 } 183 if (ret) 184 pr_debug("CMDQ unavailable: using CPU write\n"); 185 else 186 return; 187 } 188 tmp = readl_relaxed(mmsys->regs + offset); 189 tmp = (tmp & ~mask) | (val & mask); 190 writel_relaxed(tmp, mmsys->regs + offset); 191 } 192 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki