OSDN Git Service

target/ppc: Add HV support to ppc_interrupts_little_endian
authorFabiano Rosas <farosas@linux.ibm.com>
Wed, 12 Jan 2022 10:28:27 +0000 (11:28 +0100)
committerCédric Le Goater <clg@kaod.org>
Wed, 12 Jan 2022 10:28:27 +0000 (11:28 +0100)
commit516fc1036b06a48042de1309c4e76abda255cf7b
tree62f914033ecacc4a4ad7655cbd2281ae43f2be54
parent4dff75fe95e1aa101567d7052301f125a21323e4
target/ppc: Add HV support to ppc_interrupts_little_endian

The ppc_interrupts_little_endian function could be used for interrupts
delivered in Hypervisor mode, so add support for powernv8 and powernv9
to it.

Also drop the comment because it is inaccurate, all CPUs that can run
little endian can have interrupts in little endian. The point is
whether they can take interrupts in an endianness different from
MSR_LE.

This change has no functional impact.

Signed-off-by: Fabiano Rosas <farosas@linux.ibm.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Message-Id: <20220107222601.4101511-5-farosas@linux.ibm.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
target/ppc/arch_dump.c
target/ppc/cpu.h
target/ppc/excp_helper.c