12 Oct, 2019

1 commit

  • Describe the fallthrough pseudo-keyword.

    Convert the coding-style.rst example to the keyword style.
    Add description and links to deprecated.rst.

    Miguel Ojeda comments on the eventual [[fallthrough]] syntax:
    "Note that C17/C18 does not have [[fallthrough]].

    C++17 introduced it, as it is mentioned above. I would keep the
    __attribute__((fallthrough)) -> [[fallthrough]] change you did,
    though, since that is indeed the standard syntax (given the paragraph
    references C++17).

    I was told by Aaron Ballman (who is proposing them for C) that it is
    more or less likely that it becomes standardized in C2x. However, it
    is still not added to the draft (other attributes are already,
    though). See N2268 and N2269:

    http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2268.pdf (fallthrough)
    http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2269.pdf (attributes in general)"

    Signed-off-by: Joe Perches
    Acked-by: Nick Desaulniers
    Signed-off-by: Linus Torvalds

    Joe Perches
     

30 Sep, 2019

1 commit

  • Pull Documentation/process update from Greg KH:
    "Here are two small Documentation/process/embargoed-hardware-issues.rst
    file updates that missed my previous char/misc pull request.

    The first one adds an Intel representative for the process, and the
    second one cleans up the text a bit more when it comes to how the
    disclosure rules work, as it was a bit confusing to some companies"

    * tag 'char-misc-5.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc:
    Documentation/process: Clarify disclosure rules
    Documentation/process: Volunteer as the ambassador for Intel

    Linus Torvalds
     

29 Sep, 2019

1 commit

  • The role of the contact list provided by the disclosing party and how it
    affects the disclosure process and the ability to include experts into
    the development process is not really well explained.

    Neither is it entirely clear when the disclosing party will be informed
    about the fact that a developer who is not covered by an employer NDA needs
    to be brought in and disclosed.

    Explain the role of the contact list and the information policy along with
    an eventual conflict resolution better.

    Reported-by: Dave Hansen
    Signed-off-by: Thomas Gleixner
    Acked-by: Dave Hansen
    Link: https://lore.kernel.org/r/alpine.DEB.2.21.1909251028390.10825@nanos.tec.linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

18 Sep, 2019

1 commit

  • Pull documentation updates from Jonathan Corbet:
    "It's a somewhat calmer cycle for docs this time, as the churn of the
    mass RST conversion is happily mostly behind us.

    - A new document on reproducible builds.

    - We finally got around to zapping the documentation for hardware
    support that was removed in 2004; one doesn't want to rush these
    things.

    - The usual assortment of fixes, typo corrections, etc"

    * tag 'docs-5.4' of git://git.lwn.net/linux: (67 commits)
    Documentation: kbuild: Add document about reproducible builds
    docs: printk-formats: Stop encouraging use of unnecessary %h[xudi] and %hh[xudi]
    Documentation: Add "earlycon=sbi" to the admin guide
    doc:lock: remove reference to clever use of read-write lock
    devices.txt: improve entry for comedi (char major 98)
    docs: mtd: Update spi nor reference driver
    doc: arm64: fix grammar dtb placed in no attributes region
    Documentation: sysrq: don't recommend 'S' 'U' before 'B'
    mailmap: Update email address for Quentin Perret
    docs: ftrace: clarify when tracing is disabled by the trace file
    docs: process: fix broken link
    Documentation/arm/samsung-s3c24xx: Remove stray U+FEFF character to fix title
    Documentation/arm/sa1100/assabet: Fix 'make assabet_defconfig' command
    Documentation/arm/sa1100: Remove some obsolete documentation
    docs/zh_CN: update Chinese howto.rst for latexdocs making
    Documentation: virt: Fix broken reference to virt tree's index
    docs: Fix typo on pull requests guide
    kernel-doc: Allow anonymous enum
    Documentation: sphinx: Don't parse socket() as identifier reference
    Documentation: sphinx: Add missing comma to list of strings
    ...

    Linus Torvalds
     

11 Sep, 2019

1 commit

  • Cc: Jonathan Corbet
    Cc: Greg Kroah-Hartman
    Cc: Sasha Levin
    Cc: Ben Hutchings
    Cc: Thomas Gleixner
    Cc: Laura Abbott
    Cc: Andrew Cooper
    Cc: Trilok Soni
    Cc: Kees Cook
    Cc: Tony Luck
    Cc: linux-doc@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    Cc: Dan Williams
    Signed-off-by: Tony Luck
    Signed-off-by: Dave Hansen
    Link: https://lore.kernel.org/r/20190910172646.25BFCE7B@viggo.jf.intel.com
    Signed-off-by: Greg Kroah-Hartman

    Tony Luck
     

08 Sep, 2019

1 commit


06 Sep, 2019

1 commit


05 Sep, 2019

2 commits


29 Aug, 2019

1 commit

  • To address the requirements of embargoed hardware issues, like Meltdown,
    Spectre, L1TF etc. it is necessary to define and document a process for
    handling embargoed hardware security issues.

    Following the discussion at the maintainer summit 2018 in Edinburgh
    (https://lwn.net/Articles/769417/) the volunteered people have worked
    out a process and a Memorandum of Understanding. The latter addresses
    the fact that the Linux kernel community cannot sign NDAs for various
    reasons.

    The initial contact point for hardware security issues is different from
    the regular kernel security contact to provide a known and neutral
    interface for hardware vendors and researchers. The initial primary
    contact team is proposed to be staffed by Linux Foundation Fellows, who
    are not associated to a vendor or a distribution and are well connected
    in the industry as a whole.

    The process is designed with the experience of the past incidents in
    mind and tries to address the remaining gaps, so future (hopefully rare)
    incidents can be handled more efficiently. It won't remove the fact,
    that most of this has to be done behind closed doors, but it is set up
    to avoid big bureaucratic hurdles for individual developers.

    The process is solely for handling hardware security issues and cannot
    be used for regular kernel (software only) security bugs.

    This memo can help with hardware companies who, and I quote, "[my
    manager] doesn't want to bet his job on the list keeping things secret."
    This despite numerous leaks directly from that company over the years,
    and none ever so far from the kernel security team. Cognitive
    dissidence seems to be a requirement to be a good manager.

    To accelerate the adoption of this process, we introduce the concept of
    ambassadors in participating companies. The ambassadors are there to
    guide people to comply with the process, but are not automatically
    involved in the disclosure of a particular incident.

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Greg Kroah-Hartman
    Reviewed-by: Josh Poimboeuf
    Acked-by: Laura Abbott
    Acked-by: Ben Hutchings
    Reviewed-by: Tyler Hicks
    Reviewed-by: Konrad Rzeszutek Wilk
    Reviewed-by: Jiri Kosina
    Link: https://lore.kernel.org/r/20190815212505.GC12041@kroah.com
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

25 Aug, 2019

1 commit

  • http://linux.yyz.us/patch-format.html seems to be down since
    approximately September 2018. There is a working archive copy on
    arhive.org. Replaced the links in documenation + translations.

    Signed-off-by: Jacob Huisman
    Reviewed-by: Federico Vaga
    Signed-off-by: Jonathan Corbet

    Jacob Huisman
     

01 Aug, 2019

1 commit


28 Jul, 2019

1 commit

  • …kernel/git/gustavoars/linux

    Pull Wimplicit-fallthrough enablement from Gustavo A. R. Silva:
    "This marks switch cases where we are expecting to fall through, and
    globally enables the -Wimplicit-fallthrough option in the main
    Makefile.

    Finally, some missing-break fixes that have been tagged for -stable:

    - drm/amdkfd: Fix missing break in switch statement

    - drm/amdgpu/gfx10: Fix missing break in switch statement

    With these changes, we completely get rid of all the fall-through
    warnings in the kernel"

    * tag 'Wimplicit-fallthrough-5.3-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux:
    Makefile: Globally enable fall-through warning
    drm/i915: Mark expected switch fall-throughs
    drm/amd/display: Mark expected switch fall-throughs
    drm/amdkfd/kfd_mqd_manager_v10: Avoid fall-through warning
    drm/amdgpu/gfx10: Fix missing break in switch statement
    drm/amdkfd: Fix missing break in switch statement
    perf/x86/intel: Mark expected switch fall-throughs
    mtd: onenand_base: Mark expected switch fall-through
    afs: fsclient: Mark expected switch fall-throughs
    afs: yfsclient: Mark expected switch fall-throughs
    can: mark expected switch fall-throughs
    firewire: mark expected switch fall-throughs

    Linus Torvalds
     

