Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3487548ybt; Tue, 30 Jun 2020 04:10:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyoWffFbOTtsYujWhHMHwW28hbcRGejS7wjiNQD7yB7ItJa7CWwsLpZLMchhl+3+hAobHmj X-Received: by 2002:a17:906:4086:: with SMTP id u6mr19081795ejj.9.1593515438461; Tue, 30 Jun 2020 04:10:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593515438; cv=none; d=google.com; s=arc-20160816; b=0G73Qekc9muDhf2B21OpKs0lPgximh3z9WKr5RYXuLZtdLJj/ihsPCHdojgrk4AoFC xmOxETYrdMK/RaOX+yJ8Nrs7r/Aablfg6JqBfCT/XJQNSwGrbwBMtPRkbIs65Z8CE3OW Z/kD7kGAhKYVfRVTf8W6ixOHuYrZQBKFnD2lSlfoJoiwHme8yBHR6+DHVX6862mrd1P9 d1YZe49VadQllQGSFGu3OZsfOe3HmuAtSqXpRfKAU/sx3gp8Uofzz6kIHeP4UC7lqCnp M3XsEVeUGpctvxPTFJBaQHH5YqBfZ+LhBf8aYDLFx8z+co6pv0tj16E1s6Bu8x0eXsfh gT7A== 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=39/WvHSlJfaFdr2D13fz2nqg2RkI5zVNbDVhi335aSs=; b=uZizMlKr3ICVmqePQY6th1MUU99dDdMvT4WtBAjcKcToZ3S6fHZiZI+KnG59GyjED9 51ngOc5rj2oWDSL2golsR9lTva0Xg0R7d9+PI8J3J+aTnRp3dO60N4kbev9CwCl05Y74 b4wMk7uo+7Y1kU+frpzu0Ee8zpQGjlJZOPLAy5OFtFPtnIf7V6+I8kjCAr06CYQH+BbZ fr0UBbt7aDgPHQ9OuXcnVVLW20HBAuqHWaBqUweAF5Oyee91mdnI2LA/Tp1hm5IpjZyJ 7JGOLesw48eQoMhAcO7VJ+LlgLgXqeWO6/6L9w+03A/fw79seGtsgm9dt3ClMGPz5aPL vDtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=CruyKFrh; 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 dp4si1830741ejc.258.2020.06.30.04.10.15; Tue, 30 Jun 2020 04:10:38 -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=CruyKFrh; 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 S1732866AbgF3LJE (ORCPT + 99 others); Tue, 30 Jun 2020 07:09:04 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:44873 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1732666AbgF3LJD (ORCPT ); Tue, 30 Jun 2020 07:09:03 -0400 X-UUID: 13a1312f612746c6baad6853361ab0ad-20200630 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=39/WvHSlJfaFdr2D13fz2nqg2RkI5zVNbDVhi335aSs=; b=CruyKFrhtCHKIxEwxVegZqp5ApeNXLIS/1KR07KpaemHNJSXWk2RLJUSAGu9JFxqOwQKl5lWiU0li9covL0TxtVwInJRwcluJmgv/apfMXW3hNVHctclb54MyLM80fvKYuPLb7VtLcpkDj5jOPKOqkye6x2IWSdazkPjPpIh/0A=; X-UUID: 13a1312f612746c6baad6853361ab0ad-20200630 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1858030806; Tue, 30 Jun 2020 19:08:58 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 30 Jun 2020 19:08:52 +0800 Received: from [10.15.20.246] (10.15.20.246) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 30 Jun 2020 19:08:52 +0800 Message-ID: <1593515273.26985.0.camel@mbjsdccf07> Subject: Re: [PATCH v5 06/10] iommu/mediatek: Add sub_comm id in translation fault From: chao hao To: Yong Wu CC: Joerg Roedel , Rob Herring , Matthias Brugger , Evan Green , , , , , , , FY Yang , Chao Hao Date: Tue, 30 Jun 2020 19:07:53 +0800 In-Reply-To: <1593514516.24171.25.camel@mhfsdcap03> References: <20200629071310.1557-1-chao.hao@mediatek.com> <20200629071310.1557-7-chao.hao@mediatek.com> <1593514516.24171.25.camel@mhfsdcap03> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVHVlLCAyMDIwLTA2LTMwIGF0IDE4OjU1ICswODAwLCBZb25nIFd1IHdyb3RlOg0KPiBPbiBN b24sIDIwMjAtMDYtMjkgYXQgMTU6MTMgKzA4MDAsIENoYW8gSGFvIHdyb3RlOg0KP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