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=-5.5 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 4EDB5C388F7 for ; Thu, 22 Oct 2020 17:16:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E5D322464B for ; Thu, 22 Oct 2020 17:16:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=kali.org header.i=@kali.org header.b="Cv/UfUS2" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2899022AbgJVRQj (ORCPT ); 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-Google-Smtp-Source: ABdhPJzyrldG0EAOpS5mzfx05qjQMb07bP9ln6Ug2CmF2ns8x1lus0gf3gV2Hw+JIM4TWr7SZqRqJg== 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