# Re: \[PATCH V3 01/22\] Documentation: LoongArch: Add basic documentations

- From: Huacai Chen \<hidden\>
- Date: 2021-09-24 04:08:31 
- List: linux-arch
- Page: https://ratatoskr.run/linux-arch/2021/09/1520233
- Thread: https://ratatoskr.run/linux-arch/2021/09/1512437/t.md

```text
Hi, Pavel,

On Fri, Sep 24, 2021 at 4:37 AM Pavel Machek [ref] wrote:
>
> Hi!
>
> > Add some basic documentations for LoongArch. LoongArch is a new RISC
>
> ... documentation ...
OK, thanks.

>
> > +wide in LA64. $r0 is always zero, and other registers has no special feature,
>
> ...have no special features...
OK, thanks.

>
> > +but we actually have an ABI register conversion as below.
>
> convention?
Yes, should be convention here.

>
> > +``$r21``          ``$x``          Reserved            Unused
> > +``$r22``          ``$fp``         Frame pointer       Yes
> > +``$r23``-``$r31`` ``$s0``-``$s8`` Static registers    Yes
> > +================= =============== =================== ============
>
> Not sure I know the term 'static registers' before.
"Static register" comes from the MIPS code "SAVE_STATIC", maybe it is
called "Saved register" in other places, but I think "static register"
is also OK.

Huacai
>                                                                 Pavel
```
