Received: by 2002:a05:7412:9c07:b0:fa:6e18:a558 with SMTP id lr7csp571158rdb; Sat, 27 Jan 2024 22:06:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IGjM3mMmCHYuOIQ0fDY8kMkSAlGkWJedUfoG+nMLQff8nAIHBmkCZzYrvOMMyY81nIeBQu6 X-Received: by 2002:a17:906:f9c3:b0:a29:1419:f522 with SMTP id lj3-20020a170906f9c300b00a291419f522mr2080442ejb.72.1706421998768; Sat, 27 Jan 2024 22:06:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706421998; cv=pass; d=google.com; s=arc-20160816; b=W60nBXyrrZuJSFdUvLvPsIm9jcbZJxKdj1dsbbKPxTSCYCdZd+C/p0xomuE4OH0kyD RzK6LkQM/ih9hQ1Cqgj8KpTPjTwwrxZOjlFWfwrAQaQOWmig0WkV9CORCQs3HIkM3fXs C79csgF/40ATuWDKku6PDZEMBq/UyTUOZhdA71WaaZUdbU6Ef6LMt2Y7YTgafJr0o6rd iH6yxOYHHlZK+1j1rbWz1kemCLEmVMRcjXPc+ucnUXwdohXRUyyERg0GLFS7+DilD6j/ Z/3Mlo950ZIm1ngzLL3s2sr0qeVGwG8JlSpgWQc1oqP1uZYBX0GKehKBeZ2mnu8qlcsC rZSw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=PkgaJvlC3pCaPrXC/JKLgOABMk8+E3C2xtI2/1ZVMlQ=; fh=H7gcf94p8WK8xlCPS3KYZ7lcyPSUSMCxyqZbJIGfgT0=; b=Ya5yNnl7UCY0fS7TxcsFb88XAnDsjXBLjRncd5tT7mjII6zDPv7JZymsBn1mt1ILbZ HJQi3Xh+g8j3LThHBSQMhIfDSKMYZQVatKuscNPgSF/OeTAqNwlyek4N2J4OLRccA2Ww yAl8WYxSDc/WGSZzRdtsQSCYeChkgKU083YeuM0HLy8U1bunbIxWCMYl2JG/WPKwUOi/ 2m8Z6S3XgJk1KKWjs8KYVmXXE1WdTkKLtmIp9Vk/2t1Ne39ZrLcXpMOjV7rTcg9b7SEb LyjtqluWIYNs4+DmO/DI49tpP8SiGWrhCfUoUNd48ixnm1AaHOOi7rbf18ocRCaTDd1v SS1Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=oBo8WN91; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-41547-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41547-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id p19-20020a1709060e9300b00a3483dd9c47si2253460ejf.276.2024.01.27.22.06.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Jan 2024 22:06:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-41547-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=oBo8WN91; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-41547-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41547-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 3B9621F220AF for ; Sun, 28 Jan 2024 06:06:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8C9CB8C1E; Sun, 28 Jan 2024 06:06:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="oBo8WN91" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C45DF748D; Sun, 28 Jan 2024 06:06:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706421987; cv=none; b=q5eKPtQE3hGv0Ox3RE0mP/WHO804kjYOECJA2B6SDDQT11kR2zhmLU/Qb649KPzNYMu2U/geHitGdJQKk90QSxB7207t8z3P4GIIVu60sJxIz5MyWLVoRROCnB8qSD1iq/+Rev494OP5WexN9CezhNKLVQbpEYxAryLLowvZdKI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706421987; c=relaxed/simple; bh=NttJqLrnePMktBrZTxU8B3o9czIfX/MyFTnT41W2cfo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=gWx7TiYrrj9uUfNLkXQtuuaQSPR4RznRcZVTQMPsZnN14Y5YRmwt0eZQb/R2EwFq/Iz32RmE/XdfzuDMgEa3UZYuruOFSoYNfTMHaEgGXJSBc0ixM8jwueyuzT15CKu4HBGEjZa43yrWgtduEvdWti10W++YryeSxP8bfnAXVJ8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=oBo8WN91; arc=none smtp.client-ip=198.175.65.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1706421985; x=1737957985; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=NttJqLrnePMktBrZTxU8B3o9czIfX/MyFTnT41W2cfo=; b=oBo8WN91XAlDgT5qZc6wY7FV2dAuLTOT4E0SXThXVq663ZFm3oduJXb5 kLqjlPovyVnaxegJiiEWL7g6CP9h2PqLRt769SjtPxFZmatsaTVDiXkKP BqNRcDe9xr/bVSEwv0TIRUQZM2Mo5CFt1BrU1+caoELc1pCc5dVC96ep9 RbowP2B805TBvIbIEwnBCjh8kND8eDMIZuzX6dMVdGNPESL9aeFYGMa6G QfGL/cvm95tZ4EGnLRWHpssv94ygI+HIhFKhDENvUJhlY3TIWLISs7hus 38kBWtCwOi7osFFC357Q3SfP0QBHfWjSswUmDBcRxY2bLj7gUCjsb6zQc g==; X-IronPort-AV: E=McAfee;i="6600,9927,10966"; a="10128795" X-IronPort-AV: E=Sophos;i="6.05,220,1701158400"; d="scan'208";a="10128795" Received: from orviesa005.jf.intel.com ([10.64.159.145]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jan 2024 22:06:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,220,1701158400"; d="scan'208";a="2982796" Received: from lkp-server01.sh.intel.com (HELO 370188f8dc87) ([10.239.97.150]) by orviesa005.jf.intel.com with ESMTP; 27 Jan 2024 22:06:16 -0800 Received: from kbuild by 370188f8dc87 with local (Exim 4.96) (envelope-from ) id 1rTyJ3-00038s-2C; Sun, 28 Jan 2024 06:06:13 +0000 Date: Sun, 28 Jan 2024 14:06:05 +0800 From: kernel test robot To: Oreoluwa Babatunde , catalin.marinas@arm.com, will@kernel.org, robh+dt@kernel.org, frowand.list@gmail.com, vgupta@kernel.org, arnd@arndb.de, olof@lixom.net, soc@kernel.org, guoren@kernel.org, monstr@monstr.eu, palmer@dabbelt.com, aou@eecs.berkeley.edu, dinguyen@kernel.org, chenhuacai@kernel.org, tsbogend@alpha.franken.de, jonas@southpole.se, stefan.kristiansson@saunalahti.fi, shorne@gmail.com, mpe@ellerman.id.au, ysato@users.sourceforge.jp, dalias@libc.org, glaubitz@physik.fu-berlin.de, richard@nod.at, anton.ivanov@cambridgegreys.com, johannes@sipsolutions.net, chris@zankel.net, jcmvbkbc@gmail.com Cc: oe-kbuild-all@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH 30/46] of: reserved_mem: Add code to use unflattened DT for reserved_mem nodes Message-ID: <202401281304.tsu89Kcm-lkp@intel.com> References: <20240126235425.12233-31-quic_obabatun@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240126235425.12233-31-quic_obabatun@quicinc.com> Hi Oreoluwa, kernel test robot noticed the following build warnings: [auto build test WARNING on robh/for-next] [also build test WARNING on arm64/for-next/core vgupta-arc/for-curr powerpc/next powerpc/fixes jcmvbkbc-xtensa/xtensa-for-next linus/master v6.8-rc1 next-20240125] [cannot apply to vgupta-arc/for-next] [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/Oreoluwa-Babatunde/of-reserved_mem-Change-the-order-that-reserved_mem-regions-are-stored/20240127-081735 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next patch link: https://lore.kernel.org/r/20240126235425.12233-31-quic_obabatun%40quicinc.com patch subject: [PATCH 30/46] of: reserved_mem: Add code to use unflattened DT for reserved_mem nodes config: arm-randconfig-r133-20240127 (https://download.01.org/0day-ci/archive/20240128/202401281304.tsu89Kcm-lkp@intel.com/config) compiler: arm-linux-gnueabi-gcc (GCC) 13.2.0 reproduce: (https://download.01.org/0day-ci/archive/20240128/202401281304.tsu89Kcm-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/202401281304.tsu89Kcm-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) >> kernel/dma/coherent.c:371:34: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long node @@ got struct device_node *node @@ kernel/dma/coherent.c:371:34: sparse: expected unsigned long node kernel/dma/coherent.c:371:34: sparse: got struct device_node *node kernel/dma/coherent.c:378:33: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned long node @@ got struct device_node *node @@ kernel/dma/coherent.c:378:33: sparse: expected unsigned long node kernel/dma/coherent.c:378:33: sparse: got struct device_node *node vim +371 kernel/dma/coherent.c 7bfa5ab6fa1b18 drivers/base/dma-coherent.c Marek Szyprowski 2014-10-13 362 7bfa5ab6fa1b18 drivers/base/dma-coherent.c Marek Szyprowski 2014-10-13 363 static int __init rmem_dma_setup(struct reserved_mem *rmem) 7bfa5ab6fa1b18 drivers/base/dma-coherent.c Marek Szyprowski 2014-10-13 364 { b81d457b174810 kernel/dma/coherent.c Oreoluwa Babatunde 2024-01-26 365 struct device_node *node = rmem->dev_node; 7bfa5ab6fa1b18 drivers/base/dma-coherent.c Marek Szyprowski 2014-10-13 366 b81d457b174810 kernel/dma/coherent.c Oreoluwa Babatunde 2024-01-26 367 if (of_get_property(node, "reusable", NULL)) 7bfa5ab6fa1b18 drivers/base/dma-coherent.c Marek Szyprowski 2014-10-13 368 return -EINVAL; 7bfa5ab6fa1b18 drivers/base/dma-coherent.c Marek Szyprowski 2014-10-13 369 7bfa5ab6fa1b18 drivers/base/dma-coherent.c Marek Szyprowski 2014-10-13 370 #ifdef CONFIG_ARM 7bfa5ab6fa1b18 drivers/base/dma-coherent.c Marek Szyprowski 2014-10-13 @371 if (!of_get_flat_dt_prop(node, "no-map", NULL)) { 7bfa5ab6fa1b18 drivers/base/dma-coherent.c Marek Szyprowski 2014-10-13 372 pr_err("Reserved memory: regions without no-map are not yet supported\n"); 7bfa5ab6fa1b18 drivers/base/dma-coherent.c Marek Szyprowski 2014-10-13 373 return -EINVAL; 7bfa5ab6fa1b18 drivers/base/dma-coherent.c Marek Szyprowski 2014-10-13 374 } 70d6aa0ecfed25 kernel/dma/coherent.c Christoph Hellwig 2021-06-24 375 #endif 93228b44c33a57 drivers/base/dma-coherent.c Vladimir Murzin 2017-06-26 376 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki