Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348533
b: refs/heads/master
c: d591390
h: refs/heads/master
i:
  348531: 3c112d8
v: v3
  • Loading branch information
Andreas Schwab authored and Alexander Graf committed Jan 6, 2013
1 parent 7ea766d commit 5ab6498
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1509ae56cdc19a12f76000e31602e4119fffc571
refs/heads/master: d591390da94234d5b8eb1bbd9f2a25d2e780d528
4 changes: 4 additions & 0 deletions trunk/arch/powerpc/kvm/book3s_hv_ras.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ static void flush_tlb_power7(struct kvm_vcpu *vcpu)
static long kvmppc_realmode_mc_power7(struct kvm_vcpu *vcpu)
{
unsigned long srr1 = vcpu->arch.shregs.msr;
#ifdef CONFIG_PPC_POWERNV
struct opal_machine_check_event *opal_evt;
#endif
long handled = 1;

if (srr1 & SRR1_MC_LDSTERR) {
Expand Down Expand Up @@ -117,6 +119,7 @@ static long kvmppc_realmode_mc_power7(struct kvm_vcpu *vcpu)
handled = 0;
}

#ifdef CONFIG_PPC_POWERNV
/*
* See if OPAL has already handled the condition.
* We assume that if the condition is recovered then OPAL
Expand All @@ -131,6 +134,7 @@ static long kvmppc_realmode_mc_power7(struct kvm_vcpu *vcpu)

if (handled)
opal_evt->in_use = 0;
#endif

return handled;
}
Expand Down

0 comments on commit 5ab6498

Please sign in to comment.