Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp6166130ybl; Tue, 14 Jan 2020 23:21:39 -0800 (PST) X-Google-Smtp-Source: APXvYqzQ7Z9X96XMz7j0ZooaLjIi5YkLESKSEj5ZeCbhDwEv6KmCvtLsrPCLrCloQJL4AywE2BRh X-Received: by 2002:aca:1011:: with SMTP id 17mr20298951oiq.72.1579072899369; Tue, 14 Jan 2020 23:21:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579072899; cv=none; d=google.com; s=arc-20160816; b=ZOAIdQhx6H5MJooScH72p7xk8K1X/SP24l0UxzehJN0Omx6L1L9RqczXbWPe2FCTxu CYbppcW14249UIQL5GQpsDXTANAIX73OdUG5OyRxgC2xzYSed8J9afqY3da5ANL/yvGX Tm1jgFpyQQgXCOJrevmE+AR04LZX6/Y/6NzOlAtFvca0L0Uw6Q1G12KyO6c4WF2mpQn5 qgMF+0HRTfHpi6q5fuCRfnlsVeFoofm8R+WH30MVtoWeht53Yh7j43sMcvA7ZHbSVjhx vyz82lxot+/6iSlBsHyb8pxe7xORo4cQbEI3Z4E7fwnNQWbYvQiIyYCTdYQSicpHNd44 JnxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=3rhKLZJr/Kr+p95xZR1HHw+725etUIVB9hKwAxGbzQE=; b=Qxvkjfz/ChyA47VezaX/en/pzOStcAw57WymloFLwrjCebInorjE7SOreBoDWjIokH mc/ZnsfMTu3JxzndxbOKzSiiVk0nUjg62pnHBLg5vs7Yjt2GFpeZYhaSxzjvwkaINfnj XIWyiR5C9+JnCc/GRFsBjIr1YZ8B6wlSg099NVixckXaAjxBSIY/KAT5ArApM0X7jwVU PcjBnAZ/DUCpljFzymywTIZ8+Mjzl2EL0XnP15laO8H42jV7n/gD5NOXR7DJzIVzeWyJ SuEebehF7H4eIuy0Bz/NDmh+FwFx/wz4anLQB00BBxo+/ErspP8ZLKxiO65P9FAwVigL bI4A== ARC-Authentication-Results: i=1; mx.google.com; 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 i9si10584497otp.139.2020.01.14.23.21.24; Tue, 14 Jan 2020 23:21:39 -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; 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 S1729112AbgAOHUK (ORCPT + 99 others); Wed, 15 Jan 2020 02:20:10 -0500 Received: from metis.ext.pengutronix.de ([85.220.165.71]:51427 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725962AbgAOHUK (ORCPT ); Wed, 15 Jan 2020 02:20:10 -0500 Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ircy8-0004ku-Qm; Wed, 15 Jan 2020 08:20:00 +0100 Received: from mfe by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1ircy5-0007fK-Hu; Wed, 15 Jan 2020 08:19:57 +0100 Date: Wed, 15 Jan 2020 08:19:57 +0100 From: Marco Felsch To: Stefan Lengfeld Cc: support.opensource@diasemi.com, linux@roeck-us.net, Adam.Thomson.Opensource@diasemi.com, linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de Subject: Re: [PATCH] watchdog: da9062: make restart handler atomic safe Message-ID: <20200115071957.j7sptgbmuilgs2lj@pengutronix.de> References: <20200113091521.5754-1-m.felsch@pengutronix.de> <20200114200034.nbk6vf77ucngfs6o@porty> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200114200034.nbk6vf77ucngfs6o@porty> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 08:18:18 up 60 days, 22:36, 54 users, load average: 0.31, 0.13, 0.06 User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Stefan, On 20-01-14 21:00, Stefan Lengfeld wrote: > Hi Marco, > > On Mon, Jan 13, 2020 at 10:15:21AM +0100, Marco Felsch wrote: > > The restart handler is executed during the shutdown phase which is > > atomic/irq-less. The i2c framework supports atomic transfers since > > commit 63b96983a5dd ("i2c: core: introduce callbacks for atomic > > transfers") but unfortunately the regmap framework doesn't support it > > yet. Hard coding the i2c stuff can be done without worries since the > > DA9062 is an i2c-only device. > > > > Signed-off-by: Marco Felsch > > Reviewed-by: Stefan Lengfeld > > Thanks for picking up the patch and submitting it. I will send a v2 to cover Guenter's suggestion. Can I keep your reviewed by tag? Regards, Marco > Kind regards, > Stefan