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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8A888C4332F for ; Wed, 13 Dec 2023 21:04:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=tkHucCFNfNOi3kmiM8nm6U42nzyInajcLHT4YkilrAA=; b=eF8Tm7Opyr0N2AkoExXuahmbNO c0jxTL2tGJu6CWKeEuzFzV6TvYMaqy1lphP4t/0PBbaMk+BH2pX2CCkLjRG5lmxMhfaNYY4SOcmJs 0Eh4mxRqp4EMoGnWbIBjn2LXkLAWLw1Z5fgFjBgmzWIbxrJyB4SGtKW1epGvZzzzJ6tfi1vMIsBgz 9wQQzhMWisDZQkBhnSc1v8L1tKgVazGAzS1/rYl1xIINS4vuD20Dg6Y/tnXD6XcOy+f1TbvQnnEoL vsmufLCNEz2NnkerbE7dbXpM3baGVnYD5fkdPsv1uYAG5MUawTix9BmlI+SswUuVpgRu6rqtv5RZl Hd9gz/1g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rDWPE-00G1fA-0M; Wed, 13 Dec 2023 21:04:36 +0000 Received: from mgamail.intel.com ([192.198.163.8]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rDWP8-00G1aV-1c; Wed, 13 Dec 2023 21:04:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1702501471; x=1734037471; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=6rys3A4WrLE7CBewgpOvy2bqrVcyO63SWlnYTKMdg9I=; b=apNH9Ereo6JYW74ZQjXKS5PC5LR2DBSTdVDvt9/6zpWHgpFvgxhLJ365 LhLdML9Lpl7/32evMP9MOGX4ORGEjCbm6O8nKUGm5W4nzq1b58nvvtQy0 OreAo883t1r4reTj6Ur729j93jPyxe3hg59vo5DSziDpCNmZLB6JQZkAb 3FlVhNCqsPTeBLc7G4Fd5in9tfPqL64/5lX3lh5e32RrCLWhETRVIS851 ixCp0akZax8IEOtYWMOo4eL3I0TBGQ8l7qE7BPLYd1umwNd9t591YSh1c bQ9DV0nxvrk2u5+kSGFts1exCZEow9/6JrCkSPJ/461L11j1uz+JLyKbb g==; X-IronPort-AV: E=McAfee;i="6600,9927,10923"; a="8421186" X-IronPort-AV: E=Sophos;i="6.04,273,1695711600"; d="scan'208";a="8421186" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Dec 2023 13:04:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10923"; a="723802067" X-IronPort-AV: E=Sophos;i="6.04,273,1695711600"; d="scan'208";a="723802067" Received: from lkp-server02.sh.intel.com (HELO b07ab15da5fe) ([10.239.97.151]) by orsmga003.jf.intel.com with ESMTP; 13 Dec 2023 13:04:14 -0800 Received: from kbuild by b07ab15da5fe with local (Exim 4.96) (envelope-from ) id 1rDWOp-000L8B-2q; Wed, 13 Dec 2023 21:04:11 +0000 Date: Thu, 14 Dec 2023 05:03:40 +0800 From: kernel test robot To: Chunfeng Yun , Greg Kroah-Hartman , Rob Herring Cc: llvm@lists.linux.dev, 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: <202312140415.r09Wbh8D-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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231213_130430_546370_E399F503 X-CRM114-Status: GOOD ( 12.76 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.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-20231213] [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: arm-randconfig-001-20231213 (https://download.01.org/0day-ci/archive/20231214/202312140415.r09Wbh8D-lkp@intel.com/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231214/202312140415.r09Wbh8D-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/202312140415.r09Wbh8D-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/usb/host/xhci-mtk.c:184:12: error: call to undeclared function 'FIELD_PREP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 184 | value |= FIELD_PREP(SCH3_RXFIFO_DEPTH_MASK, 2); | ^ 1 error generated. 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 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0440CC4167D for ; Wed, 13 Dec 2023 21:05:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=k7meoPXhFW46+uEIAriFox8Cr0e2XXyJlwvxMpJemLc=; b=CrYpxFFHiV46QH YsErDLUieLpEcP3qNQcT5uRzArIWMmBG7KY/2w08boRZlYXkLiXsYz30J4FcSvrvKs0pnuE2j8nmI hnRSbAYiU1YMG9qh0BkmMzAbdxaeJ1xW15WeKqMdUahZd1yGToXM/q9wk3ZxRDBLbqwMFM2oh0V+7 KhJWPOZ7bPxZtyv8HGJPb+WDGqt1e1GyL5ew6bpcXsJ+uBA/ATmXdoE7a4urEgKQGuXGPwvEN3//Y nDoII/u5e77w8iyogDWKdkOJytywxKD9HPGTv4R3cWiIXYPZyy4f4AVAbE1ObiASZexhAlErOz6/J AH8XrgoIIEz3BQN/e8NQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rDWPD-00G1ep-08; Wed, 13 Dec 2023 21:04:35 +0000 Received: from mgamail.intel.com ([192.198.163.8]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rDWP8-00G1aV-1c; Wed, 13 Dec 2023 21:04:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1702501471; x=1734037471; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=6rys3A4WrLE7CBewgpOvy2bqrVcyO63SWlnYTKMdg9I=; b=apNH9Ereo6JYW74ZQjXKS5PC5LR2DBSTdVDvt9/6zpWHgpFvgxhLJ365 LhLdML9Lpl7/32evMP9MOGX4ORGEjCbm6O8nKUGm5W4nzq1b58nvvtQy0 OreAo883t1r4reTj6Ur729j93jPyxe3hg59vo5DSziDpCNmZLB6JQZkAb 3FlVhNCqsPTeBLc7G4Fd5in9tfPqL64/5lX3lh5e32RrCLWhETRVIS851 ixCp0akZax8IEOtYWMOo4eL3I0TBGQ8l7qE7BPLYd1umwNd9t591YSh1c bQ9DV0nxvrk2u5+kSGFts1exCZEow9/6JrCkSPJ/461L11j1uz+JLyKbb g==; X-IronPort-AV: E=McAfee;i="6600,9927,10923"; a="8421186" X-IronPort-AV: E=Sophos;i="6.04,273,1695711600"; d="scan'208";a="8421186" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Dec 2023 13:04:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10923"; a="723802067" X-IronPort-AV: E=Sophos;i="6.04,273,1695711600"; d="scan'208";a="723802067" Received: from lkp-server02.sh.intel.com (HELO b07ab15da5fe) ([10.239.97.151]) by orsmga003.jf.intel.com with ESMTP; 13 Dec 2023 13:04:14 -0800 Received: from kbuild by b07ab15da5fe with local (Exim 4.96) (envelope-from ) id 1rDWOp-000L8B-2q; Wed, 13 Dec 2023 21:04:11 +0000 Date: Thu, 14 Dec 2023 05:03:40 +0800 From: kernel test robot To: Chunfeng Yun , Greg Kroah-Hartman , Rob Herring Cc: llvm@lists.linux.dev, 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: <202312140415.r09Wbh8D-lkp@intel.com> References: <20231213063543.12435-2-chunfeng.yun@mediatek.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20231213063543.12435-2-chunfeng.yun@mediatek.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231213_130430_546370_E399F503 X-CRM114-Status: GOOD ( 12.76 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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-20231213] [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: arm-randconfig-001-20231213 (https://download.01.org/0day-ci/archive/20231214/202312140415.r09Wbh8D-lkp@intel.com/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231214/202312140415.r09Wbh8D-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/202312140415.r09Wbh8D-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/usb/host/xhci-mtk.c:184:12: error: call to undeclared function 'FIELD_PREP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 184 | value |= FIELD_PREP(SCH3_RXFIFO_DEPTH_MASK, 2); | ^ 1 error generated. 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel