(+86) 15013630202 sales@pcie.com

Question on Jetson PCIe hot-plug & surprise-down support

Mar 04, 2024

Hi,


we are currently thinking about moving to NVIDIA Jetson to replace the currently used ARM64 SoC. One problem that we are facing with this current ARM64 SoC is, that when trying to access memory on the PCIe bus that is not available, e.g. since this device was removed via hotplug / surprise down, the system reacts with this ugly kernel crash:


Internal error: synchronous external abort: 0000000096000010 [#1] PREEMPT SMP


On x86 systems and other system I worked before, accessing such PCI addresses (or config space) results in reading 0xffff’s.


Could you perhaps tell me how this is handled in the NVIDIA Jetson setup? Currently v5.10 LTS is used AFAIK. Does the kernel here also generate a crash on such accesses to unavailable PCIe memory?


Additionally it would be very interesting if and how PCIe hot-plugging is supported in the NVIDIA downstream kernel version for Jetson. I’ve seen a patchset from your college Vidya Sagar introducing a GPIO based PCIe hotplug support in the linux-pci list a few months ago. Is this what’s being used in the NVIDIA kernel version?


Any infos on this would be very welcome.


Thanks in advance,

Stefan