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 BEF87CCD1A7 for ; Fri, 17 Oct 2025 13:49:14 +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=3/Jg9tQa0oBY5kfjWu1fWCPxZUMxauco+RQMY1CBVZM=; b=MJquzlGTaAWlOYLJ2lC6fGpVDb W6mZIZ5HqtSGIOPsdgHsvRfm2PRay85YY4ncGWpQSL2K/udU641AgprojiR3ozbnYvti/bb0iLSKk WgyCcPBRJN22raBdfhnxsVNLDOWqJvPRWmVE9P7ZO9Tmvkbkm9+63J7yGumk3xLJsmdndrZyBvZW7 CXAlGAdQ2gPTrekX5IprJpNX4hRvufxxrZr9rh5Aj5M2UPHalAkeSXaZnnpU4IIunfAK9ohkx4Vb4 4GjJcKoawwiTvBkadmu+R9T5yHvhWho3aOuGUbtvsN3gP+lFLldDnOnboNicDCae2uZink2n2oQaw RZg987lQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1v9kpQ-00000007yth-2njI; Fri, 17 Oct 2025 13:49:08 +0000 Received: from mgamail.intel.com ([198.175.65.9]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1v9kpN-00000007yru-11bN for linux-arm-kernel@lists.infradead.org; Fri, 17 Oct 2025 13:49:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1760708944; x=1792244944; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Zi09GkycV22dT8wm57/LcjjsOT5fAWiZE/vyzw5z4N8=; b=hjeR+N/6uhqSjf2+gQQhIMkKNihLPOqR3WzESgK6LGz4geGfQyjR6cte 4dI+uH8rEBd6T4pPvoG1ymBJoQAN5iux5Vf/TvpckjF2Ge0U6g46d1ELk Pv5pUy+Q0E0BUMrdKvSBE6REycBHSoxApgbo6QPHzNexmJ+4dMSCqC+Wk 8nKsZIqxezRmVneHEK+e9euUXsq5kPmoR8FK4EckYjjTI+50DiARyYZW1 39s7qbHe3FpCqthcffw4VXceF0rSHv0JLJhCMArp5YCZAXH17ggcwamDl 004vL8L8N14tar9CetmzqRRegS4tlqy33hJocNkXKwL6gQgGLaTbQlCqM A==; X-CSE-ConnectionGUID: DeiNoOUPTrmsjGzAjcRuNA== X-CSE-MsgGUID: sUdKrG+rRACXjSEiqs6bWQ== X-IronPort-AV: E=McAfee;i="6800,10657,11585"; a="85536053" X-IronPort-AV: E=Sophos;i="6.19,236,1754982000"; d="scan'208";a="85536053" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Oct 2025 06:49:04 -0700 X-CSE-ConnectionGUID: TUlmEQZ6R7S3EFzMCTd7uQ== X-CSE-MsgGUID: rby14u31Tvqwz37AjO2YBQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.19,236,1754982000"; d="scan'208";a="182438446" Received: from lkp-server02.sh.intel.com (HELO 66d7546c76b2) ([10.239.97.151]) by fmviesa007.fm.intel.com with ESMTP; 17 Oct 2025 06:48:59 -0700 Received: from kbuild by 66d7546c76b2 with local (Exim 4.96) (envelope-from ) id 1v9koW-0005zZ-34; Fri, 17 Oct 2025 13:48:24 +0000 Date: Fri, 17 Oct 2025 21:47:07 +0800 From: kernel test robot To: Nicolin Chen , will@kernel.org, jgg@nvidia.com Cc: oe-kbuild-all@lists.linux.dev, jean-philippe@linaro.org, robin.murphy@arm.com, joro@8bytes.org, balbirs@nvidia.com, miko.lenczewski@arm.com, peterz@infradead.org, kevin.tian@intel.com, praan@google.com, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 3/7] iommu/arm-smmu-v3: Introduce a per-domain arm_smmu_invs array Message-ID: <202510172156.WHU485ad-lkp@intel.com> References: <345bb7703ebd19992694758b47e371900267fa0e.1760555863.git.nicolinc@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <345bb7703ebd19992694758b47e371900267fa0e.1760555863.git.nicolinc@nvidia.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20251017_064905_364229_CADEFFD1 X-CRM114-Status: GOOD ( 10.34 ) 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 Nicolin, kernel test robot noticed the following build warnings: [auto build test WARNING on soc/for-next] [also build test WARNING on linus/master v6.18-rc1 next-20251016] [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/Nicolin-Chen/iommu-arm-smmu-v3-Explicitly-set-smmu_domain-stage-for-SVA/20251016-034754 base: https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git for-next patch link: https://lore.kernel.org/r/345bb7703ebd19992694758b47e371900267fa0e.1760555863.git.nicolinc%40nvidia.com patch subject: [PATCH v3 3/7] iommu/arm-smmu-v3: Introduce a per-domain arm_smmu_invs array config: arm64-randconfig-r123-20251017 (https://download.01.org/0day-ci/archive/20251017/202510172156.WHU485ad-lkp@intel.com/config) compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 754ebc6ebb9fb9fbee7aef33478c74ea74949853) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251017/202510172156.WHU485ad-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/202510172156.WHU485ad-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-sva.c: note: in included file: >> drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h:1048:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct callback_head *head @@ got struct callback_head [noderef] __rcu * @@ drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h:1048:9: sparse: expected struct callback_head *head drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h:1048:9: sparse: got struct callback_head [noderef] __rcu * >> drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h:1048:9: sparse: sparse: cast removes address space '__rcu' of expression -- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c: note: in included file (through arch/arm64/include/asm/atomic.h, include/linux/atomic.h, include/asm-generic/bitops/atomic.h, ...): arch/arm64/include/asm/cmpxchg.h:168:1: sparse: sparse: cast truncates bits from constant value (ffffffff80000000 becomes 0) arch/arm64/include/asm/cmpxchg.h:168:1: sparse: sparse: cast truncates bits from constant value (ffffffff80000000 becomes 0) drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c: note: in included file: >> drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h:1048:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct callback_head *head @@ got struct callback_head [noderef] __rcu * @@ drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h:1048:9: sparse: expected struct callback_head *head drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h:1048:9: sparse: got struct callback_head [noderef] __rcu * >> drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h:1048:9: sparse: sparse: cast removes address space '__rcu' of expression >> drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h:1048:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct callback_head *head @@ got struct callback_head [noderef] __rcu * @@ drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h:1048:9: sparse: expected struct callback_head *head drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h:1048:9: sparse: got struct callback_head [noderef] __rcu * >> drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h:1048:9: sparse: sparse: cast removes address space '__rcu' of expression vim +1048 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h 1045 1046 static inline void arm_smmu_domain_free(struct arm_smmu_domain *smmu_domain) 1047 { > 1048 kfree_rcu(smmu_domain->invs, rcu); 1049 kfree(smmu_domain); 1050 } 1051 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki