Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753225AbdFPJeT (ORCPT ); Fri, 16 Jun 2017 05:34:19 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:53957 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752360AbdFPJeS (ORCPT ); Fri, 16 Jun 2017 05:34:18 -0400 From: Ravi Bangoria Subject: Re: [PATCH] ppc64/perf: Fix oops when kthread execs user process To: Michael Ellerman References: <1497534408-4591-1-git-send-email-ravi.bangoria@linux.vnet.ibm.com> <87fuf0wm5j.fsf@concordia.ellerman.id.au> Cc: benh@kernel.crashing.org, paulus@samba.org, mingo@kernel.org, peterz@infradead.org, acme@kernel.org, alexander.shishkin@linux.intel.com, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, naveen.n.rao@linux.vnet.ibm.com, Ravi Bangoria Date: Fri, 16 Jun 2017 15:04:00 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <87fuf0wm5j.fsf@concordia.ellerman.id.au> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 17061609-0016-0000-0000-000006FA4DEB X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00007242; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000213; SDB=6.00875543; UDB=6.00435934; IPR=6.00655632; BA=6.00005423; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00015849; XFM=3.00000015; UTC=2017-06-16 09:34:14 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17061609-0017-0000-0000-00003A242BFC Message-Id: <5943A608.30207@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-06-16_04:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1706160152 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 387 Lines: 16 Hi Michael, On Friday 16 June 2017 10:42 AM, Michael Ellerman wrote: > > That function (perf_get_regs_user()) didn't exist until 4.7, ie: > > ed4a4ef85cf5 ("powerpc/perf: Add support for sampling interrupt register state") > > So there must be something else going on. > > I'll hold off on merging this until we've worked it out. That was my mistake. It's v4.7 not v4.4. Thanks, Ravi