11 Sep, 2020

3 commits

  • The name of the directory where the schedule docs are
    stored are wrong on those files.

    Signed-off-by: Mauro Carvalho Chehab
    Reviewed-by: Valentin Schneider
    Link: https://lore.kernel.org/r/a32c2bba17aa69dc18670b7de1a3a35bfa1e1f88.1599660067.git.mchehab+huawei@kernel.org
    Signed-off-by: Jonathan Corbet

    Mauro Carvalho Chehab
     
  • This should solve bad error reports like this one:

    ./include/linux/iio/iio.h:0: WARNING: Unknown target name: "devm".

    Signed-off-by: Mauro Carvalho Chehab
    Link: https://lore.kernel.org/r/56eed0ba50cd726236acd12b11b55ce54854c5ea.1599660067.git.mchehab+huawei@kernel.org
    Signed-off-by: Jonathan Corbet

    Mauro Carvalho Chehab
     
  • The default way of building documentation is to use
    Sphinx toolchain installed via pip, inside the
    Kernel tree main directory. That's what's recommended by:

    scripts/sphinx-pre-install

    As it usually provides a better version of this package
    than the one installed, specially on LTS distros.

    So, add the directories created by running the commands
    suggested by the script.

    Signed-off-by: Mauro Carvalho Chehab
    Link: https://lore.kernel.org/r/ac4e23d556c7d95cb11d6d5c605f43e425b2c3c7.1599660067.git.mchehab+huawei@kernel.org
    Signed-off-by: Jonathan Corbet

    Mauro Carvalho Chehab
     

10 Sep, 2020

