From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932841AbaFLJLb (ORCPT ); Thu, 12 Jun 2014 05:11:31 -0400 Received: from e23smtp02.au.ibm.com ([202.81.31.144]:56409 "EHLO e23smtp02.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932740AbaFLJLa (ORCPT ); Thu, 12 Jun 2014 05:11:30 -0400 Message-ID: <53996E41.4070309@linux.vnet.ibm.com> Date: Thu, 12 Jun 2014 14:39:21 +0530 From: Anshuman Khandual User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Anshuman Khandual , Benjamin Herrenschmidt CC: linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org, peterz@infradead.org, akpm@linux-foundation.org, tglx@linutronix.de, mikey@neuling.org, james.hogan@imgtec.com, avagin@openvz.org, Paul.Clothier@imgtec.com, palves@redhat.com, oleg@redhat.com, dhowells@redhat.com, davej@redhat.com, davem@davemloft.net, Michael Neuling , Michael Ellerman Subject: Re: [PATCH V3 0/3] Add new PowerPC specific ELF core notes References: <1400858138-3939-1-git-send-email-khandual@linux.vnet.ibm.com> In-Reply-To: <1400858138-3939-1-git-send-email-khandual@linux.vnet.ibm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14061209-5490-0000-0000-0000003C030A Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/23/2014 08:45 PM, Anshuman Khandual wrote: > This patch series adds five new ELF core note sections which can be > used with existing ptrace request PTRACE_GETREGSET/SETREGSET for accessing > various transactional memory and miscellaneous register sets on PowerPC > platform. Please find a test program exploiting these new ELF core note > types on a POWER8 system. > > RFC: https://lkml.org/lkml/2014/4/1/292 > V1: https://lkml.org/lkml/2014/4/2/43 > V2: https://lkml.org/lkml/2014/5/5/88 > > Changes in V3 > ============= > (1) Added two new error paths in every TM related get/set functions when regset > support is not present on the system (ENODEV) or when the process does not > have any transaction active (ENODATA) in the context > > (2) Installed the active hooks for all the newly added regset core note types > > Changes in V2 > ============= > (1) Removed all the power specific ptrace requests corresponding to new NT_PPC_* > elf core note types. Now all the register sets can be accessed from ptrace > through PTRACE_GETREGSET/PTRACE_SETREGSET using the individual NT_PPC* core > note type instead > (2) Fixed couple of attribute values for REGSET_TM_CGPR register set > (3) Renamed flush_tmreg_to_thread as flush_tmregs_to_thread > (4) Fixed 32 bit checkpointed GPR support > (5) Changed commit messages accordingly > > Outstanding Issues > ================== > (1) Running DSCR register value inside a transaction does not seem to be saved > at thread.dscr when the process stops for ptrace examination. Hey Ben, Any updates on this patch series ?