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 0DDD8ECAAD8 for ; Fri, 16 Sep 2022 16:08:52 +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=Vc3UNGEe1FJ2GQwteeJ/K1j+8uDB258RQ7esn74lW4A=; b=ThBPbh5AB8Im24 6iKJV6YZFFQNs0UrsZqhVZXqfeRMrPyINF3PYg2B3XoMrXR/POPPJg9czel8x+3a3Soms33qwG02+ nkQ8gEih9vBmuOYkNaNafnxAHVIBfEdB/osd5HpPklKyTxrIScSZBVLnRSQ89rGr5NB3lliaURWMw PtfDdxvHNPEFWUJSFgJ6B5Xy+Nz/HSEdyqDQ0dDbTZDj4sPip9Otsp4+AOVQjVO8aqYPvcQrSlBKI 6/I3ZWsUsJGjTSWv1f7Ng5Nhf/REWtABkvtKUZTeVi8TTO7EyzIUBT3XM3hRbXUnn66BCo6Ki+dxY gODb+9Hn6qlyyU9D/WCA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oZDsJ-00Erct-UK; Fri, 16 Sep 2022 16:07:32 +0000 Received: from mga03.intel.com ([134.134.136.65]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oZDrz-00ErTZ-DY for linux-arm-kernel@lists.infradead.org; Fri, 16 Sep 2022 16:07:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1663344431; x=1694880431; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=txXFG6pxRQXR5LBhZBt+ObfjH9wJQexQ6BpqZeDAbo4=; b=JTgdEFf8MD5+awncoGRKWZLTct0B57XHju/Em7XzCB6vcQHZCGZdmcf/ yFjTELNsXJSBRpFN1XL4EOQbDany54LRhdHCtnNL48i9PD4tBha1hHLAz vcqdNnvuOm2J2YN4CYpc4j3bAJNGecTXmAp6akTn91+fm+95nOo7egwOk CO236OfRJKuWv+G4vRXY9fp4jKq6qO6ZKLXR6K3dqlsMD+uuQ6983w5Tf FD+VkZ7afR/tR50GFNS4QWZgU38cHchKGNsjNjC73j+NJUOUKM2J9+Ohf pNiSHw0LwbBA45cUbxzF/8RNOXqwpsE1GiJ6kFCmLy1H3N+T9CoCvyktP Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10472"; a="300384625" X-IronPort-AV: E=Sophos;i="5.93,320,1654585200"; d="scan'208";a="300384625" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Sep 2022 09:07:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,320,1654585200"; d="scan'208";a="743387423" Received: from lkp-server02.sh.intel.com (HELO 41300c7200ea) ([10.239.97.151]) by orsmga004.jf.intel.com with ESMTP; 16 Sep 2022 09:07:07 -0700 Received: from kbuild by 41300c7200ea with local (Exim 4.96) (envelope-from ) id 1oZDru-0001vt-2c; Fri, 16 Sep 2022 16:07:06 +0000 Date: Sat, 17 Sep 2022 00:06:10 +0800 From: kernel test robot To: Vincent Whitchurch , broonie@kernel.org, krzysztof.kozlowski@linaro.org, andi@etezian.org Cc: kbuild-all@lists.01.org, kernel@axis.com, Vincent Whitchurch , alim.akhtar@samsung.com, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 3/4] spi: Fix cache corruption due to DMA/PIO overlap Message-ID: <202209162337.7NbxJFXD-lkp@intel.com> References: <20220916113951.228398-4-vincent.whitchurch@axis.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220916113951.228398-4-vincent.whitchurch@axis.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220916_090711_599405_2F0ED096 X-CRM114-Status: GOOD ( 12.69 ) 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 Vincent, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on broonie-spi/for-next] [also build test WARNING on krzk/for-next linus/master v6.0-rc5 next-20220916] [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/Vincent-Whitchurch/spi-Fix-DMA-bugs-in-not-only-spi-s3c64xx/20220916-194234 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20220916/202209162337.7NbxJFXD-lkp@intel.com/config) compiler: sh4-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/d9c81b85380dadb07e24d2f5dd6b27bacb72845a git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Vincent-Whitchurch/spi-Fix-DMA-bugs-in-not-only-spi-s3c64xx/20220916-194234 git checkout d9c81b85380dadb07e24d2f5dd6b27bacb72845a # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sh SHELL=/bin/bash drivers/spi/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/spi/spi.c:1243:6: warning: no previous prototype for 'spi_dma_sync_for_device' [-Wmissing-prototypes] 1243 | void spi_dma_sync_for_device(struct spi_controller *ctrl, struct spi_transfer *xfer) | ^~~~~~~~~~~~~~~~~~~~~~~ >> drivers/spi/spi.c:1247:6: warning: no previous prototype for 'spi_dma_sync_for_cpu' [-Wmissing-prototypes] 1247 | void spi_dma_sync_for_cpu(struct spi_controller *ctrl, struct spi_transfer *xfer) | ^~~~~~~~~~~~~~~~~~~~ vim +/spi_dma_sync_for_device +1243 drivers/spi/spi.c 1242 > 1243 void spi_dma_sync_for_device(struct spi_controller *ctrl, struct spi_transfer *xfer) 1244 { 1245 } 1246 > 1247 void spi_dma_sync_for_cpu(struct spi_controller *ctrl, struct spi_transfer *xfer) 1248 { 1249 } 1250 #endif /* !CONFIG_HAS_DMA */ 1251 -- 0-DAY CI Kernel Test Service https://01.org/lkp _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel