Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp38950imm; Tue, 17 Jul 2018 13:30:48 -0700 (PDT) X-Google-Smtp-Source: AAOMgpctbgqoAI8xibOJ8ZGsQrHETnAAyH1rOnVhqPKj8FZ/w1tVNhXvBAvEYAVqRyVvsAufZri4 X-Received: by 2002:a62:c819:: with SMTP id z25-v6mr2192271pff.44.1531859448351; Tue, 17 Jul 2018 13:30:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531859448; cv=none; d=google.com; s=arc-20160816; b=0hPLywLB4Qdw29KLg/Jljt+trQUWaNl0G3m897vDra2DPlx4w/wFQf3ENTdUL/XWiV +CJzLvbxAtOQJqjL+CwhnPdZU+uRNkJUn3eMGW7HdWGiol+LiDyIygF63Y5SevPkVx4I KoPPrhmguM1Ah6yHf3tFNZYEv3UQO5mspJOZPpJjSK5c+Eu3tRAg2FYzKbc9alSatE9r 71XqhPezZEjrT0kI5w4QvhNPrBadToLGupUTNu/Ht5lDOz/PyTmfBoJ/Bp8u3lnGzuLn xTk4n9WNeUOpn2B8zWuRqeUYNu6YxtyqzIPixTkCJn602esAOELRJEvEJjSqEh9/iufY l0DQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=zvtg/FXFnUvoC+vpDxQVg2kOnsVOVh6I6ylRjZlGwao=; b=EKOfwHeFYK/3nFuw2RQ52IXHirPVFYDbwSysUbnhvv0Y99C6oADGXIB0yQ/JOwmrar OWrmSsvl1XSx8PKnjz+xdnIPOEY0JUnYh+rKYeQZ1eG7FwddRqfoPiA9xN78n1EnXt5U rwKVfGZg9qVXi6ew8IwWi2GqC4VC133k4ZT7kdBY3uJu1DkuvYaCeBzDuIshFROg2swg hDqAByvzigqYOAlLIR9bPdxo9q4f3MxuszHcsgu9g6MoJvIWpyMPwb/KErcpVbqXkM2n G3L+iE3bJG9pR2f67DqhHk742z6k0NcEpO4xEuDZE8/INJCoeiotib7XIZ8buV5QTR+2 tWJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Nfg+UUNS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j1-v6si1731371pgh.160.2018.07.17.13.30.32; Tue, 17 Jul 2018 13:30:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Nfg+UUNS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730214AbeGQVEJ (ORCPT + 99 others); Tue, 17 Jul 2018 17:04:09 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:43959 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729741AbeGQVEJ (ORCPT ); Tue, 17 Jul 2018 17:04:09 -0400 Received: by mail-pf0-f196.google.com with SMTP id j26-v6so1047300pfi.10 for ; Tue, 17 Jul 2018 13:29:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id; bh=zvtg/FXFnUvoC+vpDxQVg2kOnsVOVh6I6ylRjZlGwao=; b=Nfg+UUNSK1Ghg5gsaZ+MtCct+na6Ty8lfjAC+4qsXrzbqO4gg3D6RbfTo8rmldjy4Y j2Wl7mSWvwtXyyMzMOfnUiJROeCPh8bOTIypUJ8tGGDBBnkaz/AutPtsB57OtFas8oZW zV7FNEzB8iKWyeG3eKTCaqgD42Zz3TOueOK48= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=zvtg/FXFnUvoC+vpDxQVg2kOnsVOVh6I6ylRjZlGwao=; b=ASiu6qnO86aNF/MCxW7++XQzwrsjuoXh7eCXX36Q1wb4QkgCVUQXHfO3psoMm+GA/U tJXEsKz6zTofRwekgmpGQFOhpV5QL5cdZ2ti9phLVCKtvZNaCOTVy0jQNd/tr4Or0KZ5 pE9+PJ4a+RQFjqEAGo+NiejYrb4aoKulYINRt/mFBi2IIMUJ38eyt8I2ZFvuL9g4BVV1 kI+qs+OrYLxor+A7pmIlQK0x3cA2BKi7ZWjyUqIZW3Ay0ukyB3nSp4iOVb4RmRCXZBqB o5toJb+wLfievEZoHm3Kg995JpGCa7luXLtfdgA13hTV8MaK0TV9sW388NIoTj9ElgC0 mLvg== X-Gm-Message-State: AOUpUlFIR940SXnkeujxHODHcB5tD5vA8Jo1yLRnKvqgnNBSfMEt6ici tuvIhqdNe/iD+wMjHpb5v9ABVg== X-Received: by 2002:a63:951e:: with SMTP id p30-v6mr2995421pgd.318.1531859390410; Tue, 17 Jul 2018 13:29:50 -0700 (PDT) Received: from swboyd.mtv.corp.google.com ([2620:0:1000:1511:d30e:62c6:f82c:ff40]) by smtp.gmail.com with ESMTPSA id a20-v6sm2563426pfi.124.2018.07.17.13.29.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Jul 2018 13:29:49 -0700 (PDT) From: Stephen Boyd To: Andy Gross Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, Mahesh Sivasubramanian , Lina Iyer , Bjorn Andersson , Evan Green Subject: [PATCH 0/2] qcom: remove memcpy()ing from cmd-db driver Date: Tue, 17 Jul 2018 13:29:45 -0700 Message-Id: <20180717202947.197922-1-swboyd@chromium.org> X-Mailer: git-send-email 2.18.0.203.gfac676dfb9-goog Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Cc: Lina Iyer Cc: Bjorn Andersson Cc: Evan Green 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