Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp145309img; Thu, 21 Mar 2019 16:18:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqwveF9WGmG1kvS1kFa7LrhypMbF+nRs6XnGeM+V+CbcmS7TmaOLlIs6zSsT3aswlwRsPUBB X-Received: by 2002:a17:902:6b05:: with SMTP id o5mr6216689plk.90.1553210327686; Thu, 21 Mar 2019 16:18:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553210327; cv=none; d=google.com; s=arc-20160816; b=s6E5K2Nl3xHyIvILYFzaOgfDONJd8tAQ9pU+CRaPuD3gwwdckGTyu8X+DJjWBGBlgd NnIYdlvHzHaDBIwH8viKhh32AAs1zp0BHesDiuGgusTbpTPqDzgv32UXC3BlbzVD58w/ 0v3QYhCDYUuhUuDf1+aUS+vGvEqx7WJgX63sIXpPx9bOoE8vEFyPrv2aCtOd1y3Jn8vm zb+AtwYSgorcGYAG0zfNbNeW27eIQzG+VSmay8T08bTATJKp46J3kmd1MuCZD6++0pXZ utDdrZN1aTWtwsdm3LDqA4AvetICrgzlvEm4VrE0pYTRPLn7CdEPEIwZ05xJNAuvXG1p VZ6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version: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=EZVwL+PEmpNPdqMAqXs8MuUv+eQAQpe/VrJN2rOs4vY=; b=Zn5dytZ8UrRvxc3mxwoGpmMPi4iuGQf+hX2/B0Yu6TP/PCLFHw1YegOU2o0fiXw0sK 7gfA8rEBXv8EHR/KumDlrhi7u7iO5POBeKRdG/uSvNCFu3x2K9dfKsPbnKbb2wCAzKFh mxy1vOoNMA6+AUP68wRKOvLGAB8tg5zq3m+JBMvNQdNoZjqoERyHweBLvdjhLLp0pkIc MbSRDR32f9eBWZu7jkzA6P+YzTPNnHbz7HtCyxIc2l0xf8sJ2Kml7ApDGvVEvfTTQ+SH +wGSgapVF0i6xvgUr3WHSRmD0oS8s/4YpyodeB69bT/HHog7B+cSkDtvEKSAIDQ77Fa6 dCTA== 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 s10si5102114pgp.564.2019.03.21.16.18.29; Thu, 21 Mar 2019 16:18:47 -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 S1727487AbfCUXQU (ORCPT + 99 others); Thu, 21 Mar 2019 19:16:20 -0400 Received: from mga07.intel.com ([134.134.136.100]:54160 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727251AbfCUXQU (ORCPT ); Thu, 21 Mar 2019 19:16:20 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Mar 2019 16:16:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,254,1549958400"; d="txt'?scan'208";a="157200803" Received: from orsmsx110.amr.corp.intel.com ([10.22.240.8]) by fmsmga001.fm.intel.com with ESMTP; 21 Mar 2019 16:16:19 -0700 Received: from orsmsx101.amr.corp.intel.com ([169.254.8.133]) by ORSMSX110.amr.corp.intel.com ([169.254.10.179]) with mapi id 14.03.0415.000; Thu, 21 Mar 2019 16:16:18 -0700 From: "DSouza, Nelson" To: Peter Zijlstra CC: Tony Jones , Thomas Gleixner , Stephane Eranian , Ingo Molnar , "Jiri Olsa" , LKML Subject: RE: [PATCH 1/8] perf/x86/intel: Fix memory corruption Thread-Topic: [PATCH 1/8] perf/x86/intel: Fix memory corruption Thread-Index: AQHU2meCJVx8rY9sAUm4QKznrmaLf6YS+ruAgABNOYCAAHF+gIAACAKAgAG7WACAABqBAIAA702AgABE+YCAAAcDgIAAAb6AgAARpoCAABcZgP//i2fggAB7WAD//7y0YA== Date: Thu, 21 Mar 2019 23:16:17 +0000 Message-ID: References: <20190319182041.GO5996@hirez.programming.kicks-ass.net> <20190320222220.GA2490@worktop.programming.kicks-ass.net> <20190321123849.GN6521@hirez.programming.kicks-ass.net> <20190321171047.GR5996@hirez.programming.kicks-ass.net> <20190321182011.GT5996@hirez.programming.kicks-ass.net> <20190321200700.GD2490@worktop.programming.kicks-ass.net> In-Reply-To: <20190321200700.GD2490@worktop.programming.kicks-ass.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNmU3YjFmMDktZGNjNi00NDcyLTkyYjktNGY2YzYyZDNjYzllIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiZFlDNE9YWktFUG8zYm9KSDFXRkF5a3BZamxhQkYyYk5ENkN1T1NyRGFIMldzQndaZWxXd2huV3R3bEU2SVRKRiJ9 x-originating-ip: [10.22.254.139] Content-Type: multipart/mixed; boundary="_002_BC9B17E68BB84346BEE0B491BDB7D8AE28A6A801ORSMSX101amrcor_" MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --_002_BC9B17E68BB84346BEE0B491BDB7D8AE28A6A801ORSMSX101amrcor_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Attached cpu hotplug test output while perf is running in the background. N= o WARN messages seen. When I run the kexec command, it boots to bios. Haven't used kexec before. = Still trying to figure that one out. -----Original Message----- From: Peter Zijlstra [mailto:peterz@infradead.org]=20 Sent: Thursday, March 21, 2019 1:07 PM To: DSouza, Nelson Cc: Tony Jones ; Thomas Gleixner ; Step= hane Eranian ; Ingo Molnar ; Jiri Ols= a ; LKML Subject: Re: [PATCH 1/8] perf/x86/intel: Fix memory corruption On Thu, Mar 21, 2019 at 07:47:50PM +0000, DSouza, Nelson wrote: > Is the request to check whether the msr gets reset to default upon reboot= of the machine ? basically: - apply patch - start workload with 4 counter (on all CPUs), such that tfa-msr=3D1 - try the following: o cpu hotplug o kexec to see if the new WARN will trigger -- it should not. --_002_BC9B17E68BB84346BEE0B491BDB7D8AE28A6A801ORSMSX101amrcor_ Content-Type: text/plain; name="cpu_hotplug.txt" Content-Description: cpu_hotplug.txt Content-Disposition: attachment; filename="cpu_hotplug.txt"; size=921; creation-date="Thu, 21 Mar 2019 21:02:48 GMT"; modification-date="Thu, 21 Mar 2019 21:02:48 GMT" Content-Transfer-Encoding: base64 DQpyb290QGpmMS1vdGMtM0FSMy0zMzp+IyBjYXQgL3N5cy9kZXZpY2VzL2NwdS9hbGxvd190c3hf Zm9yY2VfYWJvcnQNCjENCnJvb3RAamYxLW90Y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