26 Jul, 2019

1 commit

  • Now that all the fall-through warnings have been addressed in the
    kernel, enable the fall-through warning globally.

    Also, update the deprecated.rst file to include implicit fall-through
    as 'deprecated' so people can be pointed to a single location for
    justification.

    Cc: Masahiro Yamada
    Cc: Andrew Morton
    Cc: Michal Marek
    Cc: Kees Cook
    Cc: linux-kbuild@vger.kernel.org
    Signed-off-by: Gustavo A. R. Silva

    Gustavo A. R. Silva
     

17 Jul, 2019

2 commits

  • Now that the latex_documents are handled automatically, we can
    remove those extra conf.py files.

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     
  • Pull rst conversion of docs from Mauro Carvalho Chehab:
    "As agreed with Jon, I'm sending this big series directly to you, c/c
    him, as this series required a special care, in order to avoid
    conflicts with other trees"

    * tag 'docs/v5.3-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (77 commits)
    docs: kbuild: fix build with pdf and fix some minor issues
    docs: block: fix pdf output
    docs: arm: fix a breakage with pdf output
    docs: don't use nested tables
    docs: gpio: add sysfs interface to the admin-guide
    docs: locking: add it to the main index
    docs: add some directories to the main documentation index
    docs: add SPDX tags to new index files
    docs: add a memory-devices subdir to driver-api
    docs: phy: place documentation under driver-api
    docs: serial: move it to the driver-api
    docs: driver-api: add remaining converted dirs to it
    docs: driver-api: add xilinx driver API documentation
    docs: driver-api: add a series of orphaned documents
    docs: admin-guide: add a series of orphaned documents
    docs: cgroup-v1: add it to the admin-guide book
    docs: aoe: add it to the driver-api book
    docs: add some documentation dirs to the driver-api book
    docs: driver-model: move it to the driver-api book
    docs: lp855x-driver.rst: add it to the driver-api book
    ...

    Linus Torvalds
     

16 Jul, 2019

1 commit

  • Pull PCI updates from Bjorn Helgaas:
    "Enumeration changes:

    - Evaluate PCI Boot Configuration _DSM to learn if firmware wants us
    to preserve its resource assignments (Benjamin Herrenschmidt)

    - Simplify resource distribution (Nicholas Johnson)

    - Decode 32 GT/s link speed (Gustavo Pimentel)

    Virtualization:

    - Fix incorrect caching of VF config space size (Alex Williamson)

    - Fix VF driver probing sysfs knobs (Alex Williamson)

    Peer-to-peer DMA:

    - Fix dma_virt_ops check (Logan Gunthorpe)

    Altera host bridge driver:

    - Allow building as module (Ley Foon Tan)

    Armada 8K host bridge driver:

    - add PHYs support (Miquel Raynal)

    DesignWare host bridge driver:

    - Export APIs to support removable loadable module (Vidya Sagar)

    - Enable Relaxed Ordering erratum workaround only on Tegra20 &
    Tegra30 (Vidya Sagar)

    Hyper-V host bridge driver:

    - Fix use-after-free in eject (Dexuan Cui)

    Mobiveil host bridge driver:

    - Clean up and fix many issues, including non-identify mapped
    windows, 64-bit windows, multi-MSI, class code, INTx clearing (Hou
    Zhiqiang)

    Qualcomm host bridge driver:

    - Use clk bulk API for 2.4.0 controllers (Bjorn Andersson)

    - Add QCS404 support (Bjorn Andersson)

    - Assert PERST for at least 100ms (Niklas Cassel)

    R-Car host bridge driver:

    - Add r8a774a1 DT support (Biju Das)

    Tegra host bridge driver:

    - Add support for Gen2, opportunistic UpdateFC and ACK (PCIe protocol
    details) AER, GPIO-based PERST# (Manikanta Maddireddy)

    - Fix many issues, including power-on failure cases, interrupt
    masking in suspend, UPHY settings, AFI dynamic clock gating,
    pending DLL transactions (Manikanta Maddireddy)

    Xilinx host bridge driver:

    - Fix NWL Multi-MSI programming (Bharat Kumar Gogada)

    Endpoint support:

    - Fix 64bit BAR support (Alan Mikhak)

    - Fix pcitest build issues (Alan Mikhak, Andy Shevchenko)

    Bug fixes:

    - Fix NVIDIA GPU multi-function power dependencies (Abhishek Sahu)

    - Fix NVIDIA GPU HDA enablement issue (Lukas Wunner)

    - Ignore lockdep for sysfs "remove" (Marek Vasut)

    Misc:

    - Convert docs to reST (Changbin Du, Mauro Carvalho Chehab)"

    * tag 'pci-v5.3-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: (107 commits)
    PCI: Enable NVIDIA HDA controllers
    tools: PCI: Fix installation when `make tools/pci_install`
    PCI: dwc: pci-dra7xx: Fix compilation when !CONFIG_GPIOLIB
    PCI: Fix typos and whitespace errors
    PCI: mobiveil: Fix INTx interrupt clearing in mobiveil_pcie_isr()
    PCI: mobiveil: Fix infinite-loop in the INTx handling function
    PCI: mobiveil: Move PCIe PIO enablement out of inbound window routine
    PCI: mobiveil: Add upper 32-bit PCI base address setup in inbound window
    PCI: mobiveil: Add upper 32-bit CPU base address setup in outbound window
    PCI: mobiveil: Mask out hardcoded bits in inbound/outbound windows setup
    PCI: mobiveil: Clear the control fields before updating it
    PCI: mobiveil: Add configured inbound windows counter
    PCI: mobiveil: Fix the valid check for inbound and outbound windows
    PCI: mobiveil: Clean-up program_{ib/ob}_windows()
    PCI: mobiveil: Remove an unnecessary return value check
    PCI: mobiveil: Fix error return values
    PCI: mobiveil: Refactor the MEM/IO outbound window initialization
    PCI: mobiveil: Make some register updates more readable
    PCI: mobiveil: Reformat the code for readability
    dt-bindings: PCI: mobiveil: Change gpio_slave and apb_csr to optional
    ...

    Linus Torvalds
     

