Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp47646pxb; Mon, 31 Jan 2022 14:53:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJxpvmR248OsGS7Obx8CtL4N4Mu+JzbXxlt/62/y5Og9+gk/YlW1qId+bjKwRb8BxRRktw/r X-Received: by 2002:a63:610b:: with SMTP id v11mr18408973pgb.201.1643669600064; Mon, 31 Jan 2022 14:53:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643669600; cv=none; d=google.com; s=arc-20160816; b=cxUAIDxXln9PvDySBnCtQZok8YPZXiSw4KP7VgxH3Db0bJUIwq14KcEYMqWzpiqqLo B0/l4HJefwccRdKhZ1laHquUYqlKGE1WQSXs4RydtNzVqGAeS0B4M3okiQV2uL5X/gpD kHCaC2nAcddRfxqlkrNpCoWuepVpiO4e8e1+OWMMsoLAD/HZtgVd3EJHBVb8XfNb8O0w Bful8+40aghZ7uwvTkyTcqEdEPVHoUFGt99TsmlyDA8dg2MkK7w/oSLupRcIFBq5eML5 jGiyNXcxmHZp+EaRx8UjTzymQiVzaLgdF2o4xDuYxjw3p6JQQZ5N3aJDsziX8jMwQEsL fbYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=KWFwd9+aipIw2fDacQM/exJ32sgn8MY4BtMeE5pYf+8=; b=HgAFN67cnP7e3AO+HhPMpRPGSK4LGfrninuos9mqo9Z+xM6IfLQR2+dA/GS+tlFA9P AeXTdD7im4sCKxyQ1eupGj7KV5Oj3jNtKW13dIQvXt1dkmeFa1u0dKERo+DaRCBFRR5+ BVARFhbM1LRswbnJTJLj2uAvfMQCsy3q/nmNPSHXbGq14R0qWlupjhzUzgYzkcR2WNt1 LHe50H3HE27o4a/LkgJIJkOoWhqnQyOeBns51FXBGLiydfYHi0Pam/tw7QaButjWSKW3 3q1cM8sm3r99SBC03PNTJSF43epyM5IDdrBKYDwTGWDlqDfC0MTWJs7KfhtJZy/JfDgv a0kA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=SaT6a+Rh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q9si513926pja.104.2022.01.31.14.53.06; Mon, 31 Jan 2022 14:53:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=SaT6a+Rh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352263AbiA2DH3 (ORCPT + 99 others); Fri, 28 Jan 2022 22:07:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244882AbiA2DH2 (ORCPT ); Fri, 28 Jan 2022 22:07:28 -0500 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee2:21ea]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB7A1C061714; Fri, 28 Jan 2022 19:07:19 -0800 (PST) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4Jlzl335ggz4xcV; Sat, 29 Jan 2022 14:07:11 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1643425634; bh=KWFwd9+aipIw2fDacQM/exJ32sgn8MY4BtMeE5pYf+8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=SaT6a+RhzhazLOeZADmAr6MIZoFi77Y2DynN9rNC0RCFxE4e5zaDMFRNzd/fZ0x5O EqK6t6UnQveAqFd/rD6FFx8t7Qrh49bzI5yZ5h0hSMUvwAG376kQ76z7hT/bPzsN8d 3oLACVi7dCdTnW/O9736s0ocPMf12M5kd+bA5i87yNglsHnKaqygtFIwpbcV9zC81X dZWGgHaXbLUJjZnx9/NsQ+N6pVbD7Tx0sNt9wOlLQ6PQo2dL8umsGJpQpfw+6xv0vE Y7kQqxXMhcmVN8W7jtQ91t99/Mmae8Lx6/bJVOSoPuUUhKfW2U4MlY0wxzMdkEq9s0 MrVrcMQlffycg== Date: Sat, 29 Jan 2022 14:07:10 +1100 From: Stephen Rothwell To: Naresh Kamboju Cc: open list , Linux-Next Mailing List , lkft-triage@lists.linaro.org, regressions@lists.linux.dev, Linux ARM , rmk+kernel@armlinux.org.uk, Borislav Petkov , Catalin Marinas , Dave Hansen , Russell King , Thomas Gleixner , Will Deacon , Andrew Morton , Jisheng Zhang Subject: Re: [next] arch/arm/kernel/setup.c:1028:63: error: 'SECTION_SIZE' undeclared Message-ID: <20220129140710.1ef9f9a5@canb.auug.org.au> In-Reply-To: References: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/WBFXjOTRkeblc9BBHNdrSIU"; protocol="application/pgp-signature"; micalg=pgp-sha256 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/WBFXjOTRkeblc9BBHNdrSIU Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, On Fri, 28 Jan 2022 20:51:53 +0530 Naresh Kamboju wrote: > > Following build errors noticed on Linux next 20220128 arm with tinyconfig. >=20 > make --silent --keep-going --jobs=3D8 \ > ARCH=3Darm \ > CROSS_COMPILE=3Darm-linux-gnueabihf- \ > 'CC=3Dsccache arm-linux-gnueabihf-gcc' \ > 'HOSTCC=3Dsccache gcc' >=20 > arch/arm/kernel/setup.c: In function 'reserve_crashkernel': > arch/arm/kernel/setup.c:1028:63: error: 'SECTION_SIZE' undeclared > (first use in this function); did you mean 'SECTIONS_SHIFT'? > 1028 | start =3D memblock_phys_alloc_range(crash_size, > SECTION_SIZE, > | > ^~~~~~~~~~~~ > | > SECTIONS_SHIFT > arch/arm/kernel/setup.c:1028:63: note: each undeclared identifier is > reported only once for each function it appears in > make[3]: *** [scripts/Makefile.build:289: arch/arm/kernel/setup.o] Error 1 >=20 >=20 > Reported-by: Linux Kernel Functional Testing >=20 > meta data: > ----------- > git describe: next-20220128 > git_repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-= next.git > git_sha: b605fdc54c2b28c30ef06d9db99282d8a32ae4be > target_arch: arm > kconfig: tinyconfig > toolchain: gcc-11 >=20 > Build log: > ------------- > https://builds.tuxbuild.com/24JPvTrXx7HvkQtxoIXqZtZoZkA/ >=20 > Steps to reproduce: > -------------------- > # To install tuxmake on your system globally: > # sudo pip3 install -U tuxmake > # > # See https://docs.tuxmake.org/ for complete documentation. > # Original tuxmake command with fragments listed below. >=20 > tuxmake --runtime podman --target-arch arm --toolchain gcc-11 > --kconfig tinyconfig >=20 > -- > Linaro LKFT > https://lkft.linaro.org Caused by commit 35f56ebeffca ("arm: use IS_ENABLED(CONFIG_KEXEC_CORE) instead of #ifdef") from Andrew's patch series. I assume CONFIG_MMU is not set in tinyconfig for arm (so neither of asm/pgtable-[23]level.h are included by asm/pgtable.h)? CONFIG_KEXEC depends on CONFIG_MMU. --=20 Cheers, Stephen Rothwell --Sig_/WBFXjOTRkeblc9BBHNdrSIU Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmH0r14ACgkQAVBC80lX 0Gwv/Af9Fp1HS7K7aV2ileoeVzjQy3Dx2RbhkWSDvloO7Aa3mIbiCEbvNp+f5fA6 mMWcxQFnpwzAZ5iLv1pcJh0LuRiuSK9pCCVfgEWuGj4hT7S8DM5eA+yCqtJ7JBS1 DX8iKlVzA3VkcUwApU7Ewvr3IJ/U4ZurljHdXQmSDKvZKjXAT351FhSEUEOQxPzN OOu6hjBE6F9NaHuhNxd7Mih4gMfJPcuEW9DJaGOkhu8vkpLUC1kTtE7pvn3GMkqP UZAB60qQVRtc+rG1Buo+wmlqj5LWVH/uq14G/Ey7odEGTTcBRWfDqJaFlBrl6aKy iuwT0rZZVeZfb509CbE9rw5nJqrN+Q== =MdCu -----END PGP SIGNATURE----- --Sig_/WBFXjOTRkeblc9BBHNdrSIU--