[PATCH 0/2] qcom: remove memcpy()ing from cmd-db driver

From: Stephen Boyd
Date: Tue Jul 17 2018 - 16:29:53 EST


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 <msivasub@xxxxxxxxxxxxxx>
Cc: Lina Iyer <ilina@xxxxxxxxxxxxxx>
Cc: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>
Cc: Evan Green <evgreen@xxxxxxxxxxxx>

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