Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1613812ybh; Tue, 14 Jul 2020 02:34:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwdEbADStvZjKZB6+DroVy/JLRq4w4WRFUAgzExvWMGdzVLtXOKWjw+zA8Hc5T+d4j+EP8m X-Received: by 2002:a17:906:e51:: with SMTP id q17mr3909197eji.218.1594719269802; Tue, 14 Jul 2020 02:34:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594719269; cv=none; d=google.com; s=arc-20160816; b=nOYuW05GxrbNn4x3SsWaUxtqbSrKbUG8FT2hkrUBc+OxjC6sJoa0NXIfazIMIWUnz6 Xl7k7JjCDJRxVDW7Zv7pPaNfw4NTbezQawUz6qwHmWskVSCxosPDu+v8nNeatBuqmIIl E77TU6CMuQ57ct9TfwQcFHQIcRrO+T+2yOii3yIgp8sbfqaaKaCL+61zuEgEDmPU2WOo FT9o871Zaf2XxJ/vsW57KfY60LHuY8nSDYj/Jf6u1qguHzcczMiskj0IBz0VcPS7Pv5V TcpnPZsT65N4a8krS3J6AjcHkM+sbvWK//JE3hZNwRHOHJmALklS/pSC2kcqiHPQdWVE I+GA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=k1s7sjnnsRye1CFdb6q0XzdF7nQsqyfBB1IhxQ2urWM=; b=OAcvWc2vjc/kj9sqo+xZ4QHJmlnf3o3jLmGAglrw+oljzV9MrdqUXcpM0iwt5nVAKD T1EyPPzmmxY+8KsdBOzBaBqr6nMnKHUJP4gL+9ZsL+OR0i9P9tdXyc8H6QPEMzQXM4+3 fOXH0Cmyqt7NQKP5sRE9A+VhlUlvZqfa9LPxdKEIgg5kIR3OmEFzNirQw/RwuBz7mqKN oDhl/cBOPvJV+eyj52Ms7pEKvXdvGzJrqHlmSo/I8Tr06Q+L1iujHDTSGFMPuYFirnUY 2EJm+epidPefUFC6iaremHRdsWAAHeysZBP+zWYi76XQYU9+ssgFaiV8g3SiT6Cl3K3U qUYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=I0lhH+Sg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j16si13932892edj.223.2020.07.14.02.34.06; Tue, 14 Jul 2020 02:34:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=I0lhH+Sg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726720AbgGNJdz (ORCPT + 99 others); Tue, 14 Jul 2020 05:33:55 -0400 Received: from mailgw02.mediatek.com ([1.203.163.81]:42253 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725884AbgGNJdy (ORCPT ); Tue, 14 Jul 2020 05:33:54 -0400 X-UUID: 03cb09f6c67347d4bd174cae1c380851-20200714 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=k1s7sjnnsRye1CFdb6q0XzdF7nQsqyfBB1IhxQ2urWM=; b=I0lhH+SgvmpVYRsa1E8cdyHfe2AuG/Qfq59D7x4V0Xq7oNnoXNT5Z+MVFpgFPN3M5eyulToc4tuqz1y4YHjhZwKmiBMIQG24M+WGajW4otv82ZBmBuEz3X77+92ieROMdmh3OGIh+9dXBLvgYT/4yIUnthElkq7mdi5YyidF3/Y=; X-UUID: 03cb09f6c67347d4bd174cae1c380851-20200714 Received: from mtkcas35.mediatek.inc [(172.27.4.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 220981910; Tue, 14 Jul 2020 17:33:48 +0800 Received: from MTKCAS32.mediatek.inc (172.27.4.184) by MTKMBS32N2.mediatek.inc (172.27.4.72) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 14 Jul 2020 17:33:47 +0800 Received: from [10.17.3.153] (10.17.3.153) by MTKCAS32.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 14 Jul 2020 17:33:45 +0800 Message-ID: <1594719177.16172.33.camel@mhfsdcap03> Subject: Re: [PATCH 12/21] iommu/mediatek: Add iova reserved function From: Yong Wu To: Pi-Hsun Shih CC: Joerg Roedel , Matthias Brugger , Rob Herring , Robin Murphy , Will Deacon , Evan Green , Tomasz Figa , "moderated list:ARM/Mediatek SoC support" , , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list , "moderated list:ARM/Mediatek SoC support" , , Youlin Pei =?UTF-8?Q?=28=E8=A3=B4=E5=8F=8B=E6=9E=97=29?= , Nicolas Boichat , , , , , Hao Chao Date: Tue, 14 Jul 2020 17:32:57 +0800 In-Reply-To: References: <20200711064846.16007-1-yong.wu@mediatek.com> <20200711064846.16007-13-yong.wu@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-TM-SNTS-SMTP: DEC085A44EA7D3545BF3F8F5EDD48DA486042A01F90A9595EFE295D355A786BF2000:8 X-MTK: N Content-Transfer-Encoding: base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