Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp2216527ybe; Sat, 7 Sep 2019 11:05:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqx6vlvT9KFJ8uh3Lf5q3SzJPO6oK0q6PjgCBGfpC8ow9MY2/V71HTgc17YFUqOlpSN/VCD0 X-Received: by 2002:a62:5214:: with SMTP id g20mr18019039pfb.103.1567879520366; Sat, 07 Sep 2019 11:05:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567879520; cv=none; d=google.com; s=arc-20160816; b=EttCaXE4cD4bPH1NR84w5G08Fc0LcRjyuhnk1S43BAI9Yn1mMKOg9R6ZlIRMvMttUx 8WZ5lU32wZFXnfXUN2l3zFCuJ/7TFTLBBwZOapoWJTnN9TFUQ+RRTwJYHrSM6x5D5tDb ADeNiKv/oYfZlm+qyFy0dcXcF0BxJnXCL8qAv4rLkCPBCeHAWwqRsbgtcd7Gro6qHaWi bkLE29meSNxDFkxsnIirOrj0oVR2UAU1bx9n9Y5dhVKLJk+kbzshywPMWZZnxhUm75Dn kvZmd0PCWc5NzY/SlhYrj+7BuKc19M3A816A0jvTLAHOlQLmEk1gdpyNcKmM2kVJMxSu eVIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Y9iZd0ALlBtpvj30ArgRGZaBRGe1rTkTBEtd4b0i1Vc=; b=GbugIs02aCSo8iQYnxOeH3gc/k+SeKxD49V3qpr6lWQJt5qvlPF86uhmsxqrRpkLfk 4u8VJFoYqTNxUfdA22JtGxmAy7p2sLNtDkrAdDcw74qngFFMo6qm71j4Dq7LBkbCTAFk zUKpzY4bgbi8AzbXnkjYTxxNMdQe7u91CxaKUpuzKtr1y2Ez7k4GVtnoe1toKEoqL+ji vD1hJaWo0O5Ln3Z3Qc1bCxt48D9em0As8xD3JDXykIy1qD7lzf2qeoAQYqXKHQV9q5W6 bCapHG1ddDopghvNr5NpjlqJTlMAC//4lNvr5EL9S0oVyqb388z84tzMRNsOa3795TCq vPPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=btK5FQnL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b21si7778934pls.157.2019.09.07.11.05.05; Sat, 07 Sep 2019 11:05:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=btK5FQnL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389909AbfIFUyR (ORCPT + 99 others); Fri, 6 Sep 2019 16:54:17 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:50549 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730739AbfIFUyR (ORCPT ); Fri, 6 Sep 2019 16:54:17 -0400 Received: by mail-wm1-f67.google.com with SMTP id c10so7827150wmc.0 for ; Fri, 06 Sep 2019 13:54:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Y9iZd0ALlBtpvj30ArgRGZaBRGe1rTkTBEtd4b0i1Vc=; b=btK5FQnLBlm6g7F416aGcrBn6jKUVra0FTu/DzgotZjZZuNDjoag8X+yBz0OLsKp6g Dq0RNsj2G7PfChBamSp11AcXANSgZLr7jxrx9kU6qpb1k3bpucpdf1T1h3RS1T+vBWsX GgAM1IG11ZZgh7Jkt5RnbO/uixzBtCrnMFg6A5nLkUyLBfuGRt+PzpF9KYtRBx65nrSf NruggiKMgiaX+ZtQeHwrIhQi0SweCAzo45ox8Z0bHnv6tcIktZ4vX/le4+SmtgWxIDuV A8fhK0Tos5nt8AvqRRiWJcFnrJcw3avzHgC+mJmpgsq+jOxpZbmCgHCwGQtRKzX7Lvbk fLrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Y9iZd0ALlBtpvj30ArgRGZaBRGe1rTkTBEtd4b0i1Vc=; b=B4cH0X47vHRe4KET2Ef6waPcGVD9Zxwaz9KuTN8+yNCvilEA+NIqA4oVu377D2BSqK GMlF1JNob9aSYnHvSJ7mUc0ixsi2SLjz1By1SV9oaBnJftHKHSYA0qUlTwjpPwzuE9VA 4uikR1LA+iB9pQFb14bMdeJOXnY1WxlT4X1JdhebsUnRAcH1HqOII/wdvSEkbAzz0oy0 sMVegt3OCMLEpmT6XD491dY933HTemf+7IVlgonnC5IfTqrHwqZMDiXLv7ev+SNTPVCs 5L84Pg2B6il7ksE8ceFfBfTRwk4pxdqFkGiFpENU+GrgKY1/3EO4Bh2r2GAfwD7+r7Sm GhFQ== X-Gm-Message-State: APjAAAWdUUarg7C2AjhZZLMGg0GPcXqS+Rk4IktzLTaNSzpX5UlSs5Zd UDTxcxb3UtEaVvx7OvyBBSCtVw== X-Received: by 2002:a1c:a713:: with SMTP id q19mr9335213wme.127.1567803255262; Fri, 06 Sep 2019 13:54:15 -0700 (PDT) Received: from localhost.localdomain (124.red-83-36-179.dynamicip.rima-tde.net. [83.36.179.124]) by smtp.gmail.com with ESMTPSA id q5sm317416wmq.3.2019.09.06.13.54.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 06 Sep 2019 13:54:14 -0700 (PDT) From: Jorge Ramirez-Ortiz To: jorge.ramirez-ortiz@linaro.org, bjorn.andersson@linaro.org, linux@roeck-us.net, wim@linux-watchdog.org, agross@kernel.org Cc: linux-arm-msm@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] qcom_wdt bark irq support Date: Fri, 6 Sep 2019 22:54:09 +0200 Message-Id: <20190906205411.31666-1-jorge.ramirez-ortiz@linaro.org> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Support pre-timeout when the bark irq is avaible. This is the fifth version of the patchset addressing all the review issues to date: v5: include linux/bits.h pretimeout only enables IRQs if value != 0 remove unnecessary subtract operation add clarity to the conditional in the probe function revert the irq registration changes v4: remove unnecessary include and private variable provide macro for WDT EN register values use pretimeout as per its API intent handle EPROBE_DEFER on get_irq modify the irq registration as per pm8916_wdt v3 remove unecessary variable from the driver's private storage v2: register the pre-timeout notifier. With the second patch in the set, I took the oportunity to do some cleanup in the same code base removing an unnecesary variable from the driver's private storage. Jorge Ramirez-Ortiz (2): watchdog: qcom: support pre-timeout when the bark irq is available watchdog: qcom: remove unnecessary variable from private storage drivers/watchdog/qcom-wdt.c | 85 +++++++++++++++++++++++++++++++------ 1 file changed, 72 insertions(+), 13 deletions(-) -- 2.23.0