[PATCH v3 2/3] Documentation: riscv: Add early boot document

Alexandre Ghiti alexghiti at rivosinc.com
Mon Jun 26 07:32:30 PDT 2023


On Sun, Jun 25, 2023 at 10:39 PM Jonathan Corbet <corbet at lwn.net> wrote:
>
> Alexandre Ghiti <alexghiti at rivosinc.com> writes:
>
> >> Please don't use :c:func:.  If you just write setup_vm(), all the right
> >> magic will happen.
> >
> > The magic indeed happens with virt_to_phys()/phys_to_virt(), but not
> > with setup_vm(): is there something we should do when declaring those
> > functions?
>
> If the function in question has no kerneldoc comment, there will be
> nothing to make the magic link to.  In other words, if you want it to
> link to the documentation, the documentation needs to actually exist :)

Ok, that's for another patchset then, thanks for your help!

>
> Thanks,
>
> jon



More information about the linux-riscv mailing list