From patchwork Thu Apr 20 19:19:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Reed X-Patchwork-Id: 1771581 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=v/2SGq2S; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Q2SCs2jfrz23tj for ; Fri, 21 Apr 2023 05:20:07 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1ppZoz-0005DD-U7; Thu, 20 Apr 2023 19:19:57 +0000 Received: from smtp-relay-internal-1.internal ([10.131.114.114] helo=smtp-relay-internal-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1ppZov-0005CK-W7 for kernel-team@lists.ubuntu.com; Thu, 20 Apr 2023 19:19:53 +0000 Received: from mail-oa1-f69.google.com (mail-oa1-f69.google.com [209.85.160.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id D1B374131D for ; Thu, 20 Apr 2023 19:19:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1682018393; bh=h1o4pQD8DbWi0TkTxY+U9R4wCRoKi3YzegxRzDudDpw=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=v/2SGq2SMSv6np48G8Zy4CnZQx/3tyqQy2g8xa9BzdP5UrN7Khcgba+zcaZW39VbF HIKMY/UZYkWG34E9ONArYsdbkSMi50Oj7rlqG4i7HguG5uMv+qRBj0tHE4UFJjjytS M+If1tCHwbmQEumbOPMuj/aPP4AV0ft8dW7SSfZ5N1/H6NFvttCd6eef12EMchqpTo EzOFabP7NxDHMeuGgm9AseIbStwJ1tqH7QhoiM/32MYiP/A48NgvoEkPqmJVJoRde1 9f9W5f0pv6lLJ1/7YOIuNbh7DeRRe/DG3IXfxaynY9uV2FWj9aPjle5zj7Ir5AUiU9 i9CBCt6OZh7Rw== Received: by mail-oa1-f69.google.com with SMTP id 586e51a60fabf-18799a4ca81so886131fac.3 for ; Thu, 20 Apr 2023 12:19:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682018392; x=1684610392; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=h1o4pQD8DbWi0TkTxY+U9R4wCRoKi3YzegxRzDudDpw=; b=WBUIcZ8mC57xBuU6Z27pTXKTDK6FmWjImOgP9qJxNwfZYyUXmdDIec2YTxJpD1lFbn uFiE7yy78BLmu98dleF2fvLeu9kKP/iHH+/KG6P4AXWm01OXayYPn6GOFhPbd53LuOyb D1peT8dIOjAqHWS7TmhuHCa513yG3xMuJCmvPyHSJtxJxVqTqn2/Ot8HKDiHB8kxKa6D NYrV792nTDJqHbOu35Qu6zOpGff2WGRi73S91zOFnZfh9klqtEJGmufk+Cq8r92hnGd3 oWJ1XO/q61dE/BO6cG0cn8MfZQ7LrzHooaIJ98XpgxJUP+btMfH1cA4Rotjv4FCamDBe rNBg== X-Gm-Message-State: AAQBX9dNu0mE00+/FnsXejWm7reykvokMndQYtBX++wY1hf86UQKWOSc G6imevHeJhzcmrRdd+4r+s+mFzWCYYQRpmdkOUihU1jzx6DdbL8CzoetIFseOur5HzIdpXJoaJk 6qcQmvt9gUsO72PQ45a85vHYFpBTqLzPuSMUcgBHwXtb9k2TdGQ== X-Received: by 2002:a05:6870:b68d:b0:183:cf64:1527 with SMTP id cy13-20020a056870b68d00b00183cf641527mr1945950oab.19.1682018392574; Thu, 20 Apr 2023 12:19:52 -0700 (PDT) X-Google-Smtp-Source: AKy350YOFOaayXdop57HZJ3tTQASdGz5jdYn4XCpoKTwgVGHE/CsEWR491exFbvTRV3LkiQifUAUlQ== X-Received: by 2002:a05:6870:b68d:b0:183:cf64:1527 with SMTP id cy13-20020a056870b68d00b00183cf641527mr1945939oab.19.1682018392244; Thu, 20 Apr 2023 12:19:52 -0700 (PDT) Received: from localhost ([2600:1700:1d0:5e50:dd30:1444:7da:3b03]) by smtp.gmail.com with ESMTPSA id w1-20020a056830110100b006a3842a32b6sm1044925otq.42.2023.04.20.12.19.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Apr 2023 12:19:51 -0700 (PDT) From: Michael Reed To: kernel-team@lists.ubuntu.com Subject: [SRU J/K][PATCH V3 1/3] watchdog/hpwdt: Enable HP_WATCHDOG for ARM64 systems. Date: Thu, 20 Apr 2023 14:19:45 -0500 Message-Id: <20230420191947.12021-2-michael.reed@canonical.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230420191947.12021-1-michael.reed@canonical.com> References: <20230420191947.12021-1-michael.reed@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: Jerry Hoemann Enable HP_WATCHDOG for ARM64 systems. HPWDT_NMI_DECODING requires X86 as NMI handlers are X86 specific. BugLink: https://bugs.launchpad.net/bugs/2008751 Signed-off-by: Jerry Hoemann Reviewed-by: Guenter Roeck Link: https://lore.kernel.org/r/20220820202821.1263837-3-jerry.hoemann@hpe.com Signed-off-by: Guenter Roeck Signed-off-by: Wim Van Sebroeck (cherry picked from commit 891862d5ba11da739ac796221ff64e4ccf5a275f) Signed-off-by: Michael Reed --- drivers/watchdog/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index 5db5c5221663..1525f9aefb8b 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig @@ -1274,7 +1274,7 @@ config IT87_WDT config HP_WATCHDOG tristate "HP ProLiant iLO2+ Hardware Watchdog Timer" select WATCHDOG_CORE - depends on X86 && PCI + depends on (ARM64 || X86) && PCI help A software monitoring watchdog and NMI handling driver. This driver will detect lockups and provide a stack trace. This is a driver that @@ -1284,7 +1284,7 @@ config HP_WATCHDOG config HPWDT_NMI_DECODING bool "NMI support for the HP ProLiant iLO2+ Hardware Watchdog Timer" - depends on HP_WATCHDOG + depends on X86 && HP_WATCHDOG default y help Enables the NMI handler for the watchdog pretimeout NMI and the iLO