From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [103.22.144.67]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id A9E931A09F1 for ; Fri, 21 Nov 2014 21:27:05 +1100 (AEDT) Received: from e23smtp07.au.ibm.com (e23smtp07.au.ibm.com [202.81.31.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 7863E140187 for ; Fri, 21 Nov 2014 21:27:04 +1100 (AEDT) Received: from /spool/local by e23smtp07.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 21 Nov 2014 20:27:04 +1000 Received: from d23relay10.au.ibm.com (d23relay10.au.ibm.com [9.190.26.77]) by d23dlp02.au.ibm.com (Postfix) with ESMTP id 627AE2BB0066 for ; Fri, 21 Nov 2014 21:27:01 +1100 (EST) Received: from d23av04.au.ibm.com (d23av04.au.ibm.com [9.190.235.139]) by d23relay10.au.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id sALAR1xm30343402 for ; Fri, 21 Nov 2014 21:27:01 +1100 Received: from d23av04.au.ibm.com (localhost [127.0.0.1]) by d23av04.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id sALAQxab007994 for ; Fri, 21 Nov 2014 21:27:01 +1100 Message-ID: <546F1367.4060301@linux.vnet.ibm.com> Date: Fri, 21 Nov 2014 15:56:47 +0530 From: Anshuman Khandual MIME-Version: 1.0 To: Denis Kirjanov Subject: Re: [PATCH V4 7/8] powerpc, ptrace: Enable support for miscellaneous debug registers References: <1415683597-22819-1-git-send-email-khandual@linux.vnet.ibm.com> <1415683597-22819-8-git-send-email-khandual@linux.vnet.ibm.com> <54647DA7.1070000@linux.vnet.ibm.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Cc: mikey@neuling.org, james.hogan@imgtec.com, avagin@openvz.org, Paul.Clothier@imgtec.com, davem@davemloft.net, peterz@infradead.org, palves@redhat.com, linux-kernel@vger.kernel.org, oleg@redhat.com, dhowells@redhat.com, linuxppc-dev@ozlabs.org, davej@redhat.com, tglx@linutronix.de, sukadev@linux.vnet.ibm.com, akpm@linux-foundation.org, sam.bobroff@au1.ibm.com List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 11/14/2014 03:30 PM, Denis Kirjanov wrote: > On 11/13/14, Anshuman Khandual wrote: >> > On 11/11/2014 10:56 AM, Anshuman Khandual wrote: >>> >> This patch enables get and set of miscellaneous debug registers through >>> >> ptrace PTRACE_GETREGSET-PTRACE_SETREGSET interface by implementing new >>> >> powerpc specific register set REGSET_MISC support corresponding to the >>> >> new ELF core note NT_PPC_MISC added previously in this regard. >> > >> > Right now this one does not compile for "ppc64e_defconfig" and >> > "pmac32_defconfig" config options. The patch below will fix it >> > and would be part of next revision. > It would be great to have a test tool for that under > tools/testing/selftests/ptrace/ > Hey Denis, I have already added one test case under selftests/powerpc/tm/ which will test all the newly added ELF core note based ptrace requests on powerpc. This test case is added as part of the next patch 8/8 in the series. Please let me know if the test case does not cover something you are looking for. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755236AbaKUK1L (ORCPT ); Fri, 21 Nov 2014 05:27:11 -0500 Received: from e23smtp09.au.ibm.com ([202.81.31.142]:59352 "EHLO e23smtp09.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754476AbaKUK1I (ORCPT ); Fri, 21 Nov 2014 05:27:08 -0500 Message-ID: <546F1367.4060301@linux.vnet.ibm.com> Date: Fri, 21 Nov 2014 15:56:47 +0530 From: Anshuman Khandual User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Denis Kirjanov CC: linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org, mikey@neuling.org, james.hogan@imgtec.com, avagin@openvz.org, Paul.Clothier@imgtec.com, peterz@infradead.org, palves@redhat.com, oleg@redhat.com, dhowells@redhat.com, tglx@linutronix.de, davej@redhat.com, akpm@linux-foundation.org, sukadev@linux.vnet.ibm.com, davem@davemloft.net, sam.bobroff@au1.ibm.com Subject: Re: [PATCH V4 7/8] powerpc, ptrace: Enable support for miscellaneous debug registers References: <1415683597-22819-1-git-send-email-khandual@linux.vnet.ibm.com> <1415683597-22819-8-git-send-email-khandual@linux.vnet.ibm.com> <54647DA7.1070000@linux.vnet.ibm.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14112110-0033-0000-0000-000000908376 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/14/2014 03:30 PM, Denis Kirjanov wrote: > On 11/13/14, Anshuman Khandual wrote: >> > On 11/11/2014 10:56 AM, Anshuman Khandual wrote: >>> >> This patch enables get and set of miscellaneous debug registers through >>> >> ptrace PTRACE_GETREGSET-PTRACE_SETREGSET interface by implementing new >>> >> powerpc specific register set REGSET_MISC support corresponding to the >>> >> new ELF core note NT_PPC_MISC added previously in this regard. >> > >> > Right now this one does not compile for "ppc64e_defconfig" and >> > "pmac32_defconfig" config options. The patch below will fix it >> > and would be part of next revision. > It would be great to have a test tool for that under > tools/testing/selftests/ptrace/ > Hey Denis, I have already added one test case under selftests/powerpc/tm/ which will test all the newly added ELF core note based ptrace requests on powerpc. This test case is added as part of the next patch 8/8 in the series. Please let me know if the test case does not cover something you are looking for.