15 Jul, 2019

1 commit

  • The conversion itself is simple: add a markup for the
    title of this file and add markups for both tables.

    Yet, the big table here with IOCTL numbers is badly formatted:
    on several lines, the "Include File" column has some values that
    are bigger than the reserved space there.

    Also, on several places, a comment was misplaced at the "Include
    File" space.

    So, most of the work here is to actually ensure that each field
    will be properly fixed.

    Also worth to mention that some URLs have the asterisk character
    on it. Well, Sphinx has an issue with asterisks in the middle
    of an string. As this is URL, use the alternate format: %2A.

    As a side effect of this patch, it is now a lot easier to see that
    some reserved ioctl numbers are missing the include files
    where it is supposed to be used.

    PS.: While this is part of a subdir, I opted to convert this
    single file alone, as this file has a potential of conflicts,
    as most subsystem maintainers touch it.

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     

12 Jul, 2019

1 commit

  • Pull networking updates from David Miller:
    "Some highlights from this development cycle:

    1) Big refactoring of ipv6 route and neigh handling to support
    nexthop objects configurable as units from userspace. From David
    Ahern.

    2) Convert explored_states in BPF verifier into a hash table,
    significantly decreased state held for programs with bpf2bpf
    calls, from Alexei Starovoitov.

    3) Implement bpf_send_signal() helper, from Yonghong Song.

    4) Various classifier enhancements to mvpp2 driver, from Maxime
    Chevallier.

    5) Add aRFS support to hns3 driver, from Jian Shen.

    6) Fix use after free in inet frags by allocating fqdirs dynamically
    and reworking how rhashtable dismantle occurs, from Eric Dumazet.

    7) Add act_ctinfo packet classifier action, from Kevin
    Darbyshire-Bryant.

    8) Add TFO key backup infrastructure, from Jason Baron.

    9) Remove several old and unused ISDN drivers, from Arnd Bergmann.

    10) Add devlink notifications for flash update status to mlxsw driver,
    from Jiri Pirko.

    11) Lots of kTLS offload infrastructure fixes, from Jakub Kicinski.

    12) Add support for mv88e6250 DSA chips, from Rasmus Villemoes.

    13) Various enhancements to ipv6 flow label handling, from Eric
    Dumazet and Willem de Bruijn.

    14) Support TLS offload in nfp driver, from Jakub Kicinski, Dirk van
    der Merwe, and others.

    15) Various improvements to axienet driver including converting it to
    phylink, from Robert Hancock.

    16) Add PTP support to sja1105 DSA driver, from Vladimir Oltean.

    17) Add mqprio qdisc offload support to dpaa2-eth, from Ioana
    Radulescu.

    18) Add devlink health reporting to mlx5, from Moshe Shemesh.

    19) Convert stmmac over to phylink, from Jose Abreu.

    20) Add PTP PHC (Physical Hardware Clock) support to mlxsw, from
    Shalom Toledo.

    21) Add nftables SYNPROXY support, from Fernando Fernandez Mancera.

    22) Convert tcp_fastopen over to use SipHash, from Ard Biesheuvel.

    23) Track spill/fill of constants in BPF verifier, from Alexei
    Starovoitov.

    24) Support bounded loops in BPF, from Alexei Starovoitov.

    25) Various page_pool API fixes and improvements, from Jesper Dangaard
    Brouer.

    26) Just like ipv4, support ref-countless ipv6 route handling. From
    Wei Wang.

    27) Support VLAN offloading in aquantia driver, from Igor Russkikh.

    28) Add AF_XDP zero-copy support to mlx5, from Maxim Mikityanskiy.

    29) Add flower GRE encap/decap support to nfp driver, from Pieter
    Jansen van Vuuren.

    30) Protect against stack overflow when using act_mirred, from John
    Hurley.

    31) Allow devmap map lookups from eBPF, from Toke Høiland-Jørgensen.

    32) Use page_pool API in netsec driver, Ilias Apalodimas.

    33) Add Google gve network driver, from Catherine Sullivan.

    34) More indirect call avoidance, from Paolo Abeni.

    35) Add kTLS TX HW offload support to mlx5, from Tariq Toukan.

    36) Add XDP_REDIRECT support to bnxt_en, from Andy Gospodarek.

    37) Add MPLS manipulation actions to TC, from John Hurley.

    38) Add sending a packet to connection tracking from TC actions, and
    then allow flower classifier matching on conntrack state. From
    Paul Blakey.

    39) Netfilter hw offload support, from Pablo Neira Ayuso"

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (2080 commits)
    net/mlx5e: Return in default case statement in tx_post_resync_params
    mlx5: Return -EINVAL when WARN_ON_ONCE triggers in mlx5e_tls_resync().
    net: dsa: add support for BRIDGE_MROUTER attribute
    pkt_sched: Include const.h
    net: netsec: remove static declaration for netsec_set_tx_de()
    net: netsec: remove superfluous if statement
    netfilter: nf_tables: add hardware offload support
    net: flow_offload: rename tc_cls_flower_offload to flow_cls_offload
    net: flow_offload: add flow_block_cb_is_busy() and use it
    net: sched: remove tcf block API
    drivers: net: use flow block API
    net: sched: use flow block API
    net: flow_offload: add flow_block_cb_{priv, incref, decref}()
    net: flow_offload: add list handling functions
    net: flow_offload: add flow_block_cb_alloc() and flow_block_cb_free()
    net: flow_offload: rename TCF_BLOCK_BINDER_TYPE_* to FLOW_BLOCK_BINDER_TYPE_*
    net: flow_offload: rename TC_BLOCK_{UN}BIND to FLOW_BLOCK_{UN}BIND
    net: flow_offload: add flow_block_cb_setup_simple()
    net: hisilicon: Add an tx_desc to adapt HI13X1_GMAC
    net: hisilicon: Add an rx_desc to adapt HI13X1_GMAC
    ...

    Linus Torvalds
     

