From patchwork Thu Jun 29 19:45:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 114426 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp9894964vqr; Thu, 29 Jun 2023 13:29:54 -0700 (PDT) X-Google-Smtp-Source: APBJJlFeRwWX6VpwCVlew7SysWX/8JtJh5VjtGJ3JsmyMplSv92yc91kIJQa2CIp0YaqK0iKSlFH X-Received: by 2002:a05:6a00:139b:b0:679:bc89:e5b with SMTP id t27-20020a056a00139b00b00679bc890e5bmr1158908pfg.19.1688070593932; Thu, 29 Jun 2023 13:29:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688070593; cv=none; d=google.com; s=arc-20160816; b=NiAa332vW05hyxf+/7lrcIKlI350ERH16ihbCjVxn2Ua4u9k6S6BBS5GF1SxqwdGmO sgt5wCjFSdt57N4DbtHEN0Hy8Amk4mj7GAiikNnPd+J2fr6AOW7yKKagvp+/6m+dxxOn 91Y7cNtkQbh30tiB36IIWOnQjM9ueHNoXOlkTYfmEH5l+7tIUW22T/snWKVmgQs80ph5 iqGmnorXxlEGqZ6rmh99qHiQUW9Na6t0H9KlYfZW+AJtlkGADZfbLJB7lEI09BpDFHVt m2gUr2pmcXIQR//D6voyNJ6GyA3LwggHjovGyYWfq1D+FGwutXaUQEHpYE3OZDid38u6 qLMA== 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:subject:cc:to:from:dkim-signature; bh=NSkn+f3VtgW8iSnk4GBxcuOfWg9o8pMcPa7iLptRigM=; fh=XI8gVM/Bpu2JYEl4y05KhQuZvriH2mW62vBoN09/u7Y=; b=mDPEpNmHRrcJ7shgj5VRbMSqTCBWXGxm1uaMo91rptvoxXAkbmrSuUUeOh6ooNuQeN rrVcHngjYyYobZ/+fu4T3OaThqE/ewBRkqdodFRSCNalIMEqtnhfmpCtxyerPQJw/Sk8 UCK0/RzCQq0M2QqtY26eAZLp3aUgc1l5tmnpA4qnv2meev66TEiKBTK+V1K6BKqX1nJI 0aRyEBMz5fRKFgCK/l5pC2LHsSIi/QzwCqIsUQ6FsrnmyEGsydkEZho47jJChy9TfZG6 DZqOjjZkmQJFa1YOEeSFm0ADWCr56tRM+aTKdoC1Ej6+yE1MWs9ObbuVaM8ltLmJlYvp BObA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=N3TWLy9U; 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=chromium.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v69-20020a638948000000b00553ced07d17si11425472pgd.123.2023.06.29.13.29.41; Thu, 29 Jun 2023 13:29:53 -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=@chromium.org header.s=google header.b=N3TWLy9U; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230333AbjF2TuZ (ORCPT + 99 others); Thu, 29 Jun 2023 15:50:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229609AbjF2TuT (ORCPT ); Thu, 29 Jun 2023 15:50:19 -0400 Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 230CE210E for ; Thu, 29 Jun 2023 12:50:16 -0700 (PDT) Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-1b80512a7f2so7515885ad.3 for ; Thu, 29 Jun 2023 12:50:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1688068215; x=1690660215; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=NSkn+f3VtgW8iSnk4GBxcuOfWg9o8pMcPa7iLptRigM=; b=N3TWLy9UHAFofIUARTltvFgjNeQgaQvAIEBNMAqc1xSyjJdiQgcwLXuWdFGd7wN4tp kGY7IMbjQYgNboxa6wD7E8gDVu7KhqN9Nt33ogvwIx4kMSZTNpJLfz94RIiT3ocZQ1Rh QrEsLxEXUZnMh5D+4+VabuihtkZhD+oJV+LZM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688068215; x=1690660215; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=NSkn+f3VtgW8iSnk4GBxcuOfWg9o8pMcPa7iLptRigM=; b=E23lJizkU7Y+3jRxw6WRDT2hz/Sj3btNJOwAmBsMUrfBUHZkKI7FwDtsEM5Ndu21ln 8LbEiR8UELaxn6xElA9QeDGX698foSuEFZUNb1QwC4BPdRZn5jfcAzdE2245v27uCwhX mG+gE0VlS3i1lYJ1L7wpwFycEGjLQPhbOmbeYT3DTPtSSVjBn9SQCly5B3NDC+PD6wW7 UgEdIlKL26br5E+LJRdxs5aQAgpi9mjSNkMtaJ44cn+RieSgDu1Bngr9cVzEA9MuWSzo mEdny8YtZTc9+Lqe2hgpOXftST1jF9HdlvvlMtc7QsBaq+hkVxO45iWV/8GsDV/fEc3g TJKg== X-Gm-Message-State: ABy/qLb9scngv4hHuNVd17nwSInRqY1+9v9DxK7NeE21gSeyQ+vqtmpq A5wnvuew61vRVIT61BAdAwiLiQ== X-Received: by 2002:a17:903:2444:b0:1b8:64e1:7b05 with SMTP id l4-20020a170903244400b001b864e17b05mr145905pls.47.1688068215666; Thu, 29 Jun 2023 12:50:15 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:15c:9d:2:1f8f:4afe:ff0:9243]) by smtp.gmail.com with ESMTPSA id u13-20020a170903124d00b001b3fb2f0296sm9457505plh.120.2023.06.29.12.50.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Jun 2023 12:50:15 -0700 (PDT) From: Douglas Anderson To: Andrew Morton Cc: Randy Dunlap , Michael Ellerman , Douglas Anderson , 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 Subject: [PATCH] powerpc: Include asm/nmi.c in mobility.c for watchdog_hardlockup_set_timeout_pct() Date: Thu, 29 Jun 2023 12:45:06 -0700 Message-ID: <20230629124500.1.I55e2f4e7903d686c4484cb23c033c6a9e1a9d4c4@changeid> X-Mailer: git-send-email 2.41.0.255.g8b1d071c50-goog MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1770070310903248121?= X-GMAIL-MSGID: =?utf-8?q?1770070310903248121?= 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 Reviewed-by: Petr Mladek --- 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() */