Re: [PATCH 0/3] Add new ptrace request macros on PowerPC

2014-04-30 Thread Anshuman Khandual
On 04/30/2014 05:59 AM, Michael Neuling wrote: > Anshuman Khandual wrote: > >> On 04/29/2014 01:52 PM, Michael Neuling wrote: >>> That's not what that patch does. It shouldn't make any user visible changes >>> to DSCR or PPR. >> >> It may not when it runs uninterrupted but after the tracee proces

Re: [PATCH 0/3] Add new ptrace request macros on PowerPC

2014-04-29 Thread Michael Neuling
Anshuman Khandual wrote: > On 04/29/2014 01:52 PM, Michael Neuling wrote: > > That's not what that patch does. It shouldn't make any user visible changes > > to DSCR or PPR. > > It may not when it runs uninterrupted but after the tracee process has > stopped, thread.dscr reflects the default DSC

Re: [PATCH 0/3] Add new ptrace request macros on PowerPC

2014-04-29 Thread Anshuman Khandual
On 04/29/2014 01:52 PM, Michael Neuling wrote: > That's not what that patch does. It shouldn't make any user visible changes > to DSCR or PPR. It may not when it runs uninterrupted but after the tracee process has stopped, thread.dscr reflects the default DSCR value as mentioned before. This can b

Re: [PATCH 0/3] Add new ptrace request macros on PowerPC

2014-04-29 Thread Michael Neuling
That's not what that patch does. It shouldn't make any user visible changes to DSCR or PPR. Over syscall PPR and DSCR may change. Depending on your test case, that may be your problem. Mikey On 29 Apr 2014 18:02, "Anshuman Khandual" wrote: > On 04/29/2014 12:36 PM, Michael Neuling wrote: > > Ho

Re: [PATCH 0/3] Add new ptrace request macros on PowerPC

2014-04-29 Thread Anshuman Khandual
On 04/29/2014 12:36 PM, Michael Neuling wrote: > How is it causing the problem? As mentioned before, what I thought to be a problem is something expected behaviour. So it's not a problem any more. DSCR value inside the transaction will fall back to default as kernel wont let user specified value t

Re: [PATCH 0/3] Add new ptrace request macros on PowerPC

2014-04-29 Thread Michael Neuling
How is it causing the problem? Mikey On 29 Apr 2014 17:02, "Anshuman Khandual" wrote: > > On 04/02/2014 03:02 PM, Anshuman Khandual wrote: > > On 04/02/2014 12:32 PM, Anshuman Khandual wrote: > >> This patch series adds new ELF note sections which are used to > >> create new ptrace request

Re: [PATCH 0/3] Add new ptrace request macros on PowerPC

2014-04-29 Thread Anshuman Khandual
On 04/02/2014 03:02 PM, Anshuman Khandual wrote: > On 04/02/2014 12:32 PM, Anshuman Khandual wrote: >> This patch series adds new ELF note sections which are used to >> create new ptrace request macros for various transactional memory and >> miscellaneous registers on PowerPC. Please find the

Re: [PATCH 0/3] Add new ptrace request macros on PowerPC

2014-04-02 Thread Anshuman Khandual
On 04/02/2014 12:32 PM, Anshuman Khandual wrote: > This patch series adds new ELF note sections which are used to > create new ptrace request macros for various transactional memory and > miscellaneous registers on PowerPC. Please find the test case exploiting > the new ptrace request macros

[PATCH 0/3] Add new ptrace request macros on PowerPC

2014-04-02 Thread Anshuman Khandual
This patch series adds new ELF note sections which are used to create new ptrace request macros for various transactional memory and miscellaneous registers on PowerPC. Please find the test case exploiting the new ptrace request macros and it's results on a POWER8 system. RFC: https://lkml