From patchwork Mon May 4 17:58:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 11527339 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9277C1668 for ; Mon, 4 May 2020 18:16:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7A23524959 for ; Mon, 4 May 2020 18:16:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="XPPT51l7" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730697AbgEDR7I (ORCPT ); Mon, 4 May 2020 13:59:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1730691AbgEDR7H (ORCPT ); Mon, 4 May 2020 13:59:07 -0400 Received: from mail-qk1-x744.google.com (mail-qk1-x744.google.com [IPv6:2607:f8b0:4864:20::744]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9673BC061A0F for ; Mon, 4 May 2020 10:59:07 -0700 (PDT) Received: by mail-qk1-x744.google.com with SMTP id b6so401945qkh.11 for ; Mon, 04 May 2020 10:59:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=vqdw6T961NjpBgRT/XhyOu+dO0BOx3bSC8VPzWsBaf8=; b=XPPT51l7YVLzCOVDR8nXFLo0ll/gEhC+LGvA/j0yhs3ZktWvl0sAm3ZbfhvqTH3C/D ob0L3coYcB9BRxc3fZvibyxEE6yc6am6tRF7VR6G/N80RmcfUkKm+Dd3eVNcBoKTMkYj /Hq0E1m9fqBgPbBFdnr9j8qfc7mSf2egge2V/mVAOykoiw9QwObUn4IH9jPEYLFjSs+F TupT1A+dCMnVbX7hmJwpGXfzxkIaHlq8cT/EMPi48gSWtAUo8RDuh1Gq1v1dNMDgmiMv gUKFA1YpWXOqPL9yC3HmH5uy8dWiuR3v0/g78gPbreQidnKadkgNDdii6O0dTF8GoWXW e/lw== 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:mime-version :content-transfer-encoding; bh=vqdw6T961NjpBgRT/XhyOu+dO0BOx3bSC8VPzWsBaf8=; b=sT6ZrTJH9eYwVuoa82lWAUVgCCTT3S7Bpy7E2F+bnY1YPINKBqsQLmBpFE2pgL2sgo lVv+zKc/2WeRfoimVaa94TXJw/Ww0QXLo6ov+r/FYO2JlXrRkMTkaCQ7QEXD84cMRLSg KtkHRu5GsCcfugBMxghBN1chAP7u7bZ/4vZPa39UcalBMKJ/CjK+RbQyC2bG86M3KGYP E25igVQTEmlDlwbOqTKfL+jAT6wcNCS3bA23tkGOcC5UT8c031XjHhZlB/CwfBxOWRAJ 2RojvBhtPuseEH4egEJEvtDzlJOSZf9lqfYv43J7ficOZghN/SqzExxwM8EdEad2ERoR rXOA== X-Gm-Message-State: AGi0Puahq9mMeotDlBPgh5O4eTv627WE7iJlKxO+xHHKC6LPh6eQj2hI IR6pn+f06i5dkX8ypkKpeYZ1WQ== X-Google-Smtp-Source: APiQypJJ+e8/no9p4zo1oA/7S8B1GlIpY1L/RkCv9O30uXiNL1i8dlLjNyWlL/9UZ7G1xUcxb/aAwA== X-Received: by 2002:a37:8346:: with SMTP id f67mr367493qkd.283.1588615146701; Mon, 04 May 2020 10:59:06 -0700 (PDT) Received: from beast.localdomain (c-73-185-129-58.hsd1.mn.comcast.net. [73.185.129.58]) by smtp.gmail.com with ESMTPSA id h19sm11271088qtk.78.2020.05.04.10.59.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 May 2020 10:59:05 -0700 (PDT) From: Alex Elder To: davem@davemloft.net Cc: evgreen@chromium.org, subashab@codeaurora.org, cpratapa@codeaurora.org, bjorn.andersson@linaro.org, agross@kernel.org, robh+dt@kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next v2 0/4] net: ipa: I/O map SMEM and IMEM Date: Mon, 4 May 2020 12:58:55 -0500 Message-Id: <20200504175859.22606-1-elder@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This series adds the definition of two memory regions that must be mapped for IPA to access through an SMMU. It requires the SMMU to be defined in the IPA node in the SoC's Device Tree file. There is no change since version 1 to the content of the code in these patches, *however* this time the first patch is an update to the binding definition rather than an update to a DTS file. -Alex Alex Elder (4): dt-bindings: net: add IPA iommus property net: ipa: redefine struct ipa_mem_data net: ipa: define IMEM memory region for IPA net: ipa: define SMEM memory region for IPA .../devicetree/bindings/net/qcom,ipa.yaml | 10 +- drivers/net/ipa/ipa.h | 10 + drivers/net/ipa/ipa_data-sc7180.c | 14 +- drivers/net/ipa/ipa_data-sdm845.c | 14 +- drivers/net/ipa/ipa_data.h | 23 +- drivers/net/ipa/ipa_main.c | 2 +- drivers/net/ipa/ipa_mem.c | 209 +++++++++++++++++- drivers/net/ipa/ipa_mem.h | 3 +- 8 files changed, 263 insertions(+), 22 deletions(-)