Re: [PATCH v3 0/6] implement KASLR for powerpc/fsl_booke/64

2020-03-04 Thread Jason Yan
在 2020/3/5 5:21, Scott Wood 写道: On Wed, 2020-02-26 at 18:16 +1100, Daniel Axtens wrote: Hi Jason, This is a try to implement KASLR for Freescale BookE64 which is based on my earlier implementation for Freescale BookE32: https://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=131718

Re: [PATCH v3 0/6] implement KASLR for powerpc/fsl_booke/64

2020-03-04 Thread Scott Wood
On Wed, 2020-02-26 at 18:16 +1100, Daniel Axtens wrote: > Hi Jason, > > > This is a try to implement KASLR for Freescale BookE64 which is based on > > my earlier implementation for Freescale BookE32: > > https://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=131718 > > > > The

Re: [PATCH v3 0/6] implement KASLR for powerpc/fsl_booke/64

2020-03-02 Thread Jason Yan
在 2020/3/2 16:47, Scott Wood 写道: On Mon, 2020-03-02 at 15:12 +0800, Jason Yan wrote: 在 2020/3/2 11:24, Scott Wood 写道: On Mon, 2020-03-02 at 10:17 +0800, Jason Yan wrote: 在 2020/3/1 6:54, Scott Wood 写道: On Sat, 2020-02-29 at 15:27 +0800, Jason Yan wrote: Turnning to %p may not be a

Re: [PATCH v3 0/6] implement KASLR for powerpc/fsl_booke/64

2020-03-02 Thread Scott Wood
On Mon, 2020-03-02 at 15:12 +0800, Jason Yan wrote: > > 在 2020/3/2 11:24, Scott Wood 写道: > > On Mon, 2020-03-02 at 10:17 +0800, Jason Yan wrote: > > > > > > 在 2020/3/1 6:54, Scott Wood 写道: > > > > On Sat, 2020-02-29 at 15:27 +0800, Jason Yan wrote: > > > > > > > > > > Turnning to %p may not be

Re: [PATCH v3 0/6] implement KASLR for powerpc/fsl_booke/64

2020-03-01 Thread Jason Yan
在 2020/3/2 11:24, Scott Wood 写道: On Mon, 2020-03-02 at 10:17 +0800, Jason Yan wrote: 在 2020/3/1 6:54, Scott Wood 写道: On Sat, 2020-02-29 at 15:27 +0800, Jason Yan wrote: Turnning to %p may not be a good idea in this situation. So for the REG logs printed when dumping stack, we can disable

Re: [PATCH v3 0/6] implement KASLR for powerpc/fsl_booke/64

2020-03-01 Thread Scott Wood
On Mon, 2020-03-02 at 10:17 +0800, Jason Yan wrote: > > 在 2020/3/1 6:54, Scott Wood 写道: > > On Sat, 2020-02-29 at 15:27 +0800, Jason Yan wrote: > > > > > > Turnning to %p may not be a good idea in this situation. So > > > for the REG logs printed when dumping stack, we can disable it when > > >

Re: [PATCH v3 0/6] implement KASLR for powerpc/fsl_booke/64

2020-03-01 Thread Jason Yan
在 2020/3/1 6:54, Scott Wood 写道: On Sat, 2020-02-29 at 15:27 +0800, Jason Yan wrote: 在 2020/2/29 12:28, Scott Wood 写道: On Fri, 2020-02-28 at 14:47 +0800, Jason Yan wrote: 在 2020/2/28 13:53, Scott Wood 写道: I don't see any debug setting for %pK (or %p) to always print the actual address

Re: [PATCH v3 0/6] implement KASLR for powerpc/fsl_booke/64

2020-02-29 Thread Scott Wood
On Sat, 2020-02-29 at 15:27 +0800, Jason Yan wrote: > > 在 2020/2/29 12:28, Scott Wood 写道: > > On Fri, 2020-02-28 at 14:47 +0800, Jason Yan wrote: > > > > > > 在 2020/2/28 13:53, Scott Wood 写道: > > > > > > > > I don't see any debug setting for %pK (or %p) to always print the > > > > actual > > >

Re: [PATCH v3 0/6] implement KASLR for powerpc/fsl_booke/64

