aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/dd.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-07device: core: Log warning for devices pending deferred probe on timeoutNícolas F. R. A. Prado1-1/+1
2024-03-07driver: core: Use dev_* instead of pr_* so device metadata is addedNícolas F. R. A. Prado1-14/+12
2024-03-07driver: core: Log probe failure as error and with device metadataNícolas F. R. A. Prado1-2/+2
2023-12-07driver core: Emit reason for pending deferred probeUwe Kleine-König1-1/+1
2023-10-21driver core: Release all resources during unbind before updating device linksSaravana Kannan1-1/+1
2023-08-05driver core: Call dma_cleanup() on the test_remove pathJason Gunthorpe1-0/+2
2023-06-05driver core: return bool from driver_probe_doneChristoph Hellwig1-4/+2
2023-04-20driver core: Don't require dynamic_debug for initcall_debug probe timingStephen Boyd1-1/+6
2023-03-10driver core: Make state_synced device attribute writeableSaravana Kannan1-1/+22
2023-03-10driver core: Add fw_devlink.sync_state command line paramSaravana Kannan1-0/+6
2023-02-08drivers: base: dd: fix memory leak with using debugfs_lookup()Greg Kroah-Hartman1-1/+1
2023-01-18driver core: bus: move bus notifier logic into bus.cGreg Kroah-Hartman1-21/+7
2023-01-11driver core: Make driver_deferred_probe_timeout a static variableJavier Martinez Canillas1-4/+2
2022-11-10driver core: Fix bus_type.match() error handling in __driver_attach()Isaac J. Manjarres1-1/+5
2022-11-10driver core: mark driver_allows_async_probing staticChristoph Hellwig1-1/+1
2022-09-12Merge 6.0-rc5 into driver-core-nextGreg Kroah-Hartman1-0/+40
2022-09-01driver_core: move from strlcpy with unused retval to strscpyWolfram Sang1-1/+1
2022-09-01driver core: Don't probe devices after bus_type.match() probe deferralIsaac J. Manjarres1-0/+10
2022-08-23Revert "driver core: Delete driver_deferred_probe_check_state()"Saravana Kannan1-0/+30
2022-06-27driver core: fix potential deadlock in __driver_attachZhang Wensheng1-1/+4
2022-06-10driver core: Delete driver_deferred_probe_check_state()Saravana Kannan1-30/+0
2022-06-10Revert "driver core: Set default deferred_probe_timeout back to 0."Saravana Kannan1-0/+5
2022-06-10driver core: Add wait_for_init_devices_probe helper functionSaravana Kannan1-5/+14
2022-06-03driver core: Set default deferred_probe_timeout back to 0.Saravana Kannan1-5/+0
2022-06-03driver core: Fix wait_for_device_probe() & deferred_probe_timeout interactionSaravana Kannan1-5/+0
2022-06-03Merge tag 'driver-core-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-7/+37
2022-05-19driver core: fix deadlock in __device_attachZhang Wensheng1-1/+4
2022-05-19driver core: Extend deferred probe timeout on driver registrationSaravana Kannan1-0/+19
2022-05-19driver core: Add "*" wildcard support to driver_async_probe cmdline paramSaravana Kannan1-1/+8
2022-05-02Merge 5.18-rc5 into driver-core-nextGreg Kroah-Hartman1-0/+1
2022-04-28driver core: Add dma_cleanup callback in bus_typeLu Baolu1-0/+5
2022-04-27driver core: Prevent overriding async driver of a device before it probeMark-PK Tsai1-1/+2
2022-04-26Documentation: dd: Use ReST lists for return values of driver_deferred_probe_...Bagas Sanjaya1-4/+4
2022-04-08net: mdio: don't defer probe forever if PHY IRQ provider is missingVladimir Oltean1-0/+1
2022-03-18drivers/base/dd.c : Remove the initial value of the global variablelizhe1-1/+1
2022-03-18driver core: dd: fix return value of __setup handlerRandy Dunlap1-1/+1
2022-03-18driver core: Refactor sysfs and drv/bus remove hooksRob Herring1-20/+14
2022-03-18driver core: Refactor multiple copies of device cleanupRob Herring1-30/+16
2022-02-28Merge 5.17-rc6 into driver-core-nextGreg Kroah-Hartman1-0/+5
2022-02-22driver core: Free DMA range map when device is releasedMårten Lindahl1-0/+5
2022-02-22driver core: cleanup double words commentsTom Rix1-2/+2
2022-01-06driver core: Make bus notifiers in right order in really_probe()Lu Baolu1-1/+1
2022-01-06driver core: Move driver_sysfs_remove() after driver_sysfs_add()Lu Baolu1-3/+4
2021-08-09Merge 5.14-rc5 into driver-core-nextGreg Kroah-Hartman1-2/+2
2021-07-27drivers core: Fix oops when driver probe failsFilip Schauer1-2/+2
2021-07-21driver core: Fix error return code in really_probe()Zhen Lei1-6/+10
2021-06-21driver core: Export device_driver_attach()Jason Gunthorpe1-0/+3
2021-06-21driver core: Don't return EPROBE_DEFER to userspace during sysfs bindChristoph Hellwig1-39/+45
2021-06-21driver core: Flow the return code from ->probe() through to sysfs bindChristoph Hellwig1-9/+20
2021-06-21driver core: Better distinguish probe errors in really_probeChristoph Hellwig1-30/+42
2021-06-21driver core: Pull required checks into driver_probe_device()Jason Gunthorpe1-22/+10
2021-04-14Merge tag 'v5.12-rc7' into driver-core-nextGreg Kroah-Hartman1-3/+5
2021-04-05driver core: add helper for deferred probe reason settingAhmad Fatoum1-6/+11
2021-04-05driver core: Improve fw_devlink & deferred_probe_timeout interactionSaravana Kannan1-0/+5
2021-04-05driver core: Fix locking bug in deferred_probe_timeout_work_func()Saravana Kannan1-3/+5
2021-04-05Merge 5.12-rc6 into driver-core-nextGreg Kroah-Hartman1-0/+3
2021-03-28base: dd: fix error return code of driver_sysfs_add()Jia-Ju Bai1-2/+5
2021-03-28driver core: Use unbound workqueue for deferred probesYogesh Lal1-1/+1
2021-03-23driver core: clear deferred probe reason on probe retryAhmad Fatoum1-0/+3
2021-03-23driver core: Update device link status properly for device_bind_driver()Saravana Kannan1-1/+3
2021-03-23driver core: Avoid pointless deferred probe attemptsSaravana Kannan1-0/+6
2021-03-23driver core: dd: remove deferred_devices variableGreg Kroah-Hartman1-4/+3
2021-01-12Revert "driver core: Reorder devices on successful probe"Greg Kroah-Hartman1-7/+0
2021-01-08drivers core: Free dma_range_map when driver probe failedMeng Li1-0/+2
2020-12-09driver core: make driver_probe_device() staticJulian Wiedmann1-1/+1
2020-12-09driver core: Reorder devices on successful probeThierry Reding1-0/+7
2020-12-09Revert "driver core: fw_devlink: Add support for batching fwnode parsing"Saravana Kannan1-8/+0
2020-12-09Revert "driver core: Remove check in driver_deferred_probe_force_trigger()"Saravana Kannan1-0/+3
2020-12-09Revert "driver core: Don't do deferred probe in parallel with kernel_init thr...Saravana Kannan1-0/+5
2020-11-02PM: runtime: Resume the device earlier in __device_release_driver()Rafael J. Wysocki1-3/+5
2020-11-02PM: runtime: Drop pm_runtime_clean_up_links()Rafael J. Wysocki1-1/+0
2020-10-15Merge tag 'dma-mapping-5.10' of git://git.infradead.org/users/hch/dma-mappingLinus Torvalds1-1/+1
2020-10-06dma-mapping: split <linux/dma-mapping.h>Christoph Hellwig1-1/+1
2020-10-02drivers core: Miscellaneous changes for sysfs_emitJoe Perches1-0/+1
2020-10-02drivers core: Use sysfs_emit and sysfs_emit_at for show(device *...) functionsJoe Perches1-1/+1
2020-09-08driver core: Use the ktime_us_delta() helperZenghui Yu1-3/+2
2020-07-30driver core: add deferring probe reason to devices_deferred propertyAndrzej Hajda1-1/+22
2020-07-30driver core: Avoid binding drivers to dead devicesLukas Wunner1-1/+3
2020-07-23driver core: Fix probe_count imbalance in really_probe()Tetsuo Handa1-3/+4
2020-07-20Merge 5.8-rc6 into driver-core-nextGreg Kroah-Hartman1-5/+0
2020-07-10driver core: Add state_synced sysfs file for devices that support itSaravana Kannan1-0/+22
2020-07-10driver core: Don't do deferred probe in parallel with kernel_init threadSaravana Kannan1-5/+0
2020-07-10driver core: Drop mention of obsolete bus rwsem from kernel-docLukas Wunner1-4/+3
2020-05-19driver core: Remove check in driver_deferred_probe_force_trigger()Saravana Kannan1-3/+0
2020-05-15driver core: fw_devlink: Add support for batching fwnode parsingSaravana Kannan1-0/+8
2020-05-11Merge v5.7-rc5 into driver-core-nextGreg Kroah-Hartman1-12/+8
2020-04-28driver core: Add missing '\n' in log messagesChristophe JAILLET1-15/+13
2020-04-28driver core: Ensure wait_for_device_probe() waits until the deferred_probe_ti...John Stultz1-0/+5
2020-04-28driver core: Use dev_warn() instead of dev_WARN() for deferred_probe_timeout ...John Stultz1-1/+1
2020-04-28driver core: Revert default driver_deferred_probe_timeout value to 0John Stultz1-11/+2
2020-03-24driver core: Replace open-coded list_last_entry()Andy Shevchenko1-1/+1
2020-03-24driver core: Read atomic counter once in driver_probe_done()Andy Shevchenko1-3/+4
2020-03-04driver core: Rename deferred_probe_timeout and make it globalJohn Stultz1-7/+9
2020-03-04driver core: Remove driver_deferred_probe_check_state_continue()John Stultz1-45/+8
2020-03-04driver core: Set deferred_probe_timeout to a longer default if CONFIG_MODULES...John Stultz1-0/+9
2020-03-04driver core: Fix driver_deferred_probe_check_state() logicJohn Stultz1-8/+10
2020-01-14driver core: Print device when resources present in really_probe()Geert Uytterhoeven1-1/+4
2019-08-27Revert "driver core: Add edit_links() callback for drivers"Greg Kroah-Hartman1-29/+0
2019-08-02Merge tag 'dev_groups_all_drivers' into driver-core-nextGreg Kroah-Hartman1-0/+14
2019-08-02driver core: add dev_groups to all driversDmitry Torokhov1-0/+14
2019-08-01driver core: Add edit_links() callback for driversSaravana Kannan1-0/+29
2019-07-03driver: core: Allow subsystems to continue deferring probeThierry Reding1-8/+47
2019-04-25driver core: Postpone DMA tear-down until after devres release for probe failureJohn Garry1-3/+2
2019-02-14async: Add cmdline option to specify drivers to be async probedFeng Tang1-0/+24
2019-02-08driver core: Postpone DMA tear-down until after devres releaseGeert Uytterhoeven1-1/+1
2019-02-01driver core: Add device link flag DL_FLAG_AUTOPROBE_CONSUMERRafael J. Wysocki1-1/+1
2019-01-31driver core: Attach devices on CPU local to device nodeAlexander Duyck1-2/+2
2019-01-31driver core: Probe devices asynchronously instead of the driverAlexander Duyck1-0/+43
2019-01-31device core: Consolidate locking and unlocking of parent and deviceAlexander Duyck1-20/+75
2019-01-31driver core: Establish order of operations for device_add and device_del via ...Alexander Duyck1-11/+11
2018-12-19driver core: Add missing dev->bus->need_parent_lock checksRafael J. Wysocki1-2/+2
2018-12-06driver core: Move async_synchronize_full callAlexander Duyck1-3/+3
2018-11-11driver core: fix comments for device_block_probing()Randy Dunlap1-2/+2
2018-11-11driver core: Replace simple_strtol by kstrtointMuchun Song1-1/+4
2018-09-08dma-mapping: remove dma_deconfigureChristoph Hellwig1-2/+2
2018-09-08dma-mapping: remove dma_configureChristoph Hellwig1-3/+5
2018-07-30Merge 4.18-rc7 into driver-core-nextGreg Kroah-Hartman1-8/+0
2018-07-10driver core: Partially revert "driver core: correct device's shutdown order"Rafael J. Wysocki1-8/+0
2018-07-10driver core: allow stopping deferred probe after initRob Herring1-0/+59
2018-07-08driver core: add a debugfs entry to show deferred devicesJavier Martinez Canillas1-0/+29
2018-07-06drivers: base: initcall_debug logs for driver probe timesTodd Poynor1-28/+22
2018-06-13Merge tag 'pm-4.18-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ra...Linus Torvalds1-1/+2
2018-06-12Revert "PM / runtime: Fixup reference counting of device link suppliers at pr...Rafael J. Wysocki1-1/+2
2018-06-05Merge tag 'driver-core-4.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-4/+4
2018-05-31driver core: hold dev's parent lock when neededMartin Liu1-4/+4
2018-05-27PM / runtime: Fixup reference counting of device link suppliers at probeUlf Hansson1-2/+1
2018-04-24PM / core: fix deferred probe breaking suspend resume orderFeng Kan1-3/+1
2018-03-23drivers: base: remove check for callback in coredump_store()Arend van Spriel1-2/+1
2018-01-23drivers: base: add coredump driver opsArend van Spriel1-7/+33
2017-12-07driver core: Remove redundant license textGreg Kroah-Hartman1-2/+0
2017-12-07driver core: add SPDX identifiers to all driver core filesGreg Kroah-Hartman1-0/+1
2017-11-16Merge tag 'driver-core-4.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-4/+12
2017-11-08driver core: Fix device link deferred probeAdrian Hunter1-4/+12
2017-11-06PM / core: Add NEVER_SKIP and SMART_PREPARE driver flagsRafael J. Wysocki1-0/+2
2017-08-03initcall_debug: add deferred probe timesTodd Poynor1-1/+27
2017-07-22driver core: emit uevents when device is bound to a driverDmitry Torokhov1-0/+4
2017-04-20of/acpi: Configure dma operations at probe time for platform/amba/pci bus dev...Sricharan R1-0/+9
2017-01-14Revert "driver core: Add deferred_probe attribute to devices in sysfs"Greg Kroah-Hartman1-13/+0
2016-12-13Merge tag 'driver-core-4.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-13/+66
2016-11-10driver core: Add deferred_probe attribute to devices in sysfsBen Hutchings1-0/+13
2016-10-31PM / runtime: Use device linksRafael J. Wysocki1-0/+3
2016-10-31driver core: Functional dependencies tracking supportRafael J. Wysocki1-5/+36
2016-10-31driver core: fix smatch warning on dev->bus checkRob Herring1-1/+1
2016-10-31driver core: skip removal test for non-removable driversRob Herring1-1/+2
2016-10-28driver core: Add a wrapper around __device_release_driver()Rafael J. Wysocki1-12/+18
2016-09-02device core: Remove deprecated create_singlethread_workqueueBhaktipriya Shridhar1-9/+3
2016-08-31driver core: add test of driver remove calls during probeRob Herring1-0/+21
2016-02-16ARM: 8524/1: driver cohandle -EPROBE_DEFER from bus_type.match()Tomeu Vizoso1-2/+22
2016-01-12driver core: Avoid NULL pointer dereferences in device_is_bound()Rafael J. Wysocki1-1/+1
2016-01-08PM / sleep: Go direct_complete if driver has no callbacksTomeu Vizoso1-0/+3
2016-01-08device core: add device_is_bound()Tomeu Vizoso1-2/+16
2016-01-08Merge branch 'acpi-soc' into pm-coreRafael J. Wysocki1-2/+8
2015-12-09device core: add BUS_NOTIFY_DRIVER_NOT_BOUND notificationAndy Shevchenko1-2/+8
2015-12-07Merge branches 'pm-sleep' and 'pm-runtime' into pm-coreRafael J. Wysocki1-1/+49
2015-11-30PM / runtime: Re-init runtime PM states at probe error and driver unbindUlf Hansson1-0/+2
2015-11-30PM / sleep: prohibit devices probing during suspend/hibernationStrashko, Grygorii1-1/+47
2015-10-27drivers/pinctrl: Add the concept of an "init" stateDouglas Anderson1-0/+2
2015-09-01Merge tag 'pm+acpi-4.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+20
2015-08-05driver core: correct device's shutdown orderGrygorii Strashko1-0/+8
2015-07-28Driver core: wakeup the parent device before trying probeRafael J. Wysocki1-0/+20
2015-06-01base:dd - Fix for typo in comment to function driver_deferred_probe_trigger().Shailendra Verma1-1/+1
2015-05-24driver-core: fix build for !CONFIG_MODULESDmitry Torokhov1-1/+1
2015-05-24driver-core: make __device_attach() staticDmitry Torokhov1-1/+1
2015-05-20driver-core: enable drivers to opt-out of async probeLuis R. Rodriguez1-4/+10
2015-05-20driver-core: add driver module asynchronous probe supportLuis R. Rodriguez1-1/+7
2015-05-20driver-core: add asynchronous probing support for driversDmitry Torokhov1-19/+130
2015-04-14Merge tag 'pm+acpi-4.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+14
2015-03-25driver core: Make probe deferral more quietMark Brown1-1/+1
2015-03-25driver core: use *switch* statement in really_probe()Sergei Shtylyov1-5/+9
2015-03-22driver core / PM: Add PM domain callbacks for device setup/cleanupRafael J. Wysocki1-0/+14
2014-09-23driver core: Remove kerneldoc from local functionThierry Reding1-1/+1
2014-05-27driver core: Inline dev_set/get_drvdataJean Delvare1-16/+0
2014-05-27driver core: dev_get_drvdata: Don't check for NULL devJean Delvare1-3/+1
2014-05-27driver core: dev_set_drvdata returns voidJean Delvare1-2/+1
2014-05-27driver core: Move driver_data back to struct deviceJean Delvare1-10/+3
2014-04-29drivercore: deferral race condition fixGrant Likely1-0/+17
2014-04-16drivers/base/dd.c incorrect pr_debug() parametersFrank Rowand1-2/+2
2013-11-07PM / runtime: Use pm_runtime_put_sync() in __device_release_driver()Rafael J. Wysocki1-1/+1
2013-04-11PM / Runtime: Idle devices asynchronously after probe|releaseUlf Hansson1-3/+3
2013-02-21Merge tag 'driver-core-3.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+2
2013-02-15drivercore: Fix ordering between deferred_probe and exiting initcallsGrant Likely1-0/+2
2013-01-23drivers/pinctrl: grab default handles from device coreLinus Walleij1-0/+7
2012-07-16PM / Runtime: Do not increment device usage counts before probingRafael J. Wysocki1-4/+2
2012-07-16driver core: Move deferred devices to the end of dpm_list before probingMark Brown1-0/+12
2012-07-05Merge v3.5-rc5 into driver-core-nextGreg Kroah-Hartman1-1/+1
2012-06-13device-core: Ensure drvdata = NULL when no driver is boundHans de Goede1-0/+2
2012-06-13driver core: fixup reversed deferred probe orderKuninori Morimoto1-1/+1
2012-03-08driver core: minor comment formatting cleanupsGreg Kroah-Hartman1-8/+16
2012-03-08driver core: move the deferred probe pointer into the private areaGreg Kroah-Hartman1-8/+10
2012-03-08drivercore: Add driver probe deferral mechanismGrant Likely1-1/+137
2011-09-26drivers: base: print rejected matches with DEBUG_DRIVERWolfram Sang1-0/+3
2011-05-19Merge branch 'driver-core-next' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-4/+8
2011-05-17PM / Runtime: Rework runtime PM handling during driver removalRafael J. Wysocki1-3/+3
2011-04-22driver core: let dev_set_drvdata return int instead of void as it can failUwe Kleine-König1-4/+3
2011-04-22driver-core: fix race between device_register and driver_registerSebastian Ott1-0/+5
2010-08-05Driver core: Add BUS_NOTIFY_BIND_DRIVERMagnus Damm1-0/+4
2010-05-21driver-core: fix potential race condition in drivers/base/dd.cStefani Seibold1-2/+2
2010-03-07Driver core: create lock/unlock functions for struct deviceGreg Kroah-Hartman1-19/+19
2009-12-04tree-wide: fix assorted typos all over the placeAndré Goddard Rosa1-1/+1
2009-09-15Driver core: move dev_get/set_drvdata to drivers/base/dd.cGreg Kroah-Hartman1-2/+29