[PATCH v4 0/4] firmware: encapsulate firmware loading status

From: Daniel Wagner
Date: Wed Sep 07 2016 - 04:46:31 EST


From: Daniel Wagner <daniel.wagner@xxxxxxxxxxxx>

Hi,

This is version depends on Luis' '[PATCH v4 0/5] firmware: add SmPL
grammar to avoid issues' series [1]. Because of that I was able to get
rid of loading_timeout and firmware_loading_timeout() in the
!FW_LOADER_USER_HELPER_FALLBACK case.

cheers,
daniel

This series depends on
[1] http://marc.info/?l=linux-kernel&m=147320896231418&w=2

changes since v3:
- added 'firmware: Move umh locking code into
fw_load_from_user_helper()'
- dropped loading_tiemout and firmware_loading_time() for
!CONFG_FW_LOADER_USER_HELPER
- rebased on Luis patches

changes since v2:
- more splitting out
- first patch factors out all the bit ops into fw_status
- second patch gets rid of the bit ops
- third get rid of fw_lock by using swait

changes since v1:
- moved swait change into its own patch
- added ifdef section for FW_LOADER_USER_HELPER_FALLBACK
- updated commit message highlighting the mutex usage drop a bit

https://lkml.org/lkml/2016/8/4/239

Cc: Ming Lei <ming.lei@xxxxxxxxxxxxx>
Cc: Luis R. Rodriguez <mcgrof@xxxxxxxxxx>
Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

Daniel Wagner (4):
firmware: Move umh locking code into fw_load_from_user_helper()
firmware: encapsulate firmware loading status
firmware: Drop bit ops in favor of simple state machine
firmware: Do not use fw_lock for fw_status protection

drivers/base/firmware_class.c | 202 +++++++++++++++++++++++++-----------------
1 file changed, 119 insertions(+), 83 deletions(-)

--
2.7.4