2020-02-28 Thread Jason Yan
在 2020/2/29 12:28, Scott Wood 写道: On Fri, 2020-02-28 at 14:47 +0800, Jason Yan wrote: 在 2020/2/28 13:53, Scott Wood 写道: On Wed, 2020-02-26 at 16:18 +0800, Jason Yan wrote: Hi Daniel, 在 2020/2/26 15:16, Daniel Axtens 写道: Maybe replacing the REG format string in KASLR mode would be

Re: [PATCH v3 0/6] implement KASLR for powerpc/fsl_booke/64

2020-02-28 Thread Scott Wood
On Fri, 2020-02-28 at 14:47 +0800, Jason Yan wrote: > > 在 2020/2/28 13:53, Scott Wood 写道: > > On Wed, 2020-02-26 at 16:18 +0800, Jason Yan wrote: > > > Hi Daniel, > > > > > > 在 2020/2/26 15:16, Daniel Axtens 写道: > > > > Maybe replacing the REG format string in KASLR mode would be > > > >

Re: [PATCH v3 0/6] implement KASLR for powerpc/fsl_booke/64

2020-02-27 Thread Jason Yan
在 2020/2/28 13:53, Scott Wood 写道: On Wed, 2020-02-26 at 16:18 +0800, Jason Yan wrote: Hi Daniel, 在 2020/2/26 15:16, Daniel Axtens 写道: Hi Jason, This is a try to implement KASLR for Freescale BookE64 which is based on my earlier implementation for Freescale BookE32:

Re: [PATCH v3 0/6] implement KASLR for powerpc/fsl_booke/64

2020-02-27 Thread Scott Wood
On Wed, 2020-02-26 at 16:18 +0800, Jason Yan wrote: > Hi Daniel, > > 在 2020/2/26 15:16, Daniel Axtens 写道: > > Hi Jason, > > > > > This is a try to implement KASLR for Freescale BookE64 which is based on > > > my earlier implementation for Freescale BookE32: > > >

Re: [PATCH v3 0/6] implement KASLR for powerpc/fsl_booke/64

2020-02-26 Thread Jason Yan
在 2020/2/26 19:41, Daniel Axtens 写道: I suspect that you will find it easier to convince people to accept a change to %pK than removal:) BTW, I have a T4240RDB so I might be able to test this series at some point - do I need an updated bootloader to pass in a random seed, or is the kernel

Re: [PATCH v3 0/6] implement KASLR for powerpc/fsl_booke/64

2020-02-26 Thread Daniel Axtens
Jason Yan writes: > Hi Daniel, > > 在 2020/2/26 15:16, Daniel Axtens 写道: >> Hi Jason, >> >>> This is a try to implement KASLR for Freescale BookE64 which is based on >>> my earlier implementation for Freescale BookE32: >>> https://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=131718 >>>

Re: [PATCH v3 0/6] implement KASLR for powerpc/fsl_booke/64

2020-02-26 Thread Jason Yan
Hi Daniel, 在 2020/2/26 15:16, Daniel Axtens 写道: Hi Jason, This is a try to implement KASLR for Freescale BookE64 which is based on my earlier implementation for Freescale BookE32: https://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=131718 The implementation for Freescale BookE64

Re: [PATCH v3 0/6] implement KASLR for powerpc/fsl_booke/64

2020-02-25 Thread Daniel Axtens
Hi Jason, > This is a try to implement KASLR for Freescale BookE64 which is based on > my earlier implementation for Freescale BookE32: > https://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=131718 > > The implementation for Freescale BookE64 is similar as BookE32. One > difference is

Re: [PATCH v3 0/6] implement KASLR for powerpc/fsl_booke/64

2020-02-19 Thread Jason Yan
ping... on 2020/2/13 11:00, Jason Yan wrote: Hi everyone, any comments or suggestions? Thanks, Jason on 2020/2/6 10:58, Jason Yan wrote: This is a try to implement KASLR for Freescale BookE64 which is based on my earlier implementation for Freescale BookE32:

Re: [PATCH v3 0/6] implement KASLR for powerpc/fsl_booke/64

2020-02-12 Thread Jason Yan
Hi everyone, any comments or suggestions? Thanks, Jason on 2020/2/6 10:58, Jason Yan wrote: This is a try to implement KASLR for Freescale BookE64 which is based on my earlier implementation for Freescale BookE32: https://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=131718 The