mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 14:14:37 +00:00
2518ac59eb
Deconstruct the kthread / message_queue logic, replacing it with create_singlethread_workqueue() / queue_work() setup, by adding a 'struct work_struct' to 'struct host_if_msg'. The current kthread hostIFthread() is converted to a work queue helper with the name 'host_if_work'. Signed-off-by: Binoy Jayan <binoy.jayan@linaro.org> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
19 lines
994 B
Text
19 lines
994 B
Text
TODO:
|
|
- remove the defined feature as kernel versions
|
|
- remove OS wrapper functions
|
|
- remove custom debug and tracing functions
|
|
- rework comments and function headers(also coding style)
|
|
- replace all semaphores with mutexes or completions
|
|
- Move handling for each individual members of 'union message_body' out
|
|
into a separate 'struct work_struct' and completely remove the multiplexer
|
|
that is currently part of host_if_work(), allowing movement of the
|
|
implementation of each message handler into the callsite of the function
|
|
that currently queues the 'host_if_msg'.
|
|
- make spi and sdio components coexist in one build
|
|
- turn compile-time platform configuration (BEAGLE_BOARD,
|
|
PANDA_BOARD, PLAT_WMS8304, PLAT_RKXXXX, CUSTOMER_PLATFORM, ...)
|
|
into run-time options that are read from DT
|
|
- support soft-ap and p2p mode
|
|
- support resume/suspend function
|
|
- replace SIOCDEVPRIVATE commands with generic API functions
|
|
- use wext-core handling instead of private SIOCSIWPRIV implementation
|