10 Jul, 2019

1 commit

  • Pull Documentation updates from Jonathan Corbet:
    "It's been a relatively busy cycle for docs:

    - A fair pile of RST conversions, many from Mauro. These create more
    than the usual number of simple but annoying merge conflicts with
    other trees, unfortunately. He has a lot more of these waiting on
    the wings that, I think, will go to you directly later on.

    - A new document on how to use merges and rebases in kernel repos,
    and one on Spectre vulnerabilities.

    - Various improvements to the build system, including automatic
    markup of function() references because some people, for reasons I
    will never understand, were of the opinion that
    :c:func:``function()`` is unattractive and not fun to type.

    - We now recommend using sphinx 1.7, but still support back to 1.4.

    - Lots of smaller improvements, warning fixes, typo fixes, etc"

    * tag 'docs-5.3' of git://git.lwn.net/linux: (129 commits)
    docs: automarkup.py: ignore exceptions when seeking for xrefs
    docs: Move binderfs to admin-guide
    Disable Sphinx SmartyPants in HTML output
    doc: RCU callback locks need only _bh, not necessarily _irq
    docs: format kernel-parameters -- as code
    Doc : doc-guide : Fix a typo
    platform: x86: get rid of a non-existent document
    Add the RCU docs to the core-api manual
    Documentation: RCU: Add TOC tree hooks
    Documentation: RCU: Rename txt files to rst
    Documentation: RCU: Convert RCU UP systems to reST
    Documentation: RCU: Convert RCU linked list to reST
    Documentation: RCU: Convert RCU basic concepts to reST
    docs: filesystems: Remove uneeded .rst extension on toctables
    scripts/sphinx-pre-install: fix out-of-tree build
    docs: zh_CN: submitting-drivers.rst: Remove a duplicated Documentation/
    Documentation: PGP: update for newer HW devices
    Documentation: Add section about CPU vulnerabilities for Spectre
    Documentation: platform: Delete x86-laptop-drivers.txt
    docs: Note that :c:func: should no longer be used
    ...

    Linus Torvalds
     

