None
EN
A new kselftest for verifying driver probe of Devicetree-based platforms
['A New Kselftest For Verifying Driver Probe Of Devicetree-Based Platforms', 'Nícolas F. R. A. Prado']
Collabora Newsroom RSS Feed
The biggest problem is that it relies on unstable ABIs from the kernel (specifically, device and driver names), which would occasionally change from one kernel version to the next, resulting in false regressions being reported by the test, and requiring it to be updated to work differently for each kernel version. Not all Devicetree nodes are expected to register a device and have it bound to a driver though, so the test is able to ignore those based on the list of Devicetree compatibles that it extracts from all drivers in the kernel source. As can be seen, there are 181 passing tests - devices that have been checked to have successfully bound to drivers; 34 skipped tests - devices that don't have a matching driver in the kernel and therefore aren't checked; and 11 failing tests of which: