1. 10 Oct, 2019 10 commits
  2. 07 Oct, 2019 4 commits
    • Jonathan Corbet's avatar
      docs/driver-api: Catch up with dma_buf file-name changes · f704985b
      Jonathan Corbet authored
      drivers/dma_buf/reservation.c was renamed to dma-resv.c (and
      include/linux/reservation.h to dma-resv.h), but the documentation was not
      updated to match, leading to these build errors:
      
        Error: Cannot open file ./drivers/dma-buf/reservation.c
        Error: Cannot open file ./drivers/dma-buf/reservation.c
        Error: Cannot open file ./drivers/dma-buf/reservation.c
        Error: Cannot open file ./include/linux/reservation.h
        Error: Cannot open file ./include/linux/reservation.h
      
      Update the documentation and make the world happy again.
      
      Fixes: 52791eee ("dma-buf: rename reservation_object to dma_resv')
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      f704985b
    • Jonathan Corbet's avatar
      genalloc: Fix a set of docs build warnings · ea83df73
      Jonathan Corbet authored
      Commit 795ee306 ("lib/genalloc: introduce chunk owners") made a number
      of changes to the genalloc API and implementation but did not update the
      documentation to match, leading to these docs build warnings:
      
        ./lib/genalloc.c:1: warning: 'gen_pool_add_virt' not found
        ./lib/genalloc.c:1: warning: 'gen_pool_alloc' not found
        ./lib/genalloc.c:1: warning: 'gen_pool_free' not found
        ./lib/genalloc.c:1: warning: 'gen_pool_alloc_algo' not found
      
      Fix these by updating the docs to match new function locations and names,
      and by completing the update of one kerneldoc comment.
      
      Fixes: 795ee306 ("lib/genalloc: introduce chunk owners")
      Acked-by: default avatarDan Williams <dan.j.williams@intel.com>
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      ea83df73
    • Jonathan Corbet's avatar
      docs: Catch up with the new location of get_user_pages_fast() · cc84ac35
      Jonathan Corbet authored
      Commit 050a9adc ("mm: consolidate the get_user_pages* implementations")
      moved get_user_pages_fast() from mm/util.c to mm/gup.c, but didn't update
      the documentation, leading to this build warning:
      
        ./mm/util.c:1: warning: 'get_user_pages_fast' not found
      
      Update the docs to match the new reality.
      
      Fixes: 050a9adc ("mm: consolidate the get_user_pages* implementations")
      Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      cc84ac35
    • Jonathan Corbet's avatar
      docs: remove :c:func: from refcount-vs-atomic.rst · 81584a6a
      Jonathan Corbet authored
      As of 5.3, the automarkup extension will do the right thing with function()
      notation, so we don't need to clutter the text with :c:func: invocations.
      So remove them.
      
      Looking at the generated output reveals that we lack kerneldoc coverage for
      much of this API, but that's a separate problem.
      Acked-by: default avatarPaul E. McKenney <paulmck@kernel.org>
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      81584a6a
  3. 03 Oct, 2019 5 commits
  4. 02 Oct, 2019 2 commits
    • Kees Cook's avatar
      doc-rst: Programmatically render MAINTAINERS into ReST · aa204855
      Kees Cook authored
      In order to have the MAINTAINERS file visible in the rendered ReST
      output, this makes some small changes to the existing MAINTAINERS file
      to allow for better machine processing, and adds a new Sphinx directive
      "maintainers-include" to perform the rendering.
      
      Features include:
      - Per-subsystem reference links: subsystem maintainer entries can be
        trivially linked to both internally and external. For example:
        https://www.kernel.org/doc/html/latest/process/maintainers.html#secure-computing
      
      - Internally referenced .rst files are linked so they can be followed
        when browsing the resulting rendering. This allows, for example, the
        future addition of maintainer profiles to be automatically linked.
      
      - Field name expansion: instead of the short fields (e.g. "M", "F",
        "K"), use the indicated inline "full names" for the fields (which are
        marked with "*"s in MAINTAINERS) so that a rendered subsystem entry
        is more human readable. Email lists are additionally comma-separated.
        For example:
      
          SECURE COMPUTING
      	Mail:	  Kees Cook <keescook@chromium.org>
      	Reviewer: Andy Lutomirski <luto@amacapital.net>,
      		  Will Drewry <wad@chromium.org>
      	SCM:	  git git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git seccomp
      	Status:	  Supported
      	Files:	  kernel/seccomp.c include/uapi/linux/seccomp.h
      		  include/linux/seccomp.h tools/testing/selftests/seccomp/*
      		  tools/testing/selftests/kselftest_harness.h
      		  userspace-api/seccomp_filter
      	Content regex:	\bsecure_computing \bTIF_SECCOMP\b
      Signed-off-by: default avatarKees Cook <keescook@chromium.org>
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      aa204855
    • Kees Cook's avatar
      doc-rst: Reduce CSS padding around Field · 1b1438b5
      Kees Cook authored
      Right now any ":Field Name: Field Contents" lines end up with significant
      padding due to CSS from the "table" CSS which rightly needs padding to
      make tables readable. However, field lists don't need this as they tend
      to be stacked together. The future heavy use of fields in the parsed
      MAINTAINERS file needs this cleaned up, and existing users look better
      too. Note the needless white space (and misalignment of name/contents)
      between "Date" and "Author":
      
      https://www.kernel.org/doc/html/latest/accounting/psi.html
      
      This patch fixes this by lowering the padding with a more specific CSS.
      Signed-off-by: default avatarKees Cook <keescook@chromium.org>
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      1b1438b5
  5. 01 Oct, 2019 13 commits
  6. 30 Sep, 2019 6 commits
    • Linus Torvalds's avatar
      Linux 5.4-rc1 · 54ecb8f7
      Linus Torvalds authored
      54ecb8f7
    • Linus Torvalds's avatar
      Merge tag 'for-5.4-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux · bb48a591
      Linus Torvalds authored
      Pull btrfs fixes from David Sterba:
       "A bunch of fixes that accumulated in recent weeks, mostly material for
        stable.
      
        Summary:
      
         - fix for regression from 5.3 that prevents to use balance convert
           with single profile
      
         - qgroup fixes: rescan race, accounting leak with multiple writers,
           potential leak after io failure recovery
      
         - fix for use after free in relocation (reported by KASAN)
      
         - other error handling fixups"
      
      * tag 'for-5.4-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
        btrfs: qgroup: Fix reserved data space leak if we have multiple reserve calls
        btrfs: qgroup: Fix the wrong target io_tree when freeing reserved data space
        btrfs: Fix a regression which we can't convert to SINGLE profile
        btrfs: relocation: fix use-after-free on dead relocation roots
        Btrfs: fix race setting up and completing qgroup rescan workers
        Btrfs: fix missing error return if writeback for extent buffer never started
        btrfs: adjust dirty_metadata_bytes after writeback failure of extent buffer
        Btrfs: fix selftests failure due to uninitialized i_mode in test inodes
      bb48a591
    • Linus Torvalds's avatar
      Merge tag 'csky-for-linus-5.4-rc1' of git://github.com/c-sky/csky-linux · 80b29b6b
      Linus Torvalds authored
      Pull csky updates from Guo Ren:
       "This round of csky subsystem just some fixups:
      
         - Fix mb() synchronization problem
      
         - Fix dma_alloc_coherent with PAGE_SO attribute
      
         - Fix cache_op failed when cross memory ZONEs
      
         - Optimize arch_sync_dma_for_cpu/device with dma_inv_range
      
         - Fix ioremap function losing
      
         - Fix arch_get_unmapped_area() implementation
      
         - Fix defer cache flush for 610
      
         - Support kernel non-aligned access
      
         - Fix 610 vipt cache flush mechanism
      
         - Fix add zero_fp fixup perf backtrace panic
      
         - Move static keyword to the front of declaration
      
         - Fix csky_pmu.max_period assignment
      
         - Use generic free_initrd_mem()
      
         - entry: Remove unneeded need_resched() loop"
      
      * tag 'csky-for-linus-5.4-rc1' of git://github.com/c-sky/csky-linux:
        csky: Move static keyword to the front of declaration
        csky: entry: Remove unneeded need_resched() loop
        csky: Fixup csky_pmu.max_period assignment
        csky: Fixup add zero_fp fixup perf backtrace panic
        csky: Use generic free_initrd_mem()
        csky: Fixup 610 vipt cache flush mechanism
        csky: Support kernel non-aligned access
        csky: Fixup defer cache flush for 610
        csky: Fixup arch_get_unmapped_area() implementation
        csky: Fixup ioremap function losing
        csky: Optimize arch_sync_dma_for_cpu/device with dma_inv_range
        csky/dma: Fixup cache_op failed when cross memory ZONEs
        csky: Fixup dma_alloc_coherent with PAGE_SO attribute
        csky: Fixup mb() synchronization problem
      80b29b6b
    • Linus Torvalds's avatar
      Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · cef0aa0c
      Linus Torvalds authored
      Pull ARM SoC fixes from Olof Johansson:
       "A few fixes that have trickled in through the merge window:
      
         - Video fixes for OMAP due to panel-dpi driver removal
      
         - Clock fixes for OMAP that broke no-idle quirks + nfsroot on DRA7
      
         - Fixing arch version on ASpeed ast2500
      
         - Two fixes for reset handling on ARM SCMI"
      
      * tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc:
        ARM: aspeed: ast2500 is ARMv6K
        reset: reset-scmi: add missing handle initialisation
        firmware: arm_scmi: reset: fix reset_state assignment in scmi_domain_reset
        bus: ti-sysc: Remove unpaired sysc_clkdm_deny_idle()
        ARM: dts: logicpd-som-lv: Fix i2c2 and i2c3 Pin mux
        ARM: dts: am3517-evm: Fix missing video
        ARM: dts: logicpd-torpedo-baseboard: Fix missing video
        ARM: omap2plus_defconfig: Fix missing video
        bus: ti-sysc: Fix handling of invalid clocks
        bus: ti-sysc: Fix clock handling for no-idle quirks
      cef0aa0c
    • Linus Torvalds's avatar
      Merge tag 'trace-v5.4-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace · cf4f493b
      Linus Torvalds authored
      Pull tracing fixes from Steven Rostedt:
       "A few more tracing fixes:
      
         - Fix a buffer overflow by checking nr_args correctly in probes
      
         - Fix a warning that is reported by clang
      
         - Fix a possible memory leak in error path of filter processing
      
         - Fix the selftest that checks for failures, but wasn't failing
      
         - Minor clean up on call site output of a memory trace event"
      
      * tag 'trace-v5.4-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
        selftests/ftrace: Fix same probe error test
        mm, tracing: Print symbol name for call_site in trace events
        tracing: Have error path in predicate_parse() free its allocated memory
        tracing: Fix clang -Wint-in-bool-context warnings in IF_ASSIGN macro
        tracing/probe: Fix to check the difference of nr_args before adding probe
      cf4f493b
    • Linus Torvalds's avatar
      Merge tag 'mmc-v5.4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc · c710364f
      Linus Torvalds authored
      Pull more MMC updates from Ulf Hansson:
       "A couple more updates/fixes for MMC:
      
         - sdhci-pci: Add Genesys Logic GL975x support
      
         - sdhci-tegra: Recover loss in throughput for DMA
      
         - sdhci-of-esdhc: Fix DMA bug"
      
      * tag 'mmc-v5.4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc:
        mmc: host: sdhci-pci: Add Genesys Logic GL975x support
        mmc: tegra: Implement ->set_dma_mask()
        mmc: sdhci: Let drivers define their DMA mask
        mmc: sdhci-of-esdhc: set DMA snooping based on DMA coherence
        mmc: sdhci: improve ADMA error reporting
      c710364f