Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp21276268rwd; Thu, 29 Jun 2023 13:38:33 -0700 (PDT) X-Google-Smtp-Source: APBJJlF4VsHx2k3mczsgYPOFPkIMXzXwOoL+tvWpnE71YyqI6Q0gEmKFEtLcfYOopg62sAtzu6+O X-Received: by 2002:a17:90a:fd83:b0:262:b229:7e45 with SMTP id cx3-20020a17090afd8300b00262b2297e45mr532792pjb.11.1688071112882; Thu, 29 Jun 2023 13:38:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688071112; cv=none; d=google.com; s=arc-20160816; b=hmrrcT1dZ/1XYHRGRVpoIcixxY5TqqCgcdTntsbw/rF78DKoYWuiJuhxgEjJu2HAXD tlN94tqMX0+FHvwjXQ9s6BZ/AgyIyGjxdi45HOEGu/yfQFZGSso+xAHKiPaytFGUAUcN CHQ2XePZoWRovYh1zu4A+EmX8Dcgq1OPN+x/fY44hozqjO1ye1ftc/fT60hxdAAz60mB Z1Fl7mQ5h8fkFm0GpyKkadm7GNjsgoGMwLjPZvDnbbYINHwuL1bbXl2bcfz22eLlkMkr 9yX0RP8aYaOrgYfx4M0O6DYjVPmeZIXOoKS6qczYhV91GxZwvz8rluYVAGHOZXz4QW+L TW2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=G4aKGQZW2tDX+vXfJyGauKoWl6DfTIBE5I6uDMBxHgE=; fh=6uEjwgGkOgPyk7nys3D62o/gHe0hCC1d04+/FkxGwA8=; b=FgdsPOH6m9SCfQAhKy/Wb0J4Z3P1B1RrOkleNzvEVaKG+c/Vd7jTnWg8/6F5X9yDa5 t61dlLGFEqIfIwlZnJXcmSNUGEQIO320nOS0cNEyPJnHI6owGCtkMhAhjfMR1AvQQBM6 UJWsSmtomm75BEbByyU/PLCEnzcl4f5QOouSv33vyH+cN5GvSvbpTy1sLrETMeWHOkn3 oo43kul/7Jrw5KqzPJhXOjH109ra9KioZekQrlycqzjATFuiVhJAhIaljyQg/CwtI2Hc g8CSE/eomiIJkfhH7YfVBIo3JgmseCzEqWG4AslPgfo7ka3M2OgvE3QqVl2QQgBvTTKn m+Gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=L8K5AWNr; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id on16-20020a17090b1d1000b0025be5f3c52fsi14854657pjb.38.2023.06.29.13.38.18; Thu, 29 Jun 2023 13:38:32 -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=@infradead.org header.s=bombadil.20210309 header.b=L8K5AWNr; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231200AbjF2UUO (ORCPT + 99 others); Thu, 29 Jun 2023 16:20:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229445AbjF2UUM (ORCPT ); Thu, 29 Jun 2023 16:20:12 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3079212C for ; Thu, 29 Jun 2023 13:20:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=G4aKGQZW2tDX+vXfJyGauKoWl6DfTIBE5I6uDMBxHgE=; b=L8K5AWNrb89HzyB4OAJUBaOZm7 C6f1gpe9BXwFc5vYRJFo8yEcTkOX3ei8JdPb91W6hJ81BzNcOJIalQL9CMEa7dzBXuQYPUizjP8sF zBMiuvee3YtAsP3cZGn2DH2vfExLZ5lqBZmSeIf1EoBgK2W5rke2VezSAC7EJzPHcNFuktYoEDHg4 yfavK46M4KplZA1479Ni9ZtdmR0OCB2+ql5xyHMv4wPuFPbUepEJappzlcO2SiDoRUnV8eZhX142E XLAxPsWfbDaZHX8i/LPnNKvQ8qCDnjn0gM3KiywB87YfWJtu/oYPfG7ulkay/Ik3/UY5x5ArbGJ6M jH3+66XA==; Received: from [2601:1c2:980:9ec0::2764] by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qEy7P-0023jo-0n; Thu, 29 Jun 2023 20:19:55 +0000 Message-ID: <2192df88-a17b-301d-54ff-310c031b2561@infradead.org> Date: Thu, 29 Jun 2023 13:19:54 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: [PATCH] powerpc: Include asm/nmi.c in mobility.c for watchdog_hardlockup_set_timeout_pct() Content-Language: en-US To: Douglas Anderson , Andrew Morton Cc: Michael Ellerman , Christophe Leroy , Greg Kroah-Hartman , Haren Myneni , Jilin Yuan , Laurent Dufour , Luis Chamberlain , Nathan Lynch , Nicholas Piggin , Petr Mladek , Tom Rix , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org References: <20230629124500.1.I55e2f4e7903d686c4484cb23c033c6a9e1a9d4c4@changeid> From: Randy Dunlap In-Reply-To: <20230629124500.1.I55e2f4e7903d686c4484cb23c033c6a9e1a9d4c4@changeid> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,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 On 6/29/23 12:45, Douglas Anderson wrote: > The powerpc/platforms/pseries/mobility.c calls > watchdog_hardlockup_set_timeout_pct(), which is declared in > . We used to automatically get included, but > that changed as of commit 7ca8fe94aa92 ("watchdog/hardlockup: define > HARDLOCKUP_DETECTOR_ARCH"). Let's add the explicit include. > > Reported-by: Randy Dunlap > Closes: https://lore.kernel.org/r/af19b76d-aa4b-6c88-9cac-eae4b2072497@infradead.org > Fixes: 7ca8fe94aa92 ("watchdog/hardlockup: define HARDLOCKUP_DETECTOR_ARCH") > Signed-off-by: Douglas Anderson Reviewed-by: Randy Dunlap Tested-by: Randy Dunlap # build-tested Thanks. > --- > > arch/powerpc/platforms/pseries/mobility.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/powerpc/platforms/pseries/mobility.c b/arch/powerpc/platforms/pseries/mobility.c > index cd632ba9ebff..0161226d8fec 100644 > --- a/arch/powerpc/platforms/pseries/mobility.c > +++ b/arch/powerpc/platforms/pseries/mobility.c > @@ -24,6 +24,7 @@ > #include > > #include > +#include > #include > #include "pseries.h" > #include "vas.h" /* vas_migration_handler() */ -- ~Randy