Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp754419img; Mon, 18 Mar 2019 13:30:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqxOxXnyxsnzZWlBCzBY40Fze3cCj/2m1M/Jtunjo8YCWXdxlYPWVWBDmLd7DyqSqisTUjZ7 X-Received: by 2002:a65:40c5:: with SMTP id u5mr19169632pgp.275.1552941042088; Mon, 18 Mar 2019 13:30:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552941042; cv=none; d=google.com; s=arc-20160816; b=N5RegogZpy4Ee8PQv2aw8Pk1W6HxdngeUi3wqrNAG0IAVLyCcNVaHcm5ynhnCsNppc GYK0tqXxWpHfYHFrxjuL2vZkys59WEtmq+hOsKXo9gJpohunfdBlLUU6LgpSN6zlkIHY J7FFi+PEB+c5R0nY7Ay0oBvfSkdyRsHg3YF20NdMBgqmm9aH2Uc/lDWzPyECSowEj0Hd ej+cOelwIRAEMkadyeO80jBkqlJ1pEpuXZvoBGzKWC+vT3gso5QLHBrOF93Kju3zo0vJ Juz6gA4kGTJSen1fTDHkxzjlx5o2IlnIhUoo8ES7sSUty22K/jszHU4QDYnks/wmUJfn C9Bg== 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:references:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=9ygoYknYfP3nM9/e1IHn2Ee/lWs4kSH+uU0v4vnxP94=; b=W5g2cvBTUzfEXnXHxFMqE9Xhj35ONu89GujDM9UmGDBQ8zoNStbqIJelImz+Otl2MI Rsn46FwlJcHyiGJWPkITdzksF3fwSsE2Y6E77bwA2Zz03XoZoxeqmsWNKBVdY2rpm8WX BbzVzExyR+qFUyGQCPiuq0g/8NNJ+MHTINnPNUXDOxFnmjKarZgCedAB2g/50kgZ8Sn2 ztDeJas4zGMTr1vpjUj0i3qMFrZz85j+rsc7ls5MRtK+VER/WcFhFRWv7CX0FV13ELvY 85URTXtAcznqJ1bXtOf38YHLsM84f/e6fAj5/D8M60kCLgBoXhyauktPh2Tvrxs87zaG NNPQ== 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 61si10458748plq.154.2019.03.18.13.30.26; Mon, 18 Mar 2019 13:30:42 -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 S1727789AbfCRU3j (ORCPT + 99 others); Mon, 18 Mar 2019 16:29:39 -0400 Received: from mga06.intel.com ([134.134.136.31]:43060 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727193AbfCRU3j (ORCPT ); Mon, 18 Mar 2019 16:29:39 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Mar 2019 13:29:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,494,1544515200"; d="scan'208";a="329757621" Received: from orsmsx105.amr.corp.intel.com ([10.22.225.132]) by fmsmga005.fm.intel.com with ESMTP; 18 Mar 2019 13:29:37 -0700 Received: from orsmsx101.amr.corp.intel.com ([169.254.8.133]) by ORSMSX105.amr.corp.intel.com ([169.254.2.119]) with mapi id 14.03.0415.000; Mon, 18 Mar 2019 13:29:37 -0700 From: "DSouza, Nelson" To: Greg Kroah-Hartman , "linux-kernel@vger.kernel.org" CC: "stable@vger.kernel.org" , Tony Jones , "Peter Zijlstra (Intel)" , "Thomas Gleixner" , "eranian@google.com" , "jolsa@redhat.com" , "stable@kernel.org" Subject: RE: [PATCH 4.14 31/34] perf/x86/intel: Fix memory corruption Thread-Topic: [PATCH 4.14 31/34] perf/x86/intel: Fix memory corruption Thread-Index: AQHU3W4CxBpVHj9eWUWGK6VdnZAdN6YRsl2wgAAjrJA= Date: Mon, 18 Mar 2019 20:29:37 +0000 Message-ID: References: <20190318084144.657740413@linuxfoundation.org> <20190318084149.364327318@linuxfoundation.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: 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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiODY5OTViNDAtMzJiYS00NjQyLThmM2ItNTBkOTBlNzY5Y2YxIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiM2FTMkhzdkhGbG5HZ2hsbUZPTDhnT3NybGNXVUV0MzRjY25BcVFoa1JYTGNBSUxrdE5vVnFjME1qbzhMSGUrbCJ9 x-originating-ip: [10.22.254.139] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel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