27 Jun, 2019

1 commit


22 Jun, 2019

1 commit

  • It helps to use some new instructions directly in assembly code.

    Suggested-by: Andi Kleen
    Signed-off-by: Chang S. Bae
    Signed-off-by: Thomas Gleixner
    Reviewed-by: Andi Kleen
    Acked-by: Andrew Morton
    Cc: Andy Lutomirski
    Cc: Ravi Shankar
    Cc: Linux Torvalds
    Cc: H. Peter Anvin
    Link: https://lkml.kernel.org/r/1557309753-24073-5-git-send-email-chang.seok.bae@intel.com

    Chang S. Bae
     

15 Jun, 2019

3 commits

  • Convert the PM documents to ReST, in order to allow them to
    build with Sphinx.

    The conversion is actually:
    - add blank lines and indentation 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: Bjorn Helgaas
    Acked-by: Mark Brown
    Acked-by: Srivatsa S. Bhat (VMware)

    Mauro Carvalho Chehab
     
  • The kbuild documentation clearly shows that the documents
    there are written at different times: some use markdown,
    some use their own peculiar logic to split sections.

    Convert everything to ReST without affecting too much
    the author's style and avoiding adding uneeded markups.

    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: Jonathan Corbet

    Mauro Carvalho Chehab
     
  • 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
    Acked-by: Federico Vaga
    Signed-off-by: Jonathan Corbet

    Mauro Carvalho Chehab
     

31 May, 2019

1 commit

  • With all isdn4linux hardware drivers gone, this is only a wrapper around
    CAPI to support old user space. However, from looking at the mailing
    list, it seems that the last time anyone asked about it was in 2014,
    when the upgrade from a linux-2.4 installation failed, and mISDN was
    suggested as a replacement.

    The largest public ISDN network (Deutsche Telekom) was supposed to be
    shut down 2018, which must have drastically reduced the number of legacy
    installations.

    When we last discussed removing i4l in 2016, Karsten Keil suggested
    revisiting this in 2018. I guess this is overdue.

    Link: http://listserv.isdn4linux.de/pipermail/isdn4linux/2014-October/006165.html
    Link: https://patchwork.kernel.org/patch/8484861/#17900371
    Link: https://listserv.isdn4linux.de/pipermail/isdn4linux/2019-April/thread.html
    Signed-off-by: Arnd Bergmann

    Arnd Bergmann
     

09 May, 2019

