[PATCH v5 0/3] Add memmap and fix bugs for LoongArch

Xiaojuan Yang posted 3 patches 1 year, 6 months ago
Only 2 patches received!
hw/intc/loongarch_extioi.c      | 53 +++++++++++++++++++--------------
hw/intc/loongarch_ipi.c         |  1 -
hw/intc/trace-events            |  5 ++--
target/loongarch/iocsr_helper.c | 16 +++++-----
4 files changed, 42 insertions(+), 33 deletions(-)
[PATCH v5 0/3] Add memmap and fix bugs for LoongArch
Posted by Xiaojuan Yang 1 year, 6 months ago
This series add memmap table and fix extioi, ipi device
emulation for LoongArch virt machine.

The 'Fix LoongArch extioi function' patch based on:
20220927141504.3886314-1-alex.bennee@linaro.org

Changes for v5:
These changes are following Philippe Mathieu-Daude's advice.
1. Add trace_bad_read/write function when MemTxAttrs type is
   not MTRT_CPU in extioi_read/write().
2. Separate 'remove unused extioi system memory region' to a
   single patch.

Changes for v4: 
Add 'reviewed-by' tag in fixing ipi patch, and other changes
are the same as v3. 
1. Remove the memmap table patch in this series, it
   will apply until we have more than one machinestate.
2. Using MemTxAttrs' requester_type and requester_id
   to get current cpu index in loongarch extioi regs
   emulation.
   This patch based on: 
   20220927141504.3886314-1-alex.bennee@linaro.org
3. Rewrite the commit message of fixing ipi patch, and 
   add reviewed by tag in the patch.

Changes for v3: 
1. Remove the memmap table patch in this series, it
   will apply until we have more than one machinestate.
2. Using MemTxAttrs' requester_type and requester_id
   to get current cpu index in loongarch extioi regs
   emulation.
   This patch based on: 
   20220927141504.3886314-1-alex.bennee@linaro.org
3. Rewrite the commit message of fixing ipi patch, and 
   this patch has been reviewed.

Changes for v2: 
1. Adjust the position of 'PLATFORM' element in memmap table

Changes for v1: 
1. Add memmap table for LoongArch virt machine
2. Fix LoongArch extioi function
3. Fix LoongArch ipi device emulation

Xiaojuan Yang (3):
  hw/intc: Fix LoongArch extioi function
  hw/intc: Remove unused extioi system memory region of LoongArch
  hw/intc: Fix LoongArch ipi device emulation

 hw/intc/loongarch_extioi.c      | 53 +++++++++++++++++++--------------
 hw/intc/loongarch_ipi.c         |  1 -
 hw/intc/trace-events            |  5 ++--
 target/loongarch/iocsr_helper.c | 16 +++++-----
 4 files changed, 42 insertions(+), 33 deletions(-)

-- 
2.31.1