[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 2/2] hw/mips/loongson3_virt: Add TCG SMP support
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v3 2/2] hw/mips/loongson3_virt: Add TCG SMP support |
Date: |
Mon, 18 Jan 2021 10:10:43 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 |
On 1/18/21 2:17 AM, Jiaxun Yang wrote:
> loongson3_virt has KVM SMP support in kenrel.
> This patch adds TCG SMP support by enable IPI controller
> for machine.
>
> Also add definition about IRQs to enhance readability.
>
> Note that TCG SMP can only support up to 4 CPUs as we
> didn't implement multi-node support.
>
> Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
> ---
> hw/mips/loongson3_bootp.h | 1 +
> hw/mips/loongson3_virt.c | 41 ++++++++++++++++++++++++++++++++-------
> hw/mips/Kconfig | 1 +
> 3 files changed, 36 insertions(+), 7 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>