mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
KVM: PPC: Book3S PR: Handle Facility interrupt and FSCR
POWER8 introduced a new interrupt type called "Facility unavailable interrupt" which contains its status message in a new register called FSCR. Handle these exits and try to emulate instructions for unhandled facilities. Follow-on patches enable KVM to expose specific facilities into the guest. Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
a5948fa092
commit
616dff8602
9 changed files with 125 additions and 14 deletions
|
@ -104,6 +104,7 @@ struct kvmppc_host_state {
|
|||
#ifdef CONFIG_PPC_BOOK3S_64
|
||||
u64 cfar;
|
||||
u64 ppr;
|
||||
u64 host_fscr;
|
||||
#endif
|
||||
};
|
||||
|
||||
|
@ -133,6 +134,7 @@ struct kvmppc_book3s_shadow_vcpu {
|
|||
u64 esid;
|
||||
u64 vsid;
|
||||
} slb[64]; /* guest SLB */
|
||||
u64 shadow_fscr;
|
||||
#endif
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue