From: Askar Safin <safinaskar@zohomail.com>
To: bbara93@gmail.com, linux-i2c@vger.kernel.org,
Benjamin Bara <benjamin.bara@skidata.com>
Cc: stable@vger.kernel.org
Subject: Re: [PATCH] i2c: core: Fix atomic xfer check for non-preempt config
Date: Mon, 19 Feb 2024 07:14:44 +0300 [thread overview]
Message-ID: <20240219041444.4122-1-safinaskar@zohomail.com> (raw)
In-Reply-To: <20240104-i2c-atomic-v1-1-a3a186f21c36@skidata.com>
Thanks a lot for this patch! It fixed big backtrace I saw at very last stage of reboot. That
backtrace occupied whole FullHD screen. Now it is gone. Thanks! My computer is laptop Dell Inspiron.
I hope this patch will soon arrive to debian buster lts
Askar Safin
> Since commit aa49c90894d0 ("i2c: core: Run atomic i2c xfer when
> !preemptible"), the whole reboot/power off sequence on non-preempt kernels
> is using atomic i2c xfer, as !preemptible() always results to 1.
> During device_shutdown(), the i2c might be used a lot and not all busses
> have implemented an atomic xfer handler. This results in a lot of
> avoidable noise, like:
> [ 12.687169] No atomic I2C transfer handler for 'i2c-0'
> [ 12.692313] WARNING: CPU: 6 PID: 275 at drivers/i2c/i2c-core.h:40 i2c_smbus_xfer+0x100/0x118
> ...
> Fix this by allowing non-atomic xfer when the interrupts are enabled, as
> it was before.
> Fixes: aa49c90894d0 ("i2c: core: Run atomic i2c xfer when !preemptible")
> Cc: stable@vger.kernel.org # v5.2+
> Signed-off-by: Benjamin Bara <benjamin.bara@skidata.com>
prev parent reply other threads:[~2024-02-19 4:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-04 8:17 [PATCH] i2c: core: Fix atomic xfer check for non-preempt config Benjamin Bara
2024-01-04 9:18 ` Michael Walle
2024-01-04 9:33 ` Tor Vic
2024-01-04 17:04 ` Wolfram Sang
2024-02-19 4:14 ` Askar Safin [this message]
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=20240219041444.4122-1-safinaskar@zohomail.com \
--to=safinaskar@zohomail.com \
--cc=bbara93@gmail.com \
--cc=benjamin.bara@skidata.com \
--cc=linux-i2c@vger.kernel.org \
--cc=stable@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox