[PATCH 0/2] PCI: Slot reset fixes

Manivannan Sadhasivam posted 2 patches 6 months, 4 weeks ago
drivers/pci/controller/dwc/pcie-dw-rockchip.c |  8 ++++----
drivers/pci/controller/dwc/pcie-qcom.c        |  8 ++++----
drivers/pci/controller/pci-host-common.c      | 20 +++++++++----------
drivers/pci/pci.c                             | 15 +++++++++++---
include/linux/pci.h                           |  2 +-
5 files changed, 31 insertions(+), 22 deletions(-)
[PATCH 0/2] PCI: Slot reset fixes
Posted by Manivannan Sadhasivam 6 months, 4 weeks ago
Hi,

This series fixes the issues reported for the slot reset feature merged for
v6.16.

This series is on top of dw-rockchip branch where the slot reset patches are
merged. The patches in this series can be squashed into the respective commits
since they are not merged into mainline.

- Mani

Manivannan Sadhasivam (2):
  PCI: Save and restore root port config space in
    pcibios_reset_secondary_bus()
  PCI: Rename host_bridge::reset_slot() to
    host_bridge::reset_root_port()

 drivers/pci/controller/dwc/pcie-dw-rockchip.c |  8 ++++----
 drivers/pci/controller/dwc/pcie-qcom.c        |  8 ++++----
 drivers/pci/controller/pci-host-common.c      | 20 +++++++++----------
 drivers/pci/pci.c                             | 15 +++++++++++---
 include/linux/pci.h                           |  2 +-
 5 files changed, 31 insertions(+), 22 deletions(-)

-- 
2.43.0
Re: [PATCH 0/2] PCI: Slot reset fixes
Posted by Manivannan Sadhasivam 6 months, 3 weeks ago
On Sun, May 25, 2025 at 12:23:02AM +0530, Manivannan Sadhasivam wrote:
> Hi,
> 
> This series fixes the issues reported for the slot reset feature merged for
> v6.16.
> 
> This series is on top of dw-rockchip branch where the slot reset patches are
> merged. The patches in this series can be squashed into the respective commits
> since they are not merged into mainline.
> 

Squashed to dw-rockchip!

- Mani

> - Mani
> 
> Manivannan Sadhasivam (2):
>   PCI: Save and restore root port config space in
>     pcibios_reset_secondary_bus()
>   PCI: Rename host_bridge::reset_slot() to
>     host_bridge::reset_root_port()
> 
>  drivers/pci/controller/dwc/pcie-dw-rockchip.c |  8 ++++----
>  drivers/pci/controller/dwc/pcie-qcom.c        |  8 ++++----
>  drivers/pci/controller/pci-host-common.c      | 20 +++++++++----------
>  drivers/pci/pci.c                             | 15 +++++++++++---
>  include/linux/pci.h                           |  2 +-
>  5 files changed, 31 insertions(+), 22 deletions(-)
> 
> -- 
> 2.43.0
> 

-- 
மணிவண்ணன் சதாசிவம்
Re: [PATCH 0/2] PCI: Slot reset fixes
Posted by Wilfred Mallawa 6 months, 3 weeks ago
On Sun, 2025-05-25 at 00:23 +0530, Manivannan Sadhasivam wrote:
> Hi,
> 
> This series fixes the issues reported for the slot reset feature
> merged for
> v6.16.
> 
> This series is on top of dw-rockchip branch where the slot reset
> patches are
> merged. The patches in this series can be squashed into the
> respective commits
> since they are not merged into mainline.
> 
> - Mani
> 
> Manivannan Sadhasivam (2):
>   PCI: Save and restore root port config space in
>     pcibios_reset_secondary_bus()
>   PCI: Rename host_bridge::reset_slot() to
>     host_bridge::reset_root_port()
> 
>  drivers/pci/controller/dwc/pcie-dw-rockchip.c |  8 ++++----
>  drivers/pci/controller/dwc/pcie-qcom.c        |  8 ++++----
>  drivers/pci/controller/pci-host-common.c      | 20 +++++++++--------
> --
>  drivers/pci/pci.c                             | 15 +++++++++++---
>  include/linux/pci.h                           |  2 +-
>  5 files changed, 31 insertions(+), 22 deletions(-)
Hey Mani,

I tested this series with the Rock5B RC <-> Rock5B EP. As expected, bus
resets now work as intended. Feel free to use:

Tested-by: Wilfred Mallawa <wilfred.mallawa@wdc.com>

Cheers,
Wilfred