qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Jiaxun Yang" <jiaxun.yang@flygoat.com>
To: "Bibo Mao" <maobibo@loongson.cn>,
	"Philippe Mathieu-Daudé" <philmd@linaro.org>,
	"Song Gao" <gaosong@loongson.cn>
Cc: "Paolo Bonzini" <pbonzini@redhat.com>,
	"QEMU devel" <qemu-devel@nongnu.org>
Subject: Re: [PATCH v2 0/4] Reconstruct loongson ipi driver
Date: Wed, 10 Jul 2024 12:00:11 +0800	[thread overview]
Message-ID: <db13dadd-6a04-4da1-893e-e613ad39ab15@app.fastmail.com> (raw)
In-Reply-To: <fb5d8ffb-b183-ffbe-b64a-c4506b5b546d@loongson.cn>



在2024年7月9日七月 下午8:04,maobibo写道:
> Hi Philippe/Jiaxun,
>
> Could you do me a favor giving a review about this patch?

Hi Bibo,

I’m currently traveling, will test and review next week.

I’m not really convinced to give a R-b but I’m fine with a T-b.

Thanks

>
> Regards
> Bibo Mao
>
> On 2024/7/4 上午11:37, Bibo Mao wrote:
>> Now loongson ipi and loongarch ipi share the same code with different
>> macro, loongson ipi has its separate function such mmio region,
>> loongarch ipi has other requirement such as irqchip in kernel.
>> 
>> Interrupt irqchip has strong relationship with architecture, since
>> it sends irq to vcpu and interfaces to get irqchip register is also
>> architecture specific.
>> 
>> Here like other architectures, base class TYPE_LOONGSON_IPI_COMMON
>> is added, it comes from loongson ipi mostly. And it defined four abstract
>> interfaces which can be used for MIPS 3A4000 and Loongarch 3A5000 machine,
>> also can be used for 3A5000 irqchip in kernel mode soon.
>> 
>> Also Loongarch ipi and loongson ipi device are added here, it inherits
>> from base class TYPE_LOONGSON_IPI_COMMON. Loongarch ipi is tested,
>> loongson ipi device only passes to compile and make check, it is not
>> tested.
>> 
>> Bibo Mao (4):
>>    hw/intc/loongson_ipi_common: Add loongson ipi common class
>>    hw/intc/loongarch_ipi: Add loongarch ipi support
>>    hw/loongarch/virt: Replace loongson ipi with loongarch ipi
>>    hw/intc/loongson_ipi: reconstruct driver inherit from common class
>> 
>>   hw/intc/Kconfig                       |   3 +
>>   hw/intc/loongarch_ipi.c               |  80 ++++++
>>   hw/intc/loongson_ipi.c                | 330 ++-------------------
>>   hw/intc/loongson_ipi_common.c         | 394 ++++++++++++++++++++++++++
>>   hw/intc/meson.build                   |   3 +-
>>   hw/loongarch/Kconfig                  |   2 +-
>>   hw/loongarch/virt.c                   |   4 +-
>>   include/hw/intc/loongarch_ipi.h       |  33 +++
>>   include/hw/intc/loongson_ipi.h        |  54 ++--
>>   include/hw/intc/loongson_ipi_common.h |  77 +++++
>>   include/hw/loongarch/virt.h           |   1 -
>>   11 files changed, 632 insertions(+), 349 deletions(-)
>>   create mode 100644 hw/intc/loongarch_ipi.c
>>   create mode 100644 hw/intc/loongson_ipi_common.c
>>   create mode 100644 include/hw/intc/loongarch_ipi.h
>>   create mode 100644 include/hw/intc/loongson_ipi_common.h
>> 
>> 
>> base-commit: 6746482d12da3b6e4d3cdf06481a0027a797f719
>>

-- 
- Jiaxun


  reply	other threads:[~2024-07-10  4:01 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-04  3:37 [PATCH v2 0/4] Reconstruct loongson ipi driver Bibo Mao
2024-07-04  3:37 ` [PATCH v2 1/4] hw/intc/loongson_ipi_common: Add loongson ipi common class Bibo Mao
2024-07-15 15:31   ` Philippe Mathieu-Daudé
2024-07-16  1:11     ` maobibo
2024-07-04  3:38 ` [PATCH v2 2/4] hw/intc/loongarch_ipi: Add loongarch ipi support Bibo Mao
2024-07-04  3:38 ` [PATCH v2 3/4] hw/loongarch/virt: Replace loongson ipi with loongarch ipi Bibo Mao
2024-07-04  3:38 ` [PATCH v2 4/4] hw/intc/loongson_ipi: reconstruct driver inherit from common class Bibo Mao
2024-07-09 12:04 ` [PATCH v2 0/4] Reconstruct loongson ipi driver maobibo
2024-07-10  4:00   ` Jiaxun Yang [this message]
2024-07-10  6:08     ` maobibo
2024-07-15 15:17 ` Philippe Mathieu-Daudé
2024-07-16  1:04   ` maobibo
2024-07-16  1:29     ` maobibo
2024-07-16  6:40       ` Philippe Mathieu-Daudé
2024-07-17  9:22         ` maobibo
2024-07-17 11:53           ` Jiaxun Yang
2024-07-17 21:41             ` Philippe Mathieu-Daudé

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=db13dadd-6a04-4da1-893e-e613ad39ab15@app.fastmail.com \
    --to=jiaxun.yang@flygoat.com \
    --cc=gaosong@loongson.cn \
    --cc=maobibo@loongson.cn \
    --cc=pbonzini@redhat.com \
    --cc=philmd@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).