From patchwork Thu Aug 3 02:57:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 109286 Delivered-To: patch@linaro.org Received: by 10.140.101.6 with SMTP id t6csp212780qge; Wed, 2 Aug 2017 19:58:02 -0700 (PDT) X-Received: by 10.98.211.197 with SMTP id z66mr210457pfk.160.1501729082449; Wed, 02 Aug 2017 19:58:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501729082; cv=none; d=google.com; s=arc-20160816; b=CZSKlP52gwzppvfig3Au/RoC6bq4FWTHuxr+pzi5GGvm6p+WFuqas7l1U3/yoeFdoc HKxsWFQzTqLmZ5dbWSdydGxZ05t135s3Llf/iTjbDZUn7753JD7t36qA6/27Ju48lTsI /2AbMROqRHRv2JL8+SYiGyxMz/i/voZRZ9XTA3O9KyRUzmTxA5NxsvivXXiVOvux4LGF 0Tb7y10TN911d6/UCkztabDIBHkYBJzAq4Po1A9PBo/D0FJdE8AYpCTgQERnd27qsOTO tabuK1HB0NK1C82BUcuViR8Csd78TnNiejYmjdQCGFErmU843iUE6ulDKUueVXK+2kst dWHw== 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=GroBg5Aj5wB4Q7mrTP8i2ZGreT0jqQuP2dACtN/1C0Y=; b=0PTneSfbVhEJbRCib7L7DW7g81mr9ZNONqWvdC5OQHjTTwSxRLVIHQ1zpWXw1BIplH m6Tos0P179JL7nq0BxiaFpfquqGzPRwXLvUyhUtR/YZv9Bes+ZQooELHrpXyk1IOH+fR YOP74K98gFSv8aUk6ykgDkBdoe2HxVtAyIgEic6FGls7yATb1w9tdHNAkZygQveB7+4M 6rwzvBcsayb8x9cGh8B4uq3Wa5/+6VQsR411j7r6kxNV2C4JJMcTqUP9TTcQXcneoHS/ ZxQeHqY80L35EWTfYALAObGWK7v9kQs838K4EwjcYRMISGiV5mbtjoMTQQcGoDPviZUt pqKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.b=VMNSmjbO; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j21si20173596pgn.452.2017.08.02.19.58.01; Wed, 02 Aug 2017 19:58:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.b=VMNSmjbO; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751959AbdHCC6A (ORCPT + 6 others); Wed, 2 Aug 2017 22:58:00 -0400 Received: from mail-pg0-f50.google.com ([74.125.83.50]:37200 "EHLO mail-pg0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751914AbdHCC57 (ORCPT ); Wed, 2 Aug 2017 22:57:59 -0400 Received: by mail-pg0-f50.google.com with SMTP id y129so731904pgy.4 for ; Wed, 02 Aug 2017 19:57:59 -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; bh=FhBpw8/RDtHSkF92RHzWfLlhEPxziV0WjRYhoBXfVV0=; b=VMNSmjbOHz23BCMC6jb7P3rVC4AuxK8NSgzEZuRUPjCFvEpf8zsEDjfF2pSQ4v2+Yo ckIC9P1Utm93LgZgkoaEj6rhjT0Q1l+DdDdgp9Nbz/gM7unP0XQ/ZpaEAjb/kC/9BPCg WrSK/gRRc1BzJ1O/YEADQ4DM79Jsf4yUICKKk= 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=FhBpw8/RDtHSkF92RHzWfLlhEPxziV0WjRYhoBXfVV0=; b=DGyZzCqeH/Uo48rUFHZu6Ph3xpxXK1eIHydkG7P95HUqnjo1JiqsjXRDMbe3UWCAST 0o2wIUoLe5g+pG0MfuW6piyZcCgp08cWsYAMT/R3buq4Ko8Q0KR0T3eUvaTQtdNSCQEV 3O8rAtCvmZBY2O9N+bauTURf3NvGG2km9W12mJLM6ikXlGE+XF1568DSlXTST783Pa3+ 5bkUwbFaHgoW2uWX4yz48ANxVM9S0WkpOmJvhFkbOpwsHa7dx+hwz+iQzjtGte4atSlN DEcVZXCFaJ4yBkhYhoiIR+1FRJr9C4jF68S7OP5PGhDF2VOY14KUqEiYRzQ43OYPsswf UQ6A== X-Gm-Message-State: AIVw111fXC6ch1oy05agVUKXI7ovvT3sT4KhyxLoICSWR5Ucqp5fuDdy JIgc8AObJnMGLww5 X-Received: by 10.84.241.207 with SMTP id t15mr221762plm.402.1501729079003; Wed, 02 Aug 2017 19:57:59 -0700 (PDT) Received: from localhost.localdomain (ip68-111-217-79.sd.sd.cox.net. [68.111.217.79]) by smtp.gmail.com with ESMTPSA id z83sm10722573pfd.10.2017.08.02.19.57.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Aug 2017 19:57:58 -0700 (PDT) From: Bjorn Andersson To: Rob Herring , Frank Rowand , Andy Gross , David Brown Cc: Mark Rutland , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org Subject: [PATCH v2 0/5] Qualcomm remote filesystem shared memory driver Date: Wed, 2 Aug 2017 19:57:49 -0700 Message-Id: <20170803025754.19101-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.12.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Some remote processors (in particular the modem) found in Qualcomm platforms stores configuration parameters and other data in a file system. As the remotes does not have direct storage access it needs to relay block accesses through a service running on the application CPU. The memory is described in DeviceTree by a new reserved-memory compatible and the implementation provides the user space service a read/write interface to this chunk of memory. Bjorn Andersson (5): of/platform: Generalize /reserved-memory handling of: reserved_mem: Accessor for acquiring reserved_mem dt-binding: soc: qcom: Add binding for RFSA soc: qcom: Remote FS memory driver arm64: dts: msm8916: Mark rmtfs node as qcom,rfsa compatible .../bindings/reserved-memory/qcom,rfsa.txt | 44 ++++ arch/arm64/boot/dts/qcom/msm8916.dtsi | 3 + drivers/of/of_reserved_mem.c | 26 ++ drivers/of/platform.c | 22 +- drivers/soc/qcom/Kconfig | 8 + drivers/soc/qcom/Makefile | 1 + drivers/soc/qcom/rfsa.c | 262 +++++++++++++++++++++ include/linux/of_reserved_mem.h | 5 + 8 files changed, 365 insertions(+), 6 deletions(-) create mode 100644 Documentation/devicetree/bindings/reserved-memory/qcom,rfsa.txt create mode 100644 drivers/soc/qcom/rfsa.c -- 2.12.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html