On Saturday 17 April 2021 11:29:04 Keith Busch wrote: > On Sat, Apr 17, 2021 at 01:04:30AM +0200, Pali Rohár wrote: > > Above NVMe disk is connected to PCIe packet switch (which acts as pair > > of Upstream and Downstream ports of PCI bridge) and PCIe packet switch > > is connected to the Root port. > > > > I'm not sure what should I set or what to force. > > Try adding the suggested kernel parameter, "pci=pcie_bus_safe". Ok, I will try it. > Unless this is a hot-plug scenario, it is odd the OS was handed > mismatched PCIe settings. That usually indicates a platform bios issue, > and the kernel parameter is typically successful at working around it. This is arm64, no BIOS. Kernel uses native pci-aardvark.c host controller driver which handles everything related to PCIe.