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 97F6EC3815B for ; Mon, 20 Apr 2020 18:37:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 70CA82071C for ; Mon, 20 Apr 2020 18:37: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="WMFUovZy" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727919AbgDTShP (ORCPT ); Mon, 20 Apr 2020 14:37:15 -0400 Received: from mail27.static.mailgun.info ([104.130.122.27]:21054 "EHLO mail27.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727776AbgDTShO (ORCPT ); Mon, 20 Apr 2020 14:37:14 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1587407834; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=7e3eo1fJ3V4W47xQX8u/gUmo/iNTfiSlIlfQaS2lzFU=; b=WMFUovZyLRqV1GDHWkZKKNkceuC+SNFisOgzo4HOp8zn7W2Lbaj9T+en3Ms2rcd2Czoy5vpg t0sXn17MQnFmOqS2JB37oqy8ypi4rSz6Ii4ULU2ZiAGG7l6g0JyxFrusK97508wSS1cczV2/ BqOFTDfDcC/MRrZ7jwJSmYBuF0E= X-Mailgun-Sending-Ip: 104.130.122.27 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 5e9debb8.7fae3df34ce0-smtp-out-n03; Mon, 20 Apr 2020 18:36:40 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 7EB7CC4478C; Mon, 20 Apr 2020 18:36:40 +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 DF97EC433F2; Mon, 20 Apr 2020 18:36:39 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 21 Apr 2020 00:06:39 +0530 From: Sai Prakash Ranjan To: Robin Murphy Cc: Will Deacon , Joerg Roedel , Sibi Sankar , Bjorn Andersson , Jordan Crouse , Rob Clark , 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 Subject: Re: [PATCHv3 2/6] iommu/arm-smmu: Allow client devices to select direct mapping In-Reply-To: References: Message-ID: <0702f3186327b419ee38e4775c040052@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 On 2020-04-20 22:27, Robin Murphy wrote: > On 2020-04-20 5:42 pm, Sai Prakash Ranjan wrote: >> From: Jordan Crouse >> >> Some client devices want to directly map the IOMMU themselves instead >> of using the DMA domain. Allow those devices to opt in to direct >> mapping by way of a list of compatible strings. > > Neat and tidy :) > > Reviewed-by: Robin Murphy > > Strictly, I think patch #3/6 should really have come before this one > (with the header change moved accordingly), but don't bother resending > just for that. > Thanks, I have sent the updated version with this change as well in addition to the commit msg update for modem requesting direct mapping. 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 A8DEFC3A5A0 for ; Mon, 20 Apr 2020 18:36:43 +0000 (UTC) Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (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 829112074F for ; Mon, 20 Apr 2020 18:36:43 +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="CFRYGaoo" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 829112074F 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 whitealder.osuosl.org (Postfix) with ESMTP id 617588773E; Mon, 20 Apr 2020 18:36:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sh1BNcSIXl-t; Mon, 20 Apr 2020 18:36:42 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by whitealder.osuosl.org (Postfix) with ESMTP id E79C687691; Mon, 20 Apr 2020 18:36:42 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id CF3E7C1D74; Mon, 20 Apr 2020 18:36:42 +0000 (UTC) Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by lists.linuxfoundation.org (Postfix) with ESMTP id CB8BDC0177 for ; Mon, 20 Apr 2020 18:36:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id BAA328773D for ; Mon, 20 Apr 2020 18:36:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8zT1CIMQmXB8 for ; Mon, 20 Apr 2020 18:36:41 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail26.static.mailgun.info (mail26.static.mailgun.info [104.130.122.26]) by whitealder.osuosl.org (Postfix) with ESMTPS id 0C25887691 for ; Mon, 20 Apr 2020 18:36:40 +0000 (UTC) DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1587407801; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=7e3eo1fJ3V4W47xQX8u/gUmo/iNTfiSlIlfQaS2lzFU=; b=CFRYGaooNwQHUYztD/Tvxa9ccyjEnSUdkRqK6CvPc/7vdBA2o1Qeyk1mdJf4ymti/mA15dg0 Xt8YfWcCznQ2LVgUbZgiIuPShLhInqEMb47MJk4oxchRRDcFu2TgPleH/lIthCk86lfz4nL9 L+y6qRaOczUzjwr2HpUsxLnBdIk= X-Mailgun-Sending-Ip: 104.130.122.26 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 5e9debb8.7f210799eb58-smtp-out-n04; Mon, 20 Apr 2020 18:36:40 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 6AAF1C433BA; Mon, 20 Apr 2020 18:36:40 +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 DF97EC433F2; Mon, 20 Apr 2020 18:36:39 +0000 (UTC) MIME-Version: 1.0 Date: Tue, 21 Apr 2020 00:06:39 +0530 From: Sai Prakash Ranjan To: Robin Murphy Subject: Re: [PATCHv3 2/6] iommu/arm-smmu: Allow client devices to select direct mapping In-Reply-To: References: Message-ID: <0702f3186327b419ee38e4775c040052@codeaurora.org> X-Sender: saiprakash.ranjan@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Cc: Evan Green , linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, Bjorn Andersson , Matthias Kaehlcke , Sibi Sankar , linux-arm-msm@vger.kernel.org, Stephen Boyd , Will Deacon , 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" On 2020-04-20 22:27, Robin Murphy wrote: > On 2020-04-20 5:42 pm, Sai Prakash Ranjan wrote: >> From: Jordan Crouse >> >> Some client devices want to directly map the IOMMU themselves instead >> of using the DMA domain. Allow those devices to opt in to direct >> mapping by way of a list of compatible strings. > > Neat and tidy :) > > Reviewed-by: Robin Murphy > > Strictly, I think patch #3/6 should really have come before this one > (with the header change moved accordingly), but don't bother resending > just for that. > Thanks, I have sent the updated version with this change as well in addition to the commit msg update for modem requesting direct mapping. 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 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.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,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 D8ADDC54FD0 for ; Mon, 20 Apr 2020 18:36:54 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 AB0DC2071C for ; Mon, 20 Apr 2020 18:36:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="uXYhW8pf"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=mg.codeaurora.org header.i=@mg.codeaurora.org header.b="cNZFzpp7" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AB0DC2071C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-ID:References:In-Reply-To:Subject:To:From: Date:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=/dUuaimjHmczomYIkSFh6qgNNRueKjwA7126nMdemZ4=; b=uXYhW8pfzwoutFXpVUQoGSmcz CJm4gZPAZYkfzzCWzq8cpZhVyOkarplQ51XJlZeXK2DHW57FgWvNkuzVt8qYiXBgWd3hFjGfC88/2 6NHK9IyItRPD5B05tYMl0YnXvuK2pxejDt6wLxQw7dzwof0l4+tnF0bsXdI5X8uLopsUa1+SD1iiC DJNxbiUsxBtE6c+AdQoB2NGAa2vHKoMo6VL9IBayu6CiPZb5hii/EvPHtTliDG6JcQerBTT6K+2A3 uA+9MnBatLVwd2yp1ND/gCrXkD8ZGUbHnoXiDFZw9F/QaPHtnr5WpfNOZE8fvFLRt3RKoBEYy085h c+N1yPreA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jQbHm-0002GX-SK; Mon, 20 Apr 2020 18:36:50 +0000 Received: from mail27.static.mailgun.info ([104.130.122.27]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jQbHf-0006fG-7s for linux-arm-kernel@lists.infradead.org; Mon, 20 Apr 2020 18:36:48 +0000 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1587407804; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=7e3eo1fJ3V4W47xQX8u/gUmo/iNTfiSlIlfQaS2lzFU=; b=cNZFzpp7ZekkwGMpoFTmVUS2VuEy8ZSLZVrMT5eEDVH7DFr64mib5rjZ3Avy4E+QEvn3TB6i tlBpR+CKxBYVpTp/H4sNFVxsIm/OPhkbhGMyDearnX55z7OE5N4UB01d7TArN6sYBPfYLm7t YYBdSFENYeTuRBJJwSk41PJ0yXk= X-Mailgun-Sending-Ip: 104.130.122.27 X-Mailgun-Sid: WyJiYzAxZiIsICJsaW51eC1hcm0ta2VybmVsQGxpc3RzLmluZnJhZGVhZC5vcmciLCAiYmU5ZTRhIl0= 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 5e9debb9.7f0d0f93e5e0-smtp-out-n02; Mon, 20 Apr 2020 18:36:41 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id EECBDC433BA; Mon, 20 Apr 2020 18:36:40 +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 DF97EC433F2; Mon, 20 Apr 2020 18:36:39 +0000 (UTC) MIME-Version: 1.0 Date: Tue, 21 Apr 2020 00:06:39 +0530 From: Sai Prakash Ranjan To: Robin Murphy Subject: Re: [PATCHv3 2/6] iommu/arm-smmu: Allow client devices to select direct mapping In-Reply-To: References: Message-ID: <0702f3186327b419ee38e4775c040052@codeaurora.org> X-Sender: saiprakash.ranjan@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200420_113644_836550_25E59B98 X-CRM114-Status: GOOD ( 12.24 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Evan Green , linux-kernel@vger.kernel.org, Joerg Roedel , Jordan Crouse , iommu@lists.linux-foundation.org, Bjorn Andersson , Rob Clark , Matthias Kaehlcke , Sibi Sankar , linux-arm-msm@vger.kernel.org, Stephen Boyd , Will Deacon , linux-arm-kernel@lists.infradead.org Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2020-04-20 22:27, Robin Murphy wrote: > On 2020-04-20 5:42 pm, Sai Prakash Ranjan wrote: >> From: Jordan Crouse >> >> Some client devices want to directly map the IOMMU themselves instead >> of using the DMA domain. Allow those devices to opt in to direct >> mapping by way of a list of compatible strings. > > Neat and tidy :) > > Reviewed-by: Robin Murphy > > Strictly, I think patch #3/6 should really have come before this one > (with the header change moved accordingly), but don't bother resending > just for that. > Thanks, I have sent the updated version with this change as well in addition to the commit msg update for modem requesting direct mapping. Thanks, Sai -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel