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=-2.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, 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 0DEF7C00523 for ; Wed, 8 Jan 2020 09:16:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CBF862070E for ; Wed, 8 Jan 2020 09:16:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1578475013; bh=+IAbT80Thjb7cm6WAP8wRkhDBitTa05E7byZ57Le5ag=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=HVXanjXDtGNnOziH2k9Uq3gjb+dls+jcXC3W2xDl3sWm8r9qfUkZLoP0M7+pQpiMz 0HIgG/vKR50Ttu2o5e21BVHKzQNO93IgKDThmdsgCryi3QHolSvMgdisF+cqdUx1k2 Y4YHXkbOhfVqcwjVzUNWrgxzL+1AxOiLN197I4D8= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727368AbgAHJQx (ORCPT ); Wed, 8 Jan 2020 04:16:53 -0500 Received: from mail.kernel.org ([198.145.29.99]:46506 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727205AbgAHJQx (ORCPT ); Wed, 8 Jan 2020 04:16:53 -0500 Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C672C20705; Wed, 8 Jan 2020 09:16:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1578475012; bh=+IAbT80Thjb7cm6WAP8wRkhDBitTa05E7byZ57Le5ag=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ie6mnSQIZ0/Cmh6ez45IJInqQwaokWY9MDyBZqRTZNt5uTgXRFmVAd2hNSM9uN3ID y/12CJS7TUfkeqVSwEDmyPF/a5pSrE4SVd4XYt+znN6uP71KT5adACbICf8qRxpEXp AQXOt9SNrLgS1q631MX+fnpE/s46nKozLm/TcjSk= Date: Wed, 8 Jan 2020 09:16:42 +0000 From: Will Deacon To: Bjorn Andersson Cc: Robin Murphy , Joerg Roedel , linux-arm-kernel@lists.infradead.org, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Patrick Daly , Pratik Patel , Rob Clark , treding@nvidia.com Subject: Re: [PATCH 0/3] iommu/arm-smmu: Qualcomm bootsplash/efifb Message-ID: <20200108091641.GA15147@willie-the-truck> References: <20191226221709.3844244-1-bjorn.andersson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191226221709.3844244-1-bjorn.andersson@linaro.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On Thu, Dec 26, 2019 at 02:17:06PM -0800, Bjorn Andersson wrote: > These patches implements the stream mapping inheritance that's necessary in > order to not hit a security violation as the display hardware looses its stream > mapping during initialization of arm-smmu in various Qualcomm platforms. > > This was previously posted as an RFC [1], changes since then involves the > rebase and migration of the read-back code to the Qualcomm specific > implementation, the mapping is maintained indefinitely - to handle probe > deferring clients - and rewritten commit messages. I don't think we should solve this in a Qualcomm-specific manner. Please can you take a look at the proposal from Thierry [1] and see whether or not it works for you? Thanks, Will [1] https://lore.kernel.org/lkml/20191209150748.2471814-1-thierry.reding@gmail.com 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=-2.3 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,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 B39E9C00523 for ; Wed, 8 Jan 2020 09:16:56 +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 7AE1920705 for ; Wed, 8 Jan 2020 09:16:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="ie6mnSQI" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7AE1920705 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.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 1E2C38671A; Wed, 8 Jan 2020 09:16:56 +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 G9hwtwuDqzxK; Wed, 8 Jan 2020 09:16:55 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by whitealder.osuosl.org (Postfix) with ESMTP id 9A933866BD; Wed, 8 Jan 2020 09:16:55 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 8796CC1D81; Wed, 8 Jan 2020 09:16:55 +0000 (UTC) Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists.linuxfoundation.org (Postfix) with ESMTP id 84368C0881 for ; Wed, 8 Jan 2020 09:16:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 72DF785BA7 for ; Wed, 8 Jan 2020 09:16:53 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QtYpE1hAbVg5 for ; Wed, 8 Jan 2020 09:16:52 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by hemlock.osuosl.org (Postfix) with ESMTPS id D289A85A70 for ; Wed, 8 Jan 2020 09:16:52 +0000 (UTC) Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C672C20705; Wed, 8 Jan 2020 09:16:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1578475012; bh=+IAbT80Thjb7cm6WAP8wRkhDBitTa05E7byZ57Le5ag=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ie6mnSQIZ0/Cmh6ez45IJInqQwaokWY9MDyBZqRTZNt5uTgXRFmVAd2hNSM9uN3ID y/12CJS7TUfkeqVSwEDmyPF/a5pSrE4SVd4XYt+znN6uP71KT5adACbICf8qRxpEXp AQXOt9SNrLgS1q631MX+fnpE/s46nKozLm/TcjSk= Date: Wed, 8 Jan 2020 09:16:42 +0000 From: Will Deacon To: Bjorn Andersson Subject: Re: [PATCH 0/3] iommu/arm-smmu: Qualcomm bootsplash/efifb Message-ID: <20200108091641.GA15147@willie-the-truck> References: <20191226221709.3844244-1-bjorn.andersson@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20191226221709.3844244-1-bjorn.andersson@linaro.org> User-Agent: Mutt/1.10.1 (2018-07-13) Cc: Patrick Daly , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, treding@nvidia.com, Robin Murphy , linux-arm-kernel@lists.infradead.org, Pratik Patel 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: iommu-bounces@lists.linux-foundation.org Sender: "iommu" On Thu, Dec 26, 2019 at 02:17:06PM -0800, Bjorn Andersson wrote: > These patches implements the stream mapping inheritance that's necessary in > order to not hit a security violation as the display hardware looses its stream > mapping during initialization of arm-smmu in various Qualcomm platforms. > > This was previously posted as an RFC [1], changes since then involves the > rebase and migration of the read-back code to the Qualcomm specific > implementation, the mapping is maintained indefinitely - to handle probe > deferring clients - and rewritten commit messages. I don't think we should solve this in a Qualcomm-specific manner. Please can you take a look at the proposal from Thierry [1] and see whether or not it works for you? Thanks, Will [1] https://lore.kernel.org/lkml/20191209150748.2471814-1-thierry.reding@gmail.com _______________________________________________ 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=-2.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,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 48AE7C00523 for ; Wed, 8 Jan 2020 09:17:03 +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 1B0EE20705 for ; Wed, 8 Jan 2020 09:17:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Ngiz+KMr"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="ie6mnSQI" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1B0EE20705 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.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-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=qT0Hxq/4JWiditgTnxiwoC6cguygTCsfmfMJzxmL2dE=; b=Ngiz+KMr4P5dAJ jTgc3p+11a8jH6/YdHJhd3CiT62d89I3ZHJ6WGZosyxNg8msIXF924YUnQU4Zt0CvQQqnT2YRURqS PeAMZ+xH77IzlfEGC5/chEMMqcOY8hJg1Wqf+6wgFFITWCCEJlUXq9RrFvznswQPNZanMcA8w7rWG KC/AAkRWF2VmbwAL9rpON19z3WdHqaUfMVDFgSm+tV6KKP5kQcGpjlLio5D8HyIDkFcxGuQfVW0/d YLpRpra+w1QD6IYww/2k3bUpwza8hcoRKHWJMr5EVXM9QvyhY679Ott7I+aoKdRsMQbraP3CI4HO0 RZHUcBSNBLBZaak/j87g==; 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 1ip7ST-0001Jd-CN; Wed, 08 Jan 2020 09:16:57 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ip7SQ-0001J1-Dm for linux-arm-kernel@lists.infradead.org; Wed, 08 Jan 2020 09:16:56 +0000 Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C672C20705; Wed, 8 Jan 2020 09:16:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1578475012; bh=+IAbT80Thjb7cm6WAP8wRkhDBitTa05E7byZ57Le5ag=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ie6mnSQIZ0/Cmh6ez45IJInqQwaokWY9MDyBZqRTZNt5uTgXRFmVAd2hNSM9uN3ID y/12CJS7TUfkeqVSwEDmyPF/a5pSrE4SVd4XYt+znN6uP71KT5adACbICf8qRxpEXp AQXOt9SNrLgS1q631MX+fnpE/s46nKozLm/TcjSk= Date: Wed, 8 Jan 2020 09:16:42 +0000 From: Will Deacon To: Bjorn Andersson Subject: Re: [PATCH 0/3] iommu/arm-smmu: Qualcomm bootsplash/efifb Message-ID: <20200108091641.GA15147@willie-the-truck> References: <20191226221709.3844244-1-bjorn.andersson@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20191226221709.3844244-1-bjorn.andersson@linaro.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200108_011654_488261_65F99ECC X-CRM114-Status: GOOD ( 11.53 ) 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 , Patrick Daly , linux-arm-msm@vger.kernel.org, Joerg Roedel , linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, treding@nvidia.com, Robin Murphy , linux-arm-kernel@lists.infradead.org, Pratik Patel Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Dec 26, 2019 at 02:17:06PM -0800, Bjorn Andersson wrote: > These patches implements the stream mapping inheritance that's necessary in > order to not hit a security violation as the display hardware looses its stream > mapping during initialization of arm-smmu in various Qualcomm platforms. > > This was previously posted as an RFC [1], changes since then involves the > rebase and migration of the read-back code to the Qualcomm specific > implementation, the mapping is maintained indefinitely - to handle probe > deferring clients - and rewritten commit messages. I don't think we should solve this in a Qualcomm-specific manner. Please can you take a look at the proposal from Thierry [1] and see whether or not it works for you? Thanks, Will [1] https://lore.kernel.org/lkml/20191209150748.2471814-1-thierry.reding@gmail.com _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel