All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfram Sang <wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
To: Guenter Roeck <groeck-3r7Miqu9kMnR7s880joybQ@public.gmane.org>
Cc: Danielle Costantino
	<danielle.costantino-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	linux-i2c <linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Bjorn Helgaas <bhelgaas-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>,
	Jiri Kosina <jkosina-AlSwsSmVLrQ@public.gmane.org>,
	Andrew Morton
	<akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>,
	"David S. Miller" <davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>,
	Greg Kroah-Hartman
	<gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>,
	"linux-pci-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-pci-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Rajat Jain <rajatjain-3r7Miqu9kMnR7s880joybQ@public.gmane.org>
Subject: Re: Fwd: [Proposal] PM sleep children of inactive I2C bus segments off Masters in multi-master systems
Date: Wed, 1 Oct 2014 23:10:47 +0200	[thread overview]
Message-ID: <20141001211046.GA2368@katana> (raw)
In-Reply-To: <20141001204302.GA7744-VN48AwQc75yrkUfnaQMJWRyWsx42SBjsMbKr+jor3Jc@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 521 bytes --]


> 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?


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: Wolfram Sang <wsa@the-dreams.de>
To: Guenter Roeck <groeck@juniper.net>
Cc: Danielle Costantino <danielle.costantino@gmail.com>,
	linux-i2c <linux-i2c@vger.kernel.org>,
	Bjorn Helgaas <bhelgaas@google.com>,
	Jiri Kosina <jkosina@suse.cz>,
	Andrew Morton <akpm@linux-foundation.org>,
	"David S. Miller" <davem@davemloft.net>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	"linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-doc@vger.kernel.org" <linux-doc@vger.kernel.org>,
	Rajat Jain <rajatjain@juniper.net>
Subject: Re: Fwd: [Proposal] PM sleep children of inactive I2C bus segments off Masters in multi-master systems
Date: Wed, 1 Oct 2014 23:10:47 +0200	[thread overview]
Message-ID: <20141001211046.GA2368@katana> (raw)
In-Reply-To: <20141001204302.GA7744@svl-evodev-groeck.juniper.net>

[-- Attachment #1: Type: text/plain, Size: 521 bytes --]


> 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?


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  parent reply	other threads:[~2014-10-01 21:10 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-01 18:34 [Proposal] PM sleep children of inactive I2C bus segments off Masters in multi-master systems Danielle Costantino
     [not found] ` <CAAVjN7dwS62EKMnuZc_P1UjkbRVk6RXqJ91GwWZ96bbY5Ct-rg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-10-01 18:39   ` Fwd: " Danielle Costantino
2014-10-01 18:39     ` Danielle Costantino
2014-10-01 18:43     ` Guenter Roeck
2014-10-01 18:44       ` Danielle Costantino
2014-10-01 19:41         ` Guenter Roeck
2014-10-01 20:03           ` Danielle Costantino
2014-10-01 20:20             ` Guenter Roeck
2014-10-01 20:32               ` Danielle Costantino
2014-10-01 20:43                 ` Guenter Roeck
2014-10-01 20:49                   ` Danielle Costantino
     [not found]                   ` <20141001204302.GA7744-VN48AwQc75yrkUfnaQMJWRyWsx42SBjsMbKr+jor3Jc@public.gmane.org>
2014-10-01 21:10                     ` Wolfram Sang [this message]
2014-10-01 21:10                       ` Wolfram Sang
2014-10-01 21:16                       ` Guenter Roeck
2014-10-01 21:16                         ` Guenter Roeck
2014-10-01 21:21                         ` Wolfram Sang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141001211046.GA2368@katana \
    --to=wsa-z923lk4zbo2bacvfa/9k2g@public.gmane.org \
    --cc=akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org \
    --cc=bhelgaas-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org \
    --cc=danielle.costantino-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org \
    --cc=gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org \
    --cc=groeck-3r7Miqu9kMnR7s880joybQ@public.gmane.org \
    --cc=jkosina-AlSwsSmVLrQ@public.gmane.org \
    --cc=linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-pci-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=rajatjain-3r7Miqu9kMnR7s880joybQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.