Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752286AbaJAVKQ (ORCPT ); Wed, 1 Oct 2014 17:10:16 -0400 Received: from sauhun.de ([89.238.76.85]:52185 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751165AbaJAVKN (ORCPT ); Wed, 1 Oct 2014 17:10:13 -0400 Date: Wed, 1 Oct 2014 23:10:47 +0200 From: Wolfram Sang To: Guenter Roeck Cc: Danielle Costantino , linux-i2c , Bjorn Helgaas , Jiri Kosina , Andrew Morton , "David S. Miller" , Greg Kroah-Hartman , "linux-pci@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-doc@vger.kernel.org" , Rajat Jain Subject: Re: Fwd: [Proposal] PM sleep children of inactive I2C bus segments off Masters in multi-master systems Message-ID: <20141001211046.GA2368@katana> 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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vkogqOf2sHV7VnPd" Content-Disposition: inline In-Reply-To: <20141001204302.GA7744@svl-evodev-groeck.juniper.net> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --vkogqOf2sHV7VnPd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > 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? --vkogqOf2sHV7VnPd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJULG3WAAoJEBQN5MwUoCm2pC4P/RbvbS/H65+KWbaMGdD6IpQy kIYe6cwTXFrJYPT4s5igfoFmXjpSF6BB6cBFnziv9sPd4yY+OkHJUV4oNy9dik4v GLLgnrHXGxnY3HjXEBZYK0o3t4FRnovWuSsXSW+Vfspfo/4CEq5Bns6B8C4ArxT2 ozg3wZm86I1HvzSBemH8ZwO01tIIvHfu3kupsqoy5+lC1kr8MWcXmXt6Mm24w+jl dX+DJlvPvq+/lcdotZU3RdGcKvBKTteYqmDbti1g8U1GhKu40FPmllZECYI+K3kO v0/mJVs/9rf9UQJx8cRNf3rmr9mV9PpDn1CKYKp32bfQwZgwjfn2w/J910dkM8dH aF5NVrUfGpzZ+E0yuD0e1oUsUpnSuN1HWy2tvzy0TK+FZ81UP0ku8LHxgXoclL+1 ExrY4a8psG5fTA4XVDJrdT+MBxM3d0j3eIejMBlQYeKJ1Mgj1eMQ6FTkxNyQWKeT qG9oj8wTDgIRDdtmmhQKtXfb4CJ1tjQ7daDxohxaCnQkdf9AtK4amZqI9O+tB3D5 /Vkcqo83m93nzUCyHHjWDb5P9OC+JRTUiVrEamKSwXcAgOIqoiu8/AMULZNE+pM0 RKJsPLtWtMIPdzrSQHcenYIosREJuvxezEtWRkmuGKc/zLFKORmPoRQgxzmqv48T L9YeptF+SGSK6HRYjRim =78pa -----END PGP SIGNATURE----- --vkogqOf2sHV7VnPd-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/