12 commits

  • This prevents the chapter headings from showing up in the table of
    contents in filesystems/index.html.

    Note that I didn't pick "UBIFS Authentication" as the document title,
    because there is a chapter of the same name, and Sphinx complains about
    multiple headings with the same name:

    /.../Documentation/filesystems/ubifs-authentication.rst:207:
    WARNING: duplicate label filesystems/ubifs-authentication:ubifs
    authentication, other instance in
    /.../Documentation/filesystems/ubifs-authentication.rst

    Remove the :orphan: tag, as the document has been included into the
    toctree.

    Signed-off-by: Jonathan Neuschäfer
    Link: https://lore.kernel.org/r/20200905204326.1378339-3-j.neuschaefer@gmx.net
    Signed-off-by: Jonathan Corbet

    Jonathan Neuschäfer
     
  • Signed-off-by: Jonathan Neuschäfer
    Link: https://lore.kernel.org/r/20200905204326.1378339-2-j.neuschaefer@gmx.net
    Signed-off-by: Jonathan Corbet

    Jonathan Neuschäfer
     
  • fourV CPUs should be four CPUs.

    Signed-off-by: Barry Song
    Link: https://lore.kernel.org/r/20200904101902.29560-1-song.bao.hua@hisilicon.com
    Signed-off-by: Jonathan Corbet

    Barry Song
     
  • Rename function name to the actual name referenced in
    struct iio_sw_trigger_ops.

    Signed-off-by: Lars Poeschel
    Link: https://lore.kernel.org/r/20200904091911.269715-1-poeschel@lemonage.de
    Signed-off-by: Jonathan Corbet

    Lars Poeschel
     
  • Add Sphinx reference links to HMM and CPUSETS, and numerous small
    editorial changes to make the page_migration.rst document more readable.

    Signed-off-by: Ralph Campbell
    Reviewed-by: Randy Dunlap
    Link: https://lore.kernel.org/r/20200902225247.15213-1-rcampbell@nvidia.com
    Signed-off-by: Jonathan Corbet

    Ralph Campbell
     
  • Update information in the zero-length and one-element arrays section
    and illustrate how to make use of the new flex_array_size() helper,
    together with struct_size() and a flexible-array member.

    Signed-off-by: Gustavo A. R. Silva
    Acked-by: Kees Cook
    Link: https://lore.kernel.org/r/20200901010949.GA21398@embeddedor
    Signed-off-by: Jonathan Corbet

    Gustavo A. R. Silva
     
  • Add to Documentation/process/submit-checklist.rst that patch
    submitters should run "make htmldocs" and verify that any
    Documentation/ changes (patches) are clean (no new warnings/errors).

    Signed-off-by: Randy Dunlap
    Reviewed-by: Mike Rapoport
    Link: https://lore.kernel.org/r/cf5bbdf5-03ff-0606-a6d4-ca196d90aee9@infradead.org
    Signed-off-by: Jonathan Corbet

    Randy Dunlap
     
  • Commit a4232963757e ("driver-core: Move kobj_to_dev from genhd.h to device.h")
    introduced kobj_to_dev() function.

    Signed-off-by: Denis Efremov
    Link: https://lore.kernel.org/r/20200830144135.6956-1-efremov@linux.com
    Signed-off-by: Jonathan Corbet

    Denis Efremov
     
  • Commit 15322a0d90b6 ("lsm: remove current_security()") removed
    current_security() from the sources.

    Signed-off-by: Denis Efremov
    Link: https://lore.kernel.org/r/20200830142509.5738-1-efremov@linux.com
    Signed-off-by: Jonathan Corbet

    Denis Efremov
     
  • bcache.rst is from the original bcache.txt which was merged in mainline
    kernel v3.10. There are a few things changed in the past 7 years. This
    patch updates bache.rst documents in following content,
    - Update bcache-tools git repo to,
    https://git.kernel.org/pub/scm/linux/kernel/git/colyli/bcache-tools.git/
    - Update bcache kernel tree to mainline kernel tree,
    https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
    - make-bcache util is replaced by the unified bcache util,
    `make-bcache` now can be performed by `bcache make`

    Signed-off-by: Coly Li
    Cc: Jonathan Corbet
    Cc: Kent Overstreet
    Link: https://lore.kernel.org/r/20200821151354.16727-1-colyli@suse.de
    Signed-off-by: Jonathan Corbet

    Coly Li
     
  • The parameters in command examples for tpm2_createprimary and
    tpm2_evictcontrol are outdated, people (like me) are not able to create
    trusted key by these command examples.

    This patch updates the parameters of command example tpm2_createprimary
    and tpm2_evictcontrol in trusted-encrypted.rst. With Linux kernel v5.8
    and tpm2-tools-4.1, people can create a trusted key by following the
    examples in this document.

    Signed-off-by: Coly Li
    Reviewed-by: Jarkko Sakkinen
    Reviewed-by: Stefan Berger
    Cc: Dan Williams
    Cc: James Bottomley
    Cc: Jason Gunthorpe
    Cc: Mimi Zohar
    Cc: Peter Huewe
    Link: https://lore.kernel.org/r/20200821135356.15737-1-colyli@suse.de
    Signed-off-by: Jonathan Corbet

    Coly Li
     
  • The actual symbol that is exported and usable is
    'KVM_MEMORY_ENCRYPT_OP', not 'KVM_MEM_ENCRYPT_OP'

    $ git grep -l KVM_MEM_ENCRYPT_OP
    Documentation/virt/kvm/amd-memory-encryption.rst

    $ git grep -l KVM_MEMORY_ENCRYPT_OP
    Documentation/virt/kvm/api.rst
    arch/x86/kvm/x86.c
    include/uapi/linux/kvm.h
    tools/include/uapi/linux/kvm.h

    While we're in there, update the KVM API category for
    KVM_MEMORY_ENCRYPT_OP. It is called on a VM file descriptor.

    Signed-off-by: Connor Kuehl
    Link: https://lore.kernel.org/r/20200819211952.251984-1-ckuehl@redhat.com
    Signed-off-by: Jonathan Corbet

    Connor Kuehl
     

05 Sep, 2020

1 commit


04 Sep, 2020

