From: Madhavan Srinivasan <maddy@linux.ibm.com>
To: mpe@ellerman.id.au, npiggin@gmail.com,
christophe.leroy@csgroup.eu, naveen@kernel.org,
Gautam Menghani <gautam@linux.ibm.com>
Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org,
vaibhav@linux.ibm.com
Subject: Re: [PATCH] powerpc/pseries/msi: Avoid reading PCI device registers in reduced power states
Date: Sun, 4 May 2025 08:51:15 +0530 [thread overview]
Message-ID: <174632869188.233894.4873397095169337027.b4-ty@linux.ibm.com> (raw)
In-Reply-To: <20250305090237.294633-1-gautam@linux.ibm.com>
On Wed, 05 Mar 2025 14:32:36 +0530, Gautam Menghani wrote:
> When a system is being suspended to RAM, the PCI devices are also
> suspended and the PPC code ends up calling pseries_msi_compose_msg() and
> this triggers the BUG_ON() in __pci_read_msi_msg() because the device at
> this point is in reduced power state. In reduced power state, the memory
> mapped registers of the PCI device are not accessible.
>
> To replicate the bug:
> 1. Make sure deep sleep is selected
> # cat /sys/power/mem_sleep
> s2idle [deep]
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/pseries/msi: Avoid reading PCI device registers in reduced power states
https://git.kernel.org/powerpc/c/9cc0eafd28c7faef300822992bb08d79cab2a36c
Thanks
next prev parent reply other threads:[~2025-05-04 3:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-05 9:02 Gautam Menghani
2025-03-10 5:00 ` Vaibhav Jain
2025-03-26 17:32 ` Venkat Rao Bagalkote
2025-04-21 11:50 ` Gautam Menghani
2025-05-04 3:21 ` Madhavan Srinivasan [this message]
2025-04-22 4:50 Venkat
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=174632869188.233894.4873397095169337027.b4-ty@linux.ibm.com \
--to=maddy@linux.ibm.com \
--cc=christophe.leroy@csgroup.eu \
--cc=gautam@linux.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mpe@ellerman.id.au \
--cc=naveen@kernel.org \
--cc=npiggin@gmail.com \
--cc=vaibhav@linux.ibm.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
all inboxes | Powered by JetHome®