qemu/linux-user
Sandipan Das be0c46d464 target-ppc: Extend HWCAP2 bits for ISA 3.0
This adds the HWCAP2 bit to detect if a linux user process is
running on an ISA 3.0 compliant cpu like POWER9. This can be
verified using a simple test program that prints the value in
the auxiliary vector for AT_HWCAP2 as shown below.

Before:
  $ qemu-ppc64le -cpu power8 test
  0x8c000000

  $ qemu-ppc64le -cpu power9 test
  0x8c000000

After:
  $ qemu-ppc64le -cpu power8 test
  0x8c000000

  $ qemu-ppc64le -cpu power9 test
  0x8c800000

Signed-off-by: Sandipan Das <sandipan@linux.ibm.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2018-09-07 11:29:50 +10:00
..
aarch64
alpha
arm
cris
generic
host
hppa
i386
m68k
microblaze
mips
mips64
nios2
openrisc
ppc
riscv
s390x
sh4
sparc
sparc64
tilegx
x86_64
xtensa
Makefile.objs
cpu_loop-common.h
elfload.c target-ppc: Extend HWCAP2 bits for ISA 3.0 2018-09-07 11:29:50 +10:00
errno_defs.h
exit.c
flat.h
flatload.c
ioctls.h
linux_loop.h
linuxload.c
m68k-sim.c
main.c
mmap.c
qemu.h
safe-syscall.S
signal-common.h
signal.c
socket.h
strace.c
strace.list
syscall.c
syscall_defs.h
syscall_types.h
target_flat.h
trace-events
uaccess.c
uname.c
uname.h
vm86.c