[PATCH] powerpc/44x: Add reset-type to katmai.dts

2010-05-07 Thread Stefan Roese
Katmai needs "reset-type" = "chip reset" (2) to correctly reboot the board. Signed-off-by: Stefan Roese Cc: Josh Boyer --- arch/powerpc/boot/dts/katmai.dts |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/boot/dts/katmai.dts b/arch/powerpc/boot/dts/katmai.dt

[PATCH] pte_fsl_booke: fix instruction TLB error permission check

2010-05-07 Thread Li Yang
Check the user/supervisor execution permission base on the code address. This fixes the following oops on module loading or removing. Unable to handle kernel paging request for instruction fetch Faulting instruction address: 0xf938d040 Oops: Kernel access of bad area, sig: 11 [#1] Signed-off-by:

Re: [PATCH 3/3] powerpc/kexec: Add support for FSL-BookE

2010-05-07 Thread Sebastian Andrzej Siewior
* Kumar Gala | 2010-05-07 01:50:29 [-0500]: >Can you explain this a bit more. Mostly would like to have a brief >description of the sequence of events as part of the commit message. > >Something like: > >* Running kernel calls machine_kexec() >* machine_kexec_32() >* jump to relocate code >* rel

Re: [PATCH 3/3] powerpc/kexec: Add support for FSL-BookE

2010-05-07 Thread wilbur.chan
Most booke powerpc are based on SMP, I am looking forward someone to implement this. hiahia ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

[RFC PATCH v2 0/2] powerpc: add support for new hcall H_BEST_ENERGY

2010-05-07 Thread Vaidyanathan Srinivasan
Hi, The following series adds a powerpc pseries platform module for exporting platform energy management capabilities. The module exports data from a new hypervisor call H_BEST_ENERGY. Comments and suggestions made on the previous iteration of the patch has been incorporated. [RFC] powerpc: add

[RFC PATCH v2 1/2] powerpc: cleanup APIs for cpu/thread/core mappings

2010-05-07 Thread Vaidyanathan Srinivasan
These APIs take logical cpu number as input Change cpu_first_thread_in_core() to cpu_leftmost_thread_sibling() Change cpu_last_thread_in_core() to cpu_rightmost_thread_sibling() These APIs convert core number (index) to logical cpu/thread numbers Add cpu_first_thread_of_core(int core) Changed cpu_

[RFC PATCH v2 2/2] powerpc: add support for new hcall H_BEST_ENERGY

2010-05-07 Thread Vaidyanathan Srinivasan
Create sysfs interface to export data from H_BEST_ENERGY hcall that can be used by administrative tools on supported pseries platforms for energy management optimizations. /sys/device/system/cpu/pseries_(de)activate_hint_list and /sys/device/system/cpu/cpuN/

Re: [PATCH 3/3] powerpc/kexec: Add support for FSL-BookE

2010-05-07 Thread Josh Boyer
On Fri, May 07, 2010 at 07:35:34PM +0800, wilbur.chan wrote: >Most booke powerpc are based on SMP, I am looking forward someone to >implement this. hiahia Erm, actually most Book-E powerpc CPUs are not SMP. SMP Book-E cores are only a fairly recent development, and if I recall correctly you need

Re: [PATCH 3/3] powerpc/kexec: Add support for FSL-BookE

2010-05-07 Thread Kumar Gala
On May 7, 2010, at 7:16 AM, Josh Boyer wrote: > On Fri, May 07, 2010 at 07:35:34PM +0800, wilbur.chan wrote: >> Most booke powerpc are based on SMP, I am looking forward someone to >> implement this. hiahia > > Erm, actually most Book-E powerpc CPUs are not SMP. SMP Book-E cores are only > a fa

Re: Suspicious rcu_dereference_check() usage detected during 2.6.34-rc6 boot on PPC64/p5 processor

2010-05-07 Thread Maciej Rutecki
On czwartek, 6 maja 2010 o 09:17:59 Subrata Modak wrote: > Hi, > > The following messages were logged into /var/log/messages when i booted > 2.6.34-rc6 kernel (built with attached CONFIG file contents ) on my p5 box: > I created a Bugzilla entry at https://bugzilla.kernel.org/show_bug.cgi?id=15

[PATCH 1/2] powerpc: Partition hibernation support

2010-05-07 Thread Brian King
Enables support for HMC initiated partition hibernation. This is a firmware assisted hibernation, since the firmware handles writing the memory out to disk, along with other partition information, so we just mimic suspend to ram. Signed-off-by: Brian King --- arch/powerpc/Kconfig

[PATCH 2/2] powerpc: Add power management support to VIO bus

2010-05-07 Thread Brian King
Adds support for suspend/resume for VIO devices. This is needed for support for HMC initiated hibernation. Signed-off-by: Brian King --- arch/powerpc/kernel/vio.c | 24 1 file changed, 24 insertions(+) diff -puN arch/powerpc/kernel/vio.c~powerpc_vio_bus_pm arch/powe

Please pull 'next' branch of 4xx (again)

2010-05-07 Thread Josh Boyer
Hi Ben, Two more quick patches from me for -next. Stefrano's is the Katmai usage of the reset type change that just went in. The 460SX PCI-e patch has been sitting for a while and seems to have been skipped over. josh The following changes since commit 1ed31d6db90d51010545921e59d369d2f92b7ac2: