hw/intc/loongarch_ipi: Fix ipi device access of 64bits
commitddf93261847df55137436abe429aae7f9d8228dd
authorXiaojuan Yang <yangxiaojuan@loongson.cn>
Tue, 5 Jul 2022 06:49:00 +0000 (5 14:49 +0800)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 5 Jul 2022 10:55:17 +0000 (5 16:25 +0530)
treedf643314296f894d227ac269bfac43ec7df7d037
parent0df0a6655522f9a9df78aeab39a96f2d0f181c92
hw/intc/loongarch_ipi: Fix ipi device access of 64bits

In general loongarch ipi device, 32bit registers is emulated, however for
anysend/mailsend device only 64bit register access is supported. So separate
the ipi memory region into two regions, including 32 bits and 64 bits.

Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Message-Id: <20220705064901.2353349-2-yangxiaojuan@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
hw/intc/loongarch_ipi.c
hw/loongarch/loongson3.c
include/hw/intc/loongarch_ipi.h