From patchwork Tue Nov 27 10:11:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vivek Gautam X-Patchwork-Id: 10700061 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C603014BD for ; Tue, 27 Nov 2018 10:12:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B551D2AC41 for ; Tue, 27 Nov 2018 10:12:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A9D262AC42; Tue, 27 Nov 2018 10:12:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5F4082AC41 for ; Tue, 27 Nov 2018 10:12:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730601AbeK0VJc (ORCPT ); Tue, 27 Nov 2018 16:09:32 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:52692 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730603AbeK0VJb (ORCPT ); Tue, 27 Nov 2018 16:09:31 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id D72A2613FC; Tue, 27 Nov 2018 10:12:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1543313526; bh=i6ubf01cp1g+ACtCVwuvdcaJ4mzURgDuPAarnGraim0=; h=From:To:Cc:Subject:Date:From; b=GD6/+ewqgJoYO4J2isWEjfu72Br7T+uBTrPuc/ni9vV2vlQXr+EXGDNAxHeqgytta REGHfZfDLU/6HEKFL4Y6xGQu7isnDU1IQEVI7FRjxyJNNH90LIqrbxj3QxI+m2Qv9k gwj+u+UflxspAB8CTQ5N/lVgx3Cs3Iz+3F2/Mbhs= Received: from blr-ubuntu-41.ap.qualcomm.com (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.18.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: vivek.gautam@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id E59F961341; Tue, 27 Nov 2018 10:11:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1543313523; bh=i6ubf01cp1g+ACtCVwuvdcaJ4mzURgDuPAarnGraim0=; h=From:To:Cc:Subject:Date:From; b=J0mjRBhIJJNpVvuF8hh3QP6/a+xMqCevSdafZtQwi5Q7DpxB0k6bamk+EgysDe1dt IXGOo0WCili6COb/LytAVz88OjDrXf73DFYb807UtRxmLcN9x4QYEXXbS9BbTaCKxd Ns1erJy//JkeUxMWfJoqsw9yFCaCR7WYdgHcsg6g= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org E59F961341 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=vivek.gautam@codeaurora.org From: Vivek Gautam To: joro@8bytes.org, robh+dt@kernel.org, robin.murphy@arm.com, will.deacon@arm.com, iommu@lists.linux-foundation.org, devicetree@vger.kernel.org Cc: alex.williamson@redhat.com, mark.rutland@arm.com, rjw@rjwysocki.net, robdclark@gmail.com, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, freedreno@lists.freedesktop.org, sboyd@kernel.org, tfiga@chromium.org, jcrouse@codeaurora.org, sricharan@codeaurora.org, m.szyprowski@samsung.com, architt@codeaurora.org, linux-arm-msm@vger.kernel.org, thor.thayer@linux.intel.com, Vivek Gautam Subject: [PATCH v18 0/5] iommu/arm-smmu: Add runtime pm/sleep support Date: Tue, 27 Nov 2018 15:41:40 +0530 Message-Id: <20181127101145.7682-1-vivek.gautam@codeaurora.org> X-Mailer: git-send-email 2.16.1.72.g5be1f00a9a70 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Looks like this is going to be the final respin before this support finally lands. The change isn't much from v17_resend series [1] besides taking Thor's change [2] for clocks. Changes since v17: - Addressing Will's comment to embed Thor's change [2] for pulling clocks information from device tree. This is done by squashing Thor's change [2] in v17's 1/5 patch [3]. - Another minor change is addition of runtime pm hooks to arm_smmu_iova_to_phys_hard(). Previous version of this patch series is @ [1]. Also refer to [4] for change logs for previous versions. [1] https://lore.kernel.org/patchwork/cover/1013166/ [2] https://lore.kernel.org/patchwork/patch/996143/ [3] https://lore.kernel.org/patchwork/patch/1013167/ [4] https://lore.kernel.org/patchwork/cover/979429/ Sricharan R (3): iommu/arm-smmu: Add pm_runtime/sleep ops iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device iommu/arm-smmu: Add the device_link between masters and smmu Vivek Gautam (2): dt-bindings: arm-smmu: Add bindings for qcom,smmu-v2 iommu/arm-smmu: Add support for qcom,smmu-v2 variant .../devicetree/bindings/iommu/arm,smmu.txt | 39 ++++ drivers/iommu/arm-smmu.c | 212 +++++++++++++++++++-- 2 files changed, 239 insertions(+), 12 deletions(-)