Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7890339imu; Mon, 3 Dec 2018 22:24:32 -0800 (PST) X-Google-Smtp-Source: AFSGD/UA0/uataNi4awkLjKhZbuYNArMESf7ZeuphTVSbG3TKQHu2t9wxGcd/ravvRIlD5Jg+ZQ5 X-Received: by 2002:a63:9a52:: with SMTP id e18mr15669987pgo.14.1543904672047; Mon, 03 Dec 2018 22:24:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543904672; cv=none; d=google.com; s=arc-20160816; b=XwCae96LlCwu7oQ8USdAaDH/QkFqdpxSc1AoKnYxQHaJl+w/XtXrUifZG9u31Nzris Wxpbxa5mPqR7G9AmYd77FsZiEKT87MTFymFaRy4LFYkvqBYI5CzEyHn/+tzzE9ypZ76P lsDeoVOD9wqJm27S7vuI1Zv0wjFdn2HU1hLqLkaio4/Dg8PsLuKsoKXDwvZjYHyr3++I 522Lk2ye8JGEDcZJ+k0V2//0+UGASi8cx1izIpruAyfibQSVT/AAKErWr3AE+4WGR4fx AOM/g6z6QeHkgeS6qnE7umL5SyvaLm43vnqsTmzVb22/Y9wkU8T021zI18yLO5S0ETCM K+Gw== 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 :dmarc-filter:dkim-signature:dkim-signature; bh=UkcZ/49aE+dgDlDzDN+TCT0toRaidRUmqkDGul8bj/k=; b=0FDT4b86JDWFClnVZnh2H5LRBwRr0DIrPHyyUTSASqc/Wz1h5CLH907JkgfXTXeBaH Ql3alID/RghsUN4LXc+exL2NI2KPvJLh13r+DY6AEOSzdby3umfauKRuV03VpeK/DNLn oCv2rsTZX0NHjC4G4erARmiNlcJcF5ShfGLism0OsmUSjoXr+UPv9wMngEPQ6sGQLSnv S/BtsQSGUrvQogZBulMUnroJaL8KsNwZeSC44+PXfkQ0oIUs+C0blzGrJfUZ0/8LU8jB fu4tetJFgkYd96oCCnHUnbXsIR7CGuhG3dI0kJZCadYyliw0ImyRSofJtizmzCwuMTmr Ox5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=PNdwUWPE; dkim=pass header.i=@codeaurora.org header.s=default header.b=QhDQbiH8; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g7si17344531plb.107.2018.12.03.22.24.17; Mon, 03 Dec 2018 22:24:32 -0800 (PST) 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=@codeaurora.org header.s=default header.b=PNdwUWPE; dkim=pass header.i=@codeaurora.org header.s=default header.b=QhDQbiH8; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726056AbeLDGWe (ORCPT + 99 others); Tue, 4 Dec 2018 01:22:34 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:58892 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725983AbeLDGWe (ORCPT ); Tue, 4 Dec 2018 01:22:34 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 5D69A60B62; Tue, 4 Dec 2018 06:22:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1543904553; bh=+icGgS9tg5Lem35tK5WB+RH1MCLtnho6/QLX2bFxdAk=; h=From:To:Cc:Subject:Date:From; b=PNdwUWPEIGdmW42RxVBAEpollXe9MbSgaFKpAO8tYoiPCS3f4sPiKZXp18AuVDomP kz4is8hKCfgfdeK1edF6xUBZVDBruj8W0uvZGohJ4TYzz7F20e1DzBxOCApOjekzcr QUBfFnMEI56Mx2bc8L9+2uPS+yGaptYd5qvy6bIU= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 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 15CF760115; Tue, 4 Dec 2018 06:22:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1543904552; bh=+icGgS9tg5Lem35tK5WB+RH1MCLtnho6/QLX2bFxdAk=; h=From:To:Cc:Subject:Date:From; b=QhDQbiH8hWDvLLdkMNI2cLPY2+0+fjQd4w15MyuLvhzh35Q0d/gnwEHFcbVlJcW1P 3iygKN+q/mqeMwjgsrPhEccTMtNRy1Iq4vs73IE6E0d+Nl0fmtLEdNdnGEKTVKzEyt hGDL4hDftvaSMSR2Fqc3Kjy6axxO9+WDu7HxQJPE= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 15CF760115 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 v19 0/5] iommu/arm-smmu: Add runtime pm/sleep support Date: Tue, 4 Dec 2018 11:52:08 +0530 Message-Id: <20181204062213.6875-1-vivek.gautam@codeaurora.org> X-Mailer: git-send-email 2.16.1.72.g5be1f00a9a70 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Changes since v18: - Addressing Stephen's comment [5]: Replaced the entire clock bulk data filling and handling with devm_clk_bulk_get_all(). 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/1017699/ [2] https://lore.kernel.org/patchwork/patch/996143/ [3] https://lore.kernel.org/patchwork/patch/1013167/ [4] https://lore.kernel.org/patchwork/cover/979429/ [5] https://lore.kernel.org/patchwork/patch/1017700/ 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 | 170 +++++++++++++++++++-- 2 files changed, 197 insertions(+), 12 deletions(-) -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation