mbox series

[v3,0/4] hw/mips/loongson3_virt: Implement IPI support

Message ID 20240605-loongson3-ipi-v3-0-ddd2c0e03fa3@flygoat.com (mailing list archive)
Headers show
Series hw/mips/loongson3_virt: Implement IPI support | expand

Message

Jiaxun Yang June 5, 2024, 2:15 a.m. UTC
Hi all,

This series enabled IPI support for loongson3 virt board, loosely
based on my previous work[1].
It generalized loongarch_ipi device to share among both loongarch
and MIPS machines. 

Thanks

[1]: https://lore.kernel.org/all/20230521102307.87081-1-jiaxun.yang@flygoat.com/

To: qemu-devel@nongnu.org
Cc: Song Gao <gaosong@loongson.cn>

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
---
Changes in v3:
- Fix up sign off lines.
- Link to v2: https://lore.kernel.org/r/20240605-loongson3-ipi-v2-0-da26282e03a5@flygoat.com

Changes in v2:
- Add a patch to remove loongarch_ipi.c (Gao)
- Change iocsr alias owner to CPU (philmd)
- New patch to remove ipi_getcpu
- Link to v1: https://lore.kernel.org/r/20240508-loongson3-ipi-v1-0-1a7b67704664@flygoat.com

---
Jiaxun Yang (4):
      hw/intc: Remove loongarch_ipi.c
      hw/intc/loongson_ipi: Provide per core MMIO address spaces
      hw/mips/loongson3_virt: Wire up loongson_ipi device
      hw/intc/loongson_ipi: Replace ipi_getcpu with cpu_by_arch_id

 hw/intc/loongarch_ipi.c        | 347 -----------------------------------------
 hw/intc/loongson_ipi.c         | 120 +++++++-------
 hw/mips/Kconfig                |   1 +
 hw/mips/loongson3_bootp.c      |   2 -
 hw/mips/loongson3_bootp.h      |   3 +
 hw/mips/loongson3_virt.c       |  39 ++++-
 include/hw/intc/loongson_ipi.h |   2 +
 7 files changed, 108 insertions(+), 406 deletions(-)
---
base-commit: d67a6e054b92e5e1cbb7b0bd5782a670cc7f0df7
change-id: 20240508-loongson3-ipi-65e99b47c400

Best regards,

Comments

Jiaxun Yang June 12, 2024, 12:09 p.m. UTC | #1
在2024年6月5日六月 上午3:15,Jiaxun Yang写道:
> Hi all,
>
> This series enabled IPI support for loongson3 virt board, loosely
> based on my previous work[1].
> It generalized loongarch_ipi device to share among both loongarch
> and MIPS machines. 
>
> Thanks

A genttle ping :-)

Thanks
- Jiaxun

>
> [1]: https://lore.kernel.org/all/20230521102307.87081-1-jiaxun.yang@flygoat.com/
>
> To: qemu-devel@nongnu.org
> Cc: Song Gao <gaosong@loongson.cn>
>
> Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
> ---
> Changes in v3:
> - Fix up sign off lines.
> - Link to v2: 
> https://lore.kernel.org/r/20240605-loongson3-ipi-v2-0-da26282e03a5@flygoat.com
>
> Changes in v2:
> - Add a patch to remove loongarch_ipi.c (Gao)
> - Change iocsr alias owner to CPU (philmd)
> - New patch to remove ipi_getcpu
> - Link to v1: 
> https://lore.kernel.org/r/20240508-loongson3-ipi-v1-0-1a7b67704664@flygoat.com
>
> ---
> Jiaxun Yang (4):
>       hw/intc: Remove loongarch_ipi.c
>       hw/intc/loongson_ipi: Provide per core MMIO address spaces
>       hw/mips/loongson3_virt: Wire up loongson_ipi device
>       hw/intc/loongson_ipi: Replace ipi_getcpu with cpu_by_arch_id
>
>  hw/intc/loongarch_ipi.c        | 347 -----------------------------------------
>  hw/intc/loongson_ipi.c         | 120 +++++++-------
>  hw/mips/Kconfig                |   1 +
>  hw/mips/loongson3_bootp.c      |   2 -
>  hw/mips/loongson3_bootp.h      |   3 +
>  hw/mips/loongson3_virt.c       |  39 ++++-
>  include/hw/intc/loongson_ipi.h |   2 +
>  7 files changed, 108 insertions(+), 406 deletions(-)
> ---
> base-commit: d67a6e054b92e5e1cbb7b0bd5782a670cc7f0df7
> change-id: 20240508-loongson3-ipi-65e99b47c400
>
> Best regards,
> -- 
> Jiaxun Yang <jiaxun.yang@flygoat.com>
Philippe Mathieu-Daudé June 18, 2024, 11:49 a.m. UTC | #2
On 12/6/24 14:09, Jiaxun Yang wrote:
> 在2024年6月5日六月 上午3:15,Jiaxun Yang写道:
>> Hi all,
>>
>> This series enabled IPI support for loongson3 virt board, loosely
>> based on my previous work[1].
>> It generalized loongarch_ipi device to share among both loongarch
>> and MIPS machines.
>>
>> Thanks
> 
> A genttle ping :-)

Series queued, thanks!

>> ---
>> Jiaxun Yang (4):
>>        hw/intc: Remove loongarch_ipi.c
>>        hw/intc/loongson_ipi: Provide per core MMIO address spaces
>>        hw/mips/loongson3_virt: Wire up loongson_ipi device
>>        hw/intc/loongson_ipi: Replace ipi_getcpu with cpu_by_arch_id