Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3000756pxk; Tue, 15 Sep 2020 07:44:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyY08slj/tKSFnpRInqlDdU60G73cJPJDh9hw80TzqJLIJCMcyoR5f9PY/91IAt5zzxGj2S X-Received: by 2002:a17:906:6ce:: with SMTP id v14mr19829234ejb.451.1600181095269; Tue, 15 Sep 2020 07:44:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600181095; cv=none; d=google.com; s=arc-20160816; b=uZ3vAWAJxuGT6n6Ns4AxSm/8TY2a6LyhJOhsv8R1fjM3bdmOvEg5y+hbr+CMFChEZH /5bwzfxl/UT5wqigfwr4ZCRygIa8zl0FwUnLiheiVGoYS1a18qzUh4XQXlkKy3lrskWG PR+v19H3vjuKRrvnfX3X9rlV5iZFLbiREx+sOXAdGYDpfm/I64Ndf4ie46X7uQ0sWybc hMKmiPtm0hNMlVGGUM1qL6vqAQecR4Q08za+saS76T5fH7IvI2XKkZNQ0kE8lDZZ1/FX lV3jaxvTjTWc+UTUWisK2P0pgu7DZvNITjs3gIYH+z8ZREzs92hY1rx+FghqvDmikVX5 jF6g== 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; bh=K0ZFld8Ak4n2u2Tsxki8w8NzKxtDOMKER9EESo2mBVQ=; b=v+oNqENZhpAvrIvEL1az94caSxnScMeHidMk/ipo6Daa9AzNIk/+esJvb50FO+M6q7 nllEfZBSKlL0NVj/k0HziOpHykzmIEO/a4s9e1yy7rtmbMwNYDdhAV3lK2zPyI2YLtpl nCIallQSYC7ptxxkPjJUbeo6nofSXZxMJEJKSBzReQAHkFFW6JOiuSnnjdy6gwA4RRoo /tylX4g98mHXVX3GXnvYrM7ZrU9jKjOmAD2w0zmsBPq28ZWEq4Thi2uCF2E3ER9rPBNs bzyfz9UT+idfqspyQlbjGCICKOA1VNRCrmCeOgghVafad0H5uqsVHesS+iz83CP0OGht RUfg== ARC-Authentication-Results: i=1; mx.google.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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x9si9862734edv.540.2020.09.15.07.44.32; Tue, 15 Sep 2020 07:44:55 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727279AbgIOOks (ORCPT + 99 others); Tue, 15 Sep 2020 10:40:48 -0400 Received: from foss.arm.com ([217.140.110.172]:36896 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726418AbgIOO2n (ORCPT ); Tue, 15 Sep 2020 10:28:43 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 1D46A101E; Tue, 15 Sep 2020 07:28:09 -0700 (PDT) Received: from [10.57.48.219] (unknown [10.57.48.219]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id EE18A3F68F; Tue, 15 Sep 2020 07:28:07 -0700 (PDT) Subject: Re: [PATCH v6] perf: arm_dsu: Support DSU ACPI devices To: tuanphan@os.amperecomputing.com Cc: patches@amperecomputing.com, will@kernel.org, mark.rutland@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <1600106656-9542-1-git-send-email-tuanphan@os.amperecomputing.com> From: Suzuki K Poulose Message-ID: <7219baa4-e813-9177-4a17-3aece89ae851@arm.com> Date: Tue, 15 Sep 2020 15:32:50 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <1600106656-9542-1-git-send-email-tuanphan@os.amperecomputing.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/14/2020 07:04 PM, Tuan Phan wrote: > Add support for probing device from ACPI node. > Each DSU ACPI node and its associated cpus are inside a cluster node. > > Signed-off-by: Tuan Phan --- > Changes in v6: > - Fixed warning with no CONFIG_ACPI. > > Changes in v5: > - Used CONFIG_ACPI to fix compiling issue. > > Changes in v4: > - Addressed Will's comments. > > Changes in v3: > - Based on the latest ARM ACPI binding at: https://developer.arm.com/documentation/den0093/c/ > > Changes in v2: > - Removed IRQF_SHARED. > - Fixed ACPI runtime detection. > > drivers/perf/arm_dsu_pmu.c | 63 +++++++++++++++++++++++++++++++++++++++++----- > 1 file changed, 57 insertions(+), 6 deletions(-) > > diff --git a/drivers/perf/arm_dsu_pmu.c b/drivers/perf/arm_dsu_pmu.c > index 96ed93c..98e68ed 100644 > --- a/drivers/perf/arm_dsu_pmu.c > +++ b/drivers/perf/arm_dsu_pmu.c Reviewed-by: Suzuki K Poulose