Re: [PATCH 1/2] Move the pt_regs_offset struct definition from arch to common include file

2015-07-22 Thread David Long
On 07/22/15 01:11, Michael Ellerman wrote: On Wed, 2015-07-22 at 00:46 -0400, David Long wrote: On 06/29/15 23:29, Michael Ellerman wrote: On Wed, 2015-06-17 at 14:30 -0400, David Long wrote: On 06/16/15 09:17, Rob Herring wrote: On Mon, Jun 15, 2015 at 11:42 AM, David Long wrote:

Re: [PATCH 1/2] Move the pt_regs_offset struct definition from arch to common include file

2015-07-22 Thread David Long
On 07/22/15 01:11, Michael Ellerman wrote: On Wed, 2015-07-22 at 00:46 -0400, David Long wrote: On 06/29/15 23:29, Michael Ellerman wrote: On Wed, 2015-06-17 at 14:30 -0400, David Long wrote: On 06/16/15 09:17, Rob Herring wrote: On Mon, Jun 15, 2015 at 11:42 AM, David Long

Re: [PATCH 1/2] Move the pt_regs_offset struct definition from arch to common include file

2015-07-21 Thread Michael Ellerman
On Wed, 2015-07-22 at 00:46 -0400, David Long wrote: > On 06/29/15 23:29, Michael Ellerman wrote: > > On Wed, 2015-06-17 at 14:30 -0400, David Long wrote: > >> On 06/16/15 09:17, Rob Herring wrote: > >>> On Mon, Jun 15, 2015 at 11:42 AM, David Long wrote: > > #define

Re: [PATCH 1/2] Move the pt_regs_offset struct definition from arch to common include file

2015-07-21 Thread David Long
On 06/29/15 23:29, Michael Ellerman wrote: On Wed, 2015-06-17 at 14:30 -0400, David Long wrote: On 06/16/15 09:17, Rob Herring wrote: On Mon, Jun 15, 2015 at 11:42 AM, David Long wrote: #define REG_OFFSET_NAME(r) \ {.name = #r, .offset = offsetof(struct pt_regs, ARM_##r)}

Re: [PATCH 1/2] Move the pt_regs_offset struct definition from arch to common include file

2015-07-21 Thread David Long
On 06/29/15 23:29, Michael Ellerman wrote: On Wed, 2015-06-17 at 14:30 -0400, David Long wrote: On 06/16/15 09:17, Rob Herring wrote: On Mon, Jun 15, 2015 at 11:42 AM, David Long dave.l...@linaro.org wrote: #define REG_OFFSET_NAME(r) \ {.name = #r, .offset = offsetof(struct

Re: [PATCH 1/2] Move the pt_regs_offset struct definition from arch to common include file

2015-07-21 Thread Michael Ellerman
On Wed, 2015-07-22 at 00:46 -0400, David Long wrote: On 06/29/15 23:29, Michael Ellerman wrote: On Wed, 2015-06-17 at 14:30 -0400, David Long wrote: On 06/16/15 09:17, Rob Herring wrote: On Mon, Jun 15, 2015 at 11:42 AM, David Long dave.l...@linaro.org wrote: #define

Re: [PATCH 1/2] Move the pt_regs_offset struct definition from arch to common include file

2015-06-29 Thread Michael Ellerman
On Wed, 2015-06-17 at 14:30 -0400, David Long wrote: > On 06/16/15 09:17, Rob Herring wrote: > > On Mon, Jun 15, 2015 at 11:42 AM, David Long wrote: > >> > >> #define REG_OFFSET_NAME(r) \ > >> {.name = #r, .offset = offsetof(struct pt_regs, ARM_##r)} > >> #define REG_OFFSET_END

Re: [PATCH 1/2] Move the pt_regs_offset struct definition from arch to common include file

2015-06-29 Thread Michael Ellerman
On Wed, 2015-06-17 at 14:30 -0400, David Long wrote: On 06/16/15 09:17, Rob Herring wrote: On Mon, Jun 15, 2015 at 11:42 AM, David Long dave.l...@linaro.org wrote: #define REG_OFFSET_NAME(r) \ {.name = #r, .offset = offsetof(struct pt_regs, ARM_##r)} #define REG_OFFSET_END

Re: [PATCH 1/2] Move the pt_regs_offset struct definition from arch to common include file

2015-06-26 Thread David Long
On 06/19/15 12:58, Kees Cook wrote: On Fri, Jun 19, 2015 at 7:12 AM, David Long wrote: On 06/19/15 00:19, Michael Ellerman wrote: On Mon, 2015-06-15 at 12:42 -0400, David Long wrote: From: "David A. Long" The pt_regs_offset structure is used for HAVE_REGS_AND_STACK_ACCESS_API feature

Re: [PATCH 1/2] Move the pt_regs_offset struct definition from arch to common include file

