diff options
| author | Nicholas Piggin <npiggin@gmail.com> | 2018-02-21 05:08:29 +1000 | 
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-04-01 00:47:50 +1100 | 
| commit | 471d7ff8b51b63521c8ea35c51966ab4caa434ee (patch) | |
| tree | 697babe0784be6808eeb49f12cba44dc937af05e /arch/powerpc/kvm/emulate.c | |
| parent | 3735eb850e6c3e7472329fea368e7d030a4d89dd (diff) | |
powerpc/64s: Remove POWER4 support
POWER4 has been broken since at least the change 49d09bf2a6
("powerpc/64s: Optimise MSR handling in exception handling"), which
requires mtmsrd L=1 support. This was introduced in ISA v2.01, and
POWER4 supports ISA v2.00.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kvm/emulate.c')
| -rw-r--r-- | arch/powerpc/kvm/emulate.c | 6 | 
1 files changed, 0 insertions, 6 deletions
| diff --git a/arch/powerpc/kvm/emulate.c b/arch/powerpc/kvm/emulate.c index 4d8b4d6cebff..fa888bfc347e 100644 --- a/arch/powerpc/kvm/emulate.c +++ b/arch/powerpc/kvm/emulate.c @@ -45,12 +45,6 @@ void kvmppc_emulate_dec(struct kvm_vcpu *vcpu)  #ifdef CONFIG_PPC_BOOK3S  	/* mtdec lowers the interrupt line when positive. */  	kvmppc_core_dequeue_dec(vcpu); - -	/* POWER4+ triggers a dec interrupt if the value is < 0 */ -	if (vcpu->arch.dec & 0x80000000) { -		kvmppc_core_queue_dec(vcpu); -		return; -	}  #endif  #ifdef CONFIG_BOOKE | 
