Fix LoongArch IPI device emulation follwing Richard's advice based on v2
version:
1. Change ipi64_ops' valid.min_access_size to 8, as it only support 8 bytes
writing.
2. Remove 'UL' prefix in send_ipi_data().
3. Add a condition to skip the method of geting write mask in send_ipi_data(),
as the mask is 0 at most time.
Xiaojuan Yang (2):
hw/intc/loongarch_ipi: Fix ipi device access of 64bits
hw/intc/loongarch_ipi: Fix mail send and any send function
hw/intc/loongarch_ipi.c | 92 ++++++++++++++++++++++-----------
hw/loongarch/loongson3.c | 5 +-
include/hw/intc/loongarch_ipi.h | 7 +--
3 files changed, 70 insertions(+), 34 deletions(-)