aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/firmware_class.c
AgeCommit message (Expand)AuthorFilesLines
2018-03-14firmware: enable to split firmware_class into separate target filesLuis R. Rodriguez1-1940/+0
2017-12-07driver core: add SPDX identifiers to all driver core filesGreg Kroah-Hartman1-0/+1
2017-11-29firmware: replace #ifdef over FW_OPT_FALLBACK with function checksLuis R. Rodriguez1-11/+29
2017-11-29firmware: provide helper for FW_OPT_USERHELPERLuis R. Rodriguez1-13/+18
2017-11-29firmware: add helper to copy built-in data to pre-alloc bufferLuis R. Rodriguez1-2/+9
2017-11-29firmware: use static inline for to_fw_priv()Luis R. Rodriguez1-1/+4
2017-11-29firmware: rename sysfs state checks with sysfs prefixLuis R. Rodriguez1-10/+10
2017-11-29firmware: use static inlines for state machine checkingLuis R. Rodriguez1-39/+68
2017-11-29firmware: remove unused __fw_state_is_done()Luis R. Rodriguez1-5/+0
2017-11-29firmware: remove duplicate fw_state_aborted()Luis R. Rodriguez1-2/+0
2017-11-29firmware: move core data structures to the top of fileLuis R. Rodriguez1-95/+95
2017-11-29firmware: rename struct fw_priv->fw_id to fw_nameLuis R. Rodriguez1-13/+13
2017-11-29firmware: rename struct firmware_buf to struct fw_privLuis R. Rodriguez1-185/+187
2017-11-29firmware: rename struct firmware_priv to struct fw_sysfsLuis R. Rodriguez1-49/+49
2017-11-29firmware: fix detecting error on register_reboot_notifier()Luis R. Rodriguez1-1/+8
2017-11-29firmware: provide helpers for registering the syfs loaderLuis R. Rodriguez1-8/+21
2017-11-29firmware: fix capturing errors on fw_cache_init() on early initLuis R. Rodriguez1-13/+32
2017-11-29firmware: add helper to unregister pm opsLuis R. Rodriguez1-4/+10
2017-09-10Revert "firmware: add sanity check on shutdown/suspend"Linus Torvalds1-99/+0
2017-08-14Merge 4.13-rc5 into driver-core-nextGreg Kroah-Hartman1-15/+34
2017-08-10firmware: enable a debug print for batched requestsLuis R. Rodriguez1-0/+2
2017-08-10firmware: define pr_fmtLuis R. Rodriguez1-0/+2
2017-08-10firmware: send -EINTR on signal abort on fallback mechanismLuis R. Rodriguez1-3/+6
2017-08-10firmware: avoid invalid fallback aborts by using killable waitLuis R. Rodriguez1-2/+1
2017-08-10firmware: fix batched requests - send wake up on failure on direct lookupsLuis R. Rodriguez1-8/+30
2017-08-10firmware: fix batched requests - wake all waitersLuis R. Rodriguez1-7/+5
2017-06-03firmware: move umh try locks into the umh codeLuis R. Rodriguez1-32/+36
2017-06-03firmware: move assign_firmware_buf() further upLuis R. Rodriguez1-39/+38
2017-06-03firmware: add sanity check on shutdown/suspendLuis R. Rodriguez1-0/+99
2017-06-03firmware: always enable the reboot notifierLuis R. Rodriguez1-19/+18
2017-06-03firmware: share fw fallback killing on reboot/suspendLuis R. Rodriguez1-15/+14
2017-06-03firmware: move kill_requests_without_uevent() up aboveLuis R. Rodriguez1-16/+16
2017-01-27firmware: fix NULL pointer dereference in __fw_load_abort()Luis R. Rodriguez1-4/+1
2016-12-08firmware: Correct handling of fw_state_wait() return valueBjorn Andersson1-7/+6
2016-12-01firmware: remove warning at documentation generation timeSilvio Fricke1-3/+3
2016-11-29firmware: move fw_state_is_done() into UHM sectionDaniel Wagner1-7/+7
2016-11-29firmware: do not use fw_lock for fw_state protectionDaniel Wagner1-36/+15
2016-11-29firmware: drop bit ops in favor of simple state machineDaniel Wagner1-7/+5
2016-11-29firmware: refactor loading statusDaniel Wagner1-34/+93
2016-11-29firmware: fix usermode helper fallback loadingYves-Alexis Perez1-3/+4
2016-11-29driver core: firmware_class: convert to use class_groupsGreg Kroah-Hartman1-4/+6
2016-08-02firmware: support loading into a pre-allocated bufferStephen Boyd1-26/+99
2016-08-02firmware: provide infrastructure to make fw caching optionalVikram Mulukutla1-2/+5
2016-08-02firmware: consolidate kmap/read/write logicStephen Boyd1-31/+26
2016-03-17Merge tag 'char-misc-4.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-5/+4
2016-02-29firmware: change kernel read fail to dev_dbg()Luis R. Rodriguez1-2/+6
2016-02-21firmware: replace call to fw_read_file_contents() with kernel versionMimi Zohar1-42/+10
2016-02-18firmware: clean up filesystem load exit pathKees Cook1-7/+5
2016-02-18firmware: move completing fw into a helperLuis R. Rodriguez1-4/+10
2016-02-18firmware: simplify dev_*() print messages for generic helpersLuis R. Rodriguez1-4/+4
2016-02-08firmware: Change the page arrary alloc to vmallocChen Feng1-5/+4
2016-02-08firmware: simplify dev_*() print messages for generic helpersLuis R. Rodriguez1-4/+4
2016-01-07firmware: actually return NULL on failed request_firmware_nowait()Brian Norris1-3/+5
2015-08-05firmware: fix wrong memory deallocation in fw_add_devm_name()Vladimir Zapolskiy1-1/+1
2015-07-09Fix firmware loader uevent buffer NULL pointer dereferenceLinus Torvalds1-3/+13
2015-06-01firmware: add missing kfree for work on async callLuis R. Rodriguez1-1/+3
2015-05-24firmware: use const for remaining firmware namesLuis R. Rodriguez1-12/+28
2015-05-24firmware: fix possible use after free on name on asynchronous requestLuis R. Rodriguez1-1/+5
2015-05-24firmware: check for file truncation on direct firmware loadingLuis R. Rodriguez1-2/+7
2015-05-24firmware: fix __getname() missing failure checkLuis R. Rodriguez1-1/+5
2015-03-25drivers: base: fw: fix ret value when loading fwZahari Doychev1-0/+2
2015-03-25firmware: Avoid manual device_create_file() callsTakashi Iwai1-19/+21
2015-03-25firmware_class: Fix whitespace and indentationAndrei Oprea1-3/+4
2015-02-15Merge tag 'driver-core-3.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-22/+11
2015-02-12PM / OPP / clk: Remove unnecessary OOM messageQuentin Lambert1-1/+0
2015-02-03firmware_loader: handle timeout via wait_for_completion_interruptible_timeout()Ming Lei1-24/+6
2015-02-03firmware_loader: abort request if wait_for_completion is interruptedMing Lei1-0/+7
2015-02-03firmware: Correct function name in commentBorislav Petkov1-1/+1
2014-11-26firmware class: Deletion of an unnecessary check before the function call "vu...Markus Elfring1-2/+1
2014-11-26firmware loader: fix hung task warning dumpKweh, Hock Leong1-2/+2
2014-09-23firmware_class: make sure fw requests contain a nameKees Cook1-0/+3
2014-08-06Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/...Linus Torvalds1-4/+26
2014-07-25firmware_class: perform new LSM checksKees Cook1-4/+26
2014-07-23firmware loader: Fix _request_firmware_load() return val for fw load abortShuah Khan1-1/+3
2014-07-08firmware loader: inform direct failure when udev loader is disabledLuis R. Rodriguez1-6/+7
2014-07-08firmware: replace ALIGN(PAGE_SIZE) by PAGE_ALIGNFabian Frederick1-1/+1
2014-07-08firmware: read firmware size using i_size_read()Dmitry Kasatkin1-14/+3
2014-07-08firmware loader: allow disabling of udev as firmware loaderTakashi Iwai1-5/+10
2014-03-02Merge 3.14-rc5 into driver-core-nextGreg Kroah-Hartman1-0/+1
2014-02-26PM / hibernate: Fix restore hang in freeze_processes()Sebastian Capella1-0/+1
2014-02-15firmware: use power efficient workqueue for unloading and aborting fw loadShaibal Dutta1-3/+4
2014-02-15firmware: give a protection when map page failedzhang jun1-1/+5
2014-01-08firmware_class: Fix the file size checkBen Hutchings1-3/+3
2014-01-08firmware loader: Add sparse annotationBart Van Assche1-0/+1
2013-12-08firmware: Suppress fallback warnings when CONFIG_FW_LOADER_USER_HELPER=nTakashi Iwai1-0/+4
2013-12-08firmware: Use bit flags instead of boolean combosTakashi Iwai1-22/+29
2013-12-08firmware: Introduce request_firmware_direct()Takashi Iwai1-7/+34
2013-09-26firmware: Be a bit more verbose about direct firmware loading failureNeil Horman1-13/+25
2013-08-30firmware loader: fix pending_fw_head list corruptionMaxime Bizon1-4/+7
2013-08-23driver core: firmware: use __ATTR_RW()Greg Kroah-Hartman1-8/+5
2013-06-25firmware loader: fix another compile warning with PM_SLEEP unsetMing Lei1-12/+12
2013-06-21firmware loader: fix compile warning with PM_SLEEP setMing Lei1-3/+3
2013-06-19Merge branch 'driver-core-linus' into driver-core-nextGreg Kroah-Hartman1-16/+32
2013-06-18firmware loader: fix use-after-free by double abortMing Lei1-9/+18
2013-06-06firmware loader: simplify holding module for request_firmwareMing Lei1-6/+7
2013-06-06firmware loader: don't export cache_firmware and uncache_firmwareMing Lei1-4/+2
2013-06-06firmware loader: fix compile warningMing Lei1-0/+4
2013-06-04firmware loader: fix build failure with !CONFIG_FW_LOADER_USER_HELPERMing Lei1-14/+17
2013-06-03driver core: firmware loader: kill FW_ACTION_NOHOTPLUG requests before suspendMing Lei1-0/+17
2013-06-03driver core: firmware loader: don't cache FW_ACTION_NOHOTPLUG firmwareMing Lei1-3/+6
2013-06-03firmware: move EXPORT_SYMBOL annotationsDaniel Mack1-6/+5
2013-06-03firmware: Avoid deadlock of usermodehelper lock at shutdownTakashi Iwai1-7/+37
2013-02-26Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+1
2013-02-26switch vfs_getattr() to struct pathAl Viro1-1/+1
2013-02-03firmware: Ignore abort check when no user-helper is usedTakashi Iwai1-2/+9
2013-02-03firmware: Reduce ifdef CONFIG_FW_LOADER_USER_HELPERTakashi Iwai1-162/+151
2013-02-03firmware: Make user-mode helper optionalTakashi Iwai1-13/+44
2013-02-03firmware: Refactoring for splitting user-mode helper codeTakashi Iwai1-133/+154
2013-01-16firmware: make sure the fw file size is not 0Luciano Coelho1-1/+1
2012-11-14firmware loader: document firmware cache mechanismMing Lei1-0/+3
2012-11-14firmware loader: introduce module parameter to customize(v4) fw search pathMing Lei1-1/+16
2012-11-14firmware: use noinline_for_stackCesar Eduardo Barros1-1/+1
2012-11-14firmware loader: Fix the concurrent request_firmware() race for kref_get/putChuansheng Liu1-2/+4
2012-11-14firmware loader: Fix the race FW_STATUS_DONE is followed by class_timeoutChuansheng Liu1-8/+16
2012-10-22firmware loader: sync firmware cache by async_synchronize_full_domainMing Lei1-28/+6
2012-10-22firmware loader: let direct loading back on 'firmware_buf'Ming Lei1-71/+100
2012-10-22firmware loader: fix one reqeust_firmware raceMing Lei1-12/+20
2012-10-22firmware loader: cancel uncache work before caching firmwareMing Lei1-7/+28
2012-10-04firmware: use 'kernel_read()' to read firmware into kernel bufferLinus Torvalds1-3/+1
2012-10-03firmware: teach the kernel to load firmware files directly from the filesystemLinus Torvalds1-1/+77
2012-09-10firmware loader: fix compile warning when CONFIG_PM=nMing Lei1-11/+22
2012-09-06firmware loader: let caching firmware piggyback on loading firmwareMing Lei1-9/+74
2012-09-06firmware loader: fix firmware -ENOENT situationsMing Lei1-0/+1
2012-08-17firmware loader: fix build failure if FW_LOADER is mMing Lei1-7/+2
2012-08-17firmware loader: fix compile failure if !PMMing Lei1-1/+3
2012-08-16firmware loader: cache devices firmware during suspend/resume cycleMing Lei1-0/+32
2012-08-16firmware loader: use small timeout for cache device firmwareMing Lei1-0/+14
2012-08-16firmware: introduce device_cache/uncache_fw_imagesMing Lei1-6/+215
2012-08-16firmware loader: store firmware name into devres listMing Lei1-0/+64
2012-08-16firmware loader: fix comments on request_firmware_nowaitMing Lei1-3/+7
2012-08-16firmware loader: fix device lifetimeMing Lei1-0/+6
2012-08-16firmware loader: introduce cache_firmware and uncache_firmwareMing Lei1-8/+92
2012-08-16firmware loader: always let firmware_buf own the pages bufferMing Lei1-69/+171
2012-08-16firmware loader: introduce firmware_bufMing Lei1-78/+102
2012-08-16firmware loader: fix creation failure of fw loader deviceMing Lei1-1/+1
2012-08-16firmware loader: remove unnecessary wmb()Ming Lei1-1/+0
2012-08-16firmware loader: fix races during loading firmwareMing Lei1-9/+11
2012-08-16firmware loader: simplify pages ownership transferMing Lei1-23/+39
2012-07-16driver-core: Use kobj_to_dev instead of re-implementing itLars-Peter Clausen1-4/+2
2012-03-28firmware_class: Move request_firmware_nowait() to workqueuesStephen Boyd1-20/+7
2012-03-28firmware_class: Reorganize fw_create_instance()Stephen Boyd1-73/+62
2012-03-28firmware_class: Do not warn that system is not ready from async loadsRafael J. Wysocki1-21/+30
2012-03-28firmware_class: Split _request_firmware() into three functions, v2Rafael J. Wysocki1-17/+41
2012-03-28firmware_class: Rework usermodehelper checkRafael J. Wysocki1-6/+5
2012-01-23PM / Sleep: Fix read_unlock_usermodehelper() call.Tetsuo Handa1-2/+1
2012-01-08Merge branch 'pm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+4
2012-01-04firmware: Fix an oops on reading fw_priv->fw in sysfs loading fileNeil Horman1-7/+7
2011-12-09PM / Sleep: Fix freezer failures due to racy usermodehelper_is_disabled()Srivatsa S. Bhat1-0/+4
2011-08-24firmware loader: allow builtin firmware load even if usermodehelper is disabledLinus Torvalds1-5/+6
2011-05-17PM: Print a warning if firmware is requested when tasks are frozenRafael J. Wysocki1-0/+5
2011-02-03firmware_classs: change val uevent's type to boolBob Liu1-4/+3
2010-08-23firmware_class: fix typo in error pathJohannes Berg1-1/+1
2010-08-05firmware loader: embed device into firmware_priv structureDmitry Torokhov1-133/+122
2010-08-05firmware loader: use statically initialized data attributeDmitry Torokhov1-6/+3
2010-05-21sysfs: add struct file* to bin_attr callbacksChris Wright1-4/+7
2010-05-21firmware loader: do not allocate firmare id separatelyDmitry Torokhov1-13/+4
2010-05-21firmware loader: split out builtin firmware handlingDmitry Torokhov1-26/+50
2010-05-21firmware loader: rely on driver core to create class attributeDmitry Torokhov1-35/+24
2010-05-21firmware class: export nowait to userspaceJohannes Berg1-5/+11
2010-05-21Driver core: Reduce the level of request_firmware() messagesRafael J. Wysocki1-3/+2
2010-05-21firmware_class: fix memory leak - free allocated pagesDavid Woodhouse1-6/+20
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-0/+1
2010-03-19driver-core: fix missing kernel-doc in firmware_classRandy Dunlap1-0/+1
2010-03-19sysfs: use sysfs_bin_attr_init in firmware class driverJiri Kosina1-0/+1
2010-03-07Driver core: Fix first line of kernel-doc for a few functionsBen Hutchings1-1/+1
2010-03-07driver-core: firmware_class: remove base.h header inclusionLuis R. Rodriguez1-1/+0
2010-03-07driver-core: Add attribute argument to class_attribute show/storeAndi Kleen1-2/+6
2009-12-11firmware_class: make request_firmware_nowait more usefulJohannes Berg1-8/+6
2009-07-28driver core: firmware_class:fix memory leak of page pointers arrayMing Lei1-1/+0
2009-07-12Firmware: firmware_class, fix lock imbalanceJiri Slaby1-2/+4
2009-07-08Free struct device in fw_dev_release()Catalin Marinas1-4/+2
2009-06-15driver core: fix gcc 4.3.3 warnings about string literalsGreg Kroah-Hartman1-1/+1
2009-06-15firmware: allocate firmware id dynamicallySamuel Ortiz1-4/+12
2009-06-15driver core: fix documentation of request_firmware_nowaitMing Lei1-2/+3
2009-06-15driver core: firmware_class: replace kfree(dev) with put_device(dev)Ming Lei1-3/+5
2009-05-15firmware: speed up request_firmware(), v3David Woodhouse1-26/+103
2009-03-24Driver core: implement uevent suppress in kobjectMing Lei1-2/+2
2009-01-06driver core: struct device - replace bus_id with dev_name(), dev_set_name()Kay Sievers1-7/+1
2008-10-16firmware: use dev_printk when possibleBjorn Helgaas1-14/+10
2008-07-25firmware: use memory_read_from_buffer()Akinobu Mita1-9/+3
2008-07-10firmware: allow firmware files to be built into kernel imageDavid Woodhouse1-2/+31
2008-07-10firmware: make fw->data constDavid Woodhouse1-1/+1
2008-04-29firmware loader: printk when requesting firmwareCiaran McCreesh1-0/+2
2008-04-19driver core: replace remaining __FUNCTION__ occurrencesHarvey Harrison1-9/+9
2008-02-07Driver core: Revert "Fix Firmware class name collision"Michael E Brown1-1/+2
2007-10-12Fix Firmware class name collisionMarkus Rechberger1-2/+1
2007-10-12Driver core: change add_uevent_var to use a structKay Sievers1-8/+3
2007-07-30kernel-doc fixes for PCI and drivers/base/Randy Dunlap1-0/+1
2007-07-11sysfs: add parameter "struct bin_attribute *" in .read/.write methods for sys...Zhang Rui1-2/+2
2007-07-11sysfs: kill unnecessary attribute->ownerTejun Heo1-1/+1
2007-06-08firmware: remove orphaned EmailMarkus Rechberger1-2/+2
2007-04-27Driver core: switch firmware_class to uevent_suppress.Cornelia Huck1-8/+2
2007-02-07Driver Core: Increase the default timeout value of the firmware subsystemDave Jones1-1/+1
2006-12-22[PATCH] fix kernel-doc warnings in 2.6.20-rc1Randy Dunlap1-0/+1
2006-12-01Driver core: convert firmware code to use struct deviceGreg Kroah-Hartman1-62/+57
2006-09-29[PATCH] kthread: drivers/base/firmware_class.cSukadev Bhattiprolu1-6/+6
2006-09-27[PATCH] x86 microcode: using request_firmware to pull microcodeShaohua Li1-1/+1
2006-06-21[PATCH] firmware_class: s/semaphores/mutexesLaura Garcia1-11/+11
2006-05-21[PATCH] drivers/base/firmware_class.c: cleanupsAdrian Bunk1-31/+8
2006-03-20[PATCH] firmware: fix BUG: in fw_realloc_bufferJeff Moyer1-2/+4