Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Kevin Hilman <khilman@baylibre.com>
To: Andreas Kemnade <andreas@kemnade.info>,
	Aaro Koskinen <aaro.koskinen@iki.fi>,
	Roger Quadros <rogerq@kernel.org>,
	Tony Lindgren <tony@atomide.com>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Andi Shyti <andi.shyti@kernel.org>,
	Thomas Richard <thomas.richard@bootlin.com>,
	Wolfram Sang <wsa+renesas@sang-engineering.com>,
	Paul Walmsley <paul@pwsan.com>,
	Russell King <linux@armlinux.org.uk>
Cc: Sicelo <absicsz@gmail.com>,
	linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	Andreas Kemnade <andreas@kemnade.info>
Subject: Re: [PATCH v2 2/3] ARM: dts: ti/omap: describe omap3 i2c via ti-sysc
Date: Wed, 02 Dec 2026 15:28:17 -0800	[thread overview]
Message-ID: <7hbj73ntym.fsf@baylibre.com> (raw)
In-Reply-To: <20261110-i2c-sysc-v2-2-490cda69e350@kemnade.info>

Andreas Kemnade <andreas@kemnade.info> writes:

> ti,hwmods is deprecated, and the power management there is working a bit
> different than the one in the ti-sysc way. So if something is changed
> with pm incfluence, it has to be tested on both. To reduce that maintenance
> work, convert to ti-sysc. Also fixes an actual crash with OMAP3 and
> suspend.  That was caused by a commit enabling i2c access in later phases
> of suspend until the noirq phase. But that causes some state expectation
> mismatch between omap_device.c code and the i2c code leading to the
> following:
>
> Unhandled fault: external abort on non-linefetch (0x1028) at 0xfa060004
> [...]
> PC is at omap_i2c_runtime_suspend+0x1c/0xd8
> [...]
> Call trace:
> omap_i2c_runtime_suspend from _od_suspend_noirq+0x44/0xe0
> _od_suspend_noirq from dpm_run_callback+0x4c/0x1f0
> dpm_run_callback from device_suspend_noirq+0x208/0x594
> device_suspend_noirq from dpm_suspend_noirq+0x1c8/0x3a4
> dpm_suspend_noirq from suspend_devices_and_enter+0x10c/0x840
> suspend_devices_and_enter from pm_suspend+0x25c/0x3fc
> pm_suspend from state_store+0x114/0x130
>
> Fixes: 7da7fd7e66ac9 ("i2c: omap: wakeup the controller during suspend() callback")
> Signed-off-by: Andreas Kemnade <andreas@kemnade.info>

I've queued this for v7.6 (after the driver change is merged), but I've
dropped the Fixes: tag locally.  If I keep fixes, it might get
auto-backported to stable, but the driver is not tagged so would not get
backported.

Kevin


  reply	other threads:[~2026-12-02 23:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-10 20:56 [PATCH v2 0/3] ARM: OMAP2+: Convert OMAP3 I2C to ti-sysc Andreas Kemnade
2026-11-10 20:56 ` [PATCH v2 1/3] bus: ti-sysc: fix I2C quirk for OMAP3 variants Andreas Kemnade
2026-11-10 20:56 ` [PATCH v2 2/3] ARM: dts: ti/omap: describe omap3 i2c via ti-sysc Andreas Kemnade
2026-12-02 23:28   ` Kevin Hilman [this message]
2026-11-10 20:56 ` [PATCH v2 3/3] ARM: OMAP2+: remove i2c from OMAP3 hwmods list Andreas Kemnade
2026-12-02 23:24 ` (subset) [PATCH v2 0/3] ARM: OMAP2+: Convert OMAP3 I2C to ti-sysc Kevin Hilman
2026-12-02 23:27 ` Kevin Hilman

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=7hbj73ntym.fsf@baylibre.com \
    --to=khilman@baylibre.com \
    --cc=aaro.koskinen@iki.fi \
    --cc=absicsz@gmail.com \
    --cc=andi.shyti@kernel.org \
    --cc=andreas@kemnade.info \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=paul@pwsan.com \
    --cc=robh@kernel.org \
    --cc=rogerq@kernel.org \
    --cc=thomas.richard@bootlin.com \
    --cc=tony@atomide.com \
    --cc=wsa+renesas@sang-engineering.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox