Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp4473266img; Tue, 26 Mar 2019 10:03:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqzyB9gLXOmqdf7dK6MdHBa/9jBfA02LjuT2tHBnz0qOVo4TeLLNaA3tSdQezuvA/S84L32m X-Received: by 2002:a62:39d6:: with SMTP id u83mr30777905pfj.161.1553619819147; Tue, 26 Mar 2019 10:03:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553619819; cv=none; d=google.com; s=arc-20160816; b=bgVEILo9H/Ljz67RI750748bouEevrcQGkom9kYL0BOVOSFy2FlTTW6fYdK+cxFShC NdLtgd6c6tq2sLPyS/LQEZIRgX7o5NBl7JePjf8aAwZz0WI55RDJ6UThkGqDTbBG0QBg d1xekbaYqYAqLrkMfLktFrn+M7BhrXmIL1LgbA2VctI8GRYOaetfUcLfe/h3T9Z8Hdqp mj7TxnG0q4/ImDO0rWVZTxLrvJV6J+D7GdThQezhjXbeci+Pazn+6RpLqIrK8XKBBKfa Ur0ahmcprWzd6AFUfSm88VKxSV0fHB8r+49t/XYeMUKPaj397fn8ZpeM5CoM92aZr8t/ 8cDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=w2nYgAJ9Ty9CIN2GpD+r8l5xcxkRCEAc8OEolD3eYV4=; b=LK1K3ubD2ZH0AtqYTqAys1j9Zzvz1rjFr3HNZJuW/HpGrHGQzspqzcapLa1DvT6MwB a8xPbAn4IC2quT9enLsATJWD4YaTjx/KpKfECXWCJJptNnIk2epphhJ+mBtYtDPzedVt ZweH8Fm/bkI8gcMNICdFNTZNBcRclsysIphXsXLz94VEdJAbrKFLFvCiQ+RyaKHSIBIV bHCEG75c1hRF2/D1CCWv54jW53kF1oG27hkTU4w3d17wd/cKiimrOAt/kl3qaPypMBqr WaB9+STzgKi1qKpW1dcPIdxV+Tgy+9wXjok+QsNats6g85LRLNNwsVgW1rHdKYxn41tE VHrA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f3si16630389pfc.158.2019.03.26.10.03.23; Tue, 26 Mar 2019 10:03:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731531AbfCZRCi (ORCPT + 99 others); Tue, 26 Mar 2019 13:02:38 -0400 Received: from lhrrgout.huawei.com ([185.176.76.210]:32915 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729440AbfCZRCi (ORCPT ); Tue, 26 Mar 2019 13:02:38 -0400 Received: from LHREML711-CAH.china.huawei.com (unknown [172.18.7.106]) by Forcepoint Email with ESMTP id 9BC80AAA1A2CD47EC7FB; Tue, 26 Mar 2019 17:02:36 +0000 (GMT) Received: from LHREML524-MBB.china.huawei.com ([169.254.3.25]) by LHREML711-CAH.china.huawei.com ([10.201.108.34]) with mapi id 14.03.0415.000; Tue, 26 Mar 2019 17:02:26 +0000 From: Shameerali Kolothum Thodi To: Robin Murphy , "lorenzo.pieralisi@arm.com" CC: "andrew.murray@arm.com" , "jean-philippe.brucker@arm.com" , "will.deacon@arm.com" , "mark.rutland@arm.com" , "Guohanjun (Hanjun Guo)" , "John Garry" , "pabba@codeaurora.org" , "vkilari@codeaurora.org" , "rruigrok@codeaurora.org" , "linux-acpi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Linuxarm , "neil.m.leeder@gmail.com" Subject: RE: [PATCH v7 2/4] perf/smmuv3: Add arm64 smmuv3 pmu driver Thread-Topic: [PATCH v7 2/4] perf/smmuv3: Add arm64 smmuv3 pmu driver Thread-Index: AQHU4+dvUJ3sjii9L0yKFZA+KetbbqYeIj4AgAAAe4A= Date: Tue, 26 Mar 2019 17:02:26 +0000 Message-ID: <5FC3163CFD30C246ABAA99954A238FA8393296D1@lhreml524-mbb.china.huawei.com> References: <20190326151753.19384-1-shameerali.kolothum.thodi@huawei.com> <20190326151753.19384-3-shameerali.kolothum.thodi@huawei.com> In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.202.227.237] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgUm9iaW4sDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogUm9iaW4g TXVycGh5IFttYWlsdG86cm9iaW4ubXVycGh5QGFybS5jb21dDQo+IFNlbnQ6IDI2IE1hcmNoIDIw MTkgMTY6NTgNCj4gVG86IFNoYW1lZXJhbGkgS29sb3RodW0gVGhvZGkgPHNoYW1lZXJhbGkua29s b3RodW0udGhvZGlAaHVhd2VpLmNvbT47DQo+IGxvcmVuem8ucGllcmFsaXNpQGFybS5jb20NCj4g Q2M6IGFuZHJldy5tdXJyYXlAYXJtLmNvbTsgamVhbi1waGlsaXBwZS5icnVja2VyQGFybS5jb207 DQo+IHdpbGwuZGVhY29uQGFybS5jb207IG1hcmsucnV0bGFuZEBhcm0uY29tOyBHdW9oYW5qdW4g KEhhbmp1biBHdW8pDQo+IDxndW9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