7 commits

  • Git is fairly ubiquitous these days, and the additional information in
    this documentation for preparing patches without it is not especially
    relevant anymore and may serve to confuse new contributors.

    The git request-pull comments were also removed, given that it is not a
    tool well-suited to novice contributors, nor do maintainers especially
    appreciate receiving unexpected request-pulls from new contributors.

    Signed-off-by: Drew DeVault
    Link: https://lore.kernel.org/r/20200903160545.83185-5-sir@cmpwn.com
    Signed-off-by: Jonathan Corbet

    Drew DeVault
     
  • The repeated sign-offs necessary when a subsystem maintainer modifies an
    incoming patch has been moved from submitting-patches.rst to
    Documentation/maintainer, since the affairs of a subsystem maintainer
    are not especially relevant to someone reading a guide for how to submit
    their first patch.

    Signed-off-by: Drew DeVault
    Link: https://lore.kernel.org/r/20200903160545.83185-4-sir@cmpwn.com
    Signed-off-by: Jonathan Corbet

    Drew DeVault
     
  • This adds a link to https://useplaintext.email to email-clients.rst,
    which is a more exhaustive resource on configuring various mail clients
    for plain text use. submitting-patches.rst is also updated to direct
    readers to email-clients.rst to equip new contributors with the
    requisite knowledge to become a good participant on the mailing lists.

    Signed-off-by: Drew DeVault
    Reviewed-by: Randy Dunlap
    Link: https://lore.kernel.org/r/20200903160545.83185-3-sir@cmpwn.com
    Signed-off-by: Jonathan Corbet

    Drew DeVault
     
  • This follows similar changes throughout Documentation; these numbers
    tend to get outdated and are not especially useful.

    Signed-off-by: Drew DeVault
    Link: https://lore.kernel.org/r/20200903160545.83185-2-sir@cmpwn.com
    Signed-off-by: Jonathan Corbet

    Drew DeVault
     
  • Update text and examples in the "Cross-referencing from
    reStructuredText" section to reflect that no additional syntax is needed
    anymore.

    Signed-off-by: Nícolas F. R. A. Prado
    Link: https://lore.kernel.org/r/20200903005747.3900333-3-nfraprado@protonmail.com
    Signed-off-by: Jonathan Corbet

    Nícolas F. R. A. Prado
     
  • In order to cross-reference C types in the documentation, Sphinx
    requires the syntax :c:type:`type_name`, or even :c:type:`struct
    type_name ` in order to have the link text different from the
    target text.

    Extend automarkup to enable automatic cross-reference of C types by
    matching any "struct|union|enum|typedef type_name" expression.
    This makes the documentation's plain text cleaner and adds
    cross-reference to types without any additional effort by the author.

    Signed-off-by: Nícolas F. R. A. Prado
    Link: https://lore.kernel.org/r/20200903005747.3900333-2-nfraprado@protonmail.com
    Signed-off-by: Jonathan Corbet

    Nícolas F. R. A. Prado
     
  • In the past, these email lists where located at lists.redhat.com. This
    is not longer the case and they are now at redhat.com/mailman/listinfo

    Signed-off-by: Javier Garcia
    Link: https://lore.kernel.org/r/20200901090949.14514-1-javier@beren.dev
    Signed-off-by: Jonathan Corbet

    Javier Garcia
     

01 Sep, 2020