2015-06-26 Thread David Long
On 06/19/15 12:58, Kees Cook wrote: On Fri, Jun 19, 2015 at 7:12 AM, David Long dave.l...@linaro.org wrote: On 06/19/15 00:19, Michael Ellerman wrote: On Mon, 2015-06-15 at 12:42 -0400, David Long wrote: From: David A. Long dave.l...@linaro.org The pt_regs_offset structure is used for

Re: [PATCH 1/2] Move the pt_regs_offset struct definition from arch to common include file

2015-06-24 Thread David Long
On 06/24/15 00:07, Michael Ellerman wrote: On Tue, 2015-06-23 at 09:48 -0400, David Long wrote: On 06/22/15 23:32, Michael Ellerman wrote: On Fri, 2015-06-19 at 10:12 -0400, David Long wrote: On 06/19/15 00:19, Michael Ellerman wrote: On Mon, 2015-06-15 at 12:42 -0400, David Long wrote:

Re: [PATCH 1/2] Move the pt_regs_offset struct definition from arch to common include file

2015-06-24 Thread David Long
On 06/24/15 00:07, Michael Ellerman wrote: On Tue, 2015-06-23 at 09:48 -0400, David Long wrote: On 06/22/15 23:32, Michael Ellerman wrote: On Fri, 2015-06-19 at 10:12 -0400, David Long wrote: On 06/19/15 00:19, Michael Ellerman wrote: On Mon, 2015-06-15 at 12:42 -0400, David Long wrote:

Re: [PATCH 1/2] Move the pt_regs_offset struct definition from arch to common include file

2015-06-23 Thread Michael Ellerman
On Tue, 2015-06-23 at 09:48 -0400, David Long wrote: > On 06/22/15 23:32, Michael Ellerman wrote: > > On Fri, 2015-06-19 at 10:12 -0400, David Long wrote: > >> On 06/19/15 00:19, Michael Ellerman wrote: > >>> On Mon, 2015-06-15 at 12:42 -0400, David Long wrote: > From: "David A. Long" >

Re: [PATCH 1/2] Move the pt_regs_offset struct definition from arch to common include file

2015-06-23 Thread David Long
On 06/22/15 23:32, Michael Ellerman wrote: On Fri, 2015-06-19 at 10:12 -0400, David Long wrote: On 06/19/15 00:19, Michael Ellerman wrote: On Mon, 2015-06-15 at 12:42 -0400, David Long wrote: From: "David A. Long" The pt_regs_offset structure is used for HAVE_REGS_AND_STACK_ACCESS_API

Re: [PATCH 1/2] Move the pt_regs_offset struct definition from arch to common include file

2015-06-23 Thread David Long
On 06/22/15 23:32, Michael Ellerman wrote: On Fri, 2015-06-19 at 10:12 -0400, David Long wrote: On 06/19/15 00:19, Michael Ellerman wrote: On Mon, 2015-06-15 at 12:42 -0400, David Long wrote: From: David A. Long dave.l...@linaro.org The pt_regs_offset structure is used for

Re: [PATCH 1/2] Move the pt_regs_offset struct definition from arch to common include file

2015-06-23 Thread Michael Ellerman
On Tue, 2015-06-23 at 09:48 -0400, David Long wrote: On 06/22/15 23:32, Michael Ellerman wrote: On Fri, 2015-06-19 at 10:12 -0400, David Long wrote: On 06/19/15 00:19, Michael Ellerman wrote: On Mon, 2015-06-15 at 12:42 -0400, David Long wrote: From: David A. Long dave.l...@linaro.org

Re: [PATCH 1/2] Move the pt_regs_offset struct definition from arch to common include file

2015-06-22 Thread Michael Ellerman
On Fri, 2015-06-19 at 10:12 -0400, David Long wrote: > On 06/19/15 00:19, Michael Ellerman wrote: > > On Mon, 2015-06-15 at 12:42 -0400, David Long wrote: > >> From: "David A. Long" > >> > >> The pt_regs_offset structure is used for HAVE_REGS_AND_STACK_ACCESS_API > >> feature and has identical

Re: [PATCH 1/2] Move the pt_regs_offset struct definition from arch to common include file

2015-06-22 Thread Michael Ellerman
On Fri, 2015-06-19 at 10:12 -0400, David Long wrote: On 06/19/15 00:19, Michael Ellerman wrote: On Mon, 2015-06-15 at 12:42 -0400, David Long wrote: From: David A. Long dave.l...@linaro.org The pt_regs_offset structure is used for HAVE_REGS_AND_STACK_ACCESS_API feature and has

Re: [PATCH 1/2] Move the pt_regs_offset struct definition from arch to common include file

2015-06-19 Thread Kees Cook
On Fri, Jun 19, 2015 at 7:12 AM, David Long wrote: > On 06/19/15 00:19, Michael Ellerman wrote: >> >> On Mon, 2015-06-15 at 12:42 -0400, David Long wrote: >>> >>> From: "David A. Long" >>> >>> The pt_regs_offset structure is used for HAVE_REGS_AND_STACK_ACCESS_API >>> feature and has identical

