From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:59278 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932440AbeEHIm2 (ORCPT ); Tue, 8 May 2018 04:42:28 -0400 Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w488e9oH051581 for ; Tue, 8 May 2018 04:42:27 -0400 Received: from e06smtp11.uk.ibm.com (e06smtp11.uk.ibm.com [195.75.94.107]) by mx0b-001b2d01.pphosted.com with ESMTP id 2hu5eh8n2t-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 08 May 2018 04:42:27 -0400 Received: from localhost by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 8 May 2018 09:42:26 +0100 Date: Tue, 8 May 2018 10:42:22 +0200 From: Hendrik Brueckner To: Thomas Richter Cc: linux390-list@tuxmaker.boeblingen.de.ibm.com, stable@vger.kernel.org Subject: Re: [PATCH] perf: fix invalid bit in diagnostic entry References: <20180508075729.28759-1-tmricht@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180508075729.28759-1-tmricht@linux.ibm.com> Message-Id: <20180508084222.GC4459@linux.ibm.com> Sender: stable-owner@vger.kernel.org List-ID: On Tue, May 08, 2018 at 09:57:29AM +0200, Thomas Richter wrote: > The s390 CPU measurement facility sampling mode > supports basic entries and diagnostic entries. > Each entry has a valid bit to indicate the > status of the entry as valid or invalid. > > This bit is bit 31 in the diagnostic entry, > but the bit mask definition refers to bit 30. > > Fix this by making the reserved field one > bit larger. > > Cc: stable@vger.kernel.org # v3.14+ > Fixes: 7e75fc3ff4cf ("s390/cpum_sf: Add raw data sampling to support the diagnostic-sampling function") > Signed-off-by: Thomas Richter > Reviewed-by: Hendrik Brueckner ^^^^ Please remove "vnet" and push to devel. Thanks.