]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
PCI: rzg3s-host: Explicitly set class code for RZ/G3E compatibility
authorJohn Madieu <john.madieu.xa@bp.renesas.com>
Fri, 6 Mar 2026 14:34:17 +0000 (15:34 +0100)
committerManivannan Sadhasivam <mani@kernel.org>
Sun, 15 Mar 2026 15:40:50 +0000 (21:10 +0530)
commit1e75d2e9a0e018b53f06dcc2e9345ac10f1aa174
treee2ea75a4c3c32b4b0b87d95109606175484db487
parent5f2c4de717786150f8d6cdbdbffb986cd3c59edb
PCI: rzg3s-host: Explicitly set class code for RZ/G3E compatibility

Program the class code register explicitly during PCIe configuration
initialization. RZ/G3E requires this register to be set, while RZ/G3S
has these values as hardware defaults.

This configuration is harmless for RZ/G3S where these match the hardware
defaults, and necessary for RZ/G3E to properly identify the device as a
PCI bridge.

Signed-off-by: John Madieu <john.madieu.xa@bp.renesas.com>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Tested-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> # RZ/V2N EVK
Tested-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Link: https://patch.msgid.link/20260306143423.19562-11-john.madieu.xa@bp.renesas.com
drivers/pci/controller/pcie-rzg3s-host.c