qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Fix IPI device emulation for LoongArch machine
@ 2022-07-05  6:48 Xiaojuan Yang
  2022-07-05  6:49 ` [PATCH 1/2] hw/intc/loongarch_ipi: Fix ipi device access of 64bits Xiaojuan Yang
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Xiaojuan Yang @ 2022-07-05  6:48 UTC (permalink / raw)
  To: qemu-devel
  Cc: richard.henderson, gaosong, maobibo, mark.cave-ayland, mst,
	imammedo, ani, f4bug, peter.maydell

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(-)

-- 
2.31.1



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-07-05 11:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-05  6:48 [PATCH v3 0/2] Fix IPI device emulation for LoongArch machine Xiaojuan Yang
2022-07-05  6:49 ` [PATCH 1/2] hw/intc/loongarch_ipi: Fix ipi device access of 64bits Xiaojuan Yang
2022-07-05  6:49 ` [PATCH 2/2] hw/intc/loongarch_ipi: Fix mail send and any send function Xiaojuan Yang
2022-07-05 10:54 ` [PATCH v3 0/2] Fix IPI device emulation for LoongArch machine Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).