Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp106619pxk; Fri, 11 Sep 2020 01:32:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzZTyHSk4vetHr2JbUU6eQAAmx0kiI3LuGQap5GMruR/Mf9q6utngKmc5HtQZEitnVL7oO+ X-Received: by 2002:a17:906:275b:: with SMTP id a27mr1030080ejd.190.1599813144806; Fri, 11 Sep 2020 01:32:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599813144; cv=none; d=google.com; s=arc-20160816; b=xqY4mWOucROB3ujc5/snnHmF4ofsFmNNHgG1OsDzcRaJQWQRaKKh2TjUoZUC8/uW2h 7IRUZiYF3jdrliz6GEqudM/nFbI/rX8VdYcxwSq34c8kBg4x7n0TO0qwHvdOo0nyVwrH pJDC6dYq09oNOpMlZLgq1d0BWjVgVi8tXJcVfj8yPqVKY3s+qZZyu/TMXoGSLlkjodQJ 8yehWkvh4kNHgplY+Ptm5lGyD42jGT7BMxvr/9G/BrPZmIj18tq4hDvq9sQ4n9pPepIL szVutMwhcLI5XFk4gbBT84bynqjzqqjKnf3HZWNk1RwtEW4akgrMY7L+JYUEw+C6pCT5 lQGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:feedback-id:user-agent:message-id :references:in-reply-to:subject:cc:to:from:date :content-transfer-encoding:mime-version:dkim-signature :dkim-signature; bh=Kff3/IqyF+56eA5uCjQ36qST3LpBFqjvTB+CdB0FVRo=; b=BzDOVfAAXaQJ/z+52eDJnzF12zrXAvJsqEzhRiVbye4PDwHkhWXaGrxSaqBx1s74Ww 3BE0Q/x6Ihhgdx6i16qSt80DRHxAZqDjtiuDCa1XDRSghx43pXSJ7zy3f40jb7eewIqt PNlKo+l8YAgTzKTjvCZlZnKPB3prxaqZ4yy9mCY2h2wqJdtrfC72oraPhJISwILDBOVt uK1mHTXgVeky1EyEQT8rxm932abJ6MHYdGA9rtFKkV4nYLZuy8QkaZsi4eiWGmI7EdLe 9mIYGs23vw1M5aPTqwu3fUCYpBURkEPmr4bNdTWT22ns3wfpn/zaZbiSo37vMY8w7ndm ohfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=zsmsymrwgfyinv5wlfyidntwsjeeldzt header.b=odBs8A4X; dkim=pass header.i=@amazonses.com header.s=hsbnp7p3ensaochzwyq5wwmceodymuwv header.b=nmLkc2V0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i11si840400edl.389.2020.09.11.01.32.01; Fri, 11 Sep 2020 01:32:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=zsmsymrwgfyinv5wlfyidntwsjeeldzt header.b=odBs8A4X; dkim=pass header.i=@amazonses.com header.s=hsbnp7p3ensaochzwyq5wwmceodymuwv header.b=nmLkc2V0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725815AbgIKI2c (ORCPT + 99 others); Fri, 11 Sep 2020 04:28:32 -0400 Received: from a27-11.smtp-out.us-west-2.amazonses.com ([54.240.27.11]:48868 "EHLO a27-11.smtp-out.us-west-2.amazonses.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725779AbgIKI23 (ORCPT ); Fri, 11 Sep 2020 04:28:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=zsmsymrwgfyinv5wlfyidntwsjeeldzt; d=codeaurora.org; t=1599812909; h=MIME-Version:Content-Type:Content-Transfer-Encoding:Date:From:To:Cc:Subject:In-Reply-To:References:Message-ID; bh=AF0aaEeeABMRiaod41CZl6nU6jmhklN/FTm5KGi6onI=; b=odBs8A4XTUUytzUNxS4NY+IjPQBdzY33hddJaLSjfpbL+TgCYgbVcQIMQMKK13KC ruNBrtJA2MgezEzOXBpL6C79BlwXw5XwImNQnbRYmZiHoNpVySnsTJn/TJjKuhGcBEo DSYFvwDAdKHFR7mlBS56RF3PxiFr99zkajvm4YoA= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=hsbnp7p3ensaochzwyq5wwmceodymuwv; d=amazonses.com; t=1599812909; h=MIME-Version:Content-Type:Content-Transfer-Encoding:Date:From:To:Cc:Subject:In-Reply-To:References:Message-ID:Feedback-ID; bh=AF0aaEeeABMRiaod41CZl6nU6jmhklN/FTm5KGi6onI=; b=nmLkc2V0sVOUJptLjee5+PMinfOzQJJQYIN5HxIejQ3hkipk5qJ3WzSYQOQ1zSV9 +RstEjuE3cT8/OrIP7q7F+PasF1BHbOpRhsmnibNSi4FtHIC56jhCX9141fiuYRy4pn s1ckmdSU1YnQ23DcCKSFlsaJE0XXkOci0+H7Vxrg= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 11 Sep 2020 08:28:29 +0000 From: Sai Prakash Ranjan To: Bjorn Andersson Cc: Will Deacon , Robin Murphy , Joerg Roedel , Jordan Crouse , Rob Clark , Sibi Sankar , linux-arm-kernel@lists.infradead.org, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH v3 7/8] iommu/arm-smmu: Provide helper for allocating identity domain In-Reply-To: <20200904155513.282067-8-bjorn.andersson@linaro.org> References: <20200904155513.282067-1-bjorn.andersson@linaro.org> <20200904155513.282067-8-bjorn.andersson@linaro.org> Message-ID: <010101747c47b95c-9d1ba2fa-0cc2-4870-a249-a1022fd6e37e-000000@us-west-2.amazonses.com> X-Sender: saiprakash.ranjan@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 X-SES-Outgoing: 2020.09.11-54.240.27.11 Feedback-ID: 1.us-west-2.CZuq2qbDmUIuT3qdvXlRHZZCpfZqZ4GtG9v3VKgRyF0=:AmazonSES Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-09-04 21:25, Bjorn Andersson wrote: > Some platform implementations needs to be able to allocate a domain for > emulating identity mappings using a context bank without translation. > Provide a helper function to allocate such a domain. > > Signed-off-by: Bjorn Andersson > --- > Reviewed-by: Sai Prakash Ranjan Tested-by: Sai Prakash Ranjan -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation