From: gaosong <gaosong@loongson.cn>
To: Bibo Mao <maobibo@loongson.cn>
Cc: "Philippe Mathieu-Daudé" <philmd@linaro.org>,
"Jiaxun Yang" <jiaxun.yang@flygoat.com>,
qemu-devel@nongnu.org
Subject: Re: [PATCH v2 0/8] hw/intc/loongarch_pch: Split into pic common and pic
Date: Thu, 7 Nov 2024 20:23:32 +0800 [thread overview]
Message-ID: <dc8b7ee1-2fcf-e82e-a684-a80ab9e96c29@loongson.cn> (raw)
In-Reply-To: <20240918065426.2341823-1-maobibo@loongson.cn>
在 2024/9/18 下午2:54, Bibo Mao 写道:
> In order to support irqchip_in_kenrel method, split loongarch pch pic
> driver into two parts, pic common and pic TCG driver. LoongArch pic common
> driver includes vmstate and property interface, also vmstate load and
> store interface is defined in pic common driver.
>
> In future LoongArch pic kvm driver can inherit from pic common driver.
>
> ---
> v1 ... v2:
> 1. Reorganize the patchset, put macro and structure moving patch as
> first one
> 2. Split the patchset with smaller patch, so that it is easier to
> review
> ---
> Bibo Mao (8):
> include: Add loongarch_pic_common header file
> include: Move struct LoongArchPCHPIC to loongarch_pic_common header
> file
> hw/intc/loongarch_pch: Merge instance_init() into realize()
> hw/intc/loongarch_pch: Rename LoongArchPCHPIC with
> LoongArchPICCommonState
> hw/intc/loongarch_pch: Move some functions to file
> loongarch_pic_common
> hw/intc/loongarch_pch: Inherit from loongarch_pic_common
> hw/intc/loongarch_pch: Add pre_save and post_load interfaces
> hw/intc/loongarch_pch: Code cleanup about loongarch_pch_pic
>
> hw/intc/loongarch_pch_pic.c | 106 ++++++++-----------------
> hw/intc/loongarch_pic_common.c | 97 ++++++++++++++++++++++
> hw/intc/meson.build | 2 +-
> hw/loongarch/virt.c | 2 +-
> include/hw/intc/loongarch_pch_pic.h | 70 ++++------------
> include/hw/intc/loongarch_pic_common.h | 82 +++++++++++++++++++
> 6 files changed, 230 insertions(+), 129 deletions(-)
> create mode 100644 hw/intc/loongarch_pic_common.c
> create mode 100644 include/hw/intc/loongarch_pic_common.h
>
>
> base-commit: 2b81c046252fbfb375ad30632362fc16e6e22bd5
Reviewed-by: Song Gao <gaosong@loongson.cn>
Thanks.
Song Gao
prev parent reply other threads:[~2024-11-07 12:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-18 6:54 [PATCH v2 0/8] hw/intc/loongarch_pch: Split into pic common and pic Bibo Mao
2024-09-18 6:54 ` [PATCH v2 1/8] include: Add loongarch_pic_common header file Bibo Mao
2024-09-18 6:54 ` [PATCH v2 2/8] include: Move struct LoongArchPCHPIC to " Bibo Mao
2024-09-18 6:54 ` [PATCH v2 3/8] hw/intc/loongarch_pch: Merge instance_init() into realize() Bibo Mao
2024-09-18 6:54 ` [PATCH v2 4/8] hw/intc/loongarch_pch: Rename LoongArchPCHPIC with LoongArchPICCommonState Bibo Mao
2024-09-18 6:54 ` [PATCH v2 5/8] hw/intc/loongarch_pch: Move some functions to file loongarch_pic_common Bibo Mao
2024-09-18 6:54 ` [PATCH v2 6/8] hw/intc/loongarch_pch: Inherit from loongarch_pic_common Bibo Mao
2024-09-18 6:54 ` [PATCH v2 7/8] hw/intc/loongarch_pch: Add pre_save and post_load interfaces Bibo Mao
2024-09-18 6:54 ` [PATCH v2 8/8] hw/intc/loongarch_pch: Code cleanup about loongarch_pch_pic Bibo Mao
2024-11-07 12:23 ` gaosong [this message]
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=dc8b7ee1-2fcf-e82e-a684-a80ab9e96c29@loongson.cn \
--to=gaosong@loongson.cn \
--cc=jiaxun.yang@flygoat.com \
--cc=maobibo@loongson.cn \
--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).