29 Jun, 2020

1 commit

  • There is not a single user of the debug raw view. Therefore remove it
    before anybody uses it. If anybody would make use of the view it would
    expose the struct __debug_entry definition to userspace and really
    would make it uapi. This wouldn't be good, since the definition is
    suboptimal and needs to be changed.

    Right now the structure definition is only defined to be uapi, however
    there is no user.

    Signed-off-by: Heiko Carstens

    Heiko Carstens
     

05 Jul, 2019

3 commits

  • Signed-off-by: Steffen Maier
    Acked-by: Christian Borntraeger
    Message-Id:
    Signed-off-by: Vasily Gorbik

    Steffen Maier
     
  • For non-static-inlines, debug.c already had non-compliant function
    header docs. So move the pure prototype kdocs of
    ("s390: include/asm/debug.h add kerneldoc markups")
    from debug.h to debug.c and merge them with the old function docs.
    Also, I had the impression that kdoc typically is at the implementation
    in the compile unit rather than at the prototype in the header file.

    While at it, update the short kdoc description to distinguish the
    different functions. And a few more consistency cleanups.

    Added a new kdoc for debug_set_critical() since debug.h comments it
    as part of the API.

    Signed-off-by: Steffen Maier
    Acked-by: Christian Borntraeger
    Message-Id:
    Signed-off-by: Vasily Gorbik

    Steffen Maier
     
  • Complements previous ("s390: include/asm/debug.h add kerneldoc markups")
    which seemed to have dropped important non-kdoc parts such as
    user space interface (level, size, flush)
    as well as views and caution regarding strings in the sprintf view.

    Signed-off-by: Steffen Maier
    Acked-by: Christian Borntraeger
    Message-Id:
    Signed-off-by: Vasily Gorbik

    Steffen Maier
     

11 Jun, 2019

2 commits

  • Instead of keeping the documentation inside s390dbf.rst,
    move them to arch/s390/include/asm/debug.h, using standard
    kernel-doc markups.

    Keeping the documentation close to the code helps to keep it
    updated. It also makes easier to document other stuff inside
    debug.h, as all it needs is to add kernel-doc markups inside
    it, as the file will be already be included at the produced
    documentation.

    -

    Those were converted to kerneldoc using this script specially
    designed to parse ths file, and manually editted:

    Signed-off-by: Mauro Carvalho Chehab
    Signed-off-by: Heiko Carstens

    Mauro Carvalho Chehab
     
  • Convert all text files with s390 documentation to ReST format.

    Tried to preserve as much as possible the original document
    format. Still, some of the files required some work in order
    for it to be visible on both plain text and after converted
    to html.

    The conversion is actually:
    - add blank lines and identation in order to identify paragraphs;
    - fix tables markups;
    - add some lists markups;
    - mark literal blocks;
    - adjust title markups.

    At its new index.rst, let's add a :orphan: while this is not linked to
    the main index.rst file, in order to avoid build warnings.

    Signed-off-by: Mauro Carvalho Chehab
    Signed-off-by: Heiko Carstens

    Mauro Carvalho Chehab