Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp123720pxu; Thu, 22 Oct 2020 17:40:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwetBlWlL7beA7r6g5NYQHNtg1wQRFkZy5T84vRXGj6QP7zTPLcHY6LsU+u/srT91jFVWFR X-Received: by 2002:a17:906:383:: with SMTP id b3mr4657711eja.351.1603413634402; Thu, 22 Oct 2020 17:40:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603413634; cv=none; d=google.com; s=arc-20160816; b=Pe6BjG1+rc2EL1Gv8cXti+7ybloJtA6M0RrI5csJY8om/E0Txanl4n46sfOWAXgkxv kZ82Mqx2XPaNJc4gy7vIBeBr7JVCCc0GjCZETkOfHlxK5wB/6G/jwB8xaAmIxwx0PYCj dO5y/lQtwgymU0v1Fn1qVqpSpGdjuMcQh66+JdKHuTsW2KAecazj4isW/znc5zBv6Xvk VWWMfJ2md0a3avu78M2eqK+mlKJoh9cedonMgCZBZgch/gemaJew5OUwjnkQ5A0yTk+I fTeo/dV2ppndB1dK73ylRxXdmz9wEl8p4rn9rMJpFnX72FABCdmaVBlWOeD6WOckEx80 z8xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=WJ8I14wf262ZPiivnyQQ+MbWvOKiYpS8eHcxbP0dKhU=; b=KBCnVzuFVCPL8Ljvu4zUlrib8O/L9A0E8gj69QtY0Sf10oWYq9YTjPHKXuLrfdZnNq EhoKd70rMoMGtXdjfoEtlPKzz9bdavzDRtvSrXfUDr+EBdAfs1a34ZXfP2HUOhNle6SH dM/zeCQF+NuSJq4yc67vAJL2eKKtGfV0q6HKOIypsxdVa4ezL2jpbfSWYlQHqCDu/zD1 2eWKN6YeTPjKslXwTCvNH+DzQCDqFamG3e7axl4ESbIh83lhYgwOnEbX+WexOktRIlxj Xo0jnJTrCbU4hHtIJgKWvZgJfnDdQNXz6iCErmyeG06BtRQlcjukv9/krW6xQJIhTYA6 rWVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kali.org header.s=google header.b="Cv/UfUS2"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kali.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dh27si2015473edb.28.2020.10.22.17.40.12; Thu, 22 Oct 2020 17:40:34 -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=@kali.org header.s=google header.b="Cv/UfUS2"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kali.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2898980AbgJVRQj (ORCPT + 99 others); Thu, 22 Oct 2020 13:16:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2902444AbgJVROk (ORCPT ); Thu, 22 Oct 2020 13:14:40 -0400 Received: from mail-oi1-x244.google.com (mail-oi1-x244.google.com [IPv6:2607:f8b0:4864:20::244]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B429C0613CE for ; Thu, 22 Oct 2020 10:14:40 -0700 (PDT) Received: by mail-oi1-x244.google.com with SMTP id m128so2505452oig.7 for ; Thu, 22 Oct 2020 10:14:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kali.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=WJ8I14wf262ZPiivnyQQ+MbWvOKiYpS8eHcxbP0dKhU=; b=Cv/UfUS2m8S022aQfxyLpzkNxoSNuyCiqVOSYEMnDmqJ+bAyotuK5ClUvp+29FFeX4 8ohCnv1IdAQ/GNFX7aaWVX+JL7JQjTo1Svl5gfjJT0T1hVj73KDoOwJGKoEIB1rZyvo1 A+DkALDz1k8ys/LNmSOIKG6R2BEj0NkW4zSXwFHbRx2CcB9MiiI5dDBrfFPrTgsjY3Rt EEFmwJLK+IoclWuWtP+3aFxj5mjM9sgCcJk/Se2XXybCyIQgwuO3RZO4jdyBWql+/4MG 1ReSp5+e8sKlC2KNfpjd/kRjS/5Uz+eCPbe4TP8c2kpQPYOf2+CnFEcZsdf880Vil8r2 EY3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=WJ8I14wf262ZPiivnyQQ+MbWvOKiYpS8eHcxbP0dKhU=; b=g0JrWIkxHgyogK33Fzq6wgI7TZLG8AgxMfsUn/H0mDavk//HYkeQe5AhIV9Too3fwV qhfaHW8UfnYdxjGxIYp7ZqoiD76CPgaB1/VX0u+eqTiExqy/IBDXIR9FLdrnBTvWyOar fOn8iS9fV6zoPP2fPol+3MrYH0kSgCjRpFZWKbNTFUaZLqbDpSolyTKI43/NYF7OdPCh XEQS9+NHcBgxlbEwaiFEHzoDM0fLile4Vc0kua6Td1iohh6EqZ0eCKHJmdMt5wtRh8zh /IUb+HyI+F+pkiWRSGXovIJ6UWOdJ3WKOYS7ReVEVI1p7ueVa5x1a4R+469jWsPS/eM8 vQtg== X-Gm-Message-State: AOAM531LZorrZhEBdWi+PWTw/GfCjQmvaCGzLYK8dg2tvlc0iB/XKLxH jDkA/1DFNbzx8Yb1Q4cqPTH5gg== X-Received: by 2002:a05:6808:9b8:: with SMTP id e24mr2313226oig.97.1603386879819; Thu, 22 Oct 2020 10:14:39 -0700 (PDT) Received: from Steevs-MBP.hackershack.net (cpe-173-175-113-3.satx.res.rr.com. [173.175.113.3]) by smtp.gmail.com with ESMTPSA id t84sm589024oih.35.2020.10.22.10.14.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 22 Oct 2020 10:14:39 -0700 (PDT) Subject: Re: [PATCH v5 0/3] iommu/arm-smmu-qcom: Support maintaining bootloader mappings To: Bjorn Andersson , Will Deacon , Robin Murphy , Joerg Roedel , Sai Prakash Ranjan , Jordan Crouse , Thierry Reding , Rob Clark Cc: linux-arm-kernel@lists.infradead.org, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org References: <20201019182323.3162386-1-bjorn.andersson@linaro.org> From: Steev Klimaszewski Message-ID: Date: Thu, 22 Oct 2020 12:14:38 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: <20201019182323.3162386-1-bjorn.andersson@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/19/20 1:23 PM, Bjorn Andersson wrote: > This is the revised fourth attempt of inheriting the stream mapping for > the framebuffer on many Qualcomm platforms, in order to not hit > catastrophic faults during arm-smmu initialization. > > The new approach does, based on Robin's suggestion, take a much more > direct approach with the allocation of a context bank for bypass > emulation and use of this context bank pretty much isolated to the > Qualcomm specific implementation. > > The patchset has been tested to boot DB845c and RB5 (with splash screen) > and Lenovo Yoga C630 (with EFI framebuffer). > > Bjorn Andersson (3): > iommu/arm-smmu: Allow implementation specific write_s2cr > iommu/arm-smmu-qcom: Read back stream mappings > iommu/arm-smmu-qcom: Implement S2CR quirk > > drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 90 ++++++++++++++++++++++ > drivers/iommu/arm/arm-smmu/arm-smmu.c | 13 +++- > drivers/iommu/arm/arm-smmu/arm-smmu.h | 1 + > 3 files changed, 101 insertions(+), 3 deletions(-) > Tested series here on my Lenovo C630. Tested-by: Steev Klimaszewski