Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp347347rwb; Tue, 6 Dec 2022 22:26:10 -0800 (PST) X-Google-Smtp-Source: AA0mqf6ZUZIIGRAxkUR+zaDwBBv4DFgvFl1/O8e8kSinWXfGNLSu8Dpj41RkYt9HFtXql1qUDeLM X-Received: by 2002:a17:907:874f:b0:7b5:e91:adf9 with SMTP id qo15-20020a170907874f00b007b50e91adf9mr49855950ejc.277.1670394369874; Tue, 06 Dec 2022 22:26:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1670394369; cv=pass; d=google.com; s=arc-20160816; b=uAUODzTKDVT1voGOHwER9Z7j88WR2Y6Gpai3uuyrC13oJPV3S4Kk/RoDXnaUfRujd5 wwXmdtZPbCZ4EWVZl3dq7SrjP/dpMztL59zG8rx4jJUOSDyKslkgE+pRuw/X2K/7lgCQ 2CZGSFagWn/MotQyeD5/bkpan41cUHi2oRx464mG253UUVbjmJW5IT9l8tzHf81eXp8L XyOaGe4sjblx/GL6YKGMfSemAMligLQ6o1YTwqMpE4qTKgFgUwRbwEE8X4gzPgWDUk4v eozTOOHUUE1ku8mOVVUq+b8J8kUho3TGvp0EGDq6+Olxpcr66VJY5oKfbeQ1XlIE9BqB xozQ== 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 :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=UVpyRhXpGfj2hOJeuNflRT0tuqbYb8AVy4T41qZHm+w=; b=mlJI4iDP1qI7VTCIco/MAsogsDBmfCOKtH9BObfniTd/t92RBKM3jZbd3f18ne2fwR yIWnsDuHYioGtyhaLJbDiYgnVNgHfUCnglFHXDyRDbOk6VoQjq009l6oocLHqcf/pJPs 7h3+O2i374Era+pLeG7625thOtNmgwTvL2wl4zCjcQxHh6lKESjak6nzVH+bbZ7w79UK QhwBEDxWrQYmxNtzIS/HkKpKDv6JoDHp+rZW+/CX8PIrP1ngsSFzzp4vGSjB+8q+bRB4 HRgisiRrn1Dn8VfgClCflpRe1z0u48N6lMT2OwAkOJH5zcdThd9P9EAqK/IRVo8QIp8A xkhw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=GyZlhDlT; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w17-20020a056402071100b0045d4a88c735si3224966edx.220.2022.12.06.22.25.49; Tue, 06 Dec 2022 22:26:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=GyZlhDlT; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229827AbiLGF5u (ORCPT + 76 others); Wed, 7 Dec 2022 00:57:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38310 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229812AbiLGF51 (ORCPT ); Wed, 7 Dec 2022 00:57:27 -0500 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2040.outbound.protection.outlook.com [40.107.236.40]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C239F5C0C2; Tue, 6 Dec 2022 21:55:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HWbiPcJQv53Io/+0BgL498V/8NylVZuP17tNOkBwe5Xdsj/gNRcwL1jiITequo7ZQyTLgSZ9jq5iCcZ75SBN84g3tEelqHsEd3q5a9KDvgER0RXWJFwqh5yM3+01C/WUVxoEp1er9DGckbnB9IPk/bMcUOD1gFMgEq1NFkrieWBbyW7J1YUJ1o++PTAk7DT4NSE20CNW7p28IJAjWNWrbUFZ66NdASvrMw9nNWuMITzs5GUNHPBuiKZWK5iRjB+JrHz9VXL0R9NAE4B9MuYLIaUwyxqcLHMta48ZoC6pqQ/bqRtKVYiXTn2lTPiVEseBPs10dR9DzDyBmYOeOZ8C0w== 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:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=UVpyRhXpGfj2hOJeuNflRT0tuqbYb8AVy4T41qZHm+w=; b=STELbFkuLbaXrbx8yxo76lN8jl8YragNRvoP3nqU2zT/121L2+yJFJ5RNmYgH9ElDokRQhP0ZOT+PbLWI4rQPh6HYoB9/guOKCO+fqN94coDDKY117aONFFrlA7GWcgT/qxtWlcmbpye7jXWmnvvQLAqrj7Lr08OkXA4jBVCyLpLHXxzFZv96yCGHKBrXarOFuam31yQ0v8wOA3dxd0WUfAr23ryQNiWRpVreI9SnPYypTHkOyrysgMMRdToVWY1VoH4kWhd9JKGESNRDcVDxJoIgjpwC6iu3GBWDHoLdwPnXQfEKsAEO4cwhcU8PAcTC9tlcNaYPejH3E//AtsZeQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UVpyRhXpGfj2hOJeuNflRT0tuqbYb8AVy4T41qZHm+w=; b=GyZlhDlT2H8/SEhltRuSzXfO+sDjlE6JacyM6TeT+MF4gTANodAh/hTVbSbN0m2BMHkuWUcABPii45O4UCyg49v/po9IsKKi7G/0W+17aZabjjMc0MXwLiynmJwv6Xi5y8K90G3uPbrSYPVciK+9mD8rXs4eBCgz+O1BBI1RAgQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from PH7PR12MB6588.namprd12.prod.outlook.com (2603:10b6:510:210::10) by BN9PR12MB5225.namprd12.prod.outlook.com (2603:10b6:408:11e::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.14; Wed, 7 Dec 2022 05:55:10 +0000 Received: from PH7PR12MB6588.namprd12.prod.outlook.com ([fe80::aa5f:5f2c:4143:f981]) by PH7PR12MB6588.namprd12.prod.outlook.com ([fe80::aa5f:5f2c:4143:f981%8]) with mapi id 15.20.5880.014; Wed, 7 Dec 2022 05:55:10 +0000 Message-ID: <1f4b2477-722d-0ffe-20a2-eba0661da613@amd.com> Date: Wed, 7 Dec 2022 11:24:54 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.3 Subject: Re: [PATCH v3 2/2] perf test: Add event group test Content-Language: en-US To: Madhavan Srinivasan , Athira Rajeev Cc: Arnaldo Carvalho de Melo , Kan Liang , Ian Rogers , Jiri Olsa , Namhyung Kim , Peter Zijlstra , Mark Rutland , Adrian Hunter , Alexander Shishkin , carsten.haitzler@arm.com, Leo Yan , Kajol Jain , Thomas Richter , linux-perf-users@vger.kernel.org, LKML , sandipan.das@amd.com, ananth.narayan@amd.com, santosh.shukla@amd.com, Ravi Bangoria References: <20221206043237.12159-1-ravi.bangoria@amd.com> <20221206043237.12159-3-ravi.bangoria@amd.com> <2e45a93d-56fd-b18e-de61-51ceccfee8a3@amd.com> <2f0f83f3-91a9-a719-c36e-ca1ff5c9b6f8@linux.ibm.com> From: Ravi Bangoria In-Reply-To: <2f0f83f3-91a9-a719-c36e-ca1ff5c9b6f8@linux.ibm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: PN3PR01CA0140.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c01:bf::12) To PH7PR12MB6588.namprd12.prod.outlook.com (2603:10b6:510:210::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH7PR12MB6588:EE_|BN9PR12MB5225:EE_ X-MS-Office365-Filtering-Correlation-Id: 04bd5308-8943-4c99-2b9b-08dad8179981 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 15s8zu8imLjQqctHKjTDRAcRXVAZUIUap1xRRCNI9f3n7Di2xr8WIXv6TyqtHomulci+djTdGnfneC/K0JWmteMmL6/eB5UvjZ+1yw93vk9QKLuOncZytw7rNsqg4IoB69/0/gZIPz32x017IOTvYgb56LvAYS9TV8cHWjwoz37ee5+B50X3IzDF3/966f42iEzx73ivcb0FX8xvTRrkBjLUoq+IwSt+gHbgmGAq56prE9X6VmfKxN8pIb4bRyAXGokOHwYvLdK1iEdZAdAn8xrJU/2G0hZCjZV/9UN4Bbu1vS1KIiWEr9jGyG30fkjS0Nn3S2UlmAa++Kj7mOwF6XZZQ4ODW+HbkMo2xMVQKtagIUa1J3UYYErYF4zBsuHN6+SJE2Y/qaUGQP2mEUwutbmw+9aEgvZHV73JxTThfduYA6p71NUfbL6JhkLdWsAvLV0hNHSYYgPGC7vZFlG4dGo+FmiUAwAtWaJHXEQfY08SYTu3J8BHh5AAyBObfgB8C2VsMLJg+EWFN/QlJHfHGFzcGTtQ/YBfzrge5yBTYTv1yVheU0+Iczb1kxHbdnv7STppzxF6aTe/aRiTOceCywmlqh2X8GnfDM75W1hUYtG50r3AvFj1bpLSfhxP3FN3Bx/DtTKa+IkubNeqkKiFm/De+PLOjwN7gHuo1MdiMmxowy2xbeaqB4lvgXVuRUzWxDMK+4rscwEHyBPhllysehvJTIb5mfvAz1IUbU47rhY= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH7PR12MB6588.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(136003)(346002)(376002)(39860400002)(396003)(366004)(451199015)(86362001)(83380400001)(4744005)(8936002)(7416002)(2906002)(44832011)(4326008)(5660300002)(6512007)(8676002)(26005)(6506007)(66556008)(6666004)(186003)(41300700001)(2616005)(110136005)(66946007)(6486002)(66476007)(38100700002)(478600001)(54906003)(316002)(31696002)(36756003)(31686004)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?UzVTSGdoS0NRMnJxMDMyYlJmOTlqY1JLdUVJampwV0V6V0tGMXg3UmFTbU1I?= =?utf-8?B?RVZqd2xxNUxFYlJXQmRQQlNNL2hWS2FweGtiQW9EYW1hcWZFNEZoSWovSHYx?= =?utf-8?B?MEp2QmlLbHZTUENMMFJ5OXFtbUVDRGd1NkRkYnpNMTJrRm43VXRORy9hMlRQ?= =?utf-8?B?WnNvUGxCL3g0UFN4Mk5WOE9OcXMrdWsrbldyRGUya2VpV2hTL25VZWZMWW1Q?= =?utf-8?B?TWlJSnJrY1MvYXpRbVUySldGVjBMQzNLTkE1TUMvbzJvc3JRNXJmSmVVeS9o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Ghmb25Pcm8vUmtKc2VvYURjYkN5V2hn?= =?utf-8?Q?cC2hjRnFJVbhIA0U7ErMw5E3t?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 04bd5308-8943-4c99-2b9b-08dad8179981 X-MS-Exchange-CrossTenant-AuthSource: PH7PR12MB6588.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Dec 2022 05:55:10.1010 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: miR1suJz0yDxAHG2boIAV3OXU6NSz8+JeFbj0qboVSa9JooBvmizDX04E1FvidbyezlVCqY5hWe/3SdSUlil0A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR12MB5225 X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >>> Event group test checks group creation for combinations of >>> hw, sw and uncore PMU events. Some of the uncore pmu event >>> requires performance enablement explicitly. >> You need to open an event to activate hv_24x7 pmu? > > hv_24x7 pmu supports events which can also provide system-wide resource data > and partition should have permissions to access those, hence the check. Ah ok. Got it. Thanks, Ravi