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 82E77C3064D for ; Fri, 28 Jun 2024 05:19:06 +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=c6F1wlatUcz3lshHonbeezgklMz5mZTmNoSBaFezwZU=; b=JFqKI9mQ55wd58EyRUZ7vK8i3y VYX4IaLtwRd8fbiDJOqznKBOcWcrZHsRBcNYB41eEugJ+fEU9mY9fI9+enMpNgXURzrgvPx++XDmZ 9wlDd/VbFd1e+2Riiu6WP9WU9FsRR9ATlYesag90mxWSAdm0gI+GhzDSOIMlH/fqkOmCNVMyYDna/ FVSHQbuUlxZTFnx5ALJwiUb3fHLNS0NzBIrp6h74u4B1wFmI7tgCagjX+HfOaouf8Sk4Dzwy3D9ni RnfdE/jlHXfJAdTtDCmFqUaBehls3oHUAbyGKGSx180mIjEGL71rzPJRqmSnsSjk6w/p6sMogf4qO UwicGb3Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sN40b-0000000Cb1w-3v1D; Fri, 28 Jun 2024 05:18:54 +0000 Received: from mgamail.intel.com ([192.198.163.11]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sN40S-0000000Cazj-3v6S for linux-arm-kernel@lists.infradead.org; Fri, 28 Jun 2024 05:18:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1719551925; x=1751087925; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=EsBjbl1L0ItHWLuJt6/SzDFQkncBAJfJVa3VjM2Xvcg=; b=kvNQGwMTeRfPJNlWgqC1iP41FfLMyTHUsd9ZKWwLxwSAvZjlxzpcK+nr AfKhOpIlaVAPKxKqyHbPnumCX2HdIm66qTNeTeMoYxDB0VDZ30P7pYoHm RMLbcDKH9h151IGrNCvvzUtxtVWFqwDtqRzElpk2S14CKl69Xg4rTaChU oBq5csud+bKio+dHYzl4eX6VQsZcx1zYg6nXUcF5qByzuYpbHFtMB7log FJ8BH95FmuLIJkmlKim0hqx6ztTH9rRC8cCSl983j8VfS3rJqBcB+c2by 7QcALPD6y+RtOvKIsq7ItktfDdBEOmSSK7j/su82t36a59/v5ykwdBb47 w==; X-CSE-ConnectionGUID: J5o7f85fSYSf8QT8KU03Sg== X-CSE-MsgGUID: mV7CL3OMTs+peRp1Mml+ng== X-IronPort-AV: E=McAfee;i="6700,10204,11116"; a="27340529" X-IronPort-AV: E=Sophos;i="6.09,168,1716274800"; d="scan'208";a="27340529" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jun 2024 22:18:41 -0700 X-CSE-ConnectionGUID: PKoepgiDSSyTrsIjQx5f9Q== X-CSE-MsgGUID: sSeuRvK7T5S4L+nd0hgoSQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,168,1716274800"; d="scan'208";a="45367562" Received: from lkp-server01.sh.intel.com (HELO 68891e0c336b) ([10.239.97.150]) by orviesa008.jf.intel.com with ESMTP; 27 Jun 2024 22:18:37 -0700 Received: from kbuild by 68891e0c336b with local (Exim 4.96) (envelope-from ) id 1sN40I-000Gp8-2o; Fri, 28 Jun 2024 05:18:34 +0000 Date: Fri, 28 Jun 2024 13:18:18 +0800 From: kernel test robot To: Bibek Kumar Patro , robdclark@gmail.com, will@kernel.org, robin.murphy@arm.com, joro@8bytes.org, jgg@ziepe.ca, jsnitsel@redhat.com, robh@kernel.org, krzysztof.kozlowski@linaro.org, quic_c_gdjako@quicinc.com, dmitry.baryshkov@linaro.org, konrad.dybcio@linaro.org Cc: oe-kbuild-all@lists.linux.dev, iommu@lists.linux.dev, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Bibek Kumar Patro Subject: Re: [PATCH v12 6/6] iommu/arm-smmu: add support for PRR bit setup Message-ID: <202406281241.xEX0TWjt-lkp@intel.com> References: <20240626143020.3682243-7-quic_bibekkum@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240626143020.3682243-7-quic_bibekkum@quicinc.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240627_221845_016715_C13823D0 X-CRM114-Status: GOOD ( 11.58 ) 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 Bibek, kernel test robot noticed the following build warnings: [auto build test WARNING on joro-iommu/next] [also build test WARNING on linus/master v6.10-rc5 next-20240627] [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/Bibek-Kumar-Patro/iommu-arm-smmu-re-enable-context-caching-in-smmu-reset-operation/20240627-074037 base: https://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git next patch link: https://lore.kernel.org/r/20240626143020.3682243-7-quic_bibekkum%40quicinc.com patch subject: [PATCH v12 6/6] iommu/arm-smmu: add support for PRR bit setup config: arm64-randconfig-r113-20240628 (https://download.01.org/0day-ci/archive/20240628/202406281241.xEX0TWjt-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 13.2.0 reproduce: (https://download.01.org/0day-ci/archive/20240628/202406281241.xEX0TWjt-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/202406281241.xEX0TWjt-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) >> drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c:247:54: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@ drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c:247:54: sparse: expected void volatile [noderef] __iomem *addr drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c:247:54: sparse: got void * drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c:250:54: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@ drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c:250:54: sparse: expected void volatile [noderef] __iomem *addr drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c:250:54: sparse: got void * drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c: note: in included file (through include/linux/mmzone.h, include/linux/gfp.h, include/linux/slab.h, ...): include/linux/page-flags.h:240:46: sparse: sparse: self-comparison always evaluates to false include/linux/page-flags.h:240:46: sparse: sparse: self-comparison always evaluates to false vim +247 drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c 238 239 static void qcom_adreno_smmu_set_prr(const void *cookie, phys_addr_t page_addr, bool set) 240 { 241 struct arm_smmu_domain *smmu_domain = (void *)cookie; 242 struct arm_smmu_cfg *cfg = &smmu_domain->cfg; 243 struct arm_smmu_device *smmu = smmu_domain->smmu; 244 u32 reg = 0; 245 246 writel_relaxed(lower_32_bits(page_addr), > 247 (void *)smmu->ioaddr + ARM_SMMU_GFX_PRR_CFG_LADDR); 248 249 writel_relaxed(upper_32_bits(page_addr), 250 (void *)smmu->ioaddr + ARM_SMMU_GFX_PRR_CFG_UADDR); 251 252 reg = arm_smmu_cb_read(smmu, cfg->cbndx, ARM_SMMU_CB_ACTLR); 253 reg &= ~GFX_ACTLR_PRR; 254 if (set) 255 reg |= FIELD_PREP(GFX_ACTLR_PRR, 1); 256 arm_smmu_cb_write(smmu, cfg->cbndx, ARM_SMMU_CB_ACTLR, reg); 257 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki