[PATCHv2 0/3] Enable no_cache flag to driver_data
From: yi1 . li
Date: Sat May 20 2017 - 02:52:15 EST
From: Yi Li <yi1.li@xxxxxxxxxxxxxxx>
Changes in v2:
- Rebase to Luis R. Rodriguez's 20170501-driver-data-try2
branch
- Expose DRIVER_DATA_REQ_NO_CACHE flag to public
driver_data_req_params structure, so upper drivers can ask
driver_data driver to bypass the internal caching mechanism.
This will be used for streaming and other drivers maintains
their own caching like iwlwifi.
- Add self test cases.
Yi Li (3):
firmware_class: move NO_CACHE from private to driver_data_req_params
iwlwifi: use DRIVER_DATA_REQ_NO_CACHE for driver_data
test: add no_cache to driver_data load tester
drivers/base/firmware_class.c | 16 ++++-----
drivers/net/wireless/intel/iwlwifi/iwl-drv.c | 2 ++
include/linux/driver_data.h | 4 +++
lib/test_driver_data.c | 43 +++++++++++++++++++++++--
tools/testing/selftests/firmware/driver_data.sh | 36 +++++++++++++++++++++
5 files changed, 89 insertions(+), 12 deletions(-)
--
2.7.4