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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id C136EC04A68 for ; Thu, 28 Jul 2022 09:15:06 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 5E0A16B0073; Thu, 28 Jul 2022 05:15:06 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 590E06B0074; Thu, 28 Jul 2022 05:15:06 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 458488E0001; Thu, 28 Jul 2022 05:15:06 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 35EBE6B0073 for ; Thu, 28 Jul 2022 05:15:06 -0400 (EDT) Received: from smtpin01.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 044D3C0E09 for ; Thu, 28 Jul 2022 09:15:05 +0000 (UTC) X-FDA: 79735949412.01.4276766 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by imf21.hostedemail.com (Postfix) with ESMTP id 39DF41C001C for ; Thu, 28 Jul 2022 09:15:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1658999705; x=1690535705; h=date:from:to:cc:subject:message-id:mime-version; bh=qWGmdHmLrk+oEbVhU7csvrWkmvJ6LR1bxNgJW2W9H18=; b=Kgl3ezzsFNMAFQB8g25mddTf/HD5Nf536zQzwchc5PjCuKwu0toPbAvx MMuG/Bmz7+Rp8Hu2XyDVYfu2w2fueoaRTpxa5wbDTTHwYyORByk7HmKMP JL4pBbb5y/i25SVOLNpz8fUEdEN43WiButUe34ctkwgjX5KiV5DqqfFGy xAJ/mr/PgjweD3DWJB9pXlaEepRtjTDbPxF7hxjVYzdtiK4ECMK9ybQgE tgCaE08tdLYUK3WqIkCceNIPyxvo+ibBJlhhMfrJqZ4jx43hoKYapw7eK Ex20gMenaf+fnzg7uEKTqtzUHIZdx7Y0T7ozZYLAVYRk8rlGSXyRABTh5 A==; X-IronPort-AV: E=McAfee;i="6400,9594,10421"; a="352462889" X-IronPort-AV: E=Sophos;i="5.93,196,1654585200"; d="scan'208";a="352462889" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jul 2022 02:15:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,196,1654585200"; d="scan'208";a="576377651" Received: from lkp-server01.sh.intel.com (HELO e0eace57cfef) ([10.239.97.150]) by orsmga006.jf.intel.com with ESMTP; 28 Jul 2022 02:15:01 -0700 Received: from kbuild by e0eace57cfef with local (Exim 4.96) (envelope-from ) id 1oGzbh-0009r4-0w; Thu, 28 Jul 2022 09:15:01 +0000 Date: Thu, 28 Jul 2022 17:14:13 +0800 From: kernel test robot To: Mark-PK Tsai Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, Linux Memory Management List , Mathieu Poirier Subject: [linux-next:master 4288/13276] coherent.c:undefined reference to `memunmap' Message-ID: <202207281724.oBZnmI4E-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline ARC-Authentication-Results: i=1; imf21.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b=Kgl3ezzs; spf=pass (imf21.hostedemail.com: domain of lkp@intel.com designates 134.134.136.100 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1658999705; a=rsa-sha256; cv=none; b=AdkPYXi+cOXV3s08uODQzFI790Dsv7aruAxFJTNr903mMOgEA10bz+suwWhfaIaKNK4xPV lRwvbDaHHcEpiDU8+HchVYV3HzuLZxhMZigFnNVqQHT1x+oAiLLauPAAIiJWDMCya/M+O+ 63AC7G7m9yXG5l7qGr9C4BHAeXCOi+Q= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1658999705; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=XyM9RWpRygHnznZzcXbrS3WgUTsC1Vbb4S4bELtCYEE=; b=1vczOOPetNAG1qj0f8k7PTLRqw+tu0xup9wNQiOeSRaw4Rq8Gu1fpvVJdSAlW6iqC8XnP7 UxMnW5YQ45QD6xa5BC6nVEbRI7H+2x5uGANkYuP71SVti1kCJs3jP6y7cdZobLbL3UwDnZ +R08np9eNqjoqjF8u3Gjt1ScEqD76Uk= X-Rspamd-Server: rspam11 X-Rspamd-Queue-Id: 39DF41C001C Authentication-Results: imf21.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b=Kgl3ezzs; spf=pass (imf21.hostedemail.com: domain of lkp@intel.com designates 134.134.136.100 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Stat-Signature: zqhua75o5fyjcaaqwqejih15pnhdr9fy X-Rspam-User: X-HE-Tag: 1658999704-138483 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Hi Mark-PK, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 9250d2f72dc46a808b6aa23bf50dd670f1f52ddc commit: e61c451476e61450f6771ce03bbc01210a09be16 [4288/13276] dma-mapping: Add dma_release_coherent_memory to DMA API config: s390-randconfig-r002-20220728 (https://download.01.org/0day-ci/archive/20220728/202207281724.oBZnmI4E-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 8dfaecc4c24494337933aff9d9166486ca0949f1) 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 # install s390 cross compiling tool for clang build # apt-get install binutils-s390x-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=e61c451476e61450f6771ce03bbc01210a09be16 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout e61c451476e61450f6771ce03bbc01210a09be16 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): /opt/cross/gcc-12.1.0-nolibc/s390x-linux/bin/s390x-linux-ld: kernel/dma/coherent.o: in function `dma_declare_coherent_memory': coherent.c:(.text+0x48): undefined reference to `memremap' /opt/cross/gcc-12.1.0-nolibc/s390x-linux/bin/s390x-linux-ld: coherent.c:(.text+0x14a): undefined reference to `memunmap' /opt/cross/gcc-12.1.0-nolibc/s390x-linux/bin/s390x-linux-ld: coherent.c:(.text+0x180): undefined reference to `memunmap' /opt/cross/gcc-12.1.0-nolibc/s390x-linux/bin/s390x-linux-ld: kernel/dma/coherent.o: in function `dma_release_coherent_memory': >> coherent.c:(.text+0x1e2): undefined reference to `memunmap' /opt/cross/gcc-12.1.0-nolibc/s390x-linux/bin/s390x-linux-ld: kernel/dma/coherent.o: in function `rmem_dma_device_init': coherent.c:(.text+0x634): undefined reference to `memremap' /opt/cross/gcc-12.1.0-nolibc/s390x-linux/bin/s390x-linux-ld: coherent.c:(.text+0x740): undefined reference to `memunmap' /opt/cross/gcc-12.1.0-nolibc/s390x-linux/bin/s390x-linux-ld: drivers/crypto/ccree/cc_driver.o: in function `ccree_probe': cc_driver.c:(.text+0x3d8): undefined reference to `devm_ioremap_resource' /opt/cross/gcc-12.1.0-nolibc/s390x-linux/bin/s390x-linux-ld: drivers/crypto/ccree/cc_debugfs.o: in function `cc_debugfs_init': cc_debugfs.c:(.text+0x94): undefined reference to `debugfs_create_regset32' /opt/cross/gcc-12.1.0-nolibc/s390x-linux/bin/s390x-linux-ld: cc_debugfs.c:(.text+0x13a): undefined reference to `debugfs_create_regset32' -- 0-DAY CI Kernel Test Service https://01.org/lkp