From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 68F35C38A2A for ; Thu, 7 May 2020 10:28:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 45DEC2075E for ; Thu, 7 May 2020 10:28:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=mg.codeaurora.org header.i=@mg.codeaurora.org header.b="oO2dLz1R" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726367AbgEGK2O (ORCPT ); Thu, 7 May 2020 06:28:14 -0400 Received: from mail26.static.mailgun.info ([104.130.122.26]:52796 "EHLO mail26.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725848AbgEGK2N (ORCPT ); Thu, 7 May 2020 06:28:13 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1588847293; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=505A69X26wFMczjQPH01/FWDBb9GRlXXRfy7TtInLmg=; b=oO2dLz1RrnYL2yseGm+JFj4IWrmjJ+nFuEObL3cGsp4eDkYwRR1UU/+j0xm80NVoQQZy1c0s QGgo/jn/wemBqKjeO3r8f/rQhnzkOkvXE0EzkauraXotZ/82BiK1tOVxK9O0QdMS5HzAzgBM XIvri604q1SViA+K/h37fNviSMM= X-Mailgun-Sending-Ip: 104.130.122.26 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by mxa.mailgun.org with ESMTP id 5eb3e2ba.7f0f90cf7d18-smtp-out-n01; Thu, 07 May 2020 10:28:10 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id DD5CCC44793; Thu, 7 May 2020 10:28:07 +0000 (UTC) Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: saiprakash.ranjan) by smtp.codeaurora.org (Postfix) with ESMTPSA id E36D5C433F2; Thu, 7 May 2020 10:28:06 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 07 May 2020 15:58:06 +0530 From: Sai Prakash Ranjan To: Will Deacon , Robin Murphy , Joerg Roedel , Sibi Sankar , Bjorn Andersson , Jordan Crouse , Rob Clark , jroedel@suse.de Cc: Stephen Boyd , iommu@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Matthias Kaehlcke , Evan Green , linux-arm-msm-owner@vger.kernel.org Subject: Re: [PATCHv4 0/6] iommu/arm-smmu: Allow client devices to select identity mapping In-Reply-To: References: Message-ID: X-Sender: saiprakash.ranjan@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Will, Joerg On 2020-04-21 00:03, Sai Prakash Ranjan wrote: > This series allows DRM, Modem devices to set a default > identity mapping in qcom smmu implementation. > > Patch 1 is cleanup to support other SoCs to call into > QCOM specific implementation. > Patch 2 sets the default identity domain for DRM devices. > Patch 3 implements def_domain_type callback for arm-smmu. > Patch 4 sets the default identity domain for modem device. > Patch 5-6 adds the iommus property for mss pil. > > This is based on Joerg's tree: > - > https://git.kernel.org/pub/scm/linux/kernel/git/joro/linux.git/log/?h=iommu-probe-device-v2 > > v4: > * Updated commit msg for mss pil requesting direct mapping > > v3: > * Use arm_smmu_master_cfg to get impl instead of long way as per > Robin. > * Use def_domain_type name for the callback in arm_smmu_imp as per > Robin > > Jordan Crouse (1): > iommu/arm-smmu: Allow client devices to select direct mapping > > Sai Prakash Ranjan (2): > iommu: arm-smmu-impl: Convert to a generic reset implementation > iommu/arm-smmu: Implement iommu_ops->def_domain_type call-back > > Sibi Sankar (3): > iommu/arm-smmu-qcom: Request direct mapping for modem device > dt-bindings: remoteproc: qcom: Add iommus property > arm64: dts: qcom: sdm845-cheza: Add iommus property > > .../bindings/remoteproc/qcom,q6v5.txt | 3 ++ > arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi | 5 +++ > drivers/iommu/arm-smmu-impl.c | 8 ++-- > drivers/iommu/arm-smmu-qcom.c | 37 +++++++++++++++++-- > drivers/iommu/arm-smmu.c | 12 ++++++ > drivers/iommu/arm-smmu.h | 1 + > 6 files changed, 60 insertions(+), 6 deletions(-) This series is reviewed by Robin. Any chance this series can make it to 5.8? Thanks, Sai -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation