[PATCH 0/5] hw/mips/loongson3_virt: Implement IPI support

Jiaxun Yang posted 5 patches 6 months, 2 weeks ago
Failed in applying to current master (apply log)
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, Song Gao <gaosong@loongson.cn>, Huacai Chen <chenhuacai@kernel.org>, Jiaxun Yang <jiaxun.yang@flygoat.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>
There is a newer version of this series
MAINTAINERS                                        |   4 +
hw/intc/Kconfig                                    |   2 +-
hw/intc/loongarch_ipi.c                            |  19 +-
hw/intc/loongson_ipi.c                             | 411 +++++++++++++++++++++
hw/intc/meson.build                                |   2 +-
hw/intc/trace-events                               |   8 +-
hw/loongarch/Kconfig                               |   2 +-
hw/loongarch/virt.c                                |   4 +-
hw/mips/Kconfig                                    |   1 +
hw/mips/loongson3_bootp.c                          |   2 -
hw/mips/loongson3_bootp.h                          |   3 +
hw/mips/loongson3_virt.c                           |  39 +-
.../hw/intc/{loongarch_ipi.h => loongson_ipi.h}    |  14 +-
include/hw/loongarch/virt.h                        |   2 +-
14 files changed, 475 insertions(+), 38 deletions(-)
[PATCH 0/5] hw/mips/loongson3_virt: Implement IPI support
Posted by Jiaxun Yang 6 months, 2 weeks ago
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>
---
Jiaxun Yang (5):
      hw/intc/loongarch_ipi: Remove pointless MAX_CPU check
      hw/intc/loongarch_ipi: Rename as loongson_ipi
      hw/intc/loongson_ipi: Implement IOCSR address space for MIPS
      hw/intc/loongson_ipi: Provide per core MMIO address spaces
      hw/mips/loongson3_virt: Wire up loongson_ipi device

 MAINTAINERS                                        |   4 +
 hw/intc/Kconfig                                    |   2 +-
 hw/intc/loongarch_ipi.c                            |  19 +-
 hw/intc/loongson_ipi.c                             | 411 +++++++++++++++++++++
 hw/intc/meson.build                                |   2 +-
 hw/intc/trace-events                               |   8 +-
 hw/loongarch/Kconfig                               |   2 +-
 hw/loongarch/virt.c                                |   4 +-
 hw/mips/Kconfig                                    |   1 +
 hw/mips/loongson3_bootp.c                          |   2 -
 hw/mips/loongson3_bootp.h                          |   3 +
 hw/mips/loongson3_virt.c                           |  39 +-
 .../hw/intc/{loongarch_ipi.h => loongson_ipi.h}    |  14 +-
 include/hw/loongarch/virt.h                        |   2 +-
 14 files changed, 475 insertions(+), 38 deletions(-)
---
base-commit: 248f6f62df073a3b4158fd0093863ab885feabb5
change-id: 20240508-loongson3-ipi-65e99b47c400

Best regards,
-- 
Jiaxun Yang <jiaxun.yang@flygoat.com>
Re: [PATCH 0/5] hw/mips/loongson3_virt: Implement IPI support
Posted by Philippe Mathieu-Daudé 6 months, 2 weeks ago
On 8/5/24 15:06, Jiaxun Yang wrote:
> 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.


> Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
> ---
> Jiaxun Yang (5):
>        hw/intc/loongarch_ipi: Remove pointless MAX_CPU check
>        hw/intc/loongarch_ipi: Rename as loongson_ipi
>        hw/intc/loongson_ipi: Implement IOCSR address space for MIPS

So far patches 1-3 queued to hw-misc tree, thanks.
Re: [PATCH 0/5] hw/mips/loongson3_virt: Implement IPI support
Posted by Jiaxun Yang 6 months, 1 week ago

在2024年5月8日五月 下午10:41,Philippe Mathieu-Daudé写道:
> On 8/5/24 15:06, Jiaxun Yang wrote:
>> 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.
>
>
>> Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
>> ---
>> Jiaxun Yang (5):
>>        hw/intc/loongarch_ipi: Remove pointless MAX_CPU check
>>        hw/intc/loongarch_ipi: Rename as loongson_ipi
>>        hw/intc/loongson_ipi: Implement IOCSR address space for MIPS
>
> So far patches 1-3 queued to hw-misc tree, thanks.

