From: Yi Li
This adds DRIVER_DATA_REQ_NO_CACHE flag with .req flag under struct
driver_data_req_params. When this flag is set, the driver_data driver
will not cache the firmware during PM cycle, which is expensive. It
will be used by streaming case and other drivers which
From: Yi Li
This adds DRIVER_DATA_REQ_NO_CACHE flag with .req flag under struct
driver_data_req_params. When this flag is set, the driver_data driver
will not cache the firmware during PM cycle, which is expensive. It
will be used by streaming case and other drivers which implement
their own
From: Yi Li
Set DRIVER_DATA_REQ_NO_CACHE flag to disable driver_data driver caching
mechanism, iwlwifi has its own firmware cache management.
Signed-off-by: Yi Li
---
drivers/net/wireless/intel/iwlwifi/iwl-drv.c | 2 ++
1 file changed, 2
From: Yi Li
Changes in v3:
- Add a platform device to enable PM support in test driver
- Add a debugfs device to enable driver data cache testing
- Fix a logic error so driver_data can be able to cache
- Add two test cases for caching and non-caching
- Rebase
From: Yi Li
Add a platform device to enable PM cache and add cache/no_cache test.
Signed-off-by: Yi Li
---
lib/test_driver_data.c | 97 ++---
tools/testing/selftests/firmware/driver_data.sh | 67
From: Yi Li
Set DRIVER_DATA_REQ_NO_CACHE flag to disable driver_data driver caching
mechanism, iwlwifi has its own firmware cache management.
Signed-off-by: Yi Li
---
drivers/net/wireless/intel/iwlwifi/iwl-drv.c | 2 ++
1 file changed, 2 insertions(+)
diff --git
From: Yi Li
Changes in v3:
- Add a platform device to enable PM support in test driver
- Add a debugfs device to enable driver data cache testing
- Fix a logic error so driver_data can be able to cache
- Add two test cases for caching and non-caching
- Rebase to Luis R. Rodriguez's
From: Yi Li
Add a platform device to enable PM cache and add cache/no_cache test.
Signed-off-by: Yi Li
---
lib/test_driver_data.c | 97 ++---
tools/testing/selftests/firmware/driver_data.sh | 67 +
2 files changed, 154
From: Yi Li
By setting the driver_data_req_params req flag of DRIVER_DATA_REQ_STREAMING
and DRIVER_DATA_REQ_NO_CACHE, caller can streaming firmware image to the
pre-allocated buffer in small trunks. Caller also need to setup the
img_offset pointer and firmware image
From: Yi Li
By setting the driver_data_req_params req flag of DRIVER_DATA_REQ_STREAMING
and DRIVER_DATA_REQ_NO_CACHE, caller can streaming firmware image to the
pre-allocated buffer in small trunks. Caller also need to setup the
img_offset pointer and firmware image **path to avoid searching the
From: Yi Li
Since the FPGA image are getting bigger in size, this add an new API
fpga_mgr_firmware_stream in FPGA manager, which will stream FPGA image in
4KB trunks.
Signed-off-by: Yi Li
---
drivers/fpga/fpga-mgr.c | 111
From: Yi Li
Since the FPGA image are getting bigger in size, this add an new API
fpga_mgr_firmware_stream in FPGA manager, which will stream FPGA image in
4KB trunks.
Signed-off-by: Yi Li
---
drivers/fpga/fpga-mgr.c | 111 ++
From: Yi Li
This series enables the streaming support on driver_data sync API
and add self test and FPGA mgr to test/use stream firmware in
4KB trucks.
Changes in v2:
- Rebase to Luis R. Rodriguez's 20170501-driver-data-try2
branch
- Expended
From: Yi Li
This series enables the streaming support on driver_data sync API
and add self test and FPGA mgr to test/use stream firmware in
4KB trucks.
Changes in v2:
- Rebase to Luis R. Rodriguez's 20170501-driver-data-try2
branch
- Expended fw_get_filesystem_firmware function and
From: Yi Li
This adds streaming test case, which pre-allocate the buffer and ask
driver_data_request_sync API to read 4KB each. Since the dummy firmware
image is very small, the test only stream couple bytes.
A manual test method:
echo -n 'bigfile' >
From: Yi Li
This adds streaming test case, which pre-allocate the buffer and ask
driver_data_request_sync API to read 4KB each. Since the dummy firmware
image is very small, the test only stream couple bytes.
A manual test method:
echo -n 'bigfile' >
From: Yi Li
This adds pre-allocated buffer test cases to the simple sync and
async test.
Signed-off-by: Yi Li
---
lib/test_driver_data.c | 68 -
tools/testing/selftests/firmware/driver_data.sh |
From: Yi Li
This adds pre-allocated buffer test cases to the simple sync and
async test.
Signed-off-by: Yi Li
---
lib/test_driver_data.c | 68 -
tools/testing/selftests/firmware/driver_data.sh | 36 +
2 files changed, 103
From: Yi Li
This series enables the equivalent pre-allocated buffer feature in
request_firmware_into_buf to driver_data API, so caller can allocate
firmware data buffer and pass to driver_data. This will be used for
streaming support of driver_data, which allow caller to
From: Yi Li
This series enables the equivalent pre-allocated buffer feature in
request_firmware_into_buf to driver_data API, so caller can allocate
firmware data buffer and pass to driver_data. This will be used for
streaming support of driver_data, which allow caller to manage the size
and
From: Yi Li
This enables the equivalent feature of the legacy request_firmware_into_buf
to driver_data, so caller can allocate and manage the firmware buffer
instead of by driver_data class internally. The caller need to setup
alloc_buf and alloc_buf_size in the
From: Yi Li
This adds a no_cache flag to simple sync and async test.
Signed-off-by: Yi Li
---
lib/test_driver_data.c | 43 +++--
tools/testing/selftests/firmware/driver_data.sh | 36
From: Yi Li
This enables the equivalent feature of the legacy request_firmware_into_buf
to driver_data, so caller can allocate and manage the firmware buffer
instead of by driver_data class internally. The caller need to setup
alloc_buf and alloc_buf_size in the @driver_data_req_params
From: Yi Li
This adds a no_cache flag to simple sync and async test.
Signed-off-by: Yi Li
---
lib/test_driver_data.c | 43 +++--
tools/testing/selftests/firmware/driver_data.sh | 36 +
2 files changed, 76 insertions(+), 3
From: Yi Li
Set DRIVER_DATA_REQ_NO_CACHE flag to disable driver_data driver caching
mechanism, iwlwifi has its own firmware cache management.
Signed-off-by: Yi Li
---
drivers/net/wireless/intel/iwlwifi/iwl-drv.c | 2 ++
1 file changed, 2
From: Yi Li
Set DRIVER_DATA_REQ_NO_CACHE flag to disable driver_data driver caching
mechanism, iwlwifi has its own firmware cache management.
Signed-off-by: Yi Li
---
drivers/net/wireless/intel/iwlwifi/iwl-drv.c | 2 ++
1 file changed, 2 insertions(+)
diff --git
From: Yi Li
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
From: Yi Li
This adds DRIVER_DATA_REQ_NO_CACHE flag with .req flag under struct
driver_data_req_params. When this flag is set, the driver_data driver
will bypass the internal caching mechanism, its used by streaming
case and other drivers which implement their own cache
From: Yi Li
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
From: Yi Li
This adds DRIVER_DATA_REQ_NO_CACHE flag with .req flag under struct
driver_data_req_params. When this flag is set, the driver_data driver
will bypass the internal caching mechanism, its used by streaming
case and other drivers which implement their own cache thing.
Signed-off-by: Yi
From: Yi Li
Load firmware in multiple chucks(4KB) instead of the whole big firmware file
at once. The streaming support is added in the driver_data_request_sync API
based on Luis R. Rodriguez's 20170329-driver-data-v2-try3 branch.
Signed-off-by: Yi Li
From: Yi Li
Load firmware in multiple chucks(4KB) instead of the whole big firmware file
at once. The streaming support is added in the driver_data_request_sync API
based on Luis R. Rodriguez's 20170329-driver-data-v2-try3 branch.
Signed-off-by: Yi Li
---
drivers/base/firmware_class.c | 119
From: Yi Li
As the FPGA hardware advances, the bitstream image size grows. It could be an
issue for kernel to allocate big buffers to load the whole firmware file. Here
is an attempt to load the bitstream file into 4KB buffer and program the FPGA
in a streaming mode.
From: Yi Li
As the FPGA hardware advances, the bitstream image size grows. It could be an
issue for kernel to allocate big buffers to load the whole firmware file. Here
is an attempt to load the bitstream file into 4KB buffer and program the FPGA
in a streaming mode. The streaming support is
From: Yi Li
Add fpga_mgr_firmware_stream API to enable streaming/programing
FPGA bitstream file from file system to FPGA manager. This code is
on top of Luis R. Rodriguez's new driver_data_request_sync API.
Signed-off-by: Yi Li
---
From: Yi Li
Add fpga_mgr_firmware_stream API to enable streaming/programing
FPGA bitstream file from file system to FPGA manager. This code is
on top of Luis R. Rodriguez's new driver_data_request_sync API.
Signed-off-by: Yi Li
---
drivers/fpga/fpga-mgr.c | 96
From: Yi Li
Add fpga_mgr_firmware_stream API, which can load and program firmware
in trucks to FPGA instead of the whole file.
Signed-off-by: Yi Li
---
drivers/fpga/fpga-mgr.c | 77 +++
From: Yi Li
Add fpga_mgr_firmware_stream API, which can load and program firmware
in trucks to FPGA instead of the whole file.
Signed-off-by: Yi Li
---
drivers/fpga/fpga-mgr.c | 77 +++
include/linux/fpga/fpga-mgr.h | 4 +++
2 files changed, 81
From: Yi Li
Add function to load firmware in multiple chucks instead of
loading the whole big firmware file at once.
Signed-off-by: Yi Li
---
drivers/base/firmware_class.c | 128 ++
From: Yi Li
Add function to load firmware in multiple chucks instead of
loading the whole big firmware file at once.
Signed-off-by: Yi Li
---
drivers/base/firmware_class.c | 128 ++
include/linux/firmware.h | 2 +
2 files changed, 130
From: Yi Li
As the FPGA hardware advances, the firmware image size grows (hundres
of MBs or more). It could be an issue for kernel to allocate a big
buffer to load the whole firmware file.
Here is an attempt to read the firmware file into a small buffer and
program the
From: Yi Li
As the FPGA hardware advances, the firmware image size grows (hundres
of MBs or more). It could be an issue for kernel to allocate a big
buffer to load the whole firmware file.
Here is an attempt to read the firmware file into a small buffer and
program the FPGA in a loop (or so call
42 matches
Mail list logo