Re: [PATCH] misc: sram-exec: Use aligned fncpy instead of memcpy

2017-04-06 Thread Dave Gerlach
On 04/06/2017 02:29 PM, Russell King - ARM Linux wrote: On Thu, Apr 06, 2017 at 02:14:12PM -0500, Dave Gerlach wrote: On 04/06/2017 02:07 PM, Russell King - ARM Linux wrote: On Wed, Apr 05, 2017 at 02:22:33PM -0500, Dave Gerlach wrote: Russell, On 04/05/2017 02:21 PM, Dave Gerlach wrote: Curr

Re: [PATCH] misc: sram-exec: Use aligned fncpy instead of memcpy

2017-04-06 Thread Russell King - ARM Linux
On Thu, Apr 06, 2017 at 02:14:12PM -0500, Dave Gerlach wrote: > On 04/06/2017 02:07 PM, Russell King - ARM Linux wrote: > >On Wed, Apr 05, 2017 at 02:22:33PM -0500, Dave Gerlach wrote: > >>Russell, > >>On 04/05/2017 02:21 PM, Dave Gerlach wrote: > >>>Currently the sram-exec functionality, which all

Re: [PATCH] misc: sram-exec: Use aligned fncpy instead of memcpy

2017-04-06 Thread Dave Gerlach
On 04/06/2017 02:07 PM, Russell King - ARM Linux wrote: On Wed, Apr 05, 2017 at 02:22:33PM -0500, Dave Gerlach wrote: Russell, On 04/05/2017 02:21 PM, Dave Gerlach wrote: Currently the sram-exec functionality, which allows allocation of executable memory and provides an API to move code to it,

Re: [PATCH] misc: sram-exec: Use aligned fncpy instead of memcpy

2017-04-06 Thread Russell King - ARM Linux
On Wed, Apr 05, 2017 at 02:22:33PM -0500, Dave Gerlach wrote: > Russell, > On 04/05/2017 02:21 PM, Dave Gerlach wrote: > >Currently the sram-exec functionality, which allows allocation of > >executable memory and provides an API to move code to it, is only > >selected in configs for the ARM archite

Re: [PATCH] misc: sram-exec: Use aligned fncpy instead of memcpy

2017-04-05 Thread Dave Gerlach
Russell, On 04/05/2017 02:21 PM, Dave Gerlach wrote: Currently the sram-exec functionality, which allows allocation of executable memory and provides an API to move code to it, is only selected in configs for the ARM architecture. Based on commit 5756e9dd0de6 ("ARM: 6640/1: Thumb-2: Symbol manipu

[PATCH] misc: sram-exec: Use aligned fncpy instead of memcpy

2017-04-05 Thread Dave Gerlach
Currently the sram-exec functionality, which allows allocation of executable memory and provides an API to move code to it, is only selected in configs for the ARM architecture. Based on commit 5756e9dd0de6 ("ARM: 6640/1: Thumb-2: Symbol manipulation macros for function body copying") simply copyin