Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3243940rwi; Sun, 16 Oct 2022 07:35:44 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7t3Fp0a2oxnjQ1jrIinY0S1Em7UnP8TKkvHXk5PUbJU5XquRIVcJ/FTfDnL1qFXL2OGGOp X-Received: by 2002:a63:d90c:0:b0:462:cfa2:285b with SMTP id r12-20020a63d90c000000b00462cfa2285bmr6737527pgg.202.1665930943806; Sun, 16 Oct 2022 07:35:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665930943; cv=none; d=google.com; s=arc-20160816; b=zVcyjj742BzC5j/4B0TEsRHFGD5WWZ07G6YJpxnvBKpgoeOupayHcMhynI905WP5s4 Ex4N7TxOWLxd1s5KpVfPPwJiyj7DpcqocRf+9tfQ7Jy2914+XPTnHrFTPIXlwedykDB7 sdileJD0jxy0A3/0/0iI6O96NLyGlZRxHY/uU1mlC8e2b0KI1nvTo0Ur1IrZ586SlClU dyoHD7t4l2ipm/a8bCSeAk6+UXmffT2tSLq0DvTkwu+VD1taeA+nlBtJxtsEYs1IR1Jc KKKh3z77LQsuA3lHe/qLWdqL2MjmEX1LZJ6VTuP9E29PPU85B2mbFJDWhqhwuq1pdILG hhHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=tu1Yp2jt1B5zDWZqu9dzJWo/iJaom08Zt4mtwMDWaTw=; b=FmmA4VidHKtsA4i3w3V+/bxIHTiBulM5ZZX0k+rZ8VOVkOjMI/kf9lxf2DP9XEfL61 IYPVUrSc14rjUP9c5HfY/SE1wpvt6Ww950/ZUkf6Lrp8dWiT7TwMAYAFF8kLuJvrHIk8 PKKa9MPO+GoxHMMiLoanyU9afJwMlA38VW2YJThcjjIuB4vWqsmnmKsR+67vLP3LpHT0 k0lPNWcAvd9YfWha5E2NDhpN/jhVOm8TcQbIq2/N/3gwAdqIjw+wVWpsS0Vn3i4GoqiN qykF4qPJOJy02OPK3G6sj1HJRsV4jKE2urEQ1gBi1lerpNMBa6rXY0hhchEXar0XK0fn yzqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LxvXkWci; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q12-20020a638c4c000000b0046b08e9060fsi9049030pgn.485.2022.10.16.07.35.32; Sun, 16 Oct 2022 07:35:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LxvXkWci; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229633AbiJPNa3 (ORCPT + 99 others); Sun, 16 Oct 2022 09:30:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229679AbiJPNaZ (ORCPT ); Sun, 16 Oct 2022 09:30:25 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F4C231DE9; Sun, 16 Oct 2022 06:30:18 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4209360B76; Sun, 16 Oct 2022 13:30:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 713DBC433D6; Sun, 16 Oct 2022 13:30:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1665927016; bh=KTzBJ41O2/NP1Xvp37TwTR0e2oXjg8Mhj0R85XRcxf0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LxvXkWcim8owV9e8FtwxLjBqyryolV2zepprknggKvzuqEciYeCJy4uUXR5iTRSw5 bNE7B4zUurstMJ/44/zHnCmI+PvBSTlmd4+JHC6smhcHJ4pIDlCfcd6qW+CNBqTkkZ tHcvmUJjm/4E4XI/xe71CJyVO9Sj0mQms+vLpoKefTVZJA77WIi19GU/LTYYZlyQe0 Y/B6BMMn5hU3J1KCf/ugC3LGLpb85sR+gwBqZ8FkxztyL+doy7W7dLhYe++tPuzvjf 3RBcE8AKBNVD/mjglesBSb/y63NDq0+R7dhKDtFobir/yg8vKdzYjPvBQpCmoAppCR xgRNdHfeD+waw== Date: Sun, 16 Oct 2022 09:30:15 -0400 From: Sasha Levin To: John Garry Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Yicong Yang , Will Deacon , Mathieu Poirier , joro@8bytes.org, robin.murphy@arm.com, baolu.lu@linux.intel.com, jgg@ziepe.ca, tglx@linutronix.de, shameerali.kolothum.thodi@huawei.com, christophe.jaillet@wanadoo.fr, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev Subject: Re: [PATCH AUTOSEL 5.15 10/47] iommu/arm-smmu-v3: Make default domain type of HiSilicon PTT device to identity Message-ID: References: <20221013002124.1894077-1-sashal@kernel.org> <20221013002124.1894077-10-sashal@kernel.org> <4ffc662d-5c73-5047-81d5-ad78ca3a7d7e@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <4ffc662d-5c73-5047-81d5-ad78ca3a7d7e@huawei.com> X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 13, 2022 at 08:07:46AM +0100, John Garry wrote: >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. I'll drop it, thanks! -- Thanks, Sasha