Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2044449imu; Thu, 17 Jan 2019 07:30:32 -0800 (PST) X-Google-Smtp-Source: ALg8bN6Y7TObz7Ct2pWYfBxLgqmefBN3e5AYY/7YNCga2bwrdis7pNrzyWCdJeZiqAUTLBgE4j6J X-Received: by 2002:a63:bd1a:: with SMTP id a26mr13772180pgf.121.1547739032207; Thu, 17 Jan 2019 07:30:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547739032; cv=none; d=google.com; s=arc-20160816; b=ZkwYZpo/qr6O0mhBuRjWpl8zTIK7kwxo78XW4je2zgEpLIUQK9yv94QOs/dc0PdoQ7 8nOba5dkejPIglOldlOWZijljP08FIM/H8Psplu+c2wuMLGEWJUM0sXi/hxOmj/5PHL4 kfvTe/DtuwGxqutH+QENMNdtpNE9i4FbCuDbPEVPsBVxEKFRX7X6wPOzIikjSmzo6e0F E+pik607yVN9GrOY4PhHgUN4x6vf5ovSnwpt7nXe/dRAL65hzYWmV8nHoEZPIUEf0kgP VZlWwnrwqVb57AsNQSXvyKy949MaQJhLO/4dYykUN/XbC6Mx9IiiSIo5Q9ay2QprUnTE F6eQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature:dkim-signature; bh=EP/s6RRgVn/EcFwFLtvK9KCogURxWQjLqCDbJd6DoRY=; b=YELZw386MgAPwpOxy5mZJFJZkf0XhIBul+v3ahz+KOp6Y1MdOqxj9KufQpAl8vtkaU fKKvRyFaU6gFwn2/vsqrdom2iMLAkqY96ek5FOnomukNwuWmK2ho61VFnR8b8rKL/J4t AZpQv06AiSImZAUYl3RCyzpYuK08smaipS3L+PwikZ68zHWdvUYZ+lgv9+Lz81/9DZdc ssZH9nWYJAeetLxsOg9kgqKFyh8r5m6phXlsqZ0MZMNgsH6jPGGOYAq/zZtjFKcWwelO D/v+D9pMek/9pmki542wOuhqzKwhZA/F+BMZSyrk8dBMXHKtWyjr7ZGEc6nrWzupRu8n OCCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=AHvhLIpX; dkim=pass header.i=@codeaurora.org header.s=default header.b=AHvhLIpX; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d66si1991420pfg.36.2019.01.17.07.30.15; Thu, 17 Jan 2019 07:30:32 -0800 (PST) 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=@codeaurora.org header.s=default header.b=AHvhLIpX; dkim=pass header.i=@codeaurora.org header.s=default header.b=AHvhLIpX; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728013AbfAQP0l (ORCPT + 99 others); Thu, 17 Jan 2019 10:26:41 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:52854 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726913AbfAQP0k (ORCPT ); Thu, 17 Jan 2019 10:26:40 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id E29156075A; Thu, 17 Jan 2019 15:26:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1547738799; bh=Eh7BZcnU83UYilT74nCSDcWVEqhPxCKF44S8khxhtKw=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=AHvhLIpXUEUCXN9Wp1xuh51lwlGqkJm+YJ+/6wPmn7MjYPTvYaKXD0l54EpnIgWjg ZuCtWaNKVrckfUitnqjanIbWmkKOrjhMjEgt4IiprInTS3SJmUNQHFUOdedq4zQMKY 4QR3FM5DvBK4q5qCtjK5pk2fpBLk3fHiYaAzmDrQ= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from [192.168.1.100] (unknown [157.45.228.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: saiprakash.ranjan@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 02B336053B; Thu, 17 Jan 2019 15:26:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1547738799; bh=Eh7BZcnU83UYilT74nCSDcWVEqhPxCKF44S8khxhtKw=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=AHvhLIpXUEUCXN9Wp1xuh51lwlGqkJm+YJ+/6wPmn7MjYPTvYaKXD0l54EpnIgWjg ZuCtWaNKVrckfUitnqjanIbWmkKOrjhMjEgt4IiprInTS3SJmUNQHFUOdedq4zQMKY 4QR3FM5DvBK4q5qCtjK5pk2fpBLk3fHiYaAzmDrQ= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 02B336053B Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=saiprakash.ranjan@codeaurora.org Subject: Re: [PATCHv2] watchdog: qcom: Add suspend/resume support To: Guenter Roeck , Brian Masney , Wim Van Sebroeck , linux-watchdog@vger.kernel.org, Guenter Roeck Cc: Rajendra Nayak , Stephen Boyd , linux-arm-msm@vger.kernel.org, Doug Anderson , linux-kernel@vger.kernel.org, Sibi Sankar , Vivek Gautam , linux-arm-kernel@lists.infradead.org References: <20190117151942.6092-1-saiprakash.ranjan@codeaurora.org> From: Sai Prakash Ranjan Message-ID: <747da233-8b8c-2aa9-59cf-542ab46cc161@codeaurora.org> Date: Thu, 17 Jan 2019 20:56:31 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20190117151942.6092-1-saiprakash.ranjan@codeaurora.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/17/2019 8:49 PM, Sai Prakash Ranjan wrote: > This adds the support for qcom watchdog suspend and resume > when entering and exiting deep sleep states. Otherwise > having watchdog active after suspend would result in unwanted > crashes/resets if resume happens after a long time. > > Signed-off-by: Sai Prakash Ranjan > > --- > > v2: > * Use __maybe_unused instead of #ifdef as suggested by > Brian and Guenter > --- > drivers/watchdog/qcom-wdt.c | 23 +++++++++++++++++++++++ > 1 file changed, 23 insertions(+) > > Adding Brian. -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation