Thread (24 messages) 24 messages, 5 authors, 2026-02-26

Re: [PATCH 4/7] PCI: mediatek-gen3: Disable device if further setup fails

From: Bartosz Golaszewski <brgl@kernel.org>
Date: 2026-02-25 08:19:42
Also in: linux-arm-kernel, linux-mediatek, linux-pci, lkml

On Wed, 25 Feb 2026 08:22:21 +0100, Chen-Yu Tsai [off-list ref] said:
If further setup fails after the device is powered on and link training
succeeds, we want to place the device back in a quiescence state to
avoid unintended activity and save power. This also helps with power
state tracking and balancing once pwrctrl API is integrated.

Power down the device in the error paths of mtk_pcie_startup_port() and
mtk_pcie_setup().

Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
---
Reviewed-by: Bartosz Golaszewski <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help