Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3026857rwb; Mon, 15 Aug 2022 16:25:03 -0700 (PDT) X-Google-Smtp-Source: AA6agR4r8qDG+sWhTSrrldLgGiXVhK94uYcUjIBeKBDUHMr7bma22A4BdYB8g6Hw2DRTERRI0/31 X-Received: by 2002:a63:97:0:b0:41a:3c2:6238 with SMTP id 145-20020a630097000000b0041a03c26238mr15556861pga.499.1660605903263; Mon, 15 Aug 2022 16:25:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660605903; cv=none; d=google.com; s=arc-20160816; b=AlkoerbG7MtJgJ+2iv8YDByZzF1Bn42Qr+BAzc8iad6KiHMz2DXsXtz1gUvsI+j7Fr 4a5nf2zdG372OnKCz+tg9wSvDAUHYhxWpBWymESE1LepdN4Nj63/VPvX5JQ4KiJVI98p KfiXt5a81cTCWm797CIm86sjOnWv0B2lqPOVYoGJe7ZUFN1H0+QBVf6EnBNnuX7YjpzA r9+zBVZqm4fM2hxn9dwRvCZFZTtkozGcSg9ohEJE9kRzMZs2GQmrRA2x2kujhDuURXjX CLChS5VZ629npeCHwiL+zdHQ4QHD6JRwoXPnmMDvL8QRl+j+68BWX6MTKGOiyIqC2n5B Yz8A== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=CSWRpznkIqg91o5xWDq5pd6kKPf1RpMA2xwlibymEbU=; b=ANvVN0a2TjrH4KABvSXQ93Oz2f8b2e/E/+2nJ2zRW9zucvJozCgFsS/lvkCGn1ZR9f ZaXwp4H5XgPGOghNYQkF8gr4ob34XdJEE2FPvprYZQt8BGh3W0mdyfd9/+nzyBnk+/2z iod0tkbko22EnDZopjigzXw+0gX/v2YzixT+3Bv7m92v6qArcaTKTEs6SQw6+xAiwRbM jlrdEbydOMEuvJ0GBE3sBekenhwZeJgRl93O2aYvczU/+/+teGJA1dMZp4Mt20RiWaN2 1gDP7UF7DxSU3xlII3uU+XksHTr2+GgfPJ2a/mBgQrBg6GEc49JWCcgDm6+SfrwzLlS6 iq+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=fCjE4EVh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y2-20020a056a00180200b0052f25fdf526si12916774pfa.153.2022.08.15.16.24.51; Mon, 15 Aug 2022 16:25:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=fCjE4EVh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352765AbiHOXBD (ORCPT + 99 others); Mon, 15 Aug 2022 19:01:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352535AbiHOW6x (ORCPT ); Mon, 15 Aug 2022 18:58:53 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0770474DD; Mon, 15 Aug 2022 12:57:11 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7E38C6113B; Mon, 15 Aug 2022 19:57:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6D98CC433C1; Mon, 15 Aug 2022 19:57:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660593430; bh=HkyYOrUZNw75qiukQT9RI/l054amCsbfshAfs8CsLRE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fCjE4EVhVL7f/3Hh8TujHuozfA3iAd4Wr6ML7bFjsJVH6QBWrQ6jnNCNuDM86p8Zk Ck9MWNwpHxACMxwy5+CPyrRWl+tvD/JpLfjRMRggyIBPYgNQO43l+q8Gz0dKPO2fuj J7euA8ABUnvHs/i8GqBT7j9aNTh27Kvn7bYZ3IRQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Michael Ellerman , Sasha Levin Subject: [PATCH 5.18 0945/1095] powerpc/64e: Fix kexec build error Date: Mon, 15 Aug 2022 20:05:44 +0200 Message-Id: <20220815180508.249952130@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180429.240518113@linuxfoundation.org> References: <20220815180429.240518113@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 From: Michael Ellerman [ Upstream commit 4cfa6ff24a9744ba484521c38bea613134fbfcb3 ] When building ppc64_book3e_allmodconfig the build fails with: arch/powerpc/kexec/file_load_64.c:1063:14: error: implicit declaration of function ‘firmware_has_feature’ 1063 | if (!firmware_has_feature(FW_FEATURE_LPAR)) | ^~~~~~~~~~~~~~~~~~~~ Add a direct include of asm/firmware.h to fix the error. Fixes: b1fc44eaa9ba ("pseries/iommu/ddw: Fix kdump to work in absence of ibm,dma-window") Signed-off-by: Michael Ellerman Link: https://lore.kernel.org/r/20220803063152.1249270-1-mpe@ellerman.id.au Signed-off-by: Sasha Levin --- arch/powerpc/kexec/file_load_64.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/kexec/file_load_64.c b/arch/powerpc/kexec/file_load_64.c index 5d2c22aa34fb..683462e4556b 100644 --- a/arch/powerpc/kexec/file_load_64.c +++ b/arch/powerpc/kexec/file_load_64.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #include -- 2.35.1