Re: [PATCH v3] PCI: endpoint: pci-epf-test: Fix sleeping function being called from atomic context
From: Manivannan Sadhasivam
Date: Sun Oct 26 2025 - 11:54:10 EST
On Tue, 14 Oct 2025 08:11:09 +0530, Bhanu Seshu Kumar Valluri wrote:
> When Root Complex (RC) triggers a Doorbell MSI interrupt to Endpoint (EP)
> it triggers a warning in the EP. pci_endpoint kselftest target is
> compiled and used to run the Doorbell test in RC.
>
> BUG: sleeping function called from invalid context at kernel/locking/mutex.c:271
> Call trace:
> __might_resched+0x130/0x158
> __might_sleep+0x70/0x88
> mutex_lock+0x2c/0x80
> pci_epc_get_msi+0x78/0xd8
> pci_epf_test_raise_irq.isra.0+0x74/0x138
> pci_epf_test_doorbell_handler+0x34/0x50
>
> [...]
Applied, thanks!
[1/1] PCI: endpoint: pci-epf-test: Fix sleeping function being called from atomic context
commit: 25423cda145f9ed6ee4a72d9f2603ac2a4685e74
Best regards,
--
Manivannan Sadhasivam <mani@xxxxxxxxxx>