Re: [RFC 3/5] powerpc: kvm: drop 32-bit book3s

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Le 12/12/2024 à 13:55, Arnd Bergmann a écrit :
From: Arnd Bergmann <arnd@xxxxxxxx>

Support for KVM on 32-bit Book III-s implementations was added in 2010
and supports PowerMac, CHRP, and embedded platforms using the Freescale G4
(mpc74xx), e300 (mpc83xx) and e600 (mpc86xx) CPUs from 2003 to 2009.

Earlier 603/604/750 machines might work but would be even more limited
by their available memory.

The only likely users of KVM on any of these were the final Apple
PowerMac/PowerBook/iBook G4 models with 2GB of RAM that were at the high
end 20 years ago but are just as obsolete as their x86-32 counterparts.
The code has been orphaned since 2023.

Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
---
  MAINTAINERS                               |   2 +-
  arch/powerpc/include/asm/kvm_book3s.h     |  19 ----
  arch/powerpc/include/asm/kvm_book3s_asm.h |  10 --

pmac32_defconfig: something is going wrong with headers:

  CC      arch/powerpc/kernel/asm-offsets.s
In file included from ./arch/powerpc/include/asm/book3s/64/mmu-hash.h:20,
                 from ./arch/powerpc/include/asm/kvm_book3s_64.h:14,
                 from ./arch/powerpc/include/asm/kvm_book3s.h:380,
                 from ./arch/powerpc/include/asm/kvm_ppc.h:22,
                 from ./arch/powerpc/include/asm/dbell.h:17,
                 from arch/powerpc/kernel/asm-offsets.c:36:
./arch/powerpc/include/asm/book3s/64/pgtable.h:17: warning: "_PAGE_EXEC" redefined
   17 | #define _PAGE_EXEC              0x00001 /* execute permission */
      |
In file included from ./arch/powerpc/include/asm/book3s/pgtable.h:8,
                 from ./arch/powerpc/include/asm/pgtable.h:18,
                 from ./include/linux/pgtable.h:6,
                 from ./arch/powerpc/include/asm/kup.h:43,
                 from ./arch/powerpc/include/asm/uaccess.h:8,
                 from ./include/linux/uaccess.h:12,
                 from ./include/linux/sched/task.h:13,
                 from ./include/linux/sched/signal.h:9,
                 from ./include/linux/rcuwait.h:6,
                 from ./include/linux/percpu-rwsem.h:7,
                 from ./include/linux/fs.h:33,
                 from ./include/linux/compat.h:17,
                 from arch/powerpc/kernel/asm-offsets.c:12:
./arch/powerpc/include/asm/book3s/32/pgtable.h:30: note: this is the location of the previous definition
   30 | #define _PAGE_EXEC      0x200   /* software: exec allowed */
      |






[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux