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=-0.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no 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 42395C2BB55 for ; Wed, 15 Apr 2020 10:11:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2107720784 for ; Wed, 15 Apr 2020 10:11:35 +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="VCSFrfAs" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2896291AbgDOKLa (ORCPT ); Wed, 15 Apr 2020 06:11:30 -0400 Received: from mail26.static.mailgun.info ([104.130.122.26]:20519 "EHLO mail26.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2896282AbgDOKL1 (ORCPT ); Wed, 15 Apr 2020 06:11:27 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1586945486; h=Message-ID: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=6Fmu2bYxuswkx5JslalXSUya4FFPt0PklF5SeocK9A0=; b=VCSFrfAs5RQWEyf2nCRCSGCT5eHWs8HAIaLvTbQZ7vukZTRYqTVuPyqlNXjbR5ziCGeY68f0 F9b4aupU4ZQ3RFxT7yqBrr7NJmmKDSo/gCQakckgRxjcKTYnjBva3UhPbzPwXSWUsnCJKBTX jiqF5Oh26rG5hyge/cg7dLAHp1U= X-Mailgun-Sending-Ip: 104.130.122.26 X-Mailgun-Sid: WyI1MzIzYiIsICJsaW51eC1hcm0tbXNtQHZnZXIua2VybmVsLm9yZyIsICJiZTllNGEiXQ== 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 5e96ddc9.7f76bbeaa960-smtp-out-n05; Wed, 15 Apr 2020 10:11:21 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 99783C432C2; Wed, 15 Apr 2020 10:11:20 +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 DBE8FC433F2; Wed, 15 Apr 2020 10:11:19 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 15 Apr 2020 15:41:19 +0530 From: Sai Prakash Ranjan To: Matthias Kaehlcke , Jordan Crouse , Joerg Roedel Cc: Will Deacon , Robin Murphy , Joerg Roedel , Rob Clark , iommu@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Stephen Boyd , Bjorn Andersson , Rajendra Nayak , Tomasz Figa Subject: Re: [PATCH 0/2] iommu/arm-smmu: Allow client devices to select direct mapping Message-ID: <44be117e4661f9ccb64480912644420f@codeaurora.org> X-Sender: saiprakash.ranjan@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Hi Joerg, On 2020-04-13 20:42, Jordan Crouse wrote: > On Thu, Apr 09, 2020 at 04:31:24PM -0700, Matthias Kaehlcke wrote: >> On Tue, Feb 04, 2020 at 11:12:17PM +0530, Sai Prakash Ranjan wrote: >> > Hello Robin, Will >> > >> > On 2020-01-22 17:18, Sai Prakash Ranjan wrote: >> > > This series allows drm devices to set a default identity >> > > mapping using iommu_request_dm_for_dev(). First patch is >> > > a cleanup to support other SoCs to call into QCOM specific >> > > implementation and preparation for second patch. >> > > Second patch sets the default identity domain for drm devices. >> > > >> > > Jordan Crouse (1): >> > > iommu/arm-smmu: Allow client devices to select direct mapping >> > > >> > > Sai Prakash Ranjan (1): >> > > iommu: arm-smmu-impl: Convert to a generic reset implementation >> > > >> > > drivers/iommu/arm-smmu-impl.c | 8 +++-- >> > > drivers/iommu/arm-smmu-qcom.c | 55 +++++++++++++++++++++++++++++++++-- >> > > drivers/iommu/arm-smmu.c | 3 ++ >> > > drivers/iommu/arm-smmu.h | 5 ++++ >> > > 4 files changed, 65 insertions(+), 6 deletions(-) >> > >> > Any review comments? >> >> Ping >> >> What is the status of this series, is it ready to land or are any >> changes >> needed? >> >> Thanks >> >> Matthias > > I think this is up in the air following the changes that Joerg > suggested: > https://lists.linuxfoundation.org/pipermail/iommu/2020-April/043017.html > 1st patch for generic reset in this series is independent and can be merged. But seems like requesting direct mapping fails with the joerg's patch series. Thanks, Sai -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation 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=-0.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no 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 2EEF8C3815B for ; Wed, 15 Apr 2020 10:11:26 +0000 (UTC) Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D541A20768 for ; Wed, 15 Apr 2020 10:11:25 +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="SsmiqoQt" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D541A20768 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=iommu-bounces@lists.linux-foundation.org Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id A44D987E9E; Wed, 15 Apr 2020 10:11:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XE7JCnlFNuqA; Wed, 15 Apr 2020 10:11:25 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by hemlock.osuosl.org (Postfix) with ESMTP id 0E96D87E2E; Wed, 15 Apr 2020 10:11:25 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id E777AC089E; Wed, 15 Apr 2020 10:11:24 +0000 (UTC) Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists.linuxfoundation.org (Postfix) with ESMTP id 59F31C0172 for ; Wed, 15 Apr 2020 10:11:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 4597C87E9E for ; Wed, 15 Apr 2020 10:11:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v+ItkI-6ST+i for ; Wed, 15 Apr 2020 10:11:23 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail27.static.mailgun.info (mail27.static.mailgun.info [104.130.122.27]) by hemlock.osuosl.org (Postfix) with ESMTPS id 6A07287E2E for ; Wed, 15 Apr 2020 10:11:23 +0000 (UTC) DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1586945483; h=Message-ID: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=6Fmu2bYxuswkx5JslalXSUya4FFPt0PklF5SeocK9A0=; b=SsmiqoQt8Typ/VWlDeQf47CNwwXdAd710WmwZvUYL6J7fZLTZ2/AI1pZgoXGf0ZDQkocPA6P TzVUU50lXZtLZ/qdQwIhh2kJ1CCbcuYAfUKRWJlidI7SSHUtoFqKYCLA2kXNHSUFgw8cMFKZ EKuXOnjI6qtetsFggp37KplAF7k= X-Mailgun-Sending-Ip: 104.130.122.27 X-Mailgun-Sid: WyI3NDkwMCIsICJpb21tdUBsaXN0cy5saW51eC1mb3VuZGF0aW9uLm9yZyIsICJiZTllNGEiXQ== 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 5e96ddca.7f9317cfb378-smtp-out-n03; Wed, 15 Apr 2020 10:11:22 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id BBB51C44791; Wed, 15 Apr 2020 10:11:20 +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 DBE8FC433F2; Wed, 15 Apr 2020 10:11:19 +0000 (UTC) MIME-Version: 1.0 Date: Wed, 15 Apr 2020 15:41:19 +0530 From: Sai Prakash Ranjan To: Matthias Kaehlcke , Jordan Crouse , Joerg Roedel Subject: Re: [PATCH 0/2] iommu/arm-smmu: Allow client devices to select direct mapping Message-ID: <44be117e4661f9ccb64480912644420f@codeaurora.org> X-Sender: saiprakash.ranjan@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Cc: Rajendra Nayak , Will Deacon , iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Bjorn Andersson , linux-arm-msm@vger.kernel.org, Stephen Boyd , Robin Murphy , linux-arm-kernel@lists.infradead.org X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Development issues for Linux IOMMU support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: iommu-bounces@lists.linux-foundation.org Sender: "iommu" Hi Joerg, On 2020-04-13 20:42, Jordan Crouse wrote: > On Thu, Apr 09, 2020 at 04:31:24PM -0700, Matthias Kaehlcke wrote: >> On Tue, Feb 04, 2020 at 11:12:17PM +0530, Sai Prakash Ranjan wrote: >> > Hello Robin, Will >> > >> > On 2020-01-22 17:18, Sai Prakash Ranjan wrote: >> > > This series allows drm devices to set a default identity >> > > mapping using iommu_request_dm_for_dev(). First patch is >> > > a cleanup to support other SoCs to call into QCOM specific >> > > implementation and preparation for second patch. >> > > Second patch sets the default identity domain for drm devices. >> > > >> > > Jordan Crouse (1): >> > > iommu/arm-smmu: Allow client devices to select direct mapping >> > > >> > > Sai Prakash Ranjan (1): >> > > iommu: arm-smmu-impl: Convert to a generic reset implementation >> > > >> > > drivers/iommu/arm-smmu-impl.c | 8 +++-- >> > > drivers/iommu/arm-smmu-qcom.c | 55 +++++++++++++++++++++++++++++++++-- >> > > drivers/iommu/arm-smmu.c | 3 ++ >> > > drivers/iommu/arm-smmu.h | 5 ++++ >> > > 4 files changed, 65 insertions(+), 6 deletions(-) >> > >> > Any review comments? >> >> Ping >> >> What is the status of this series, is it ready to land or are any >> changes >> needed? >> >> Thanks >> >> Matthias > > I think this is up in the air following the changes that Joerg > suggested: > https://lists.linuxfoundation.org/pipermail/iommu/2020-April/043017.html > 1st patch for generic reset in this series is independent and can be merged. But seems like requesting direct mapping fails with the joerg's patch series. Thanks, Sai -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu