diff options
| author | Saravana Kannan <[email protected]> | 2020-03-31 02:28:32 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-04-28 15:54:13 +0000 |
| commit | 00b247557858bc0651a646710d90aba186bfeed4 (patch) | |
| tree | a85bd8bd13ee4f44b1d45de686db30789b344d7a /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | coredump: fix crash when umh is disabled (diff) | |
| download | kernel-00b247557858bc0651a646710d90aba186bfeed4.tar.gz kernel-00b247557858bc0651a646710d90aba186bfeed4.zip | |
driver core: Fix handling of fw_devlink=permissive
When commit 8375e74f2bca ("driver core: Add fw_devlink kernel
commandline option") added fw_devlink, it didn't implement "permissive"
mode correctly.
That commit got the device links flags correct to make sure unprobed
suppliers don't block the probing of a consumer. However, if a consumer
is waiting for mandatory suppliers to register, that could still block a
consumer from probing.
This commit fixes that by making sure in permissive mode, all suppliers
to a consumer are treated as a optional suppliers. So, even if a
consumer is waiting for suppliers to register and link itself (using the
DL_FLAG_SYNC_STATE_ONLY flag) to the supplier, the consumer is never
blocked from probing.
Fixes: 8375e74f2bca ("driver core: Add fw_devlink kernel commandline option")
Reported-by: Marek Szyprowski <[email protected]>
Signed-off-by: Saravana Kannan <[email protected]>
Tested-by: Marek Szyprowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions
