From patchwork Fri May 20 18:35:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Scott Cheloha X-Patchwork-Id: 574876 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BBE91C433FE for ; Fri, 20 May 2022 18:37:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352901AbiETSha (ORCPT ); Fri, 20 May 2022 14:37:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352899AbiETSh2 (ORCPT ); Fri, 20 May 2022 14:37:28 -0400 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7F8116F936 for ; Fri, 20 May 2022 11:37:26 -0700 (PDT) Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 24KI0Z8b004212; Fri, 20 May 2022 18:37:07 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : content-transfer-encoding : mime-version; s=pp1; bh=6MILqLh8Sfu0Vrwb3s33Vo11eozUjWatPLZD4MFFTms=; b=EOG4O76S1hrB3k9viNoRv6Y6A0ed/xZFppi05XovHSRxCNtYcMuUrSmO65/AvGYeprP8 ABOtzbrJiG/S6VBnDqFFKM5AQaA2z0WsLNIlxOnRBs8pITeNu7QackJKscS4HqXv6lNC pDal81nZQMKuUl784gf010pWuwKWcmJgrG02bTYIIpsrRIxoSrhYph/J4cLlZcXp4xg8 0Pr0F4j+REHCDb0PaWgrnf7nD1PIR9u6P9idyhIL9C264Qjh3H5lJBGzna6E9dq1O13m b0B3hkgsj3Dv8t7cA0Uc62GuJqoODYF03GRbYS90QnXWrAdaLASKRnJV9Mc9isgu5jPM cA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3g6dj3ufq7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 20 May 2022 18:37:06 +0000 Received: from m0098417.ppops.net (m0098417.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 24KIb6YS004080; Fri, 20 May 2022 18:37:06 GMT Received: from ppma04dal.us.ibm.com (7a.29.35a9.ip4.static.sl-reverse.com [169.53.41.122]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3g6dj3ufpv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 20 May 2022 18:37:06 +0000 Received: from pps.filterd (ppma04dal.us.ibm.com [127.0.0.1]) by ppma04dal.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 24KIIVWs012193; Fri, 20 May 2022 18:37:05 GMT Received: from b01cxnp23033.gho.pok.ibm.com (b01cxnp23033.gho.pok.ibm.com [9.57.198.28]) by ppma04dal.us.ibm.com with ESMTP id 3g3r2fngpw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 20 May 2022 18:37:05 +0000 Received: from b01ledav002.gho.pok.ibm.com (b01ledav002.gho.pok.ibm.com [9.57.199.107]) by b01cxnp23033.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 24KIb4dL46137770 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 20 May 2022 18:37:04 GMT Received: from b01ledav002.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 26408124058; Fri, 20 May 2022 18:37:04 +0000 (GMT) Received: from b01ledav002.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 07F39124069; Fri, 20 May 2022 18:37:04 +0000 (GMT) Received: from localhost (unknown [9.41.178.126]) by b01ledav002.gho.pok.ibm.com (Postfix) with ESMTP; Fri, 20 May 2022 18:37:03 +0000 (GMT) From: Scott Cheloha To: linux-watchdog@vger.kernel.org Cc: linux@roeck-us.net, tzungbi@kernel.org, brking@linux.ibm.com, nathanl@linux.ibm.com, aik@ozlabs.ru, npiggin@gmail.com, vaishnavi@linux.ibm.com, wvoigt@us.ibm.com, linuxppc-dev@lists.ozlabs.org Subject: [PATCH v1 0/4] pseries-wdt: initial support for PAPR virtual watchdog timers Date: Fri, 20 May 2022 13:35:48 -0500 Message-Id: <20220520183552.33426-1-cheloha@linux.ibm.com> X-Mailer: git-send-email 2.27.0 X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: e-G6H-Gf35JR8DOUrX9hLHlKNFipwfK2 X-Proofpoint-GUID: WIZ8SitFqe4YxFJLV8NR2khJ90ZCW9aq X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.874,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-05-20_05,2022-05-20_02,2022-02-23_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 suspectscore=0 bulkscore=0 mlxlogscore=999 spamscore=0 adultscore=0 malwarescore=0 impostorscore=0 priorityscore=1501 phishscore=0 lowpriorityscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2205200117 Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org This series is preceded by two RFCs: RFC v1: https://lore.kernel.org/linux-watchdog/20220413165104.179144-1-cheloha@linux.ibm.com/ RFC v2: https://lore.kernel.org/linux-watchdog/20220509174357.5448-1-cheloha@linux.ibm.com/ Changes of note from RFC v2: - Separate platform device registration in pseries/setup.c into a separate patch to avoid cross-subsystem patches. - Change the "action" module parameter to use integers instead of strings. - Add a proper .get method, action_get(), for reading the "action" module parameter value. - Document pseries-wdt module parameters in watchdog-parameters.rst. - Correct many checkpatch.pl warnings. - For now, assume there is only one pseries-wdt device and always assign it watchdogNumber 1.