Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3259913rwb; Mon, 15 Aug 2022 22:33:58 -0700 (PDT) X-Google-Smtp-Source: AA6agR6axVkZLTx1F8IRcZ7S9g5TrytIf/1e+Y4pFPiaxZXqna3sgbprh/EbOdySl5/YNXDUK08Y X-Received: by 2002:a17:90b:3c4c:b0:1f3:3d62:39e2 with SMTP id pm12-20020a17090b3c4c00b001f33d6239e2mr31318972pjb.88.1660628037995; Mon, 15 Aug 2022 22:33:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660628037; cv=none; d=google.com; s=arc-20160816; b=Zks+RfIcM5mjk9v1tOFmVbie4wGEFpxpYNG62DgFNSY8g8GZbTKrpzDRYoZqPy4Noq Vgt9w1mRZjF5lX0ZCw0I6Mxke38ba0wWsksfNAAu33odhFta+qdqzQWlOHwU+ghVA2S6 E4CsBiK/CCkY2ubw66aEJCS5mwZdt9Q15BDyJa9vbI62XRuD/4IeDWVSWUN3D0a2dN2c KBiu0wmR8RGpQ98BZuttQw1wpXj6THKOvC4IE8voI9hGJDfkEIvyxW/KnCFVG+TM//Co wBGcxYs1j7nL6rZFesaN12HjLGq6V1onNPWARQ8wtQL/y+VtyJ+HZZ+t3Bl1cmQEeGcI FXHw== 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=LDaOxkJGrueZ0NwLSq7qPpYGP42BvoxKo1bgwdbtOeRnfn5EandEWJQ+xwmc7t6M1Z D0gKMATJVazWPE0olTwFiXngH/Vf4zR72yuo+xXncsXvEBOqkoTKPNsP9T65KnDblYzl XcN2AnmtEJXG0zFl6VQCh3oltvoGcEoXZ9RwqomRJ81jyu9XlkopqIXuNIZsvYn0tF/o 0neHPx1MfyLt3dVsZz9GuGFDJOtX5Bt4cPehaLmGEGpPqOeL5hsv/kF8REMhVnNrbZha 2Fx3XjersMKyoiVFoAeIYKPHO79UIx/zWJ3AKfh4YAOunRQ2w/hGCxHalEdaXafO0hAq E3Vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=awRMFC+G; 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 h10-20020a63530a000000b0042814932da7si6702037pgb.403.2022.08.15.22.33.47; Mon, 15 Aug 2022 22:33:57 -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=awRMFC+G; 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 S232805AbiHPEsR (ORCPT + 99 others); Tue, 16 Aug 2022 00:48:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232512AbiHPEpg (ORCPT ); Tue, 16 Aug 2022 00:45:36 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 982063F1E5; Mon, 15 Aug 2022 13:44:10 -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 F2FC461234; Mon, 15 Aug 2022 20:44:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E1748C433C1; Mon, 15 Aug 2022 20:44:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660596249; bh=HkyYOrUZNw75qiukQT9RI/l054amCsbfshAfs8CsLRE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=awRMFC+G0mkAVdH197A0IFfyeJ7x7CvYK5PI6AAZL4WHnVuD5ewL/iI8Rr9ANa4xF 03R2m5+Iw5/GOgRTGMzR+Uytq9ekZqHwr/sFUr8HyW46PWCgZ/8y69Wo4R4fi3xUa8 kK1P8sJWHDxckpZUFnwAeCCyUeE8ScgS3jERJM04= 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.19 1020/1157] powerpc/64e: Fix kexec build error Date: Mon, 15 Aug 2022 20:06:16 +0200 Message-Id: <20220815180520.712692552@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180439.416659447@linuxfoundation.org> References: <20220815180439.416659447@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