10 commits

  • Greg has challenged some recent driver submitters on their license
    choices. He was correct to do so, as the choices in these instances
    did not always advance the aims of the submitters.

    But, this left submitters (and the folks who help them pick licenses)
    a bit confused. They have read things like
    Documentation/process/license-rules.rst which says:

    individual source files can have a different license
    which is required to be compatible with the GPL-2.0

    and Documentation/process/submitting-drivers.rst:

    We don't insist on any kind of exclusive GPL licensing,
    and if you wish ... you may well wish to release under
    multiple licenses.

    As written, these appear a _bit_ more laissez faire than we've been in
    practice lately. It sounds like we at least expect submitters to make
    a well-reasoned license choice and to explain their rationale. It does
    not appear that we blindly accept anything that is simply
    GPLv2-compatible.

    Drivers appear to be the most acute source of misunderstanding, so fix
    the driver documentation first. Update it to clarify expectations.

    Signed-off-by: Dave Hansen
    Cc: Dan Williams
    Cc: H. Peter Anvin
    Cc: Thomas Gleixner
    Reviewed-by: Greg Kroah-Hartman
    Link: https://lore.kernel.org/r/20200814145625.8B708079@viggo.jf.intel.com
    Signed-off-by: Jonathan Corbet

    Dave Hansen
     
  • It's now gone from the kernel so remove it from the deprecated API text.

    Signed-off-by: Joe Perches
    Reviewed-by: Nick Desaulniers
    Link: https://lore.kernel.org/r/5e10c1645dd8f735215cf54a74db0f8dd3f6cbd5.camel@perches.com
    Signed-off-by: Jonathan Corbet

    Joe Perches
     
  • Based on a vote at the LLVM BoF at Plumbers 2020, we decided to start
    small, supporting just one formal upstream release of LLVM for now.

    We can probably widen the support window of supported versions over
    time. Also, note that LLVM's release process is different than GCC's.
    GCC tends to have 1 major release per year while releasing minor updates
    to the past 3 major versions. LLVM tends to support one major release
    and one minor release every six months.

    Signed-off-by: Nick Desaulniers
    Tested-by: Gustavo A. R. Silva
    Tested-by: Nathan Chancellor
    Reviewed-by: Kees Cook
    Reviewed-by: Nathan Chancellor
    Reviewed-by: Masahiro Yamada
    Acked-by: Will Deacon
    Link: https://lore.kernel.org/r/20200826191555.3350406-1-ndesaulniers@google.com
    Signed-off-by: Jonathan Corbet

    Nick Desaulniers
     
  • The submitting patches mentions criteria for a fix to be called
    "security fix". Add a link to document explaining the entire process
    of handling security bugs.

    Signed-off-by: Krzysztof Kozlowski
    Reviewed-by: Greg Kroah-Hartman
    Reviewed-by: Felipe Balbi
    Cc: Linus Torvalds
    Cc: Kees Cook
    Link: https://lore.kernel.org/r/20200827105319.9734-1-krzk@kernel.org
    Signed-off-by: Jonathan Corbet

    Krzysztof Kozlowski
     
  • While the xensource.com URLs referenced still exist, neither the Xen or Linux
    2.6.18 fork have been touched since 2009, 11 years ago. Other URLs are dead.

    IA64 support was removed in Xen 4.2, in 2012. Relegate this piece of
    documentation to source history.

    Signed-off-by: Andrew Cooper
    Link: https://lore.kernel.org/r/20200827175405.24344-1-andrew.cooper3@citrix.com
    Signed-off-by: Jonathan Corbet

    Andrew Cooper
     
  • Translate this commit to Korean:

    3e79f082ebfc ("libnvdimm/nvdimm/flush: Allow architecture to override the flush barrier")

    Signed-off-by: SeongJae Park
    Reviewed-by: Yunjae Lee
    Link: https://lore.kernel.org/r/20200829084027.4591-1-sj38.park@gmail.com
    Signed-off-by: Jonathan Corbet

    SeongJae Park
     
  • Translate this commit to Korean:

    a897b13d1b77 ("docs/memory-barriers.txt: Remove remaining references to mmiowb()")

    Signed-off-by: SeongJae Park
    Reviewed-by: Yunjae Lee
    Link: https://lore.kernel.org/r/20200829082607.3146-3-sj38.park@gmail.com
    Signed-off-by: Jonathan Corbet

    SeongJae Park
     
  • Commit 985098a05eee ("docs: fix references for DMA*.txt files") missed
    fixing memory-barriers.txt file. This commit applies the change to the
    file.

    Signed-off-by: SeongJae Park
    Link: https://lore.kernel.org/r/20200829082607.3146-2-sj38.park@gmail.com
    Signed-off-by: Jonathan Corbet

    SeongJae Park
     
  • The sentence regarding version numbers of '-stable' kernels is quite
    ambiguous. This commit makes the sentence more clear and fix
    inconsistent uses of the terms for 'version'.

    Signed-off-by: SeongJae Park
    Link: https://lore.kernel.org/r/20200829082343.2979-3-sj38.park@gmail.com
    Signed-off-by: Jonathan Corbet

    SeongJae Park
     
  • Translate this commit to Korean:

    fb0e0ffe7fc8 ("Documentation: bring process docs up to date")

    Signed-off-by: SeongJae Park
    Link: https://lore.kernel.org/r/20200829082343.2979-2-sj38.park@gmail.com
    Signed-off-by: Jonathan Corbet

    SeongJae Park
     

25 Aug, 2020

7 commits