1 commit

  • Pull documentation updates from Jonathan Corbet:
    "A reasonably busy cycle for docs, including:

    - Lots of work on the Chinese and Italian translations

    - Some license-rules clarifications from Christoph

    - Various build-script fixes

    - A new document on memory models

    - RST conversion of the live-patching docs

    - The usual collection of typo fixes and corrections"

    * tag 'docs-5.2' of git://git.lwn.net/linux: (140 commits)
    docs/livepatch: Unify style of livepatch documentation in the ReST format
    docs: livepatch: convert docs to ReST and rename to *.rst
    scripts/documentation-file-ref-check: detect broken :doc:`foo`
    scripts/documentation-file-ref-check: don't parse Next/ dir
    LICENSES: Rename other to deprecated
    LICENSES: Clearly mark dual license only licenses
    docs: Don't reference the ZLib license in license-rules.rst
    docs/vm: Minor editorial changes in the THP and hugetlbfs
    docs/vm: add documentation of memory models
    doc:it_IT: translation alignment
    doc: fix typo in PGP guide
    dontdiff: update with Kconfig build artifacts
    docs/zh_CN: fix typos in 1.Intro.rst file
    docs/zh_CN: redirect CoC docs to Chinese version
    doc: mm: migration doesn't use FOLL_SPLIT anymore
    docs: doc-guide: remove the extension from .rst files
    doc: kselftest: Fix KBUILD_OUTPUT usage instructions
    docs: trace: fix some Sphinx warnings
    docs: speculation.txt: mark example blocks as such
    docs: ntb.txt: add blank lines to clean up some Sphinx warnings
    ...

    Linus Torvalds
     

03 May, 2019

3 commits

  • Make it clear in the directory name that these are not intended for new
    code.

    Signed-off-by: Christoph Hellwig
    Reviewed-by: Greg Kroah-Hartman
    Signed-off-by: Jonathan Corbet

    Christoph Hellwig
     
  • Just like the CDDL the Apache license and the MPL must only be used as
    a choice in additional to an GPL2 compatible license. Copy over the
    boilerplate from the CDDL file to the other two after fixing it up to
    make it clear the licenses need to be GPL2 compatible, not just the
    more generic GPL compatible. For example the Apache 2 license is GPL3
    compatible, but that doesn't matter for the kernel.

    Also move these licenses to a separate directory and document the rules
    in license-rules.rst.

    Signed-off-by: Christoph Hellwig
    Reviewed-by: Greg Kroah-Hartman
    Signed-off-by: Jonathan Corbet

    Christoph Hellwig
     
  • We never had a file called LICENSES/other/ZLib in the tree, so don't
    reference it. Instead mention the GPL v1 as an (bad) example.

    Signed-off-by: Christoph Hellwig
    Reviewed-by: Greg Kroah-Hartman
    Signed-off-by: Jonathan Corbet

    Christoph Hellwig
     

30 Apr, 2019

1 commit


10 Apr, 2019

1 commit


09 Apr, 2019

1 commit

  • It's unnecessary to point to an external mirror of the Documentation
    directory.

    Jonathan Corbet writes in favor of removing this entry, instead of
    moving it under "Docs at the Linux Kernel tree":

    > We don't want to turn kernel-docs.rst into yet another out-of-date
    > index for the rest of Documentation/, and the removal of the external
    > URL takes away the only bit of additional information that this entry
    > offers.

    Signed-off-by: Jonathan Neuschäfer
    Signed-off-by: Jonathan Corbet

    Jonathan Neuschäfer
     

07 Apr, 2019

1 commit

  • Currently support for 64-bit sector_t and blkcnt_t is optional on 32-bit
    architectures. These types are required to support block device and/or
    file sizes larger than 2 TiB, and have generally defaulted to on for
    a long time. Enabling the option only increases the i386 tinyconfig
    size by 145 bytes, and many data structures already always use
    64-bit values for their in-core and on-disk data structures anyway,
    so there should not be a large change in dynamic memory usage either.

    Dropping this option removes a somewhat weird non-default config that
    has cause various bugs or compiler warnings when actually used.

    Signed-off-by: Christoph Hellwig
    Signed-off-by: Jens Axboe

    Christoph Hellwig
     

02 Apr, 2019

1 commit


26 Mar, 2019

