Re: [Qemu-devel] [PATCH 2/6] Implement POWER7's CFAR in TCG

2011-08-10 Thread Alexander Graf
On 08/04/2011 09:02 AM, David Gibson wrote: This patch implements support for the CFAR SPR on POWER7 (Come From Address Register), which snapshots the PC value at the time of a branch or an rfid. The latest powerpc-next kernel also catches it and can show it in xmon or in the signal frames.

Re: [Qemu-devel] [PATCH 2/6] Implement POWER7's CFAR in TCG

2011-08-10 Thread David Gibson
On Wed, Aug 10, 2011 at 05:10:11PM +0200, Alexander Graf wrote: On 08/04/2011 09:02 AM, David Gibson wrote: [snip] @@ -187,12 +195,13 @@ typedef struct DisasContext { int le_mode; #if defined(TARGET_PPC64) int sf_mode; +int has_cfar; #endif int fpu_enabled;

[Qemu-devel] [PATCH 2/6] Implement POWER7's CFAR in TCG

2011-08-04 Thread David Gibson
This patch implements support for the CFAR SPR on POWER7 (Come From Address Register), which snapshots the PC value at the time of a branch or an rfid. The latest powerpc-next kernel also catches it and can show it in xmon or in the signal frames. This works well enough to let recent kernels