Received: by 10.213.65.68 with SMTP id h4csp2430026imn; Mon, 2 Apr 2018 07:27:19 -0700 (PDT) X-Google-Smtp-Source: AIpwx49hmXlsjCS7H1vrVERSnVt206ts6EuwDsQjgIH+eKmAkMXdYaBxmi2x6xjsOobq0zY5hMFs X-Received: by 10.101.96.141 with SMTP id t13mr6578175pgu.222.1522679239383; Mon, 02 Apr 2018 07:27:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522679239; cv=none; d=google.com; s=arc-20160816; b=ND7kYe77e1GPiglhOptYdvBLeJ/CBJb/LKfnwIUfBMhUAUrSG0WYYUIytYrVwIjUP5 yz5aCQ02WFF67CEfao/GbWTbx7aPwQJU19jh7Q3UpM2RXf+5DAABjtdXpUWSiFrg6/MM a3qA/LTNaYCqSqw84c0USHe6ryFHEzr6E35pkzaT1JNMWYuRSwCDE3NSALhAzvmoc1EQ 7M7v4mpapf0XchG+w+fk0z317hdnlGaB3GXPUhPz5r0uPcj9+JQ3D5zb7ZpMIUT+7ubP 2ZDGCS8pEWrA5DL6k3uinXyPJp+PTy5TfLuIbrNfe7I87LBnTayry77TFAoNejBJgXzP yVuQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=4ardZpXeEpUuhLQRbO4c+3yuEu7wV1KmeMeZZtTOSr4=; b=kTshxmZR9IQiV64+OTBvZ/bnZHdCVD8Akft2dVs5FN9Dom+O9YJjydZhU7fCGqMYEs IP4tcuM225MtTdCuAiDQC5MqURnc7viwdbgp9kSGAXQ6NJmqb+FpOI6u9f0Xyty0qhKS /jXkMV8C4Jk+OZSnRK/KkySJnQa+CbwRZ/MT5jjIboiHrG0kAPePR4sk3nwzPxibs5ZJ krUIwc1mR8IIZC5M89ySwVuwouLr6ES77FoFwDB5UjqzkljovV31hDNCWxmSxFCggFtg IEHZ95n1DpoeLADitHK5KfiNrdyCA4sL1LuNwQ+zj8iV2zwFghflFXl30J84gJjWYCyT hK6Q== 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 n20si254061pgc.508.2018.04.02.07.27.03; Mon, 02 Apr 2018 07:27:19 -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 S1752023AbeDBOZx (ORCPT + 99 others); Mon, 2 Apr 2018 10:25:53 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:6721 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751418AbeDBOZu (ORCPT ); Mon, 2 Apr 2018 10:25:50 -0400 Received: from DGGEMS401-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 6BEE1F61F8497; Mon, 2 Apr 2018 22:25:33 +0800 (CST) Received: from [127.0.0.1] (10.177.223.23) by DGGEMS401-HUB.china.huawei.com (10.3.19.201) with Microsoft SMTP Server id 14.3.361.1; Mon, 2 Apr 2018 22:25:24 +0800 Subject: Re: [PATCH 2/2] perf: add arm64 smmuv3 pmu driver To: Yisheng Xie , Neil Leeder , Will Deacon , Mark Rutland CC: , , Mark Langsdorf , Mark Salter , "Jon Masters" , Timur Tabi , Mark Brown , Agustin Vega-Frias References: <1501876754-1064-1-git-send-email-nleeder@codeaurora.org> <1501876754-1064-3-git-send-email-nleeder@codeaurora.org> <883d32ce-6581-ecf6-5088-ecb238322ebe@huawei.com> <14f90cc6-f2c1-5a63-67c6-a5c8ddb4799e@gmail.com> From: Hanjun Guo Message-ID: <66ef3bf4-9550-94c7-f8ad-ee53d6c75025@huawei.com> Date: Mon, 2 Apr 2018 22:24:41 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.223.23] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018/4/2 14:37, Yisheng Xie wrote: > Hi Neil, > > On 2018/4/1 13:44, Neil Leeder wrote: >> Hi Yisheng Xie, >> >> On 3/29/2018 03:03 AM, Yisheng Xie wrote: >>> >>> Hi Neil, >>> >>> On 2017/8/5 3:59, Neil Leeder wrote: >>>> + mem_resource_0 = platform_get_resource(pdev, IORESOURCE_MEM, 0); >>>> + mem_map_0 = devm_ioremap_resource(&pdev->dev, mem_resource_0); >>>> + >>> Can we use devm_ioremap instead? for the reg_base of smmu_pmu is >>> IMPLEMENTATION DEFINED. If the reg of smmu_pmu is inside smmu, >>> devm_ioremap_resource will failed and return -EBUSY, eg.: >>> >>> smmu reg ranges: 0x180000000 ~ 0x1801fffff >>> its smmu_pmu reg ranges: 0x180001000 ~ 0x180001fff >>> >> Just to let you know that I no longer work at Qualcomm and I won't be able to provide updates to this patchset. I expect that others from my former team at Qualcomm will pick up ownership. > > Thanks for this infomation. > > hi Agustin and Timur, > > Is there any new status about this patchset? I think we need to wait for the new version of IORT spec, which includes the fix for the two base address for SMMUv3 PMCG (now just represent one). Thanks Hanjun