mbox series

[v2,00/11] Fix bugs for LoongArch virt machine

Message ID 20220701093407.2150607-1-yangxiaojuan@loongson.cn (mailing list archive)
Headers show
Series Fix bugs for LoongArch virt machine | expand

Message

Xiaojuan Yang July 1, 2022, 9:33 a.m. UTC
This series fix some bugs for LoongArch virt machine. Including
RTC device emulation, ECFG reg emulation, timer clear function,
and IPI device function, etc.

Xiaojuan Yang (11):
  hw/rtc/ls7a_rtc: Fix uninitialied bugs and toymatch writing function
  hw/rtc/ls7a_rtc: Fix timer call back function
  hw/rtc/ls7a_rtc: Remove unimplemented device in realized function
  hw/rtc/ls7a_rtc: Add reset function
  hw/rtc/ls7a_rtc: Fix rtc enable and disable function
  hw/rtc/ls7a_rtc: Use tm struct pointer as arguments in
    toy_time_to_val()
  hw/rtc/ls7a_rtc: Fix 'calculate' spelling errors
  target/loongarch: Fix the meaning of ECFG reg's VS field
  target/loongarch: Add lock when writing timer clear reg
  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         |  83 +++++++++++++-------
 hw/loongarch/loongson3.c        |   5 +-
 hw/rtc/ls7a_rtc.c               | 131 +++++++++++++-------------------
 include/hw/intc/loongarch_ipi.h |   7 +-
 target/loongarch/cpu.c          |   4 +
 target/loongarch/csr_helper.c   |   2 +
 6 files changed, 122 insertions(+), 110 deletions(-)

Comments

Richard Henderson July 4, 2022, 5:41 a.m. UTC | #1
On 7/1/22 15:03, Xiaojuan Yang wrote:
> This series fix some bugs for LoongArch virt machine. Including
> RTC device emulation, ECFG reg emulation, timer clear function,
> and IPI device function, etc.
> 
> Xiaojuan Yang (11):
>    hw/rtc/ls7a_rtc: Fix uninitialied bugs and toymatch writing function
>    hw/rtc/ls7a_rtc: Fix timer call back function
>    hw/rtc/ls7a_rtc: Remove unimplemented device in realized function
>    hw/rtc/ls7a_rtc: Add reset function
>    hw/rtc/ls7a_rtc: Fix rtc enable and disable function
>    hw/rtc/ls7a_rtc: Use tm struct pointer as arguments in
>      toy_time_to_val()
>    hw/rtc/ls7a_rtc: Fix 'calculate' spelling errors
>    target/loongarch: Fix the meaning of ECFG reg's VS field
>    target/loongarch: Add lock when writing timer clear reg

I'm queueing the first 9 patches.


r~