Re: [PATCH 1/2] Move the pt_regs_offset struct definition from arch to common include file

2015-06-19 Thread David Long
On 06/19/15 00:19, Michael Ellerman wrote: On Mon, 2015-06-15 at 12:42 -0400, David Long wrote: From: "David A. Long" The pt_regs_offset structure is used for HAVE_REGS_AND_STACK_ACCESS_API feature and has identical definitions in four different arch ptrace.h include files. It seems

Re: [PATCH 1/2] Move the pt_regs_offset struct definition from arch to common include file

2015-06-19 Thread David Long
On 06/19/15 00:19, Michael Ellerman wrote: On Mon, 2015-06-15 at 12:42 -0400, David Long wrote: From: David A. Long dave.l...@linaro.org The pt_regs_offset structure is used for HAVE_REGS_AND_STACK_ACCESS_API feature and has identical definitions in four different arch ptrace.h include

Re: [PATCH 1/2] Move the pt_regs_offset struct definition from arch to common include file

2015-06-19 Thread Kees Cook
On Fri, Jun 19, 2015 at 7:12 AM, David Long dave.l...@linaro.org wrote: On 06/19/15 00:19, Michael Ellerman wrote: On Mon, 2015-06-15 at 12:42 -0400, David Long wrote: From: David A. Long dave.l...@linaro.org The pt_regs_offset structure is used for HAVE_REGS_AND_STACK_ACCESS_API feature

Re: [PATCH 1/2] Move the pt_regs_offset struct definition from arch to common include file

2015-06-18 Thread Michael Ellerman
On Mon, 2015-06-15 at 12:42 -0400, David Long wrote: > From: "David A. Long" > > The pt_regs_offset structure is used for HAVE_REGS_AND_STACK_ACCESS_API > feature and has identical definitions in four different arch ptrace.h > include files. It seems unlikely that definition would ever need to

Re: [PATCH 1/2] Move the pt_regs_offset struct definition from arch to common include file

2015-06-18 Thread Michael Ellerman
On Mon, 2015-06-15 at 12:42 -0400, David Long wrote: From: David A. Long dave.l...@linaro.org The pt_regs_offset structure is used for HAVE_REGS_AND_STACK_ACCESS_API feature and has identical definitions in four different arch ptrace.h include files. It seems unlikely that definition would

Re: [PATCH 1/2] Move the pt_regs_offset struct definition from arch to common include file

2015-06-17 Thread David Long
On 06/16/15 09:17, Rob Herring wrote: On Mon, Jun 15, 2015 at 11:42 AM, David Long wrote: From: "David A. Long" The pt_regs_offset structure is used for HAVE_REGS_AND_STACK_ACCESS_API feature and has identical definitions in four different arch ptrace.h include files. It seems unlikely

Re: [PATCH 1/2] Move the pt_regs_offset struct definition from arch to common include file

2015-06-17 Thread David Long
On 06/16/15 09:17, Rob Herring wrote: On Mon, Jun 15, 2015 at 11:42 AM, David Long dave.l...@linaro.org wrote: From: David A. Long dave.l...@linaro.org The pt_regs_offset structure is used for HAVE_REGS_AND_STACK_ACCESS_API feature and has identical definitions in four different arch

Re: [PATCH 1/2] Move the pt_regs_offset struct definition from arch to common include file

2015-06-16 Thread Rob Herring
On Mon, Jun 15, 2015 at 11:42 AM, David Long wrote: > From: "David A. Long" > > The pt_regs_offset structure is used for HAVE_REGS_AND_STACK_ACCESS_API > feature and has identical definitions in four different arch ptrace.h > include files. It seems unlikely that definition would ever need to

Re: [PATCH 1/2] Move the pt_regs_offset struct definition from arch to common include file

2015-06-16 Thread Rob Herring
On Mon, Jun 15, 2015 at 11:42 AM, David Long dave.l...@linaro.org wrote: From: David A. Long dave.l...@linaro.org The pt_regs_offset structure is used for HAVE_REGS_AND_STACK_ACCESS_API feature and has identical definitions in four different arch ptrace.h include files. It seems unlikely

[PATCH 1/2] Move the pt_regs_offset struct definition from arch to common include file

2015-06-15 Thread David Long
From: "David A. Long" The pt_regs_offset structure is used for HAVE_REGS_AND_STACK_ACCESS_API feature and has identical definitions in four different arch ptrace.h include files. It seems unlikely that definition would ever need to be changed regardless of architecture so lets move it into

[PATCH 1/2] Move the pt_regs_offset struct definition from arch to common include file

2015-06-15 Thread David Long
From: David A. Long dave.l...@linaro.org The pt_regs_offset structure is used for HAVE_REGS_AND_STACK_ACCESS_API feature and has identical definitions in four different arch ptrace.h include files. It seems unlikely that definition would ever need to be changed regardless of architecture so lets