Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3129197pxu; Mon, 19 Oct 2020 04:55:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3YCdFDmeFVfiWhZZb9MqfDGztMbmFJQSb0JZMPgqj1E6+4NR9wxKM/bsuJ5AnA6T/QgDS X-Received: by 2002:a17:906:3c05:: with SMTP id h5mr16579120ejg.70.1603108553490; Mon, 19 Oct 2020 04:55:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603108553; cv=none; d=google.com; s=arc-20160816; b=GanqIEiYywoUVowOuLX/GdJoPfC60WVMOjVUO0j1AuRn0n5DF67TADQDqBQNWVyjhR QZvFgxJOi0blLK/89udxlOCWcD9PzEdC5V9sYxBrqMaO06qgvJzdyPydBRDVlQtF2M0U T0h7dolx5IvJs/8dVOi4VX1bwoYb+Uurm37Oj8s5Ox/thyhTktMbX+O8oviGPxQOdvHU 3Q+nZpoPdAHVD9tjxUEbFYDGVfV9oNVrKoHb+TOMQ02nHs4IDTl14TjljA7gtstdb/Wj nWEinkiSWcf8wxCS1pmle1UB2r2WTlsw29YXIgIaUJ2hTiJ45KjE7BuWz003OEkmLrgG Jpeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=aNtNGXeJLGDumINEjf9bWj2sEZwVw3nV2iDSgN4Ie4I=; b=YGGcBAgQ5txiHFX62ygPwlb8lgtMBlaAJILYdJwRzg9bc+vsgm+sO2exkdSXh4iemw hQsVljmkoWpwrc87Yp9XsKJrN61o/awrgWHTxQ+EQDGehASaJ1Trv5ru1Ce5BIS9Aka7 POIOID5o7EUiRMAaRwUE87m3EWhAdv9eIbCahCIWJOTnMzJLY7wkVWLQVjhvPh2WDX7k zyp3pkZCwi6KWzMpMfsA8b2EaWMsBnxd1avsy9UXItPYJhDhtc+T53OjH+iIhdRRGvXb WqiFuiMTBqQmOx52vRUQjoCdHqS/tzBQuEeMYk2CppEcRUJsTuhifmufTziKdiwXdaws Tnng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=mp2Xzjek; 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 l3si7575247edq.345.2020.10.19.04.55.31; Mon, 19 Oct 2020 04:55:53 -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=mp2Xzjek; 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 S1727682AbgJSLhg (ORCPT + 99 others); Mon, 19 Oct 2020 07:37:36 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:48503 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725799AbgJSLhf (ORCPT ); Mon, 19 Oct 2020 07:37:35 -0400 X-UUID: c1b147055df648459a539ae96bd73431-20201019 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=aNtNGXeJLGDumINEjf9bWj2sEZwVw3nV2iDSgN4Ie4I=; b=mp2XzjekOuzWMA059D20L/sxhoiNY9V2AElGv9X5dTgtrDawc3SYTRZEWfXze9qEdYozfZuQaKTDwZUfQTH4Mas0z+RgDp4Hhhgpk+c5tLqs+HZS+swjcnimr6C/xUL3Y83t7Fks4VEbjekVZCqjvtNNG8Xxz4zuFwr3uOtE8Sg=; X-UUID: c1b147055df648459a539ae96bd73431-20201019 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1952249611; Mon, 19 Oct 2020 19:37:31 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs01n2.mediatek.inc (172.21.101.79) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 19 Oct 2020 19:37:28 +0800 Received: from localhost.localdomain (10.15.20.246) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 19 Oct 2020 19:37:27 +0800 From: Chao Hao To: Joerg Roedel , Matthias Brugger CC: , , , , , Yong Wu , FY Yang , Jun Wen , Mingyuan Ma , Chao Hao Subject: [PATCH 0/4] MTK_IOMMU: Optimize mapping / unmapping performance Date: Mon, 19 Oct 2020 19:30:56 +0800 Message-ID: <20201019113100.23661-1-chao.hao@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 15E5CB9EC7FD0FD48D83E2456A7D282C07A92B4951C0BD41AB454EE3475C52ED2000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ICAgIEZvciBNVEsgcGxhdGZvcm1zLCBtdGtfaW9tbXUgaXMgdXNpbmcgaW90bGJfc3luYygpLCB0 bGJfYWRkX3JhbmdlKCkgYW5kIHRsYl9mbHVzaF93YWxrL2xlYWYoKQ0KdG8gZG8gdGxiIHN5bmMg d2hlbiBpb21tdSBkcml2ZXIgcnVucyBpb3ZhIG1hcHBpbmcvdW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