Debug Enable in ppc44x_idle

2015-04-06 Thread Vineeth Vijayan
I am working on a ppc440gx platform and came across ppc44x_idle() function. the actual requirement is to enable WAIT_STATE Enable bit (MSR_WE) and External Interrupt enable bit (MSR_EE) on MSR. But for ppc440, i see that MSR_DE bit (Debug Interrupt Enable) is also enabled. Any idea why MSR_DE enab

[PATCH] powerpc: Fix Text randomization

2014-10-09 Thread Vineeth Vijayan
Right now there is no way to disable TEXT randomization on a PPC32 machine. text randomization happens even in the case of "echo 0 > /proc/sys/kernel/randomize_va_space" This happens due to the incorrect definition of ELF_ET_DYN_BASE at arch/powerpc/include/asm/elf.h Signed-of

Re: powerpc: Fix Text randomization

2014-10-14 Thread Vineeth Vijayan
On Wed, Oct 15, 2014 at 7:38 AM, Michael Ellerman wrote: > On Fri, 2014-10-10 at 05:45:26 UTC, Vineeth Vijayan wrote: >> Right now there is no way to disable TEXT randomization on a PPC32 >> machine. text randomization happens even in the case of "echo 0 > >> /proc/

Re: powerpc: Fix Text randomization

2014-11-13 Thread Vineeth Vijayan
ping ! any update on this ? As i understand, only powerpc and s390 uses the randomize_et_dyn call; for all other architecture this is an obsolete function call. this call for another patch where randomize_et_dyn is removed. On Wed, Oct 15, 2014 at 12:08 PM, Vineeth Vijayan wrote: > On Wed,

Re: powerpc: Fix Text randomization

2014-11-13 Thread Vineeth Vijayan
ping ! any update on this ? As i understand, only powerpc and s390 uses the randomize_et_dyn call; for all other architecture this is an obsolete function call. this call for another patch where randomize_et_dyn is removed. Vineeth On Wed, Oct 15, 2014 at 12:08 PM, Vineeth Vijayan wrote

Re: powerpc: Fix Text randomization

2014-11-14 Thread Vineeth Vijayan
On Fri, Nov 14, 2014 at 11:50 AM, Michael Ellerman wrote: > On Fri, 2014-11-14 at 11:03 +0530, Vineeth Vijayan wrote: >> ping ! >> >> any update on this ? As i understand, only powerpc and s390 uses the >> randomize_et_dyn call; for all other architecture this is a

[PATCH] [powerpc] Fix Text randomization

2014-11-14 Thread Vineeth Vijayan
The function randomize_et_dyn is redundant and is removed. Signed-off-by: Vineeth Vijayan --- arch/powerpc/Kconfig |1 + arch/powerpc/include/asm/elf.h |3 +-- arch/powerpc/kernel/process.c |9 - 3 files changed, 2 insertions(+), 11 deletions(-) diff --git a/arch/powerpc/K

Re: [PATCH] [powerpc] Fix Text randomization

2014-11-17 Thread Vineeth Vijayan
On Mon, Nov 17, 2014 at 12:23 PM, Michael Ellerman wrote: > On Fri, 2014-11-14 at 14:42 +0530, Vineeth Vijayan wrote: >> Now there is no way to disable TEXT randomization on a PPC32/PPC64 >> machine. Text randomization happens even in the case of "echo 0 > >> /proc/

Re: [PATCH] [powerpc] Fix Text randomization

2014-11-17 Thread Vineeth Vijayan
On Mon, Nov 17, 2014 at 12:23 PM, Michael Ellerman wrote: > On Fri, 2014-11-14 at 14:42 +0530, Vineeth Vijayan wrote: > > Now there is no way to disable TEXT randomization on a PPC32/PPC64 > > machine. Text randomization happens even in the case of "echo 0 &g