From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 13219C4332F for ; Thu, 14 Dec 2023 18:12:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1572929AbjLNSMp (ORCPT ); Thu, 14 Dec 2023 13:12:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229586AbjLNSMn (ORCPT ); Thu, 14 Dec 2023 13:12:43 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 960A5A6; Thu, 14 Dec 2023 10:12:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1702577569; x=1734113569; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=SdUzfDoQ+S/OJZsOm8JVIWfF0SsNDzHb/b9ovKtFcXk=; b=E22lIOTEMfGEKz7eI39ma1n8Nkx1mdRhn25925B+mGZDS1GzLUaHJvlm Dlv0gWHPDrclCkYHy8gs54QxTqH08sw+Ojr8oYvPU3oR8glo2+cft0Vkq W69Kjm+1gVvxQlgT+Fdd+bHhWgYBl54UmyFYoEAqn/9dB8GqR+kd6Aj3H ROSrIG6HgvEzE1WMoquugLcBmvriU0SHp0SDChYg+zQQNflUFfqJxijs2 iIHnrrEBNRMFqjWMVOgTLwlhoK1UKzJFeuc5R0R4JbO8P4nSk6vmAufda 5chiQf4ax7nr9oIMoWzuzdDQyJeKSNWLKr3cAOYNVEEBR9vIDzM0ek4Qe w==; X-IronPort-AV: E=McAfee;i="6600,9927,10924"; a="481356447" X-IronPort-AV: E=Sophos;i="6.04,276,1695711600"; d="scan'208";a="481356447" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Dec 2023 10:11:58 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10924"; a="918135596" X-IronPort-AV: E=Sophos;i="6.04,276,1695711600"; d="scan'208";a="918135596" Received: from lkp-server02.sh.intel.com (HELO b07ab15da5fe) ([10.239.97.151]) by fmsmga001.fm.intel.com with ESMTP; 14 Dec 2023 10:09:23 -0800 Received: from kbuild by b07ab15da5fe with local (Exim 4.96) (envelope-from ) id 1rDq8j-000MSG-37; Thu, 14 Dec 2023 18:09:03 +0000 Date: Fri, 15 Dec 2023 02:08:32 +0800 From: kernel test robot To: Chunfeng Yun , Greg Kroah-Hartman , Rob Herring Cc: oe-kbuild-all@lists.linux.dev, Chunfeng Yun , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Mathias Nyman , linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Macpaul Lin , Eddie Hung Subject: Re: [PATCH 2/3] usb: xhci-mtk: fix a short packet issue of gen1 isoc-in transfer Message-ID: <202312150146.ffBFCrhf-lkp@intel.com> References: <20231213063543.12435-2-chunfeng.yun@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231213063543.12435-2-chunfeng.yun@mediatek.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Chunfeng, kernel test robot noticed the following build errors: [auto build test ERROR on usb/usb-testing] [also build test ERROR on usb/usb-next usb/usb-linus robh/for-next krzk/for-next linus/master v6.7-rc5 next-20231214] [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/Chunfeng-Yun/usb-xhci-mtk-fix-a-short-packet-issue-of-gen1-isoc-in-transfer/20231213-143959 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing patch link: https://lore.kernel.org/r/20231213063543.12435-2-chunfeng.yun%40mediatek.com patch subject: [PATCH 2/3] usb: xhci-mtk: fix a short packet issue of gen1 isoc-in transfer config: openrisc-allyesconfig (https://download.01.org/0day-ci/archive/20231215/202312150146.ffBFCrhf-lkp@intel.com/config) compiler: or1k-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231215/202312150146.ffBFCrhf-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/202312150146.ffBFCrhf-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/usb/host/xhci-mtk.c: In function 'xhci_mtk_rxfifo_depth_set': >> drivers/usb/host/xhci-mtk.c:184:26: error: implicit declaration of function 'FIELD_PREP' [-Werror=implicit-function-declaration] 184 | value |= FIELD_PREP(SCH3_RXFIFO_DEPTH_MASK, 2); | ^~~~~~~~~~ cc1: some warnings being treated as errors vim +/FIELD_PREP +184 drivers/usb/host/xhci-mtk.c 170 171 /* 172 * workaround: usb3.2 gen1 isoc rx hw issue 173 * host send out unexpected ACK afer device fininsh a burst transfer with 174 * a short packet. 175 */ 176 static void xhci_mtk_rxfifo_depth_set(struct xhci_hcd_mtk *mtk) 177 { 178 struct usb_hcd *hcd = mtk->hcd; 179 u32 value; 180 181 if (mtk->rxfifo_depth_quirk) { 182 value = readl(hcd->regs + HSCH_CFG1); 183 value &= ~SCH3_RXFIFO_DEPTH_MASK; > 184 value |= FIELD_PREP(SCH3_RXFIFO_DEPTH_MASK, 2); 185 writel(value, hcd->regs + HSCH_CFG1); 186 } 187 } 188 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki