]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Book3S PR: Expose EBB registers
authorAlexander Graf <agraf@suse.de>
Tue, 29 Apr 2014 11:36:21 +0000 (13:36 +0200)
committerAlexander Graf <agraf@suse.de>
Fri, 30 May 2014 12:26:23 +0000 (14:26 +0200)
commit5b5c63bb1e1d0b3965073eea0f85c490ac79c787
tree30e0d6ad02fdcc8433617b8d0889a41a380ac480
parent643a918655a50f5fd261a865f6b9d4f7e48de6eb
KVM: PPC: Book3S PR: Expose EBB registers

POWER8 introduces a new facility called the "Event Based Branch" facility.
It contains of a few registers that indicate where a guest should branch to
when a defined event occurs and it's in PR mode.

We don't want to really enable EBB as it will create a big mess with !PR guest
mode while hardware is in PR and we don't really emulate the PMU anyway.

So instead, let's just leave it at emulation of all its registers.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/book3s.c
arch/powerpc/kvm/book3s_emulate.c
arch/powerpc/kvm/book3s_hv.c