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=-6.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,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 43BEBC43461 for ; Fri, 11 Sep 2020 08:30:47 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 DAFD9206F4 for ; Fri, 11 Sep 2020 08:30:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="wLW265xl"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=codeaurora.org header.i=@codeaurora.org header.b="ee+afaEa"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amazonses.com header.i=@amazonses.com header.b="FVE6fGAn" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DAFD9206F4 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+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=merlin.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=W+yRFv9kV2tDxj5yGP4e/eyPkBqW5l6cv6XSqmILRIU=; b=wLW265xljwckwZUHqbo8WtmkB A5D4gUOsuyToNIZyS+LudaplMIFqszgblD/A6dwmVXwJOLGOttK4u/jEn89MY7kJLVJ9GXJ90jA75 +RQjTBIwH2vPuvt8+2QFKTW3gu6iXMUeZoKZkN8R4sYCvpQwKnUrql6eTZFU+H9f9A19WcycEYw5U UGuKQXbMQ9h6GhUmY8eFMj8RppvWZ4oObarYEIyic9ujyEbl8UPZI+KfKR6VNGQBx8iHWU2ec4sid VaBdEbAy9ttrv/qiZhle2Uzo0Qd7k/qfB8DLX+uZi72plIU3jzuz/owwQhUuNhFsDYNXxoVqpm9ot 1XtgUEj3Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGeR2-000801-R7; Fri, 11 Sep 2020 08:29:32 +0000 Received: from a27-187.smtp-out.us-west-2.amazonses.com ([54.240.27.187]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGeQz-0007yG-UE for linux-arm-kernel@lists.infradead.org; Fri, 11 Sep 2020 08:29:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=zsmsymrwgfyinv5wlfyidntwsjeeldzt; d=codeaurora.org; t=1599812966; h=MIME-Version:Content-Type:Content-Transfer-Encoding:Date:From:To:Cc:Subject:In-Reply-To:References:Message-ID; bh=wF0V9zhnfPcH616CwCLeByLepfZtHk7S+uGcjuckYGg=; b=ee+afaEaXxef68h3roHufVN9u+ucVOwQlFcpzIYTpunbs6zc1To5rxojuKlmbv+I LyPaX9PZG9+mH39qBvJKuQMF2mYYY+EVm0pEeclDTmw7OwGf+Ti4QMnYPIArUo2J3Jo NTdMyYLW6bocAPjBp1khje+bdnWj51fQiqRwBAXo= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=hsbnp7p3ensaochzwyq5wwmceodymuwv; d=amazonses.com; t=1599812966; h=MIME-Version:Content-Type:Content-Transfer-Encoding:Date:From:To:Cc:Subject:In-Reply-To:References:Message-ID:Feedback-ID; bh=wF0V9zhnfPcH616CwCLeByLepfZtHk7S+uGcjuckYGg=; b=FVE6fGAniP3tAoGlaWe3MO6HTsLaAf1GWc9xKDQICwS+Xsi0KNJcIVRpQUCaxRq8 iq+Lbfj1F11dLSav3nyx8VXjsNFS4SbArLb4HGpMTZ4tlayHv5mKW9lORi3cLWfw+YM NdaDifn48VQxGbOC3SNh/6i0jmOEnpJlXigx+3YY= MIME-Version: 1.0 Date: Fri, 11 Sep 2020 08:29:25 +0000 From: Sai Prakash Ranjan To: Bjorn Andersson Subject: Re: [PATCH v3 8/8] iommu/arm-smmu-qcom: Setup identity domain for boot mappings In-Reply-To: <20200904155513.282067-9-bjorn.andersson@linaro.org> References: <20200904155513.282067-1-bjorn.andersson@linaro.org> <20200904155513.282067-9-bjorn.andersson@linaro.org> Message-ID: <010101747c48953f-56f95ee0-b86a-4915-94ce-96274e5b1548-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.187 Feedback-ID: 1.us-west-2.CZuq2qbDmUIuT3qdvXlRHZZCpfZqZ4GtG9v3VKgRyF0=:AmazonSES X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200911_042930_171139_27CC327B X-CRM114-Status: GOOD ( 13.08 ) 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: Rob Clark , Will Deacon , Joerg Roedel , iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Jordan Crouse , Sibi Sankar , linux-arm-msm@vger.kernel.org, Robin Murphy , 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+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2020-09-04 21:25, Bjorn Andersson wrote: > With many Qualcomm platforms not having functional S2CR BYPASS a > temporary IOMMU domain, without translation, needs to be allocated in > order to allow these memory transactions. > > Unfortunately the boot loader uses the first few context banks, so > rather than overwriting a active bank the last context bank is used and > streams are diverted here during initialization. > > This also performs the readback of SMR registers for the Qualcomm > platform, to trigger the mechanism. > > This is based on prior work by Thierry Reding and Laurentiu Tudor. > > 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel