aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorSaravana Kannan <[email protected]>2021-09-28 17:07:33 -0700
committerGreg Kroah-Hartman <[email protected]>2021-10-05 17:47:15 +0200
commit98e96cf80045a383fcc47c58dd4e87b3ae587b3e (patch)
tree0c59f0b7b90f61e03df4b7ebe96907c0bf6d5c84 /scripts/gdb/linux/utils.py
parentf729a592adb6760013c3e48622a5bf256b992452 (diff)
drivers: bus: simple-pm-bus: Add support for probing simple bus only devices
fw_devlink could end up creating device links for bus only devices. However, bus only devices don't get probed and can block probe() or sync_state() [1] call backs of other devices. To avoid this, probe these devices using the simple-pm-bus driver. However, there are instances of devices that are not simple buses (they get probed by their specific drivers) that also list the "simple-bus" (or other bus only compatible strings) in their compatible property to automatically populate their child devices. We still want these devices to get probed by their specific drivers. So, we make sure this driver only probes devices that are only buses. [1] - https://lore.kernel.org/lkml/CAPDyKFo9Bxremkb1dDrr4OcXSpE0keVze94Cm=zrkOVxHHxBmQ@mail.gmail.com/ Fixes: c442a0d18744 ("driver core: Set fw_devlink to "permissive" behavior by default") Cc: stable <[email protected]> Cc: Rob Herring <[email protected]> Tested-by: Saravana Kannan <[email protected]> Tested-by: Ulf Hansson <[email protected]> Tested-by: Geert Uytterhoeven <[email protected]> Tested-by: Damien Le Moal <[email protected]> Signed-off-by: Saravana Kannan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions