29 Jun, 2018

1 commit


28 Apr, 2018

1 commit


17 Apr, 2018

2 commits

  • Mike Rapoport says:

    These patches convert files in Documentation/vm to ReST format, add an
    initial index and link it to the top level documentation.

    There are no contents changes in the documentation, except few spelling
    fixes. The relatively large diffstat stems from the indentation and
    paragraph wrapping changes.

    I've tried to keep the formatting as consistent as possible, but I could
    miss some places that needed markup and add some markup where it was not
    necessary.

    [jc: significant conflicts in vm/hmm.rst]

    Jonathan Corbet
     
  • Signed-off-by: Mike Rapoport
    Signed-off-by: Jonathan Corbet

    Mike Rapoport
     

04 Apr, 2018

1 commit

  • Pull documentation updates from Jonathan Corbet:
    "There's been a fair amount of activity in Documentation/ this time
    around:

    - Lots of work aligning Documentation/ABI with reality, done by
    Aishwarya Pant.

    - The trace documentation has been converted to RST by Changbin Du

    - I thrashed up kernel-doc to deal with a parsing issue and to try to
    make the code more readable. It's still a 20+-year-old Perl hack,
    though.

    - Lots of other updates, typo fixes, and more"

    * tag 'docs-4.17' of git://git.lwn.net/linux: (82 commits)
    Documentation/process: update FUSE project website
    docs: kernel-doc: fix parsing of arrays
    dmaengine: Fix spelling for parenthesis in dmatest documentation
    dmaengine: Make dmatest.rst indeed reST compatible
    dmaengine: Add note to dmatest documentation about supported channels
    Documentation: magic-numbers: Fix typo
    Documentation: admin-guide: add kvmconfig, xenconfig and tinyconfig commands
    Input: alps - Update documentation for trackstick v3 format
    Documentation: Mention why %p prints ptrval
    COPYING: use the new text with points to the license files
    COPYING: create a new file with points to the Kernel license files
    Input: trackpoint: document sysfs interface
    xfs: Change URL for the project in xfs.txt
    char/bsr: add sysfs interface documentation
    acpi: nfit: document sysfs interface
    block: rbd: update sysfs interface
    Documentation/sparse: fix typo
    Documentation/CodingStyle: Add an example for braces
    docs/vm: update 00-INDEX
    kernel-doc: Remove __sched markings
    ...

    Linus Torvalds
     

21 Mar, 2018

1 commit


22 Feb, 2018

1 commit


18 Nov, 2017

2 commits

  • …asahiroy/linux-kbuild

    Pull Kbuild misc updates from Masahiro Yamada:

    - Clean up and fix RPM package build

    - Fix a warning in DEB package build

    - Improve coccicheck script

    - Improve some semantic patches

    * tag 'kbuild-misc-v4.15' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
    docs: dev-tools: coccinelle: delete out of date wiki reference
    coccinelle: orplus: reorganize to improve performance
    coccinelle: use exists to improve efficiency
    builddeb: Pass the kernel:debarch substvar to dpkg-genchanges
    Coccinelle: use false positive annotation
    coccinelle: fix verbose message about .cocci file being run
    coccinelle: grep Options and Requires fields more precisely
    Coccinelle: make DEBUG_FILE option more useful
    coccinelle: api: detect identical chip data arrays
    coccinelle: Improve setup_timer.cocci matching
    Coccinelle: setup_timer: improve messages from setup_timer
    kbuild: rpm-pkg: do not force -jN in submake
    kbuild: rpm-pkg: keep spec file until make mrproper
    kbuild: rpm-pkg: fix jobserver unavailable warning
    kbuild: rpm-pkg: replace $RPM_BUILD_ROOT with %{buildroot}
    kbuild: rpm-pkg: fix build error when CONFIG_MODULES is disabled
    kbuild: rpm-pkg: refactor mkspec with here doc
    kbuild: rpm-pkg: clean up mkspec
    kbuild: rpm-pkg: install vmlinux.bz2 unconditionally
    kbuild: rpm-pkg: remove ppc64 specific image handling

    Linus Torvalds
     
  • The updated documentation describes new KCOV mode for collecting
    comparison operands.

    Link: http://lkml.kernel.org/r/20171011095459.70721-3-glider@google.com
    Signed-off-by: Victor Chibotaru
    Signed-off-by: Alexander Potapenko
    Cc: Dmitry Vyukov
    Cc: Andrey Konovalov
    Cc: Mark Rutland
    Cc: Alexander Popov
    Cc: Andrey Ryabinin
    Cc: Kees Cook
    Cc: Vegard Nossum
    Cc: Quentin Casasnovas
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Victor Chibotaru
     

16 Nov, 2017

2 commits


20 Oct, 2017

1 commit


13 Oct, 2017

1 commit


18 Jul, 2017

2 commits

  • commit 6807c84652b0 ("x86: Enable KASLR by default") enables KASLR
    by default on x86. While KASLR will confuse gdb which resolve kernel
    symbol address from symbol table of vmlinux. We should turn off KASLR for
    kernel debugging.

    Signed-off-by: Zhouyi Zhou
    Reviewed-by: Kieran Bingham
    Acked-by: Jan Kiszka
    Signed-off-by: Jonathan Corbet

    Zhouyi Zhou
     
  • commit 6807c84652b0 ("x86: Enable KASLR by default") enables KASLR
    by default on x86. While KASLR will confuse gdb which resolve kernel
    symbol address from symbol table of vmlinux. We should turn off KASLR for
    kernel debugging.

    Signed-off-by: Zhouyi Zhou
    Signed-off-by: Jonathan Corbet

    Zhouyi Zhou
     

08 Jul, 2017

1 commit

  • …x/kernel/git/shuah/linux-kselftest

    Pull Kselftest updates from Shuah Khan:
    "This update consists of:

    - TAP13 framework and changes to some tests to convert to TAP13.
    Converting kselftest output to standard format will help identify
    run to run differences and pin point failures easily. TAP13 format
    has been in use for several years and the output is human friendly.

    Please find the specification:
    https://testanything.org/tap-version-13-specification.html

    Credit goes to Tim Bird for recommending TAP13 as a suitable
    format, and to Grag KH for kick starting the work with help from
    Paul Elder and Alice Ferrazzi

    The first phase of the TAp13 conversion is included in this update.
    Future updates will include updates to rest of the tests.

    - Masami Hiramatsu fixed ftrace to run on 4.9 stable kernels.

    - Kselftest documnetation has been converted to ReST format. Document
    now has a new home under Documentation/dev-tools.

    - kselftest_harness.h is now available for general use as a result of
    Mickaël Salaün's work.

    - Several fixes to skip and/or fail tests gracefully on older
    releases"

    * tag 'linux-kselftest-4.13-rc1-update' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest: (48 commits)
    selftests: membarrier: use ksft_* var arg msg api
    selftests: breakpoints: breakpoint_test_arm64: convert test to use TAP13
    selftests: breakpoints: step_after_suspend_test use ksft_* var arg msg api
    selftests: breakpoint_test: use ksft_* var arg msg api
    kselftest: add ksft_print_msg() function to output general information
    kselftest: make ksft_* output functions variadic
    selftests/capabilities: Fix the test_execve test
    selftests: intel_pstate: add .gitignore
    selftests: fix memory-hotplug test
    selftests: add missing test name in memory-hotplug test
    selftests: check percentage range for memory-hotplug test
    selftests: check hot-pluggagble memory for memory-hotplug test
    selftests: typo correction for memory-hotplug test
    selftests: ftrace: Use md5sum to take less time of checking logs
    tools/testing/selftests/sysctl: Add pre-check to the value of writes_strict
    kselftest.rst: do some adjustments after ReST conversion
    selftest/net/Makefile: Specify output with $(OUTPUT)
    selftest/intel_pstate/aperf: Use LDLIBS instead of LDFLAGS
    selftest/memfd/Makefile: Fix build error
    selftests: lib: Skip tests on missing test modules
    ...

    Linus Torvalds
     

07 Jul, 2017

1 commit

  • Kmemleak requires that vmalloc'ed objects have a minimum reference count
    of 2: one in the corresponding vm_struct object and the other owned by
    the vmalloc() caller. There are cases, however, where the original
    vmalloc() returned pointer is lost and, instead, a pointer to vm_struct
    is stored (see free_thread_stack()). Kmemleak currently reports such
    objects as leaks.

    This patch adds support for treating any surplus references to an object
    as additional references to a specified object. It introduces the
    kmemleak_vmalloc() API function which takes a vm_struct pointer and sets
    its surplus reference passing to the actual vmalloc() returned pointer.
    The __vmalloc_node_range() calling site has been modified accordingly.

    Link: http://lkml.kernel.org/r/1495726937-23557-4-git-send-email-catalin.marinas@arm.com
    Signed-off-by: Catalin Marinas
    Reported-by: "Luis R. Rodriguez"
    Cc: Michal Hocko
    Cc: Andy Lutomirski
    Cc: "Luis R. Rodriguez"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Catalin Marinas
     

