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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C87C9C433EF for ; Thu, 25 Nov 2021 08:40:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353459AbhKYIny (ORCPT ); Thu, 25 Nov 2021 03:43:54 -0500 Received: from mga06.intel.com ([134.134.136.31]:12947 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346771AbhKYIlx (ORCPT ); Thu, 25 Nov 2021 03:41:53 -0500 X-IronPort-AV: E=McAfee;i="6200,9189,10178"; a="296279251" X-IronPort-AV: E=Sophos;i="5.87,262,1631602800"; d="scan'208";a="296279251" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Nov 2021 00:38:33 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,262,1631602800"; d="scan'208";a="510212396" Received: from lkp-server02.sh.intel.com (HELO 9e1e9f9b3bcb) ([10.239.97.151]) by orsmga008.jf.intel.com with ESMTP; 25 Nov 2021 00:38:29 -0800 Received: from kbuild by 9e1e9f9b3bcb with local (Exim 4.92) (envelope-from ) id 1mqAGy-00063r-JV; Thu, 25 Nov 2021 08:38:28 +0000 Date: Thu, 25 Nov 2021 16:38:00 +0800 From: kernel test robot To: Joel Stanley , Andrew Jeffery , Rob Herring Cc: kbuild-all@lists.01.org, Ryan Chen , Paul Menzel , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org Subject: Re: [PATCH 3/3] ARM: aspeed: Add secure boot controller support Message-ID: <202111251600.hBmyvSD0-lkp@intel.com> References: <20211117035106.321454-4-joel@jms.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211117035106.321454-4-joel@jms.id.au> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi Joel, I love your patch! Perhaps something to improve: [auto build test WARNING on robh/for-next] [also build test WARNING on soc/for-next rockchip/for-next shawnguo/for-next v5.16-rc2 next-20211125] [cannot apply to arm/for-next arm64/for-next/core] [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] url: https://github.com/0day-ci/linux/commits/Joel-Stanley/ARM-aspeed-Secure-Boot-Controller-support/20211117-115258 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next config: sparc64-randconfig-s032-20211118 (https://download.01.org/0day-ci/archive/20211125/202111251600.hBmyvSD0-lkp@intel.com/config) compiler: sparc64-linux-gcc (GCC) 11.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.4-dirty # https://github.com/0day-ci/linux/commit/5057997868102d26f0af9c8d769a4809a3bd60be git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Joel-Stanley/ARM-aspeed-Secure-Boot-Controller-support/20211117-115258 git checkout 5057997868102d26f0af9c8d769a4809a3bd60be # save the config file to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=sparc64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) >> drivers/soc/aspeed/aspeed-socinfo.c:166:38: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *base @@ got void [noderef] __iomem * @@ drivers/soc/aspeed/aspeed-socinfo.c:166:38: sparse: expected void *base drivers/soc/aspeed/aspeed-socinfo.c:166:38: sparse: got void [noderef] __iomem * >> drivers/soc/aspeed/aspeed-socinfo.c:171:46: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@ drivers/soc/aspeed/aspeed-socinfo.c:171:46: sparse: expected void const volatile [noderef] __iomem *addr drivers/soc/aspeed/aspeed-socinfo.c:171:46: sparse: got void * >> drivers/soc/aspeed/aspeed-socinfo.c:173:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void *base @@ drivers/soc/aspeed/aspeed-socinfo.c:173:25: sparse: expected void volatile [noderef] __iomem *addr drivers/soc/aspeed/aspeed-socinfo.c:173:25: sparse: got void *base vim +166 drivers/soc/aspeed/aspeed-socinfo.c 126 127 static int __init aspeed_socinfo_init(void) 128 { 129 struct soc_device_attribute *attrs; 130 struct soc_device *soc_dev; 131 struct device_node *np; 132 void __iomem *reg; 133 bool has_chipid = false; 134 bool has_sbe = false; 135 u32 siliconid; 136 u32 chipid[2]; 137 const char *machine = NULL; 138 139 np = of_find_compatible_node(NULL, NULL, "aspeed,silicon-id"); 140 if (!of_device_is_available(np)) { 141 of_node_put(np); 142 return -ENODEV; 143 } 144 145 reg = of_iomap(np, 0); 146 if (!reg) { 147 of_node_put(np); 148 return -ENODEV; 149 } 150 siliconid = readl(reg); 151 iounmap(reg); 152 153 /* This is optional, the ast2400 does not have it */ 154 reg = of_iomap(np, 1); 155 if (reg) { 156 has_chipid = true; 157 chipid[0] = readl(reg); 158 chipid[1] = readl(reg + 4); 159 iounmap(reg); 160 } 161 of_node_put(np); 162 163 /* AST2600 only */ 164 np = of_find_compatible_node(NULL, NULL, "aspeed,ast2600-sbc"); 165 if (of_device_is_available(np)) { > 166 void *base = of_iomap(np, 0); 167 if (!base) { 168 of_node_put(np); 169 return -ENODEV; 170 } > 171 security_status = readl(base + SEC_STATUS); 172 has_sbe = true; > 173 iounmap(base); --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org 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 7B5F0C433EF for ; Thu, 25 Nov 2021 08:40:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hmuCSawuVX41W7pVvRULeTIb/0HUrBRGBHWI+s/v8m4=; b=rUaXX9E4pLAROo xMxC48XHEP0zki2oCQyEdXD6GPGD+9yILZ30nKYIFV6fIv2qoyYMVKweu22DFrvzkwldfocstpMnR wpuXVVSymgx5q8FmrZ7xh7jTIIQyuBe8+WXlte+ZH5g/5W/yQ8ZkG7HGpfwxTFMEJf0fOiF++zCh5 MWaGY4JmGrAbcdsY8I1vbxqlXzLuc9yBUeuuXT8P/TBLguURyLEjDL30ioWVv3lit08J4iUwHUjnh AB3NA4h7okKXAngO64/AMirLcSGUHfmKWW1OCQ5MRcC07T8HayOzLRwG5uEyePdGmG5NEypTOzsnI fTAa+dzZEqJFQ3azxLNA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mqAHA-006jv0-1G; Thu, 25 Nov 2021 08:38:40 +0000 Received: from mga09.intel.com ([134.134.136.24]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mqAH5-006juY-PZ for linux-arm-kernel@lists.infradead.org; Thu, 25 Nov 2021 08:38:37 +0000 X-IronPort-AV: E=McAfee;i="6200,9189,10178"; a="235291546" X-IronPort-AV: E=Sophos;i="5.87,262,1631602800"; d="scan'208";a="235291546" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Nov 2021 00:38:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,262,1631602800"; d="scan'208";a="510212396" Received: from lkp-server02.sh.intel.com (HELO 9e1e9f9b3bcb) ([10.239.97.151]) by orsmga008.jf.intel.com with ESMTP; 25 Nov 2021 00:38:29 -0800 Received: from kbuild by 9e1e9f9b3bcb with local (Exim 4.92) (envelope-from ) id 1mqAGy-00063r-JV; Thu, 25 Nov 2021 08:38:28 +0000 Date: Thu, 25 Nov 2021 16:38:00 +0800 From: kernel test robot To: Joel Stanley , Andrew Jeffery , Rob Herring Cc: kbuild-all@lists.01.org, Ryan Chen , Paul Menzel , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org Subject: Re: [PATCH 3/3] ARM: aspeed: Add secure boot controller support Message-ID: <202111251600.hBmyvSD0-lkp@intel.com> References: <20211117035106.321454-4-joel@jms.id.au> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211117035106.321454-4-joel@jms.id.au> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211125_003835_905753_C157307F X-CRM114-Status: GOOD ( 16.46 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Joel, I love your patch! Perhaps something to improve: [auto build test WARNING on robh/for-next] [also build test WARNING on soc/for-next rockchip/for-next shawnguo/for-next v5.16-rc2 next-20211125] [cannot apply to arm/for-next arm64/for-next/core] [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] url: https://github.com/0day-ci/linux/commits/Joel-Stanley/ARM-aspeed-Secure-Boot-Controller-support/20211117-115258 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next config: sparc64-randconfig-s032-20211118 (https://download.01.org/0day-ci/archive/20211125/202111251600.hBmyvSD0-lkp@intel.com/config) compiler: sparc64-linux-gcc (GCC) 11.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.4-dirty # https://github.com/0day-ci/linux/commit/5057997868102d26f0af9c8d769a4809a3bd60be git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Joel-Stanley/ARM-aspeed-Secure-Boot-Controller-support/20211117-115258 git checkout 5057997868102d26f0af9c8d769a4809a3bd60be # save the config file to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=sparc64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) >> drivers/soc/aspeed/aspeed-socinfo.c:166:38: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *base @@ got void [noderef] __iomem * @@ drivers/soc/aspeed/aspeed-socinfo.c:166:38: sparse: expected void *base drivers/soc/aspeed/aspeed-socinfo.c:166:38: sparse: got void [noderef] __iomem * >> drivers/soc/aspeed/aspeed-socinfo.c:171:46: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@ drivers/soc/aspeed/aspeed-socinfo.c:171:46: sparse: expected void const volatile [noderef] __iomem *addr drivers/soc/aspeed/aspeed-socinfo.c:171:46: sparse: got void * >> drivers/soc/aspeed/aspeed-socinfo.c:173:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void *base @@ drivers/soc/aspeed/aspeed-socinfo.c:173:25: sparse: expected void volatile [noderef] __iomem *addr drivers/soc/aspeed/aspeed-socinfo.c:173:25: sparse: got void *base vim +166 drivers/soc/aspeed/aspeed-socinfo.c 126 127 static int __init aspeed_socinfo_init(void) 128 { 129 struct soc_device_attribute *attrs; 130 struct soc_device *soc_dev; 131 struct device_node *np; 132 void __iomem *reg; 133 bool has_chipid = false; 134 bool has_sbe = false; 135 u32 siliconid; 136 u32 chipid[2]; 137 const char *machine = NULL; 138 139 np = of_find_compatible_node(NULL, NULL, "aspeed,silicon-id"); 140 if (!of_device_is_available(np)) { 141 of_node_put(np); 142 return -ENODEV; 143 } 144 145 reg = of_iomap(np, 0); 146 if (!reg) { 147 of_node_put(np); 148 return -ENODEV; 149 } 150 siliconid = readl(reg); 151 iounmap(reg); 152 153 /* This is optional, the ast2400 does not have it */ 154 reg = of_iomap(np, 1); 155 if (reg) { 156 has_chipid = true; 157 chipid[0] = readl(reg); 158 chipid[1] = readl(reg + 4); 159 iounmap(reg); 160 } 161 of_node_put(np); 162 163 /* AST2600 only */ 164 np = of_find_compatible_node(NULL, NULL, "aspeed,ast2600-sbc"); 165 if (of_device_is_available(np)) { > 166 void *base = of_iomap(np, 0); 167 if (!base) { 168 of_node_put(np); 169 return -ENODEV; 170 } > 171 security_status = readl(base + SEC_STATUS); 172 has_sbe = true; > 173 iounmap(base); --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============9002766446660782623==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH 3/3] ARM: aspeed: Add secure boot controller support Date: Thu, 25 Nov 2021 16:38:00 +0800 Message-ID: <202111251600.hBmyvSD0-lkp@intel.com> In-Reply-To: <20211117035106.321454-4-joel@jms.id.au> List-Id: --===============9002766446660782623== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Joel, I love your patch! Perhaps something to improve: [auto build test WARNING on robh/for-next] [also build test WARNING on soc/for-next rockchip/for-next shawnguo/for-nex= t v5.16-rc2 next-20211125] [cannot apply to arm/for-next arm64/for-next/core] [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] url: https://github.com/0day-ci/linux/commits/Joel-Stanley/ARM-aspeed-Se= cure-Boot-Controller-support/20211117-115258 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-= next config: sparc64-randconfig-s032-20211118 (https://download.01.org/0day-ci/a= rchive/20211125/202111251600.hBmyvSD0-lkp(a)intel.com/config) compiler: sparc64-linux-gcc (GCC) 11.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/= make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.4-dirty # https://github.com/0day-ci/linux/commit/5057997868102d26f0af9c8d7= 69a4809a3bd60be git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Joel-Stanley/ARM-aspeed-Secure-Boo= t-Controller-support/20211117-115258 git checkout 5057997868102d26f0af9c8d769a4809a3bd60be # save the config file to linux build tree COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-11.2.0 make.cross= C=3D1 CF=3D'-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=3Dsparc64 = If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) >> drivers/soc/aspeed/aspeed-socinfo.c:166:38: sparse: sparse: incorrect ty= pe in initializer (different address spaces) @@ expected void *base @@ = got void [noderef] __iomem * @@ drivers/soc/aspeed/aspeed-socinfo.c:166:38: sparse: expected void *b= ase drivers/soc/aspeed/aspeed-socinfo.c:166:38: sparse: got void [nodere= f] __iomem * >> drivers/soc/aspeed/aspeed-socinfo.c:171:46: sparse: sparse: incorrect ty= pe in argument 1 (different address spaces) @@ expected void const vola= tile [noderef] __iomem *addr @@ got void * @@ drivers/soc/aspeed/aspeed-socinfo.c:171:46: sparse: expected void co= nst volatile [noderef] __iomem *addr drivers/soc/aspeed/aspeed-socinfo.c:171:46: sparse: got void * >> drivers/soc/aspeed/aspeed-socinfo.c:173:25: sparse: sparse: incorrect ty= pe in argument 1 (different address spaces) @@ expected void volatile [= noderef] __iomem *addr @@ got void *base @@ drivers/soc/aspeed/aspeed-socinfo.c:173:25: sparse: expected void vo= latile [noderef] __iomem *addr drivers/soc/aspeed/aspeed-socinfo.c:173:25: sparse: got void *base vim +166 drivers/soc/aspeed/aspeed-socinfo.c 126 = 127 static int __init aspeed_socinfo_init(void) 128 { 129 struct soc_device_attribute *attrs; 130 struct soc_device *soc_dev; 131 struct device_node *np; 132 void __iomem *reg; 133 bool has_chipid =3D false; 134 bool has_sbe =3D false; 135 u32 siliconid; 136 u32 chipid[2]; 137 const char *machine =3D NULL; 138 = 139 np =3D of_find_compatible_node(NULL, NULL, "aspeed,silicon-id"); 140 if (!of_device_is_available(np)) { 141 of_node_put(np); 142 return -ENODEV; 143 } 144 = 145 reg =3D of_iomap(np, 0); 146 if (!reg) { 147 of_node_put(np); 148 return -ENODEV; 149 } 150 siliconid =3D readl(reg); 151 iounmap(reg); 152 = 153 /* This is optional, the ast2400 does not have it */ 154 reg =3D of_iomap(np, 1); 155 if (reg) { 156 has_chipid =3D true; 157 chipid[0] =3D readl(reg); 158 chipid[1] =3D readl(reg + 4); 159 iounmap(reg); 160 } 161 of_node_put(np); 162 = 163 /* AST2600 only */ 164 np =3D of_find_compatible_node(NULL, NULL, "aspeed,ast2600-sbc"); 165 if (of_device_is_available(np)) { > 166 void *base =3D of_iomap(np, 0); 167 if (!base) { 168 of_node_put(np); 169 return -ENODEV; 170 } > 171 security_status =3D readl(base + SEC_STATUS); 172 has_sbe =3D true; > 173 iounmap(base); --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============9002766446660782623==--