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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BC9C7C4332F for ; Thu, 13 Oct 2022 07:07:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229635AbiJMHHx (ORCPT ); Thu, 13 Oct 2022 03:07:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229529AbiJMHHv (ORCPT ); Thu, 13 Oct 2022 03:07:51 -0400 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 407C6E52F3; Thu, 13 Oct 2022 00:07:50 -0700 (PDT) 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> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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