04 Jul, 2017

1 commit

  • Pull documentation updates from Jonathan Corbet:
    "There has been a fair amount of activity in the docs tree this time
    around. Highlights include:

    - Conversion of a bunch of security documentation into RST

    - The conversion of the remaining DocBook templates by The Amazing
    Mauro Machine. We can now drop the entire DocBook build chain.

    - The usual collection of fixes and minor updates"

    * tag 'docs-4.13' of git://git.lwn.net/linux: (90 commits)
    scripts/kernel-doc: handle DECLARE_HASHTABLE
    Documentation: atomic_ops.txt is core-api/atomic_ops.rst
    Docs: clean up some DocBook loose ends
    Make the main documentation title less Geocities
    Docs: Use kernel-figure in vidioc-g-selection.rst
    Docs: fix table problems in ras.rst
    Docs: Fix breakage with Sphinx 1.5 and upper
    Docs: Include the Latex "ifthen" package
    doc/kokr/howto: Only send regression fixes after -rc1
    docs-rst: fix broken links to dynamic-debug-howto in kernel-parameters
    doc: Document suitability of IBM Verse for kernel development
    Doc: fix a markup error in coding-style.rst
    docs: driver-api: i2c: remove some outdated information
    Documentation: DMA API: fix a typo in a function name
    Docs: Insert missing space to separate link from text
    doc/ko_KR/memory-barriers: Update control-dependencies example
    Documentation, kbuild: fix typo "minimun" -> "minimum"
    docs: Fix some formatting issues in request-key.rst
    doc: ReSTify keys-trusted-encrypted.txt
    doc: ReSTify keys-request-key.txt
    ...

    Linus Torvalds
     

27 Jun, 2017

1 commit


09 Jun, 2017

1 commit

  • The sparse-based checking for non-RCU accesses to RCU-protected pointers
    has been around for a very long time, and it is now the only type of
    sparse-based checking that is optional. This commit therefore makes
    it unconditional.

    Reported-by: Ingo Molnar
    Signed-off-by: Paul E. McKenney
    Cc: Fengguang Wu

    Paul E. McKenney
     

08 Jun, 2017

3 commits


16 May, 2017

2 commits


10 Mar, 2017

1 commit

  • Fix typos and add the following to the scripts/spelling.txt:

    disble||disable
    disbled||disabled

    I kept the TSL2563_INT_DISBLED in /drivers/iio/light/tsl2563.c
    untouched. The macro is not referenced at all, but this commit is
    touching only comment blocks just in case.

    Link: http://lkml.kernel.org/r/1481573103-11329-20-git-send-email-yamada.masahiro@socionext.com
    Signed-off-by: Masahiro Yamada
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Masahiro Yamada
     

16 Feb, 2017

1 commit

  • Add documentation of -DCONFIG_SPARSE_RCU_POINTER.
    I started to add documentation of -D__CHECK_ENDIAN__ as well, but
    discovered I'm too late; that's now enabled by default.

    Signed-off-by: Matthew Wilcox
    Signed-off-by: Jonathan Corbet

    Matthew Wilcox
     

16 Dec, 2016

2 commits


03 Nov, 2016

1 commit


27 Oct, 2016

1 commit


12 Oct, 2016

1 commit

  • Some of the kmemleak_*() callbacks in memblock, bootmem, CMA convert a
    physical address to a virtual one using __va(). However, such physical
    addresses may sometimes be located in highmem and using __va() is
    incorrect, leading to inconsistent object tracking in kmemleak.

    The following functions have been added to the kmemleak API and they take
    a physical address as the object pointer. They only perform the
    corresponding action if the address has a lowmem mapping:

    kmemleak_alloc_phys
    kmemleak_free_part_phys
    kmemleak_not_leak_phys
    kmemleak_ignore_phys

    The affected calling places have been updated to use the new kmemleak
    API.

    Link: http://lkml.kernel.org/r/1471531432-16503-1-git-send-email-catalin.marinas@arm.com
    Signed-off-by: Catalin Marinas
    Reported-by: Vignesh R
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Catalin Marinas
     

20 Aug, 2016

1 commit


19 Aug, 2016

7 commits