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 1A678C3DA61 for ; Mon, 29 Jul 2024 20:24: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=LolQ3DIrcIUvZvRQks1Zn24o+s0cTzPYfHOpIdjm+Wo=; b=kFsaBkFVuV4s6em/9u81eVXpPW x98nfirzKF9iY3OrXxCG06qCotYiPAH/UltIruEsQDKSaXBMrABgZWOBkP5z4ffH+eiYqvwbKRzsS ReP98YOspjIwKUypFXeuaU1n7cEuVyyQFfmZlJKmVssknTpPsm+CYbHxAUqGQqguHRiwJVcvjHsut 6AXT55KvES0cQPAQOMK416OuHbxu3RHpAGCyGfP5IpbXAGv+d0xIUcui7gQAAg8bdVPvdRnytk+vq dLiMGpWF9NNm7FmR86VuDIkYcGLCOzqNyKMDxyjE82nryeQZ+zNcadQr0LOA23q30Sdq3b4czPNXq DcdGIGQw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sYWut-0000000CdDC-14rk; Mon, 29 Jul 2024 20:24:23 +0000 Received: from mgamail.intel.com ([192.198.163.15]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sYWrk-0000000Cc2c-09VO for linux-arm-kernel@lists.infradead.org; Mon, 29 Jul 2024 20:21:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1722284468; x=1753820468; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=9MnFmbMMl4welPbAXfEJprTWfaQmhfFar1+EgR/YeEY=; b=Ne051nFHbxRORE4FkWCfAIUbQryIgErdRA/p6yF8oaHJpX0TWkNIFCSu pZoQfstjbtnQTgxvGbe8+wx7tK52FxdTngT0KvGpsbtDmlkZOyLYAM0N+ dcvVx14ZR0Q1bWEao5c+ZcJPkjaPz7XmbugLQp7DeYX6vNxFwlRTVW67O mslSKJ8crH2dGa9nf51rig6bEo3r+pVjDNtuWnz9w5a1LsVUAtopvCRiw +EcDHBUtuKN7kBQaSlKBdzKeCzIwVpOMY9vu9u+C9uZMLaiLIrw/LMuBm Do7oNpPL1FFzmEzE2IWAxdEFnOG1wrv7XD41tbel9leFaCxlFG7EUQtuu w==; X-CSE-ConnectionGUID: uESESA5ARh2vgFJVjnUGpg== X-CSE-MsgGUID: IxmWUZbxQNy8h58I4Yh9Eg== X-IronPort-AV: E=McAfee;i="6700,10204,11148"; a="20222983" X-IronPort-AV: E=Sophos;i="6.09,246,1716274800"; d="scan'208";a="20222983" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by fmvoesa109.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jul 2024 13:21:04 -0700 X-CSE-ConnectionGUID: JMsHV9crROu7a5Rx0cgJEA== X-CSE-MsgGUID: NRpEEVfCSs2EuHroYVXk+g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,246,1716274800"; d="scan'208";a="85050208" Received: from lkp-server01.sh.intel.com (HELO 68891e0c336b) ([10.239.97.150]) by fmviesa001.fm.intel.com with ESMTP; 29 Jul 2024 13:21:01 -0700 Received: from kbuild by 68891e0c336b with local (Exim 4.96) (envelope-from ) id 1sYWra-000s2F-2j; Mon, 29 Jul 2024 20:20:58 +0000 Date: Tue, 30 Jul 2024 04:20:51 +0800 From: kernel test robot To: Baruch Siach , Christoph Hellwig , Marek Szyprowski , Catalin Marinas , Will Deacon Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-s390@vger.kernel.org, Baruch Siach , Ramon Fried , Petr =?utf-8?B?VGVzYcWZw61r?= , Robin Murphy , linux-kernel@vger.kernel.org, iommu@lists.linux.dev, Elad Nachman , linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v3 2/3] dma-mapping: replace zone_dma_bits by zone_dma_limit Message-ID: <202407300338.oaUo6jtB-lkp@intel.com> References: <053fa4806a2c63efcde80caca473a8b670a2701c.1722249878.git.baruch@tkos.co.il> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <053fa4806a2c63efcde80caca473a8b670a2701c.1722249878.git.baruch@tkos.co.il> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240729_132108_175815_62D90858 X-CRM114-Status: GOOD ( 14.60 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Baruch, kernel test robot noticed the following build warnings: [auto build test WARNING on arm64/for-next/core] [also build test WARNING on powerpc/next powerpc/fixes s390/features linus/master v6.11-rc1 next-20240729] [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/Baruch-Siach/dma-mapping-improve-DMA-zone-selection/20240729-211018 base: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core patch link: https://lore.kernel.org/r/053fa4806a2c63efcde80caca473a8b670a2701c.1722249878.git.baruch%40tkos.co.il patch subject: [PATCH v3 2/3] dma-mapping: replace zone_dma_bits by zone_dma_limit config: arm-allnoconfig (https://download.01.org/0day-ci/archive/20240730/202407300338.oaUo6jtB-lkp@intel.com/config) compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project ccae7b461be339e717d02f99ac857cf0bc7d17fc) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240730/202407300338.oaUo6jtB-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/202407300338.oaUo6jtB-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from kernel/dma/direct.c:7: In file included from include/linux/memblock.h:12: In file included from include/linux/mm.h:2253: include/linux/vmstat.h:514:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 514 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ >> kernel/dma/direct.c:23:46: warning: implicit conversion from 'unsigned long long' to 'phys_addr_t' (aka 'unsigned int') changes value from 18446744073709551615 to 4294967295 [-Wconstant-conversion] 23 | phys_addr_t zone_dma_limit __ro_after_init = DMA_BIT_MASK(24); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~ include/linux/dma-mapping.h:77:40: note: expanded from macro 'DMA_BIT_MASK' 77 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) | ^~~~~ 2 warnings generated. vim +23 kernel/dma/direct.c > 7 #include 8 #include 9 #include 10 #include 11 #include 12 #include 13 #include 14 #include 15 #include 16 #include "direct.h" 17 18 /* 19 * Most architectures use ZONE_DMA for the first 16 Megabytes, but some use 20 * it for entirely different regions. In that case the arch code needs to 21 * override the variable below for dma-direct to work properly. 22 */ > 23 phys_addr_t zone_dma_limit __ro_after_init = DMA_BIT_MASK(24); 24 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki