Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp27319ybh; Mon, 9 Mar 2020 15:23:58 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvKiACGdOYA2C3xPpKTOVI5N3+ERQX9BWU0dP0u5uEGTjPN3QXMMS/irTcJqVNfmMBFIrRE X-Received: by 2002:aca:bfc6:: with SMTP id p189mr1029371oif.21.1583792638163; Mon, 09 Mar 2020 15:23:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583792638; cv=none; d=google.com; s=arc-20160816; b=CJE8df0fRNB+xW70EX8hBQAzv1g+KWfvf8cAiAXTke+19oYc2ujnbt3Ek/0xSlQFDa E0Wy3kUz7zmVBS4KMSuyVFNVtNXXaqZyr0m5SXxd+iR1HrK423xaCOiL5uYzBgKxL8YQ BWEvpSdkHg9QndRjK5FuGzzFIjJkdpBJVWhRW2LsdikT7IJ/J+soSg0g8pbQHxILGxuT Iq/pSN+Sa+iJLCVK88VmeQyJRcEOg7v0BS9G2E/Sd44LpvCMoQqVIINa7FFAi3UvYF59 STr1FeyLooig6DBuS3SNl4VLMdG8UVshbDZGHTnFUcvljCS2DpxuXusR5TpwoNsXW9yv pqgA== 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 :dlp-reaction:dlp-version:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=gLUFiMIoREhJA5LFmddK6HnP7M2xW7G/kbOjsXCKKL4=; b=aNG9lDZ3tY8wgSYTKZxCtC1lZqi+C/xOfeyl89cVgnL+uFoGZX7s240szTRzHoqdmp MT1NReBtsNJWuuosfDp/NUN1L6gIQlzAZPafy9yzxnzGNTNV6QkTUg3Lz1aUGDRBdxMU pnNpFPRsTyWh7tlvd6GPoMCco6f7CyZAtfLXF3Tamb5qKSTQSBdajKNL80WPlx+7Kq4u UgDAiVL8Jc1aYH8eu8c1I4GeQMzi/jx9mCYRd+jlnFv8HJ8z0TjPWcrB2oh5wN8KyHW9 UKx11Aoh4sDiTr4UDXEqWFSpQ0pvd91x3jQA19+EB5nBtKrbwtWpA6xff3Aav9RTtIfP vrdQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t126si4724291oif.127.2020.03.09.15.23.42; Mon, 09 Mar 2020 15:23:58 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727202AbgCIWXA (ORCPT + 99 others); Mon, 9 Mar 2020 18:23:00 -0400 Received: from mga02.intel.com ([134.134.136.20]:12620 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726536AbgCIWXA (ORCPT ); Mon, 9 Mar 2020 18:23:00 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Mar 2020 15:22:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,518,1574150400"; d="scan'208";a="321577304" Received: from orsmsx104.amr.corp.intel.com ([10.22.225.131]) by orsmga001.jf.intel.com with ESMTP; 09 Mar 2020 15:22:59 -0700 Received: from orsmsx114.amr.corp.intel.com ([169.254.8.140]) by ORSMSX104.amr.corp.intel.com ([169.254.4.192]) with mapi id 14.03.0439.000; Mon, 9 Mar 2020 15:22:57 -0700 From: "Prakhya, Sai Praneeth" To: "Chatre, Reinette" , "shuah@kernel.org" , "linux-kselftest@vger.kernel.org" CC: "tglx@linutronix.de" , "mingo@redhat.com" , "bp@alien8.de" , "Luck, Tony" , "babu.moger@amd.com" , "james.morse@arm.com" , "Shankar, Ravi V" , "Yu, Fenghua" , "x86@kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH V1 01/13] selftests/resctrl: Fix feature detection Thread-Topic: [PATCH V1 01/13] selftests/resctrl: Fix feature detection Thread-Index: AQHV9DL72y2lBowYF0OswuZ3RsHuuahBROGA//+RIaA= Date: Mon, 9 Mar 2020 22:22:56 +0000 Message-ID: References: <7e3e4b91f5786a489e68eecda21e1d8049b60181.1583657204.git.sai.praneeth.prakhya@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.22.254.140] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgUmVpbmV0dGUsDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogUmVp bmV0dGUgQ2hhdHJlIDxyZWluZXR0ZS5jaGF0cmVAaW50ZWwuY29tPg0KPiBTZW50OiBNb25kYXks IE1hcmNoIDksIDIwMjAgMjo0NSBQTQ0KPiBUbzogUHJha2h5YSwgU2FpIFByYW5lZXRoIDxzYWku cHJhbmVldGgucHJha2h5YUBpbnRlbC5jb20+Ow0KPiBzaHVhaEBrZXJuZWwub3JnOyBsaW51eC1r c2VsZnRlc3RAdmdlci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