Hi NXP team,
The platform I'm using is S32G274A-RDB2 and the SDK version is BSP38.0.
I am currently using a Realtek 9071CP switch chip, which is a device with a PCIe interface. I connect to it using PCIE1.
The current problem is that it can be recognized by pcie, but loading its driver will cause the kernel crash.
The process of crash is:
pci_enable_msix_range
|->__pci_enable_msix_range
|->__pci_enable_msix
|->pci_msix_vec_count
|->pci_read_config_word

The detailed crash log is as attached 'crash.txt'.
By the way, the configuration of PCIE in U-Boot is as follows: hwconfig=pcie0:mode=pcie,clock=ext;pcie1:mode=pcie,clock=ext