From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guenter Roeck Subject: Re: Fwd: [Proposal] PM sleep children of inactive I2C bus segments off Masters in multi-master systems Date: Wed, 1 Oct 2014 14:16:57 -0700 Message-ID: <20141001211657.GA7904@svl-evodev-groeck.juniper.net> References: <20141001184304.GA6832@svl-evodev-groeck.juniper.net> <20141001194115.GA6948@svl-evodev-groeck.juniper.net> <20141001202058.GB6948@svl-evodev-groeck.juniper.net> <20141001204302.GA7744@svl-evodev-groeck.juniper.net> <20141001211046.GA2368@katana> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Return-path: Content-Disposition: inline In-Reply-To: <20141001211046.GA2368@katana> Sender: linux-i2c-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Wolfram Sang Cc: Danielle Costantino , linux-i2c , Bjorn Helgaas , Jiri Kosina , Andrew Morton , "David S. Miller" , Greg Kroah-Hartman , "linux-pci-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Rajat Jain List-Id: linux-i2c@vger.kernel.org On Wed, Oct 01, 2014 at 11:10:47PM +0200, Wolfram Sang wrote: > > > Maybe you can find an error code which with some level of confidence > > reflects "lost mastership". Then you can implement whatever makes sense > > for your use case in your user space application(s). > > We have a documented fault code for ArbitrationLost and that is -EAGAIN > (see Documentation/i2c/fault-codes). If a driver does use something > else, patches are very welcome. > > Other than that, I find this thread very confusing. Of course can > another master modify the clients, this is what multi-master is all > about, no? > That is the point I was trying to make in one of my earlier replies. Guenter