]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
PCI: rockchip: Use standard PCIe definitions
authorGeraldo Nascimento <geraldogabriel@gmail.com>
Fri, 22 Aug 2025 20:40:58 +0000 (16:40 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:28:44 +0000 (16:28 +0200)
commit7b688b365ace6b42bfc26953b447ff39054e1264
treeb57ad6320bee9ff24bc7062b27de4f2823dbb290
parent72ff3acf00443119779bb44773c796b26ba37f8c
PCI: rockchip: Use standard PCIe definitions

[ Upstream commit cbbfe9f683f0f9b6a1da2eaa53b995a4b5961086 ]

Current code uses custom-defined register offsets and bitfields for the
standard PCIe registers. This creates duplication as the PCI header already
defines them. So, switch to using the standard PCIe definitions and drop
the custom ones.

Suggested-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Geraldo Nascimento <geraldogabriel@gmail.com>
[mani: commit message rewording]
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
[bhelgaas: include bitfield.h]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/e81700ef4b49f584bc8834bfb07b6d8995fc1f42.1751322015.git.geraldogabriel@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pci/controller/pcie-rockchip-host.c
drivers/pci/controller/pcie-rockchip.h