[RFC 2/5] powerpc: kvm: drop 32-bit booke

Arnd Bergmann arnd at arndb.de
Thu Dec 12 13:08:37 PST 2024


On Thu, Dec 12, 2024, at 19:35, Christophe Leroy wrote:
> Le 12/12/2024 à 13:55, Arnd Bergmann a écrit :
>> From: Arnd Bergmann <arnd at arndb.de>

>> 
>> Support for 64-bit hosts remains unchanged, for both 32-bit and
>> 64-bit guests.
>> 

>>   arch/powerpc/include/asm/kvm_book3s_32.h    |  36 --
>>   arch/powerpc/include/asm/kvm_booke.h        |   4 -
>>   arch/powerpc/include/asm/kvm_booke_hv_asm.h |   2 -
>>   arch/powerpc/kvm/Kconfig                    |  22 +-
>>   arch/powerpc/kvm/Makefile                   |  15 -
>>   arch/powerpc/kvm/book3s_32_mmu_host.c       | 396 --------------
>>   arch/powerpc/kvm/booke.c                    | 268 ----------
>>   arch/powerpc/kvm/booke.h                    |   8 -
>>   arch/powerpc/kvm/booke_emulate.c            |  44 --
>>   arch/powerpc/kvm/booke_interrupts.S         | 535 -------------------
>>   arch/powerpc/kvm/bookehv_interrupts.S       | 102 ----
>>   arch/powerpc/kvm/e500.c                     | 553 --------------------
>>   arch/powerpc/kvm/e500.h                     |  40 --
>>   arch/powerpc/kvm/e500_emulate.c             | 100 ----
>>   arch/powerpc/kvm/e500_mmu_host.c            |  54 --
>>   arch/powerpc/kvm/e500mc.c                   |   5 +-
>>   arch/powerpc/kvm/trace_booke.h              |  14 -
>>   17 files changed, 4 insertions(+), 2194 deletions(-)
>>   delete mode 100644 arch/powerpc/include/asm/kvm_book3s_32.h
>>   delete mode 100644 arch/powerpc/kvm/book3s_32_mmu_host.c
>>   delete mode 100644 arch/powerpc/kvm/booke_interrupts.S
>>   delete mode 100644 arch/powerpc/kvm/e500.c
>
> Left over ?
>
> arch/powerpc/kernel/head_booke.h:#include <asm/kvm_asm.h>
> arch/powerpc/kernel/head_booke.h:#include <asm/kvm_booke_hv_asm.h>
> arch/powerpc/kernel/head_booke.h:       b 
> kvmppc_handler_\intno\()_\srr1

As far as I can tell, these are still needed for e5500/e6500,
but you know more about the platform than I do.

       Arnd



More information about the linux-riscv mailing list