diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2011-08-31 15:45:10 +0000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2011-10-06 09:48:04 +0200 |
commit | 697ab892786d47008807a49f57b2fd86adfcd098 (patch) | |
tree | d64a416a4961237e980e9c5e3ab176adb95b44d8 /tests | |
parent | 2bd9543cd303d9f6cbd37b7466bb03543035156b (diff) |
Implement POWER7's CFAR in TCG
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 boot (which otherwise oops
on the CFAR access). It hasn't been tested enough to be confident that the
CFAR values are actually accurate, but one thing at a time.
Signed-off-by: Ben Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions