All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfram Sang <wsa+renesas@sang-engineering.com>
To: linux-i2c@vger.kernel.org
Cc: linux-renesas-soc@vger.kernel.org,
	Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>,
	Wolfram Sang <wsa+renesas@sang-engineering.com>
Subject: [PATCH 0/2] i2c: rcar: increase robustness against long SMIs
Date: Fri, 20 May 2022 12:33:23 +0200	[thread overview]
Message-ID: <20220520103325.81110-1-wsa+renesas@sang-engineering.com> (raw)

A customer reported problems with the R-Car I2C driver with System
Management Interrupts lasting longer than 30us. Let's not comment about
SMIs taking this long (and even up to 200us), but improve the driver to
handle such situations.

Wolfram Sang (2):
  i2c: rcar: avoid race condition with SMIs
  i2c: rcar: refactor handling of first message

 drivers/i2c/busses/i2c-rcar.c | 76 ++++++++++++++++++-----------------
 1 file changed, 39 insertions(+), 37 deletions(-)

-- 
2.35.1


             reply	other threads:[~2022-05-20 10:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-20 10:33 Wolfram Sang [this message]
2022-05-20 10:33 ` [PATCH 1/2] i2c: rcar: avoid race condition with SMIs Wolfram Sang
2022-05-21  6:37   ` Wolfram Sang
2022-05-20 10:33 ` [PATCH 2/2] i2c: rcar: refactor handling of first message Wolfram Sang
2022-05-21  6:37   ` 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=20220520103325.81110-1-wsa+renesas@sang-engineering.com \
    --to=wsa+renesas@sang-engineering.com \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=yoshihiro.shimoda.uh@renesas.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.