diff mbox series

[V13,9/9] docs/system: Update MIPS machine documentation

Message ID 1602059975-10115-10-git-send-email-chenhc@lemote.com (mailing list archive)
State New, archived
Headers show
Series mips: Add Loongson-3 machine support | expand

Commit Message

chen huacai Oct. 7, 2020, 8:39 a.m. UTC
Add Loongson-3A CPU models and Loongson-3 based machine description.

Signed-off-by: Huacai Chen <chenhc@lemote.com>
---
 docs/system/cpu-models-mips.rst.inc | 10 ++++++++--
 docs/system/target-mips.rst         | 10 ++++++++++
 2 files changed, 18 insertions(+), 2 deletions(-)

Comments

Philippe Mathieu-Daudé Oct. 9, 2020, 3:29 p.m. UTC | #1
Hi Huacai,

On 10/7/20 10:39 AM, Huacai Chen wrote:
> Add Loongson-3A CPU models and Loongson-3 based machine description.
> 
> Signed-off-by: Huacai Chen <chenhc@lemote.com>
> ---
>   docs/system/cpu-models-mips.rst.inc | 10 ++++++++--
>   docs/system/target-mips.rst         | 10 ++++++++++
>   2 files changed, 18 insertions(+), 2 deletions(-)
> 
> diff --git a/docs/system/cpu-models-mips.rst.inc b/docs/system/cpu-models-mips.rst.inc
> index 499b5b6..02cc4bb 100644
> --- a/docs/system/cpu-models-mips.rst.inc
> +++ b/docs/system/cpu-models-mips.rst.inc
> @@ -48,11 +48,17 @@ across all desired hosts.
>   ``I6400``
>       MIPS64 Processor (Release 6, 2014)
>   
> +``Loongson-2E``
> +    MIPS64 Processor (Loongson 2, 2006)
> +
>   ``Loongson-2F``
>       MIPS64 Processor (Loongson 2, 2008)
>   
> -``Loongson-2E``
> -    MIPS64 Processor (Loongson 2, 2006)
> +``Loongson-3A1000``
> +    MIPS64 Processor (Loongson 3, 2010)
> +
> +``Loongson-3A4000``
> +    MIPS64 Processor (Loongson 3, 2018)
>   
>   ``mips64dspr2``
>       MIPS64 Processor (Release 2, 2006)
> diff --git a/docs/system/target-mips.rst b/docs/system/target-mips.rst
> index cd2a931..1f86ccb 100644
> --- a/docs/system/target-mips.rst
> +++ b/docs/system/target-mips.rst
> @@ -84,6 +84,16 @@ The Fuloong 2E emulation supports:
>   
>   -  RTL8139D as a network card chipset
>   
> +The Loongson-3 virtual platform emulation supports:
> +
> +-  Loongson 3A CPU
> +
> +-  LIOINTC as interrupt controller
> +
> +-  GPEX and virtio as variable devices

What do you mean by "as variable devices"?

> +
> +-  Both KVM and TCG supported
> +
>   The mipssim pseudo board emulation provides an environment similar to
>   what the proprietary MIPS emulator uses for running Linux. It supports:
>   
>
Huacai Chen Oct. 10, 2020, 1:47 a.m. UTC | #2
Hi, Philippe,

On Fri, Oct 9, 2020 at 11:29 PM Philippe Mathieu-Daudé <f4bug@amsat.org> wrote:
>
> Hi Huacai,
>
> On 10/7/20 10:39 AM, Huacai Chen wrote:
> > Add Loongson-3A CPU models and Loongson-3 based machine description.
> >
> > Signed-off-by: Huacai Chen <chenhc@lemote.com>
> > ---
> >   docs/system/cpu-models-mips.rst.inc | 10 ++++++++--
> >   docs/system/target-mips.rst         | 10 ++++++++++
> >   2 files changed, 18 insertions(+), 2 deletions(-)
> >
> > diff --git a/docs/system/cpu-models-mips.rst.inc b/docs/system/cpu-models-mips.rst.inc
> > index 499b5b6..02cc4bb 100644
> > --- a/docs/system/cpu-models-mips.rst.inc
> > +++ b/docs/system/cpu-models-mips.rst.inc
> > @@ -48,11 +48,17 @@ across all desired hosts.
> >   ``I6400``
> >       MIPS64 Processor (Release 6, 2014)
> >
> > +``Loongson-2E``
> > +    MIPS64 Processor (Loongson 2, 2006)
> > +
> >   ``Loongson-2F``
> >       MIPS64 Processor (Loongson 2, 2008)
> >
> > -``Loongson-2E``
> > -    MIPS64 Processor (Loongson 2, 2006)
> > +``Loongson-3A1000``
> > +    MIPS64 Processor (Loongson 3, 2010)
> > +
> > +``Loongson-3A4000``
> > +    MIPS64 Processor (Loongson 3, 2018)
> >
> >   ``mips64dspr2``
> >       MIPS64 Processor (Release 2, 2006)
> > diff --git a/docs/system/target-mips.rst b/docs/system/target-mips.rst
> > index cd2a931..1f86ccb 100644
> > --- a/docs/system/target-mips.rst
> > +++ b/docs/system/target-mips.rst
> > @@ -84,6 +84,16 @@ The Fuloong 2E emulation supports:
> >
> >   -  RTL8139D as a network card chipset
> >
> > +The Loongson-3 virtual platform emulation supports:
> > +
> > +-  Loongson 3A CPU
> > +
> > +-  LIOINTC as interrupt controller
> > +
> > +-  GPEX and virtio as variable devices
>
> What do you mean by "as variable devices"?
I want to describe "Loongson-3 virtual machine use GPEX as its pci
host controller, and use virtio as its device model to connect many
kinds of devices" here.

Huacai
>
> > +
> > +-  Both KVM and TCG supported
> > +
> >   The mipssim pseudo board emulation provides an environment similar to
> >   what the proprietary MIPS emulator uses for running Linux. It supports:
> >
> >
diff mbox series

Patch

diff --git a/docs/system/cpu-models-mips.rst.inc b/docs/system/cpu-models-mips.rst.inc
index 499b5b6..02cc4bb 100644
--- a/docs/system/cpu-models-mips.rst.inc
+++ b/docs/system/cpu-models-mips.rst.inc
@@ -48,11 +48,17 @@  across all desired hosts.
 ``I6400``
     MIPS64 Processor (Release 6, 2014)
 
+``Loongson-2E``
+    MIPS64 Processor (Loongson 2, 2006)
+
 ``Loongson-2F``
     MIPS64 Processor (Loongson 2, 2008)
 
-``Loongson-2E``
-    MIPS64 Processor (Loongson 2, 2006)
+``Loongson-3A1000``
+    MIPS64 Processor (Loongson 3, 2010)
+
+``Loongson-3A4000``
+    MIPS64 Processor (Loongson 3, 2018)
 
 ``mips64dspr2``
     MIPS64 Processor (Release 2, 2006)
diff --git a/docs/system/target-mips.rst b/docs/system/target-mips.rst
index cd2a931..1f86ccb 100644
--- a/docs/system/target-mips.rst
+++ b/docs/system/target-mips.rst
@@ -84,6 +84,16 @@  The Fuloong 2E emulation supports:
 
 -  RTL8139D as a network card chipset
 
+The Loongson-3 virtual platform emulation supports:
+
+-  Loongson 3A CPU
+
+-  LIOINTC as interrupt controller
+
+-  GPEX and virtio as variable devices
+
+-  Both KVM and TCG supported
+
 The mipssim pseudo board emulation provides an environment similar to
 what the proprietary MIPS emulator uses for running Linux. It supports: