Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2578711yba; Mon, 15 Apr 2019 14:58:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqxpUMEB21vXZJ0JGtACDlXfrpkSC/7ESAF6AwZ9oSv7nJXB4j+1oG3Ddfw4Z9jMKjeApdiV X-Received: by 2002:a63:f44:: with SMTP id 4mr68640482pgp.324.1555365525866; Mon, 15 Apr 2019 14:58:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555365525; cv=none; d=google.com; s=arc-20160816; b=kn64FEer9O1l7WtcFEjbGkaumH0psppMQjGTb2EkrawIk7oIebocomu4uJReCL/M86 45u8HJbfE1m8nDf7/0W145oSPreeKCMOcooZJ3xWNGqb0p+0+QduHI2qWvQHnlcigaMK IjTgzVY7fNcEbWXdU5G9nbJu3cy7tyA7AkgQZ7MpAyVwfOWBZ35KSCuYnWHc87BG5D0U g5eLaHAltcQROw36NPcJVfnvZuLg5FpKTTziFzEmvTKWilZ+hrOVcMYUqpNrhFO+5qKH 1iEifL7aIb62XJbmbQ2U8Akipm1Tl+5cXyJ4UwKLFOVInzebecwAix0zi7p1Hz4TsCg+ 9jNw== 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=nFEpG0kYt38WthAOTVxuVfxGuHRqUMbZEoBszlOqAnI=; b=BH8Q4GshRLD5p1CGRusP/JbMjLY8kWtmT0qsreHjfiUGVR1vr4N5YUK132sZ69IOey eR0GsYvmGZUxNknxiEjZSaujzMwo+f48zlHqbtBoqKV0ZOenXD/TtgBPUtFx0wAAv/JG vCbQ097sq9hLYOtHCC2Qyb+ZfuPVkM65nXOshDq7N9SUdbnxl1M67JdJ7JCVC3dycAs4 QbI4/MvtdsySISCd/C8dgLJv0nVl4YWwSNoK8YFOiBpkWHW+DJ4ZuLxGAOX82B/QFTe7 rw6nhaFOEW4mCTw1x7IigLbQwGyrtB88E84CH4KLsvzVqGcGffoK3Nf8O3mRnG+Og6MH Kelw== 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 89si47646910pfs.243.2019.04.15.14.58.29; Mon, 15 Apr 2019 14:58:45 -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; 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 S1727994AbfDOV5y (ORCPT + 99 others); Mon, 15 Apr 2019 17:57:54 -0400 Received: from stcim.de ([78.46.90.227]:43660 "EHLO stcim.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725804AbfDOV5y (ORCPT ); Mon, 15 Apr 2019 17:57:54 -0400 Received: from xdsl-89-0-59-235.nc.de ([89.0.59.235] helo=porty) by stcim with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hG9bo-00010H-Rg; Mon, 15 Apr 2019 23:57:49 +0200 Date: Mon, 15 Apr 2019 23:57:48 +0200 From: Stefan Lengfeld To: Wolfram Sang Cc: linux-i2c@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peter Rosin , linux-omap@vger.kernel.org, linux-tegra@vger.kernel.org, Linus Walleij , Andy Shevchenko Subject: Re: [PATCH 03/12] i2c: core: introduce callbacks for atomic transfers Message-ID: <20190415215748.e6jrii25nqliy7me@porty> References: <20190403124019.8947-1-wsa+renesas@sang-engineering.com> <20190403124019.8947-4-wsa+renesas@sang-engineering.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190403124019.8947-4-wsa+renesas@sang-engineering.com> X-PGP-Key: https://stefanchrist.eu/personal/Stefan_Lengfeld_0xE44A23B289092311.asc User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Wolfram, On Wed, Apr 03, 2019 at 02:40:10PM +0200, Wolfram Sang wrote: > We had the request to access devices very late when interrupts are not > available anymore multiple times now. Mostly to prepare shutdown or > reboot. Allow adapters to specify a specific callback for this case. > Note that we fall back to the generic {master|smbus}_xfer callback if > this new atomic one is not present. This is intentional to preserve the > previous behaviour and avoid regressions. Because there are drivers not > using interrupts or because it might have worked "accidently" before. > > Signed-off-by: Wolfram Sang Tested-by: Stefan Lengfeld Kind regards, Stefan