1 commit

  • The documentation for Co-developed-by is a bit light on details, e.g. it
    doesn't explicitly state that:

    - Multiple Co-developed-by tags are perfectly acceptable
    - Co-developed-by and Signed-off-by must be paired together
    - SOB ordering should still follow standard sign-off procedure

    Lack of explicit direction has resulted in developers taking a variety
    of approaches, often lacking any intent whatsoever, e.g. scattering SOBs
    willy-nilly, collecting them all at the end or the beginning, etc...
    Tweak the wording to make it clear that multiple co-authors are allowed,
    and document the expectation that standard sign-off procedures are to
    be followed.

    The use of "original author" has also led to confusion as many patches
    don't have just one "original" author, e.g. when multiple developers
    are involved from the genesis of the patch. Remove all usage of
    "original" and instead call out that Co-developed-by is simply a way to
    provide attribution in addition to the From tag, i.e. neither tag is
    intended to imply anything with regard to who did what.

    Provide examples to (hopefully) eliminate any ambiguity.

    Cc: Tobin C. Harding
    Cc: Thomas Gleixner
    Cc: Jani Nikula
    Cc: Jorge Ramirez-Ortiz
    Cc: Jonathan Cameron
    Cc: Joe Perches
    Cc: Greg Kroah-Hartman
    Cc: Niklas Cassel
    Cc: Jonathan Corbet
    Signed-off-by: Sean Christopherson
    Signed-off-by: Jonathan Corbet

    Sean Christopherson
     

25 Mar, 2019

1 commit

  • The instructions for generating patches are given as shell commands
    with variables as placeholders. They use the syntax "SRCTREE= linux",
    which is wrong for the Bourne shell family (it runs the command
    "linux" with the variable "SRCTREE" set to the empty string).

    Remove the spaces to avoid confusion. This breaks the pretty alignment
    but helps new contributors who try to run the commands as written.

    Signed-off-by: Tom Levy
    Cc: Jonathan Corbet
    Signed-off-by: Jonathan Corbet

    Tom Levy
     

19 Mar, 2019

1 commit

  • Translated documents:
    - stable-kernel-rules.rst
    - deprecated.rst
    - kernel-enforcement-statement.rst
    - license-rules.rst

    Added document to have valid links
    - netdev-FAQ.rst

    Modifications to main documentation
    - add label in deprecated.rst

    Signed-off-by: Federico Vaga
    Signed-off-by: Jonathan Corbet

    Federico Vaga
     

10 Mar, 2019

1 commit

  • Pull documentation updates from Jonathan Corbet:
    "A fairly routine cycle for docs - lots of typo fixes, some new
    documents, and more translations. There's also some LICENSES
    adjustments from Thomas"

    * tag 'docs-5.1' of git://git.lwn.net/linux: (74 commits)
    docs: Bring some order to filesystem documentation
    Documentation/locking/lockdep: Drop last two chars of sample states
    doc: rcu: Suspicious RCU usage is a warning
    docs: driver-api: iio: fix errors in documentation
    Documentation/process/howto: Update for 4.x -> 5.x versioning
    docs: Explicitly state that the 'Fixes:' tag shouldn't split lines
    doc: security: Add kern-doc for lsm_hooks.h
    doc: sctp: Merge and clean up rst files
    Docs: Correct /proc/stat path
    scripts/spdxcheck.py: fix C++ comment style detection
    doc: fix typos in license-rules.rst
    Documentation: fix admin-guide/README.rst minimum gcc version requirement
    doc: process: complete removal of info about -git patches
    doc: translations: sync translations 'remove info about -git patches'
    perf-security: wrap paragraphs on 72 columns
    perf-security: elaborate on perf_events/Perf privileged users
    perf-security: document collected perf_events/Perf data categories
    perf-security: document perf_events/Perf resource control
    sysfs.txt: add note on available attribute macros
    docs: kernel-doc: typo "if ... if" -> "if ... is"
    ...

    Linus Torvalds
     

08 Mar, 2019

1 commit

  • This Kconfig option was removed during v4.19 development in commit
    771c035372a0 ("deprecate the '__deprecated' attribute warnings entirely
    and for good") so there's no point to keep it in defconfigs any longer.

    FWIW defconfigs were patched with:
    --------------------------->8----------------------
    find . -name *_defconfig -exec sed -i '/CONFIG_ENABLE_WARN_DEPRECATED/d' {} \;
    --------------------------->8----------------------

    Link: http://lkml.kernel.org/r/20190128152434.41969-1-abrodkin@synopsys.com
    Signed-off-by: Alexey Brodkin
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alexey Brodkin