From: Tony Lindgren <tony@atomide.com>
To: Grygorii Strashko <grygorii.strashko@ti.com>
Cc: devicetree@vger.kernel.org, "Dave Gerlach" <d-gerlach@ti.com>,
Keerthy <j-keerthy@ti.com>, "Tero Kristo" <t-kristo@ti.com>,
"Benoît Cousson" <bcousson@baylibre.com>,
linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 0/4] Update am437x and am335x dts to probe with ti-sysc
Date: Thu, 27 Sep 2018 12:38:57 -0700 [thread overview]
Message-ID: <20180927193857.GE5662@atomide.com> (raw)
In-Reply-To: <033a9b5f-c7cb-f2dd-31b4-3f178d74b79b@ti.com>
* Grygorii Strashko <grygorii.strashko@ti.com> [180927 19:16]:
> On 09/26/2018 06:31 PM, Tony Lindgren wrote:
> >
> > OK. So looks like the other i2c bus drivers have already solved it
> > with simply SET_NOIRQ_SYSTEM_SLEEP_PM_OPS which is along the lines
> > you're suggesting.
> >
> > The following works for me, does it look OK to you?
>
> it looks good, just curious if it will work both ti-sysc legacy/nonlegacy modes.
OK, yes it seems to pass my artificial test case without ti-sysc
dts changes, see below. So I just sent the i2c-omap patch as:
"[PATCH] i2c: omap: Use noirq system sleep pm ops to idle device for suspend"
Regards,
Tony
8< -----------
[ 70.509713] PM: suspend entry (deep)
[ 70.509739] PM: Syncing filesystems ... done.
[ 70.516785] Freezing user space processes ... (elapsed 0.001 seconds) done.
[ 70.518746] OOM killer disabled.
[ 70.518756] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[ 70.520393] Suspending console(s) (use no_console_suspend to debug)
[ 70.532983] wlan0: deauthenticating from 42:04:7a:03:0b:78 by local choice (Reason: 3=DEAUTH_LEAVING)
[ 70.589742] wlcore: down
[ 70.590435] wlcore: down
[ 70.672208] Disabling non-boot CPUs ...
[ 70.672237] pm33xx pm33xx: PM: Successfully put all powerdomains to target state
[ 70.694047] net eth0: initializing cpsw version 1.15 (0)
[ 70.792216] Micrel KSZ9031 Gigabit PHY 4a101000.mdio:04: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:p)
[ 70.795548] net eth1: initializing cpsw version 1.15 (0)
[ 70.902204] Micrel KSZ9031 Gigabit PHY 4a101000.mdio:05: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:p)
[ 71.007103] usb usb1: root hub lost power or was reset
[ 71.007121] usb usb2: root hub lost power or was reset
[ 71.322414] wlcore: PHY firmware version: Rev 8.2.0.0.236
[ 71.417839] wlcore: firmware booted (Rev 8.9.0.0.69)
[ 71.444787] OOM killer enabled.
[ 71.444799] Restarting tasks ... done.
[ 71.461113] PM: suspend exit
WARNING: multiple messages have this Message-ID (diff)
From: tony@atomide.com (Tony Lindgren)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/4] Update am437x and am335x dts to probe with ti-sysc
Date: Thu, 27 Sep 2018 12:38:57 -0700 [thread overview]
Message-ID: <20180927193857.GE5662@atomide.com> (raw)
In-Reply-To: <033a9b5f-c7cb-f2dd-31b4-3f178d74b79b@ti.com>
* Grygorii Strashko <grygorii.strashko@ti.com> [180927 19:16]:
> On 09/26/2018 06:31 PM, Tony Lindgren wrote:
> >
> > OK. So looks like the other i2c bus drivers have already solved it
> > with simply SET_NOIRQ_SYSTEM_SLEEP_PM_OPS which is along the lines
> > you're suggesting.
> >
> > The following works for me, does it look OK to you?
>
> it looks good, just curious if it will work both ti-sysc legacy/nonlegacy modes.
OK, yes it seems to pass my artificial test case without ti-sysc
dts changes, see below. So I just sent the i2c-omap patch as:
"[PATCH] i2c: omap: Use noirq system sleep pm ops to idle device for suspend"
Regards,
Tony
8< -----------
[ 70.509713] PM: suspend entry (deep)
[ 70.509739] PM: Syncing filesystems ... done.
[ 70.516785] Freezing user space processes ... (elapsed 0.001 seconds) done.
[ 70.518746] OOM killer disabled.
[ 70.518756] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[ 70.520393] Suspending console(s) (use no_console_suspend to debug)
[ 70.532983] wlan0: deauthenticating from 42:04:7a:03:0b:78 by local choice (Reason: 3=DEAUTH_LEAVING)
[ 70.589742] wlcore: down
[ 70.590435] wlcore: down
[ 70.672208] Disabling non-boot CPUs ...
[ 70.672237] pm33xx pm33xx: PM: Successfully put all powerdomains to target state
[ 70.694047] net eth0: initializing cpsw version 1.15 (0)
[ 70.792216] Micrel KSZ9031 Gigabit PHY 4a101000.mdio:04: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:p)
[ 70.795548] net eth1: initializing cpsw version 1.15 (0)
[ 70.902204] Micrel KSZ9031 Gigabit PHY 4a101000.mdio:05: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:p)
[ 71.007103] usb usb1: root hub lost power or was reset
[ 71.007121] usb usb2: root hub lost power or was reset
[ 71.322414] wlcore: PHY firmware version: Rev 8.2.0.0.236
[ 71.417839] wlcore: firmware booted (Rev 8.9.0.0.69)
[ 71.444787] OOM killer enabled.
[ 71.444799] Restarting tasks ... done.
[ 71.461113] PM: suspend exit
next prev parent reply other threads:[~2018-09-27 19:38 UTC|newest]
Thread overview: 66+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-25 0:05 [PATCH 0/4] Update am437x and am335x dts to probe with ti-sysc Tony Lindgren
2018-09-25 0:05 ` Tony Lindgren
2018-09-25 0:05 ` [PATCH 1/4] ARM: dts: am437x: Add l4 interconnect hierarchy and ti-sysc data Tony Lindgren
2018-09-25 0:05 ` Tony Lindgren
2018-09-25 0:05 ` [PATCH 2/4] ARM: dts: am437x: Move l4 child devices to probe them with ti-sysc Tony Lindgren
2018-09-25 0:05 ` Tony Lindgren
2018-12-04 12:23 ` Peter Ujfalusi
2018-12-04 12:23 ` Peter Ujfalusi
2018-12-04 18:11 ` Tony Lindgren
2018-12-04 18:11 ` Tony Lindgren
2018-12-04 23:18 ` Tony Lindgren
2018-12-04 23:18 ` Tony Lindgren
2018-12-05 6:14 ` Peter Ujfalusi
2018-12-05 19:00 ` Tony Lindgren
2018-12-05 19:00 ` Tony Lindgren
2018-12-05 23:02 ` Tony Lindgren
2018-12-05 23:02 ` Tony Lindgren
2018-12-07 12:46 ` Peter Ujfalusi
2018-09-25 0:05 ` [PATCH 3/4] ARM: dts: am335x: Add l4 interconnect hierarchy and ti-sysc data Tony Lindgren
2018-09-25 0:05 ` Tony Lindgren
2018-09-27 14:56 ` Tony Lindgren
2018-09-27 14:56 ` Tony Lindgren
2018-09-25 0:05 ` [PATCH 4/4] ARM: dts: am335x: Move l4 child devices to probe them with ti-sysc Tony Lindgren
2018-09-25 0:05 ` Tony Lindgren
2018-11-27 13:03 ` Peter Ujfalusi
2018-11-27 13:03 ` Peter Ujfalusi
2018-11-27 16:16 ` Tony Lindgren
2018-11-27 16:16 ` Tony Lindgren
2018-11-28 12:52 ` Peter Ujfalusi
2018-11-28 12:52 ` Peter Ujfalusi
2018-11-29 19:07 ` Tony Lindgren
2018-11-29 19:07 ` Tony Lindgren
2018-09-25 5:14 ` [PATCH 0/4] Update am437x and am335x dts to probe " Keerthy
2018-09-25 5:14 ` Keerthy
2018-09-25 14:40 ` Tony Lindgren
2018-09-25 14:40 ` Tony Lindgren
2018-09-25 17:55 ` Tony Lindgren
2018-09-25 17:55 ` Tony Lindgren
2018-09-25 21:16 ` Grygorii Strashko
2018-09-25 21:16 ` Grygorii Strashko
2018-09-26 4:08 ` Keerthy
2018-09-26 4:08 ` Keerthy
2018-09-26 15:59 ` Tony Lindgren
2018-09-26 15:59 ` Tony Lindgren
2018-09-26 16:23 ` Tony Lindgren
2018-09-26 16:23 ` Tony Lindgren
2018-09-26 21:36 ` Grygorii Strashko
2018-09-26 21:36 ` Grygorii Strashko
2018-09-26 23:31 ` Tony Lindgren
2018-09-26 23:31 ` Tony Lindgren
2018-09-27 4:55 ` Keerthy
2018-09-27 4:55 ` Keerthy
2018-09-27 14:53 ` Tony Lindgren
2018-09-27 14:53 ` Tony Lindgren
2018-09-27 21:43 ` Tony Lindgren
2018-09-27 21:43 ` Tony Lindgren
2018-10-01 16:32 ` Tony Lindgren
2018-10-01 16:32 ` Tony Lindgren
2018-10-04 4:29 ` Keerthy
2018-10-04 4:29 ` Keerthy
2018-10-04 14:23 ` Tony Lindgren
2018-10-04 14:23 ` Tony Lindgren
2018-09-27 19:11 ` Grygorii Strashko
2018-09-27 19:11 ` Grygorii Strashko
2018-09-27 19:38 ` Tony Lindgren [this message]
2018-09-27 19:38 ` Tony Lindgren
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=20180927193857.GE5662@atomide.com \
--to=tony@atomide.com \
--cc=bcousson@baylibre.com \
--cc=d-gerlach@ti.com \
--cc=devicetree@vger.kernel.org \
--cc=grygorii.strashko@ti.com \
--cc=j-keerthy@ti.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-omap@vger.kernel.org \
--cc=t-kristo@ti.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.