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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id B4108C4332F for ; Thu, 13 Oct 2022 07:09:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:CC:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FaDF7NXLLHQ/o2a8gMDR3/wEZg2unP7GHmQT5pHF6ws=; b=TKeuSAo8nDHf+a r5+ym2uvJ+W6RdizNYBoUITw1zU528WZ/sT0ZXtFZU2jchh+vywVZsSIHOFSPFCgBIWz68ra81D02 OtfxDQ4CBc4PFGgHgkByyslBTNVuoj/+WhXWEGytfZmXtpccb6hp7IneFkoHPQVqlbSuEQzW7A2bL o0deN7u/pDmbKpQx/ejdn7hvjnex2nmAyXNavswAuvTdPhqbL0T4bZ8gSoD8aPRaubx9sMjPPITxW vrPXruC5Y2VaiDYZcvhkQfmmbHISfrcJOBMUzmti0fZBATQXtNkrHr/E2i0aRpTAgnzZSXpchd3fk TEYIL0XSFm2MBZTloRQQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oisJz-00AwtO-QF; Thu, 13 Oct 2022 07:07:59 +0000 Received: from frasgout.his.huawei.com ([185.176.79.56]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oisJw-00Awrg-2E for linux-arm-kernel@lists.infradead.org; Thu, 13 Oct 2022 07:07:58 +0000 Received: from fraeml738-chm.china.huawei.com (unknown [172.18.147.200]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Mp0tC2wMyz6H74g; Thu, 13 Oct 2022 15:06:11 +0800 (CST) Received: from lhrpeml500003.china.huawei.com (7.191.162.67) by fraeml738-chm.china.huawei.com (10.206.15.219) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Thu, 13 Oct 2022 09:07:46 +0200 Received: from [10.126.172.19] (10.126.172.19) by lhrpeml500003.china.huawei.com (7.191.162.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Thu, 13 Oct 2022 08:07:45 +0100 Message-ID: <4ffc662d-5c73-5047-81d5-ad78ca3a7d7e@huawei.com> Date: Thu, 13 Oct 2022 08:07:46 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: [PATCH AUTOSEL 5.15 10/47] iommu/arm-smmu-v3: Make default domain type of HiSilicon PTT device to identity To: Sasha Levin , , CC: Yicong Yang , Will Deacon , Mathieu Poirier , , , , , , , , , References: <20221013002124.1894077-1-sashal@kernel.org> <20221013002124.1894077-10-sashal@kernel.org> From: John Garry In-Reply-To: <20221013002124.1894077-10-sashal@kernel.org> X-Originating-IP: [10.126.172.19] X-ClientProxiedBy: lhrpeml100004.china.huawei.com (7.191.162.219) To lhrpeml500003.china.huawei.com (7.191.162.67) X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221013_000756_276340_F564F9C6 X-CRM114-Status: UNSURE ( 7.63 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 13/10/2022 01:20, Sasha Levin wrote: > From: Yicong Yang > > [ Upstream commit 24b6c7798a0122012ca848ea0d25e973334266b0 ] > > The DMA operations of HiSilicon PTT device can only work properly with > identical mappings. So add a quirk for the device to force the domain > as passthrough. > > Acked-by: Will Deacon > Signed-off-by: Yicong Yang > Reviewed-by: John Garry > Link:https://lore.kernel.org/r/20220816114414.4092-2-yangyicong@huawei.com > Signed-off-by: Mathieu Poirier > Signed-off-by: Sasha Levin > --- > drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 21 +++++++++++++++++++++ > 1 file changed, 21 insertions(+) I don't think that this commit should be backported to any stable tree. It's only required for a new driver. Thanks, John _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel