Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1010948pxb; Wed, 1 Sep 2021 15:13:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyU6a+88L3nA4Dxo0+8vD8T1NfP2HJIjdYq97/B61mKbqgfKL81vnPp4TB9ne+1g+/p7jEf X-Received: by 2002:aa7:c64d:: with SMTP id z13mr107469edr.349.1630534415097; Wed, 01 Sep 2021 15:13:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1630534415; cv=pass; d=google.com; s=arc-20160816; b=zZu6wSqnzgiwUdpgrtClP5eAokiF5cELgIVfNKCL1mFS9ULOf72Wdcv8jPmuLfq0Rm s/3LltfIoVk0nGMXt83KU+KgOFXOcuTQ7Kived0WwY6/at/8IMzqI0oF0TSLUFdtAlsy qcuW/FtALarycfWGd+aLbpb4tRb3725BvefedZ+HBn2ZxiEKWxareMIuzDX+4E8uvY2U 11VD6WkghJNkucfKVdGssmesLE0WOTorl2bdd7D24rno8aeJ98Q12PBWmpvTZT/7MED8 6te+jb93K1iTL7NrGrxOYj/9SAmrpjUG8fhWEg6+9rC3WOrV/v08Aalw2mJft+qG3/Gi moxQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature:dkim-signature; bh=s8eianChBOl0tNeanAZCFNSSqNz+AJ1F38ejQ/LieO8=; b=kjrlgHOL/HcUmkL6mgK5bRkHnS8VBmUkklySoisW9MyFRFYLJEjI7QDCLs2heZlq9T jns5NTbwPy2TaCjznsEvhMj7SQe/vWWOsCnmuBykH/CD2XIQkDe82eiWkmPxyni+KRQc 17zOeAdMmqE9cWGCfQBfr54DZBp+WgHt19cxWyMaXDgAW7ssNRW587TDBz8iO7BCv8/3 BgmhF/UpKM908tXa1vaoKg/XZngw41KYi22r8lMpD7VYGPqXG+gbIDUAfgQEfqkKC5fK HNCRpi84ylXSFdlEEVRCiPYf32WjGeEBl/D59xSaBEKSMNBR7JebplIyjmkT47Fgl8ts Geqg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=T71fK+gx; dkim=pass header.i=@mediateko365.onmicrosoft.com header.s=selector2-mediateko365-onmicrosoft-com header.b=kyNqP5Vh; arc=pass (i=1 spf=pass spfdomain=mediatek.com dkim=pass dkdomain=mediatek.com dmarc=pass fromdomain=mediatek.com); 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 g16si33030edp.400.2021.09.01.15.13.11; Wed, 01 Sep 2021 15:13:35 -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=T71fK+gx; dkim=pass header.i=@mediateko365.onmicrosoft.com header.s=selector2-mediateko365-onmicrosoft-com header.b=kyNqP5Vh; arc=pass (i=1 spf=pass spfdomain=mediatek.com dkim=pass dkdomain=mediatek.com dmarc=pass fromdomain=mediatek.com); 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 S244104AbhIANfv (ORCPT + 99 others); Wed, 1 Sep 2021 09:35:51 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:56880 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S242520AbhIANfu (ORCPT ); Wed, 1 Sep 2021 09:35:50 -0400 X-UUID: 97da787bd9ab48a08dfcfac729353af7-20210901 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=MIME-Version:Content-Transfer-Encoding:Content-ID:Content-Type:In-Reply-To:References:Message-ID:Date:Subject:CC:To:From; bh=s8eianChBOl0tNeanAZCFNSSqNz+AJ1F38ejQ/LieO8=; b=T71fK+gx2GLpT/M6b5beH/dCPD5W6I6uvgasCZsj1NTCy5MykvneLz0n2unStYtixu0FiZPx7Oma5mFR1ft4oeeYaXfoZ+gqbqoCkvcKPwzYNFtewFuTjKDW0HXaGbPbSnQ/3ysCV8SA23EV4f+ZUXtACleq1s1BYb92LVSqAmY=; X-UUID: 97da787bd9ab48a08dfcfac729353af7-20210901 Received: from mtkcas11.mediatek.inc [(172.21.101.40)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1008223032; Wed, 01 Sep 2021 21:34:49 +0800 Received: from mtkmbs10n1.mediatek.inc (172.21.101.34) by mtkmbs05n1.mediatek.inc (172.21.101.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 1 Sep 2021 21:34:48 +0800 Received: from APC01-PU1-obe.outbound.protection.outlook.com (172.21.101.239) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Wed, 1 Sep 2021 21:34:48 +0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IinmNlIyUDuxfAGrvAIVJubFsA3GmkFDNDf0AnqsgA/ztvptR/eM/k2sHcRkloQLl4PKtsDqE1djPuNkzIH5BLlWRyDkWHCtWG+4znaU3+d5GSPT0W9g7/87/sVIzFJ33sYSWAaEGuq2jx7xlsX9KEUhEmIT6nZQSvy8HOtCadws8WJER/fac3XZzB0MF+toLzHpcJdRVy376llZBp4oDcEL5EQ9JpUonhSl/fbHIRj1pKMlBL/7o4ruYuDybH+PzyjEV5+lbndrMhq8iq/4HOPbd/v/LTjKNz4m1WhwfoMaQLksfrL5ofuawIhQmFxwsVTjOMSoh5YxM8LSlnIULA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=s8eianChBOl0tNeanAZCFNSSqNz+AJ1F38ejQ/LieO8=; b=PypzHr909TH6eYk0SCS24kf7aJrxnfl2UFkDtri3ioW+9fA03Md3toAxwTKud60zkpaxVI+qQnukuJjvy4t0SJ99D/+lyUdX+c6ncfzqk4nE0T4fu+S1+BU+x8uMlsBPIgpLbkwa6ZNyzeo/31PZAjMucaWp77/YMtt3+xN/yfm9rhE1ZStQ+M5PW3Ny4DgnvuCVG8cGiWZlvw4/UfsSeuUr9NCz7jDORqndY8a8HS2ISfSX6+AxOmlBO3vQVYiM3+07y/7RCw4Fvlw0UVIRhZyUWIAYEe1DccG61VtZrqLlBaLyoWfgJv7g4Ce7VUQ0mV7siRqRDqMbOiCkivJP8w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mediatek.com; dmarc=pass action=none header.from=mediatek.com; dkim=pass header.d=mediatek.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mediateko365.onmicrosoft.com; s=selector2-mediateko365-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=s8eianChBOl0tNeanAZCFNSSqNz+AJ1F38ejQ/LieO8=; b=kyNqP5VhWzFn/wQtiskHMivAr0u3m6Y2FFFZ/r7tl0UO99nrvoco7wIqpbXT7PRJya4LZdEP9Y7tHrOt4ojB7omNUKG7A77JMw3nCE9O7x5Xjz66DdzsHW44V5/JwBIMpTXwQQt79MhmlQB/UASb0kxecym7C+nEdbvGHkqupbQ= Received: from HK0PR03MB3139.apcprd03.prod.outlook.com (2603:1096:203:4b::11) by HK0PR03MB3892.apcprd03.prod.outlook.com (2603:1096:203:7c::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.14; Wed, 1 Sep 2021 12:10:40 +0000 Received: from HK0PR03MB3139.apcprd03.prod.outlook.com ([fe80::6595:af4e:bda9:801e]) by HK0PR03MB3139.apcprd03.prod.outlook.com ([fe80::6595:af4e:bda9:801e%6]) with mapi id 15.20.4478.019; Wed, 1 Sep 2021 12:10:40 +0000 From: =?utf-8?B?WW9uZyBXdSAo5ZC05YuHKQ==?= To: "hsinyi@chromium.org" CC: "linux-mediatek@lists.infradead.org" , "robh+dt@kernel.org" , "tfiga@chromium.org" , "linux-kernel@vger.kernel.org" , =?utf-8?B?WW91bGluIFBlaSAo6KO05Y+L5p6XKQ==?= , "drinkcat@chromium.org" , "devicetree@vger.kernel.org" , "evgreen@chromium.org" , =?utf-8?B?QW5hbiBTdW4gKOWtmeWuieWuiSk=?= , "robin.murphy@arm.com" , "joro@8bytes.org" , "iommu@lists.linux-foundation.org" , srv_heupstream , "tfiga@google.com" , "linux-arm-kernel@lists.infradead.org" , "matthias.bgg@gmail.com" , =?utf-8?B?Q2hhbyBIYW8gKOmDnei2hSk=?= , "krzysztof.kozlowski@canonical.com" , "will@kernel.org" Subject: Re: [PATCH v2 11/29] iommu/mediatek: Always pm_runtime_get while tlb flush Thread-Topic: [PATCH v2 11/29] iommu/mediatek: Always pm_runtime_get while tlb flush Thread-Index: AQHXkBCJOXgjCO+qmEuZNYVz7PKI+auCTgcAgAzmkAA= Date: Wed, 1 Sep 2021 12:10:39 +0000 Message-ID: References: <20210813065324.29220-1-yong.wu@mediatek.com> <20210813065324.29220-12-yong.wu@mediatek.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: Evolution 3.28.5-0ubuntu0.18.04.2 authentication-results: chromium.org; dkim=none (message not signed) header.d=none;chromium.org; dmarc=none action=none header.from=mediatek.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d4730a67-5538-4913-a6a7-08d96d4183c6 x-ms-traffictypediagnostic: HK0PR03MB3892: x-ld-processed: a7687ede-7a6b-4ef6-bace-642f677fbe31,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: PH0rX98zsjN+Pi7PdQYlnWg/PJnaZCreQpscloZS/YujdCptzfy+4tBWAq+FFIne9IzrZa7wdzuyKdWfkxkX/EZ8AcFok6rNki5R8LCPyw58W0TIXfp8eXneoYIbTSK5TFlJ+dYYND96SzcYS6j8EhvNBEiBMog45PskkCHRJLfNDoPfcryyenWOWSQPt4IGXV076tMtZAPmnL2dnVkmtgZIgFNLe22xAeJ+eO9+JRLOSmdDTOHRz269MZhaBR8dg8PCNucwQhCcKx7M1A+Wzjt9RSLZRHDP8xVjjYNtvw0KKptNoZGiZRccsrkqJ4pIFUJRNC9XsX8pBEmZSInkj85Uh99T7IzNAbUJYoGpbnqR8YqT5xBX6Rjm1U4je75Tmc2lhrfcidy9a/Vlkt1Oxtmub89bNvzGYDs4YGbaEiBDq/PLsMlrItQe1wzCbrAJuo+g/PZRYqnvAK2v//CL4mfcOGxYhQdwhTDs1fK19sviGUqW9yUhDlarYM29R4+uPIxLMYO5qCDtdQ1PPz3pgwUCTyrFVHLhMcKas3sZn7d2vzu7xkHYj+kTiBlX/RaVBTMQwVwDWb0bTwhpdeZ3hcUd5KBNuJgY4vd4nAFipDqsleDHkdi7kwTEKAfoTSr0jOKYbvh/85b2D7zUH3Tf3JRQNWKHrd7JOVVUj+KxyFHhGlVDpwenuXKgJNAn/rZ8/U363ri58lB/ElVt/pHvRTFVRrGSZXxaEWa2naI58Qk= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:HK0PR03MB3139.apcprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(346002)(396003)(136003)(366004)(376002)(39840400004)(38100700002)(6512007)(6486002)(122000001)(8936002)(186003)(2616005)(8676002)(5660300002)(86362001)(53546011)(54906003)(6506007)(36756003)(38070700005)(316002)(85182001)(66946007)(478600001)(71200400001)(2906002)(4326008)(7416002)(66476007)(66446008)(64756008)(66556008)(76116006)(91956017)(6916009)(83380400001)(26005)(99106002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?Q1I3My9aOGsrL054MXEvZkhBa3dPM2RGdFlmU2VtNnBKb3ozNWVERThENjZJ?= =?utf-8?B?Ni9mU1VwRVFHMUgzS1ErZ3QxVnZ2dmVIc3hCYjlMTmk5VzBMR3VJTUM1MjBa?= =?utf-8?B?K3RDTk5ZT1NZc1lvQ2hiRWZGQmtHR2xDQmt0UUdUMGVPVStJTHB1Q1FRMXIw?= =?utf-8?B?bFA5ZXRLaDZiOWNlWXkzZmxNWm10QjA5eHBFdm12UnZyMHMzTWtUTkVlMUNR?= =?utf-8?B?K001OTVvTEJ1K3JlWDkzQ0NVZ2IwaVptWTJ6dkxXL1dUS003bHZsT1lQbTZQ?= =?utf-8?B?V0J4OGw5RXFMMklHZkhidUZXdEJTSTA2ZUFYSmtmVXBnR2F4dXZ6cFJuTEdk?= =?utf-8?B?bEFweHljZ09sWHVYSEtLOTNzVkwwaGV4RGRGSURCTUdrdU1IUkZqUW0rSk1t?= =?utf-8?B?SEtHZ0JnKzBKSzJqWjFDN2dUTlZaU08zWDdadVoxKzJOWjlvek0wSUwxVlBF?= =?utf-8?B?MXIyUWM4VXBINFdWV3NMODdjendDUHFCdTFWNmlMKzZyUEQ1dU16U29oM1NJ?= =?utf-8?B?UXFTSHAyUXZQVXd6dnNwMis1YVN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mppd1M3c3YzaFVuVzU3bmVXUWF3aEhhc21JN0ZjalZ1WUluU1VlOVY1?= =?utf-8?B?Y3l5ZmNnZWJhRURZZDRMcEl4d1RYRmpmcnpDSVFNSk5seUFhY3BHL3hYRFpU?= =?utf-8?B?bktMeGREcXVLWVViMTlHWEZha1FhMms3dFlZdXp0OHdTcjl1TWV3UzV5SXNJ?= =?utf-8?B?T3pkYlZhem1OekNBVkRjSk1FTzlQcElHT3lHbDZxekIyMmxtL3RFeGplWU5y?= =?utf-8?B?TmtPaGtkSTlFd1BZTTFadEs1UDM5UkFaVnB3N3VFZmFnSE9TMnlIQzUxbTRi?= =?utf-8?Q?8sNKWS5QYqE7TFbfWtNV+JPNW36FBvPSEKvgtG7?= Content-Type: text/plain; charset="utf-8" Content-ID: <76A6BDE1AF302C4498A0BD862B70BA52@apcprd03.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: HK0PR03MB3139.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d4730a67-5538-4913-a6a7-08d96d4183c6 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Sep 2021 12:10:39.5344 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a7687ede-7a6b-4ef6-bace-642f677fbe31 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: R6MEKiIJsf+3CmBQlZgtxzZOQDeIXdjJF7m4Swxj1DzZ4XNUYq+X4dA+Ty4aCXoB0QvUNejFOvdUIZ5OWaa0yA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK0PR03MB3892 X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVHVlLCAyMDIxLTA4LTI0IGF0IDE1OjEwICswODAwLCBIc2luLVlpIFdhbmcgd3JvdGU6DQo+ IE9uI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