Re: [PATCH -v2] Audit: push audit success and retcode into arch ptrace.h

2011-06-04 Thread Richard Weinberger
Am Samstag 04 Juni 2011, 00:04:51 schrieb Eric Paris: > The audit system previously expected arches calling to audit_syscall_exit > to supply as arguments if the syscall was a success and what the return > code was. Audit also provides a helper AUDITSC_RESULT which was supposed > to simplify things

[PATCH 7/8] arch/powerpc: use printk_ratelimited instead of printk_ratelimit

2011-06-04 Thread Christian Dietrich
Since printk_ratelimit() shouldn't be used anymore (see comment in include/linux/printk.h), replace it with printk_ratelimited. Signed-off-by: Christian Dietrich --- arch/powerpc/kernel/signal_32.c | 57 +- arch/powerpc/kernel/signal_64.c | 17 ++-

[PATCH 0/8] Use printk_ratelimited instead of printk_ratelimit

2011-06-04 Thread Christian Dietrich
Hi, since printk_ratelimit() shouldn't be used anymore, I replaced it at several points, where it was possible with printk_ratelimited(FMT,...). This shouldn't change the behaviour in most cases, except that the printk will use an local ratelimit instead of an global one shared with all other print

[PATCH 1/8] powerpc/rtas-rtc: remove sideeffects of printk_ratelimit

2011-06-04 Thread Christian Dietrich
Don't use printk_ratelimit() as an additional condition for returning on an error. Because when the ratelimit is reached, printk_ratelimit will return 0 and e.g. in rtas_get_boot_time won't check for an error condition. Signed-off-by: Christian Dietrich --- arch/powerpc/kernel/rtas-rtc.c | 29

debugging kernel oops

2011-06-04 Thread ps2k
Hi All, I'm new to linux development. We are often seeing kernel oops and failure to handle paging requests. Any idea how to debug these issues. We have a NAND flash. I don't know how paging works on an embedded device with flash memories and not sure why is it needed. Any help would be greatly a

[PATCH 1/2] ppc/85xx: create a platform node for PCI EDAC device

2011-06-04 Thread Dmitry Eremin-Solenikov
As a device for pci node isn't created, create a special platform_device for PCI EDAC device on MPC85xx. Signed-off-by: Dmitry Eremin-Solenikov --- arch/powerpc/sysdev/fsl_pci.c | 28 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/sysd

Re: [PATCH] Add cpufreq driver for Momentum Maple boards

2011-06-04 Thread Dmitry Eremin-Solenikov
On 6/4/11, Benjamin Herrenschmidt wrote: > On Sat, 2011-06-04 at 13:00 +0400, Dmitry Eremin-Solenikov wrote: >> On 5/30/11, Dmitry Eremin-Solenikov wrote: >> > Hello, >> > >> > On 5/21/11, Dmitry Eremin-Solenikov wrote: >> >> Add simple cpufreq driver for Maple-based boards (ppc970fx evaluation

Re: [PATCH] Add cpufreq driver for Momentum Maple boards

2011-06-04 Thread Benjamin Herrenschmidt
On Sat, 2011-06-04 at 13:00 +0400, Dmitry Eremin-Solenikov wrote: > On 5/30/11, Dmitry Eremin-Solenikov wrote: > > Hello, > > > > On 5/21/11, Dmitry Eremin-Solenikov wrote: > >> Add simple cpufreq driver for Maple-based boards (ppc970fx evaluation > >> kit and others). Driver is based on a cpufre

Re: PROBLEM: 2.6.39 doesn’t boot on POWER MAC

2011-06-04 Thread Andrey Gusev
04.06.2011 02:36, Giuliano Pochini пишет: On Fri, 03 Jun 2011 13:10:45 +1000 Benjamin Herrenschmidt wrote: On Fri, 2011-06-03 at 12:41 +1000, Benjamin Herrenschmidt wrote: On Fri, 2011-06-03 at 00:00 +0200, Giuliano Pochini wrote: On Sat, 28 May 2011 11:55:14 +0400 Andrey Gusev wrote: Hi!

Re: [PATCH] Add cpufreq driver for Momentum Maple boards

2011-06-04 Thread Dmitry Eremin-Solenikov
On 5/30/11, Dmitry Eremin-Solenikov wrote: > Hello, > > On 5/21/11, Dmitry Eremin-Solenikov wrote: >> Add simple cpufreq driver for Maple-based boards (ppc970fx evaluation >> kit and others). Driver is based on a cpufreq driver for 64-bit powermac >> boxes with all pmac-dependant features removed