linux module cannot read/write BSCR Register.

2011-05-01 Thread linuxppc-dev
Dear, I am trying to write embedded linux kernel module to get the value of BCSR registers for ppc460ex . I am a newbie. How I access the BCSR register. Thanks, Efti -- View this message in context:

linux module cannot read/write BSCR Register

2011-05-01 Thread Eftakhar Chowdhury
Dear, I am trying to write embedded linux kernel module to get the value of BCSR registers for ppc460ex . I am a newbie. How I access the BCSR register. Thanks, Efti   ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org

RE: [PATCH 2/2] powerpc: add support for MPIC message register API

2011-05-01 Thread Kushwaha Prabhakar-B32579
Hi, I have no comments about coding and architecture. It looks fine. Only have a query about its use case.. Any application intended to use message interrupt requires to know reg_num because of struct mpic_msgr* mpic_msgr_get(unsigned int reg_num) API

[PATCH 1/2] powerpc: Save register r9-r13 values accurately on interrupt with bad stack

2011-05-01 Thread Paul Mackerras
When we take an interrupt or exception from kernel mode and the stack pointer is obviously not a kernel address (i.e. the top bit is 0), we switch to an emergency stack, save register values and panic. However, on 64-bit server machines, we don't actually save the values of r9 - r13 at the time