Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp163746iob; Tue, 17 May 2022 22:27:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzg0+OKudC+WxEt7816jaPTN1ATupzO1lSIuqAKIg47odjwfjWMEf/g+bbu1dDOO4XTMDY4 X-Received: by 2002:a63:1b49:0:b0:3f2:cf90:5ad4 with SMTP id b9-20020a631b49000000b003f2cf905ad4mr6527781pgm.450.1652851634320; Tue, 17 May 2022 22:27:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652851634; cv=none; d=google.com; s=arc-20160816; b=gRuoTGdDJi15ltv+RLQ1jvBUEVFpxj2ckt19Fbpw7pI6WxeHdJ7KgSuR7F5tWEXj8Q tOVvn9fWpPoSIS/qRAIHYIRXkg6j8o19LLfeQ/7APwuXnjLZELPIUVCJRwRPpyfnggbO NwR/845ILKFBxDst9RZkq6JRYpyLDuo4JdD/JrkuXHhf/N44S5TJz17PzQcs20SAZk/5 sK++EhVtLL4enMEHBz3Ze1O39JIrSdK48IAYgajrreochee+vHRryqlK7mw8ey4QYMA/ YQlIQoIF5oTWDssz8BlMMv7GL7Ikj86Ux552+fo6Mrkh9BkJbebiGEWDEkArIeQ4X6RP 6G4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature; bh=LNLCsDkug1r3kbDai+5TpbpwIL81Sv0gHUxwzASZmbE=; b=EsMf6DIxBnbqbAnkoHPMEIpXhhNWZ4BnByyc+GE7BLP8OBf2RQFN6SpqlqnAWj06Uj Rxfhe3Wq14oM5Qw2j8bp2T2k2hY/BCQL2Dph8KwbyJP+JWCYokEt7R38XjZg707q1H78 u4XG+H0zwpQr+n4vjY0djeVdVM6lo5K0GZ1farU0dB42CdusQz+jcIQgZigrSLsk92e6 7S3HxUifercF49IRuth1N+6QOkyjiZRcIY29ElgBbjECKkLPI3NKNSIjdtQkq3b5SZOj jOO6y47Cbj5gTaPjxwHgMueoFKvXAA1wxWAlhhmoC9ta9UyphfBj1MJpOpX2NNSBIk7A GyPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=kW2YFNy6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id r10-20020a63ec4a000000b003aa8cac0ed5si1112508pgj.692.2022.05.17.22.27.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 22:27:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=kW2YFNy6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1F28913F44; Tue, 17 May 2022 21:50:49 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230032AbiEREuo (ORCPT + 99 others); Wed, 18 May 2022 00:50:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230010AbiEREul (ORCPT ); Wed, 18 May 2022 00:50:41 -0400 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1490513E3E for ; Tue, 17 May 2022 21:50:38 -0700 (PDT) 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 4L30t33mDSz4xVP; Wed, 18 May 2022 14:50:35 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ellerman.id.au; s=201909; t=1652849436; bh=LNLCsDkug1r3kbDai+5TpbpwIL81Sv0gHUxwzASZmbE=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=kW2YFNy6Mydz+OYZr3o72Pk6e8jcaOqaS4BhdS8uSWLiEn9PZpa7vpwkALAOyPog8 UW5WkzqvTIHaTUHky6hhvCbL6o4qIDreX25VuFfk5x1pzkEUhloYFNFsr5gmQ8VnPN cjIivInaZnZ/wqO8YgTCpRLyMfYhRMqsZtJ+GeqPoN6lBpd9isvAGSH8Zpp+UzjLIb HkGjENzvewWhBq42NbX/3UVxAgywDSpd+CmNpuQGB112pt4GuqEgXBzuw5UZVpNv4M TLqM2j4Cnchw8HUHHJV+LZUUmQNfj7xMbxsex2HAeEMrTqirY/vQvbDUPG6V7Z8hei tyO05KtVFELtA== From: Michael Ellerman To: YueHaibing , Christophe Leroy , "benh@kernel.crashing.org" , "paulus@samba.org" Cc: "linuxppc-dev@lists.ozlabs.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH -next] powerpc/book3e: Fix build error In-Reply-To: <8b169642-5d32-4135-93a7-4969515d1ab0@huawei.com> References: <20220517094830.27560-1-yuehaibing@huawei.com> <0e8b7931-9bfb-1948-c141-c4e612ba0fe6@csgroup.eu> <8b169642-5d32-4135-93a7-4969515d1ab0@huawei.com> Date: Wed, 18 May 2022 14:50:34 +1000 Message-ID: <87sfp7o351.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org YueHaibing writes: > On 2022/5/17 18:45, Christophe Leroy wrote: >> Le 17/05/2022 =C3=A0 11:48, YueHaibing a =C3=A9crit=C2=A0: >>> arch/powerpc/mm/nohash/fsl_book3e.c: In function =E2=80=98relocate_init= =E2=80=99: >>> arch/powerpc/mm/nohash/fsl_book3e.c:348:2: error: implicit declaration = of function =E2=80=98early_get_first_memblock_info=E2=80=99 [-Werror=3Dimpl= icit-function-declaration] >>> early_get_first_memblock_info(__va(dt_ptr), &size); >>> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>> >>> Add missing include file linux/of_fdt.h to fix this. >>> >>> Signed-off-by: YueHaibing >>=20 >> Thats for fixing that. >>=20 >> Reviewed-by: Christophe Leroy >>=20 >> It means we don't have any defconfig for 32 bits booke with=20 >> CONFIG_RELOCATABLE ? > > Indeed, there is no defconfig with CONFIG_RELOCATABLE under arch/powerpc/= configs It's selected by CRASH_DUMP, which is in ppc64_defconfig. But it's not enabled in corenet32_smp_defconfig which is what I build, or any of the other 85xx configs. I guess it should be, I think it's true that RELOCATABLE=3Dy exercises more interesting code paths? cheers