linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 RESEND 0/2] Add LPS0 check() for pinctrl-amd
@ 2025-03-05 22:01 Mario Limonciello
  2025-03-05 22:01 ` [PATCH v3 RESEND 1/2] ACPI: Add missing prototype for non CONFIG_SUSPEND/CONFIG_X86 case Mario Limonciello
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Mario Limonciello @ 2025-03-05 22:01 UTC (permalink / raw)
  To: Rafael J . Wysocki
  Cc: Linus Walleij, open list:PIN CONTROL SUBSYSTEM, open list,
	linux-acpi, Basavaraj Natikar, Shyam Sundar S K,
	Mario Limonciello

From: Mario Limonciello <mario.limonciello@amd.com>

During suspend the pinctrl_amd driver disables the interrupts for
any GPIOs that are not marked as wake sources.

This however does not prevent them from changing the wake status
bit during suspend, it just stops the system from waking.

If the system wakes from hardware sleep for another reason (such
as plugging in the AC adapter) this wake bits might be active.

This could potentially cause problems with going back to hardware
sleep.  Add an extra debugging message when PM debugging is enabled
to help identify if this is happening.

---
I'm resending this because kw seemed to have split the patches on
separate mailing lists and the lkp robot didn't know and reported
failures.
No changes from v3 -> v3 RESEND

Mario Limonciello (2):
  ACPI: Add missing prototype for non CONFIG_SUSPEND/CONFIG_X86 case
  pinctrl: amd: Add an LPS0 check() callback

 drivers/pinctrl/pinctrl-amd.c | 28 ++++++++++++++++++++++++++++
 include/linux/acpi.h          |  9 ++++++++-
 2 files changed, 36 insertions(+), 1 deletion(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-03-12 19:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-05 22:01 [PATCH v3 RESEND 0/2] Add LPS0 check() for pinctrl-amd Mario Limonciello
2025-03-05 22:01 ` [PATCH v3 RESEND 1/2] ACPI: Add missing prototype for non CONFIG_SUSPEND/CONFIG_X86 case Mario Limonciello
2025-03-07 14:32   ` Rafael J. Wysocki
2025-03-05 22:01 ` [PATCH v3 RESEND 2/2] pinctrl: amd: Add an LPS0 check() callback Mario Limonciello
2025-03-07 14:39   ` Rafael J. Wysocki
2025-03-12 19:23 ` [PATCH v3 RESEND 0/2] Add LPS0 check() for pinctrl-amd Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).