Re: [PATCH v2] cpufreq: powernv: Set the cpus to nominal frequency during reboot/kexec

2014-08-31 Thread Shilpa Bhat
This patch ensures the cpus to kexec/reboot at nominal frequency. Nominal frequency is the highest cpu frequency on PowerPC at which the cores can run without getting throttled. If the host kernel had set the cpus to a low pstate and then it kexecs/reboots to a cpufreq disabled kernel it would cau

Re: [PATCH v2] cpufreq: powernv: Set the cpus to nominal frequency during reboot/kexec

2014-08-31 Thread Viresh Kumar
On 1 September 2014 10:48, Shilpa Bhat wrote: > Hi Viresh, > On Fri, 2014-08-29 at 05:33 +0530, Viresh Kumar wrote: >> On 28 August 2014 19:36, Shilpasri G Bhat >> wrote: >> > >> > Changes v1->v2: >> > Invoke .target() driver callback to set the cpus to nominal frequency >> > in reboot notifier,

Re: [PATCH v2] cpufreq: powernv: Set the cpus to nominal frequency during reboot/kexec

2014-08-31 Thread Shilpa Bhat
Hi Viresh, On Fri, 2014-08-29 at 05:33 +0530, Viresh Kumar wrote: > On 28 August 2014 19:36, Shilpasri G Bhat > wrote: > > > > Changes v1->v2: > > Invoke .target() driver callback to set the cpus to nominal frequency > > in reboot notifier, instead of calling cpufreq_suspend() as suggested > > by

Re: [RFC PATCH] powerpc: Wire up three syscalls

2014-08-31 Thread Pranith Kumar
On 08/31/2014 10:34 AM, David Herrmann wrote: > The only arch-dependent code for memfd_test.c is the syscall invocation: > memfd_create(const char *name, unsigned int flags); > via glibc as: > syscall(__NR_memfd_create, name, flags); > > Can you debug your test-run (maybe via simple printk

Re: [RFC PATCH] powerpc: Wire up three syscalls

2014-08-31 Thread Geert Uytterhoeven
Hi Pranith, On Sun, Aug 31, 2014 at 2:52 PM, Pranith Kumar wrote: > On Sun, Aug 31, 2014 at 4:53 AM, Geert Uytterhoeven > wrote: >> On Sat, Aug 30, 2014 at 5:36 AM, Pranith Kumar wrote: >>> I see that the three syscalls seccomp, getrandom and memfd_create are not >>> wired >>> because of which

Re: [RFC PATCH] powerpc: Wire up three syscalls

2014-08-31 Thread Pranith Kumar
Hi Geert, On Sun, Aug 31, 2014 at 4:53 AM, Geert Uytterhoeven wrote: > Hi Pranith, > > On Sat, Aug 30, 2014 at 5:36 AM, Pranith Kumar wrote: >> I see that the three syscalls seccomp, getrandom and memfd_create are not >> wired >> because of which we get a warning while compilation. >> >> So I w

Re: [PATCH] spi: fsl: Don't use devm_kzalloc in master->setup callback

2014-08-31 Thread Mark Brown
On Sun, Aug 31, 2014 at 12:44:09PM +0800, Axel Lin wrote: > device_add() expects that any memory allocated via devm_* API is only > done in the device's probe function. Applied, thanks. signature.asc Description: Digital signature ___ Linuxppc-dev mail

Re: [RFC PATCH] powerpc: Wire up three syscalls

2014-08-31 Thread Geert Uytterhoeven
Hi Pranith, On Sat, Aug 30, 2014 at 5:36 AM, Pranith Kumar wrote: > I see that the three syscalls seccomp, getrandom and memfd_create are not > wired > because of which we get a warning while compilation. > > So I wired them up in this patch. What else needs to be done? I tried the > memfd_test