Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp389552ybd; Tue, 25 Jun 2019 23:33:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqyOvrdTD0q1DpVFcsKQohw6jEYBWOrjgND8SF5apCa4cL1Oig6whg19e8Uyc5ztpvmAWnpZ X-Received: by 2002:a17:90a:4803:: with SMTP id a3mr2770988pjh.58.1561530836048; Tue, 25 Jun 2019 23:33:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561530836; cv=none; d=google.com; s=arc-20160816; b=kCEMk3BXgA4y7gnEq0smbxVgAU4vr9uRcXUiaB53zbVvJUkN1UEHzA1xnCMz4+tvIl h36748i/rmp2fOki96ag3au8rGnu2yD62LT3L4emEpE0li85Ym0gmt4voackflg4tFbz JO4FD4+GGLxwo3lzWSAh1w/DMwXRobKNj04Tches5zAHfJZ9RiW/KWIDjsEFWMlA49za GA0RIbSvo76TbR8hMfRQWqcOki9zfXuPnqdAeka6lg9jJcoe3NW0L5Q6ladq+IEi/mm9 ASCefKR7rM77CgcauoUtbaqiBE4/JCIu/wGJ1wrkpytAFkSYKs/4jT30DTuB73w4tHln BefQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dmarc-filter:dkim-signature :dkim-signature; bh=hHEtD8AF0B1GeJ9JIRucfcfqWUbWCEkqv55nfCYG+AE=; b=de+zJHbnzSEJ57ZAWNrBlq4oYgcH/aBGItEBX16PPx8dMw21QXmKXr6IUjHci+ZuDL 24UkOH+Ctyux9b19EqXcA4LSzc6RVB48HIa7e5e08GbG2uEqIXBdpFwbekMxa+enab84 RB7zPIRrnrfUGMH4jgMRhdU6LbyATY64xHCcmvBDT/erZrJWPtG+2ZVFRaNIvkzpuDUG GbU2ELjwtsVDABh+mfIXPadsTPM2GcTdnZ0pDFwprllzFJiD1idRRQdf6RGD7c6opz4t q39xFOVCEbr/5jBf+r1gdRFXdd4dMOiMPQptl3mLD1hw+/1Yd1bSRS4zaaQtQ/qyLoyF c0JQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=WXPNfFc7; dkim=pass header.i=@codeaurora.org header.s=default header.b=jQKSqoT+; 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 y15si16253127pfe.133.2019.06.25.23.33.39; Tue, 25 Jun 2019 23:33:56 -0700 (PDT) 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=WXPNfFc7; dkim=pass header.i=@codeaurora.org header.s=default header.b=jQKSqoT+; 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 S1726805AbfFZGdS (ORCPT + 99 others); Wed, 26 Jun 2019 02:33:18 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:48720 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725930AbfFZGdS (ORCPT ); Wed, 26 Jun 2019 02:33:18 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 044406085C; Wed, 26 Jun 2019 06:33:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1561530797; bh=y47EEs3j4rFzzvuVXrP3J8qbvCWGuKExlUyEKd82I3U=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=WXPNfFc7x8o1APQwf2+yUaKgztd49KbSbqeJuRMssVZUx0iomT0YMLRYC13NC5GLJ Ro+GVuouTTYIJ797GZL6qLuxapN54wXlOhY1MHI3OWXLLoq5Kg5OLyn47dxZuqt4qz iUIFRybXuErG0sEBvtHyyS95+DGdqCoSm4sLg8kQ= 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,SPF_NONE autolearn=no autolearn_force=no version=3.4.0 Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: vivek.gautam@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 3FB076021C; Wed, 26 Jun 2019 06:33:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1561530796; bh=y47EEs3j4rFzzvuVXrP3J8qbvCWGuKExlUyEKd82I3U=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=jQKSqoT+OGc8qK8Cb0iV+ye/w4DWERiv1kTftNL9AIgnn//NI911jxMDig+YJht0O YnwT3aDe/XWiP+7Mr36XIL10jnMh3o3aEXDtUm79gOIG39ZLp/q1WVMrtYj0EtvkMO 3TUP3A5gdmO2R+drNSNvRhjCPL9n1GCgI0NboenE= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 3FB076021C 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 Received: by mail-ed1-f42.google.com with SMTP id k8so1553038edr.11; Tue, 25 Jun 2019 23:33:16 -0700 (PDT) X-Gm-Message-State: APjAAAWG+ZAZzmRPGYjKkQ7vBlmFPSmz2hCtRO7TAkmlEJs0UFqc/6dp a4SFonCIT49qeWlxfPEnYFHKH+NZmvWNDBpJSxc= X-Received: by 2002:a17:906:6582:: with SMTP id x2mr2509409ejn.2.1561530795089; Tue, 25 Jun 2019 23:33:15 -0700 (PDT) MIME-Version: 1.0 References: <20190612071554.13573-1-vivek.gautam@codeaurora.org> <20190612071554.13573-4-vivek.gautam@codeaurora.org> <20190614040520.GK22737@tuxbook-pro> <3e1f5e03-6448-8730-056d-fc47bdd71b3f@codeaurora.org> <20190618175218.GH4270@fuggles.cambridge.arm.com> <20190624170348.7dncuc5qezqeyvq2@willie-the-truck> <20190625133924.fqq3y7p3i3fqem5p@willie-the-truck> In-Reply-To: <20190625133924.fqq3y7p3i3fqem5p@willie-the-truck> From: Vivek Gautam Date: Wed, 26 Jun 2019 12:03:02 +0530 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 3/4] iommu/arm-smmu: Add support to handle Qcom's wait-for-safe logic To: Will Deacon Cc: "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-arm-msm , Will Deacon , open list , Bjorn Andersson , David Brown , "list@263.net:IOMMU DRIVERS , Joerg Roedel ," , "robh+dt" , Andy Gross , Robin Murphy Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 25, 2019 at 7:09 PM Will Deacon wrote: > > On Tue, Jun 25, 2019 at 12:34:56PM +0530, Vivek Gautam wrote: > > On Mon, Jun 24, 2019 at 10:33 PM Will Deacon wrote: > > > Instead, I think this needs to be part of a separate file that is maintained > > > by you, which follows on from the work that Krishna is doing for nvidia > > > built on top of Robin's prototype patches: > > > > > > http://linux-arm.org/git?p=linux-rm.git;a=shortlog;h=refs/heads/iommu/smmu-impl > > > > Looking at this branch quickly, it seem there can be separate implementation > > level configuration file that can be added. > > But will this also handle separate page table ops when required in future. > > Nothing's set in stone, but having the implementation-specific code > constrain the page-table format (especially wrt quirks) sounds reasonable to > me. I'm currently waiting for Krishna to respin the nvidia changes [1] on > top of this so that we can see how well the abstractions are holding up. Sure. Would you want me to try Robin's branch and take out the qualcomm related stuff to its own implementation? Or, would you like me to respin this series so that you can take it in to enable SDM845 boards such as, MTP and dragonboard to have a sane build - debian, etc. so people benefit out of it. Qualcomm stuff is lying in qcom-smmu and arm-smmu and may take some time to stub out the implementation related details. Let me know your take. Thanks & regards Vivek > > I certainly won't merge the stuff until we have a user. > > Will > > [1] https://lkml.kernel.org/r/1543887414-18209-1-git-send-email-vdumpa@nvidia.com > _______________________________________________ > iommu mailing list > iommu@lists.linux-foundation.org > https://lists.linuxfoundation.org/mailman/listinfo/iommu -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation