Re: Kernel access of bad area on kernel 4.1.6

2015-08-31 Thread Ilia Mirkin
On Fri, Aug 28, 2015 at 1:30 AM, Ilia Mirkin wrote: > On Thu, Aug 27, 2015 at 9:56 PM, Michael Ellerman wrote: >> On Thu, 2015-08-27 at 11:31 -0400, Ilia Mirkin wrote: >>> I've recently come into the possession of a PowerMac7,3 and have been >>> cross-compili

Re: Kernel access of bad area on kernel 4.1.6

2015-08-27 Thread Ilia Mirkin
On Thu, Aug 27, 2015 at 9:56 PM, Michael Ellerman wrote: > On Thu, 2015-08-27 at 11:31 -0400, Ilia Mirkin wrote: >> I've recently come into the possession of a PowerMac7,3 and have been >> cross-compiling a chroot for it on my (x86_64) desktop. However >> elfutils doesn

Kernel access of bad area on kernel 4.1.6

2015-08-27 Thread Ilia Mirkin
I've recently come into the possession of a PowerMac7,3 and have been cross-compiling a chroot for it on my (x86_64) desktop. However elfutils doesn't cross-compile for ppc64 due to its biarch m4 script which tries to execute a built program, so I kicked off a build locally and left for a few minut

Re: [PATCH] powerpc/44x: fix ocm_block allocation

2013-12-09 Thread Ilia Mirkin
On Mon, Dec 9, 2013 at 3:38 AM, Vinh Huu Tuong Nguyen wrote: > > Hi Ilia Mirkin, > Thanks for your info. I did investigated why our test didn't detect it and > found out that > the struct ocm_block is only used on ocm_debugfs_show function when we want to > know informa

[PATCH] powerpc/44x: fix ocm_block allocation

2013-12-06 Thread Ilia Mirkin
Allocate enough memory for the ocm_block structure, not just a pointer to it. Signed-off-by: Ilia Mirkin --- I have neither the hardware to test nor the toolchain to even build-test this. However this seems like a fairly obvious fix (and I have to wonder how this ever worked at all). Found with