Re: [PATCH v7 00/14] PCI: rzg3s-host: Add PCIe hotplug support

From: Manivannan Sadhasivam

Date: Wed Nov 25 2026 - 12:45:03 EST


On 2026-10-19 09:50 +0300, Claudiu Beznea wrote:
> From: Claudiu Beznea <claudiu.beznea.uj@xxxxxxxxxxxxxx>
>
> Hi,
>
> Series adds hotplug support for the rzg3s-host driver. This is a
> continuation of the series John posted initially at [1]. Along with it,
> prerequisites fixes and cleanup patches were added.
>
> Series was tested on RZ/G3S and RZ/G3E boards by generating consecutive
> link down/up events. The RZ/G3S has an I2C device which, depending on
> the way it is programmed, it controls the state of the PCIe link. The
> board has 3 PCIe interface: PCIE_SLOT, M.2 Key E, M.2 Key B. The
> following script was executed for ~9 hours:
>
> #!/bin/sh
>
> echo performance > /sys/module/pcie_aspm/parameters/policy
>
> while :; do
> i2cset -y 1 0x18 0xf4 0x8 # Link down
> i2cset -y 1 0x18 0xf4 0xc # Link up: PCIE_SLOT (NVMe Micron)
> i2cset -y 1 0x18 0xf4 0x8 # Link down
> i2cset -y 1 0x18 0xf4 0xd # Link up: M.2 Key B (NVMe Transcend)
> i2cset -y 1 0x18 0xf4 0x8 # Link down
> i2cset -y 1 0x18 0xf4 0xb # Link up: M.2 Key E (WiFi AX200)
> done
>

Given that this series is already 14 patches, you should really consider
splitting it into atleast two. Patches 1-12 are mere code cleanups/refactors, so
they can get merged independently and you can post the follow-up series after
incorporating comments for patches 13 and 14.

- Mani