Hi Philippe,

Thanks! What's your plan with the rest of the series and earlier MIPS
CPS SMP series?

Let me know if you need help on testing etc.

Thanks
-- 
- Jiaxun
Re: [PATCH 0/5] hw/mips/loongson3_virt: Implement IPI support
Posted by Philippe Mathieu-Daudé 5 months, 3 weeks ago
On 16/5/24 12:53, Jiaxun Yang wrote:
> 
> 
> 在2024年5月8日五月 下午10:41,Philippe Mathieu-Daudé写道:
>> On 8/5/24 15:06, Jiaxun Yang wrote:
>>> 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.
>>
>>
>>> Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
>>> ---
>>> Jiaxun Yang (5):
>>>         hw/intc/loongarch_ipi: Remove pointless MAX_CPU check
>>>         hw/intc/loongarch_ipi: Rename as loongson_ipi
>>>         hw/intc/loongson_ipi: Implement IOCSR address space for MIPS
>>
>> So far patches 1-3 queued to hw-misc tree, thanks.
> 
> Hi Philippe,
> 
> Thanks! What's your plan with the rest of the series

Patches LGTM, but I'd like an Acked-by from Song Gao ;)

> and earlier MIPS CPS SMP series?

No plan, just lack of time :/

> Let me know if you need help on testing etc.
> 
> Thanks


Re: [PATCH 0/5] hw/mips/loongson3_virt: Implement IPI support
Posted by gaosong 5 months, 3 weeks ago
在 2024/6/3 下午11:35, Philippe Mathieu-Daudé 写道:
> On 16/5/24 12:53, Jiaxun Yang wrote:
>>
>>
>> 在2024年5月8日五月 下午10:41,Philippe Mathieu-Daudé写道:
>>> On 8/5/24 15:06, Jiaxun Yang wrote:
>>>> 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.
>>>
>>>
>>>> Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
>>>> ---
>>>> Jiaxun Yang (5):
>>>>         hw/intc/loongarch_ipi: Remove pointless MAX_CPU check
>>>>         hw/intc/loongarch_ipi: Rename as loongson_ipi
>>>>         hw/intc/loongson_ipi: Implement IOCSR address space for MIPS
>>>
>>> So far patches 1-3 queued to hw-misc tree, thanks.
>>
>> Hi Philippe,
>>
>> Thanks! What's your plan with the rest of the series
>
> Patches LGTM, but I'd like an Acked-by from Song Gao ;)
>
Patch 1 - 4:
Acked-by: Song Gao <gaosong@loongson.cn>

and patch2 missed to delete the file loongarch_ipi.c.

Thanks.
Song Gao
>> and earlier MIPS CPS SMP series?
>
> No plan, just lack of time :/
>
>> Let me know if you need help on testing etc.
>>
>> Thanks


Re: [PATCH 0/5] hw/mips/loongson3_virt: Implement IPI support
Posted by Philippe Mathieu-Daudé 5 months, 3 weeks ago
On 4/6/24 14:55, gaosong wrote:
> 在 2024/6/3 下午11:35, Philippe Mathieu-Daudé 写道:
>> On 16/5/24 12:53, Jiaxun Yang wrote:
>>> 在2024年5月8日五月 下午10:41,Philippe Mathieu-Daudé写道:
>>>> On 8/5/24 15:06, Jiaxun Yang wrote:
>>>>> 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.
>>>>
>>>>
>>>>> Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
>>>>> ---
>>>>> Jiaxun Yang (5):
>>>>>         hw/intc/loongarch_ipi: Remove pointless MAX_CPU check
>>>>>         hw/intc/loongarch_ipi: Rename as loongson_ipi
>>>>>         hw/intc/loongson_ipi: Implement IOCSR address space for MIPS
>>>>
>>>> So far patches 1-3 queued to hw-misc tree, thanks.
>>>
>>> Hi Philippe,
>>>
>>> Thanks! What's your plan with the rest of the series
>>
>> Patches LGTM, but I'd like an Acked-by from Song Gao ;)
>>
> Patch 1 - 4:
> Acked-by: Song Gao <gaosong@loongson.cn>

Thanks!

> and patch2 missed to delete the file loongarch_ipi.c.

Jiaxun, I can not apply this series anymore, could you respin?

Regards,

Phil.