Some changes to the cmd-db code to not do any more copying of memory. Instead, we'll just hand out pointers to things inside cmd-db. Merging the second patch will cause problems for any in-flight users of the cmd-db APIs that are modified and/or removed. Probably that patch can wait until later, or I can provide the fixes for any patches in-flight that get wrecked when it's applied.
Cc: Mahesh Sivasubramanian <msiva...@codeaurora.org> Cc: Lina Iyer <il...@codeaurora.org> Cc: Bjorn Andersson <bjorn.anders...@linaro.org> Cc: Evan Green <evgr...@chromium.org> Stephen Boyd (2): soc: qcom: cmd-db: Remove memcpy()ing from cmd_db_get_header() soc: qcom: cmd-db: Stop memcpy()ing in cmd_db_read_aux_data() drivers/soc/qcom/cmd-db.c | 93 ++++++++++++--------------------------- include/soc/qcom/cmd-db.h | 12 ++--- 2 files changed, 32 insertions(+), 73 deletions(-) -- Sent by a computer through tubes