Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3168005yba; Mon, 22 Apr 2019 21:52:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqzkSegvBs5249Y1gygr6d/3ElkTYf1wUUEw3VM5V31TvcPFX0/XEfzfnCWLUFzhreSyuMzf X-Received: by 2002:aa7:9912:: with SMTP id z18mr2139117pff.140.1555995159462; Mon, 22 Apr 2019 21:52:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555995159; cv=none; d=google.com; s=arc-20160816; b=UPAB4jwXUolCZNpNN5nGf9uI0ErMFglrwkO8H8qirSeWwMkdxZEG1qPLoimPWUmwVm ehYV0Xy3jeD5LoWVU8da0QK+GpihSAJA62hqdrapNCYC68Gd3LjLT7GKkG4c5jz7b3WN InVMtJ+dlCh/WMKAg/BiwHo8YiFu3cbWO3vH8hPyXeQ51CIqKjS9ZcI1BhY1cAYMQrDq QEmVM9+37LOmRr10scHMFqgnqMAKrmq/zW9pbJvPyhvS2pchT/uGRXyoCLbhLIDOREyQ tXJAC7cjjfMYHFB9iQPfVLrLnzN0W1v5kuU8bAVKMuWfgKyHBA/iavLqDB8qTFmMghOe 4M1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=vfy4iCgtgz2ArHh1w1kJDDqNT6DXqc4KaYeki9uQzP8=; b=oTXiXpwLdpKF2GUGCuKIhQ3AgU33n5+S7A+qPYkd8+Le02+bzlOkGev/GEP3W6ygUu IMmXqCeadCQDqpM8yroDh/VxyjUSaXC/n28XkP6/v6R6PzS63HBTlSS+Mlqa9n78iWBm XxAGABOn/uZ03nNGH3BEvGsp0cfZxmZLiYucsIydtscauDif8IiosWbp68IDh/vXCszf S/A3szbPgrmWY6UaxUBwu0Qd13Zuu0Rwd79zxjRz1X0LrFSpQckxlRCOJewqLg75MISz iTIYnihnT+nrkFaBUDVLjsaPWbiH2iA2xQdiZr9YNSmBeF08UHBsrwT+hF4v6vnSzsO2 mFnQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h189si15357940pfc.283.2019.04.22.21.52.23; Mon, 22 Apr 2019 21:52:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730973AbfDWAcO (ORCPT + 99 others); Mon, 22 Apr 2019 20:32:14 -0400 Received: from mga05.intel.com ([192.55.52.43]:22943 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729258AbfDWAcN (ORCPT ); Mon, 22 Apr 2019 20:32:13 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Apr 2019 17:32:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,383,1549958400"; d="gz'50?scan'50,208,50";a="144827736" Received: from lkp-server01.sh.intel.com (HELO lkp-server01) ([10.239.97.150]) by orsmga003.jf.intel.com with ESMTP; 22 Apr 2019 17:32:05 -0700 Received: from kbuild by lkp-server01 with local (Exim 4.89) (envelope-from ) id 1hIjLw-000BNW-Gv; Tue, 23 Apr 2019 08:32:04 +0800 Date: Tue, 23 Apr 2019 08:31:15 +0800 From: kbuild test robot To: guoren@kernel.org Cc: kbuild-all@01.org, ren_guo@c-sky.com, guoren@kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, tech-privileged@lists.riscv.org, Andrew Waterman , Anup Patel , Arnd Bergmann , Christoph Hellwig , Greentime Hu , Marek Szyprowski , Mike Rapoport , Palmer Dabbelt , Robin Murphy , Scott Wood , Vincent Chen , Xiang Xiaoyan Subject: Re: [PATCH] riscv: Support non-coherency memory model Message-ID: <201904230815.Qe1Manfd%lkp@intel.com> References: <1555947870-23014-1-git-send-email-guoren@kernel.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="ZGiS0Q5IWpPtfppv" Content-Disposition: inline In-Reply-To: <1555947870-23014-1-git-send-email-guoren@kernel.org> X-Patchwork-Hint: ignore User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ZGiS0Q5IWpPtfppv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.1-rc6 next-20190418] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/guoren-kernel-org/riscv-Support-non-coherency-memory-model/20190423-075013 config: riscv-tinyconfig (attached as .config) compiler: riscv64-linux-gcc (GCC) 8.1.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree GCC_VERSION=8.1.0 make.cross ARCH=riscv If you fix the issue, kindly add following tag Reported-by: kbuild test robot All errors (new ones prefixed by >>): arch/riscv/mm/dma-mapping.c: In function 'arch_dma_prep_coherent': >> arch/riscv/mm/dma-mapping.c:15:2: error: implicit declaration of function 'sbi_fence_dma' [-Werror=implicit-function-declaration] sbi_fence_dma(page_to_phys(page), size, DMA_BIDIRECTIONAL); ^~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/sbi_fence_dma +15 arch/riscv/mm/dma-mapping.c 10 11 void arch_dma_prep_coherent(struct page *page, size_t size) 12 { 13 memset(page_address(page), 0, size); 14 > 15 sbi_fence_dma(page_to_phys(page), size, DMA_BIDIRECTIONAL); 16 } 17 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation --ZGiS0Q5IWpPtfppv Content-Type: application/gzip Content-Disposition: attachment; filename=".config.gz" Content-Transfer-Encoding: base64 H4sICElbvlwAAy5jb25maWcAjTtrc9u2st/7KzjpzJ1kTpM6tuOT3jv+AIGgiIogaACU5Hzh KBLtaGJLPnq0yb+/u6AovgD3ZNrExi5e+97F8tdffg3I8bB9XhzWy8XT08/gsdyUu8WhXAUP 66fy/4JQBqk0AQu5+QDIyXpz/PH7br1f/hV8+vDxw8X73fImmJS7TfkU0O3mYf14hOnr7eaX X3+B/36FwecXWGn3v4GddXP9/gnXeP+4XAZvx5S+Cz7jOoBLZRrxcUFpwXUBkNuf9RD8UkyZ 0lymt58vPl5cnHETko7PoIvWEjHRBdGiGEsjm4VOgBlRaSHI/YgVecpTbjhJ+BcWdhBDrsko Yf8FsokVI2HB00jCX4UhegJAe/uxJedTsC8Px5fmjiMlJywtZFpokTUL4eoFS6cFUeMi4YKb 26tLpOHpUFJkHE5kmDbBeh9stgdcuJ6dSEqSmhZv3jTz2oCC5EY6Jo9ynoSFJonBqafBkEUk T0wRS21SItjtm7eb7aZ811pb3+spz2h7xea8SmpdCCakui+IMYTGTrxcs4SPHIeKyZQBLWgM pwYBhL3gIklNW67ugv3x6/7n/lA+N7Qds5QpDkKk7gody1mLvDASSkF42ozpjCjNENQSt9YK Au7P4SBpmDA1RKFA2wmbstTo+lhm/Vzu9q6TxV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