Skip to content

Commit b2677b8

Browse files
committed
KVM: PPC: Remove 440 support
The 440 target hasn't been properly functioning for a few releases and before I was the only one who fixes a very serious bug that indicates to me that nobody used it before either. Furthermore KVM on 440 is slow to the extent of unusable. We don't have to carry along completely unused code. Remove 440 and give us one less thing to worry about. Signed-off-by: Alexander Graf <agraf@suse.de>
1 parent 8c95ead commit b2677b8

17 files changed

Lines changed: 2 additions & 1204 deletions

File tree

‎Documentation/powerpc/00-INDEX‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ firmware-assisted-dump.txt
1717
- Documentation on the firmware assisted dump mechanism "fadump".
1818
hvcs.txt
1919
- IBM "Hypervisor Virtual Console Server" Installation Guide
20-
kvm_440.txt
21-
- Various notes on the implementation of KVM for PowerPC 440.
2220
mpc52xx.txt
2321
- Linux 2.6.x on MPC52xx family
2422
pmu-ebb.txt

‎Documentation/powerpc/kvm_440.txt‎

Lines changed: 0 additions & 41 deletions
This file was deleted.

‎arch/powerpc/Kconfig.debug‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,7 @@ config PPC_EARLY_DEBUG_BEAT
202202

203203
config PPC_EARLY_DEBUG_44x
204204
bool "Early serial debugging for IBM/AMCC 44x CPUs"
205-
# PPC_EARLY_DEBUG on 440 leaves AS=1 mappings above the TLB high water
206-
# mark, which doesn't work with current 440 KVM.
207-
depends on 44x && !KVM
205+
depends on 44x
208206
help
209207
Select this to enable early debugging for IBM 44x chips via the
210208
inbuilt serial port. If you enable this, ensure you set

‎arch/powerpc/configs/ppc44x_defconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,4 +127,3 @@ CONFIG_CRYPTO_PCBC=y
127127
# CONFIG_CRYPTO_ANSI_CPRNG is not set
128128
# CONFIG_CRYPTO_HW is not set
129129
CONFIG_VIRTUALIZATION=y
130-
CONFIG_KVM_440=y

‎arch/powerpc/include/asm/kvm_44x.h‎

Lines changed: 0 additions & 67 deletions
This file was deleted.

‎arch/powerpc/include/asm/kvm_asm.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
/* IVPR must be 64KiB-aligned. */
3434
#define VCPU_SIZE_ORDER 4
3535
#define VCPU_SIZE_LOG (VCPU_SIZE_ORDER + 12)
36-
#define VCPU_TLB_PGSZ PPC44x_TLB_64K
3736
#define VCPU_SIZE_BYTES (1<<VCPU_SIZE_LOG)
3837

3938
#define BOOKE_INTERRUPT_CRITICAL 0

‎arch/powerpc/include/asm/kvm_host.h‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
#define KVM_NR_IRQCHIPS 1
5050
#define KVM_IRQCHIP_NUM_PINS 256
5151

52-
#if !defined(CONFIG_KVM_440)
5352
#include <linux/mmu_notifier.h>
5453

5554
#define KVM_ARCH_WANT_MMU_NOTIFIER
@@ -62,8 +61,6 @@ extern int kvm_age_hva(struct kvm *kvm, unsigned long hva);
6261
extern int kvm_test_age_hva(struct kvm *kvm, unsigned long hva);
6362
extern void kvm_set_spte_hva(struct kvm *kvm, unsigned long hva, pte_t pte);
6463

65-
#endif
66-
6764
#define HPTEG_CACHE_NUM (1 << 15)
6865
#define HPTEG_HASH_BITS_PTE 13
6966
#define HPTEG_HASH_BITS_PTE_LONG 12

‎arch/powerpc/kvm/44x.c‎

Lines changed: 0 additions & 237 deletions
This file was deleted.

0 commit comments

Comments
 (0)