All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfram Sang <wsa@the-dreams.de>
To: Shikai Wang <sxauwsk@163.com>
Cc: Michal Simek <michal.simek@xilinx.com>,
	Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>,
	linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] i2c: cadence: try reset when master receive arbitration lost
Date: Sat, 23 Feb 2019 10:48:43 +0100	[thread overview]
Message-ID: <20190223094842.GF1018@kunai> (raw)
In-Reply-To: <20190219012447.5900-1-sxauwsk@163.com>

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

On Tue, Feb 19, 2019 at 09:24:47AM +0800, Shikai Wang wrote:
> When the adapter receive arbitration lost error interrupts,
> cdns_i2c_master_xfer return to the caller directly instead of resetting
> the adapter which resulted in the adapter being out of control.
> 
> So when driver detect err_status such as arbitration lost,
> then try to repair and fix it.

Just checking because resetting looks like a big hammer to me: there is
no way to gracefully recover form 'arbitration lost' interrupt?


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: Wolfram Sang <wsa@the-dreams.de>
To: Shikai Wang <sxauwsk@163.com>
Cc: linux-kernel@vger.kernel.org,
	Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>,
	Michal Simek <michal.simek@xilinx.com>,
	linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org
Subject: Re: [PATCH v2] i2c: cadence: try reset when master receive arbitration lost
Date: Sat, 23 Feb 2019 10:48:43 +0100	[thread overview]
Message-ID: <20190223094842.GF1018@kunai> (raw)
In-Reply-To: <20190219012447.5900-1-sxauwsk@163.com>


[-- Attachment #1.1: Type: text/plain, Size: 509 bytes --]

On Tue, Feb 19, 2019 at 09:24:47AM +0800, Shikai Wang wrote:
> When the adapter receive arbitration lost error interrupts,
> cdns_i2c_master_xfer return to the caller directly instead of resetting
> the adapter which resulted in the adapter being out of control.
> 
> So when driver detect err_status such as arbitration lost,
> then try to repair and fix it.

Just checking because resetting looks like a big hammer to me: there is
no way to gracefully recover form 'arbitration lost' interrupt?


[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2019-02-23  9:48 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-19  1:24 [PATCH v2] i2c: cadence: try reset when master receive arbitration lost Shikai Wang
2019-02-19  1:24 ` Shikai Wang
2019-02-19  1:24 ` Shikai Wang
2019-02-23  9:48 ` Wolfram Sang [this message]
2019-02-23  9:48   ` Wolfram Sang
2019-03-09  9:44   ` Wolfram Sang
2019-03-09  9:44     ` Wolfram Sang
2019-03-09  9:49     ` Wolfram Sang
2019-03-09  9:49       ` Wolfram Sang
2019-11-05  7:42 ` Shubhrajyoti Datta
2019-11-05  7:42   ` Shubhrajyoti Datta
2019-11-05  8:47   ` sxauwsk
2019-11-05  8:47     ` sxauwsk
2019-11-07  6:13     ` Shubhrajyoti Datta
2019-11-07  6:13       ` Shubhrajyoti Datta
2019-11-08 12:25       ` sxauwsk
2019-11-08 12:25         ` sxauwsk

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=20190223094842.GF1018@kunai \
    --to=wsa@the-dreams.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michal.simek@xilinx.com \
    --cc=shubhrajyoti.datta@xilinx.com \
    --cc=sxauwsk@163.com \
    /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.