22 Feb, 2018
1 commit
-
commit 4675ff05de2d76d167336b368bd07f3fef6ed5a6 upstream.
Fix up makefiles, remove references, and git rm kmemcheck.
Link: http://lkml.kernel.org/r/20171007030159.22241-4-alexander.levin@verizon.com
Signed-off-by: Sasha Levin
Cc: Steven Rostedt
Cc: Vegard Nossum
Cc: Pekka Enberg
Cc: Michal Hocko
Cc: Eric W. Biederman
Cc: Alexander Potapenko
Cc: Tim Hansen
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
Signed-off-by: Greg Kroah-Hartman
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 -
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
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.htmlCredit 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 FerrazziThe 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
...
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
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
...
27 Jun, 2017
1 commit
-
Do some minor adjustments after ReST conversion:
- On most documents, we use prepend a "$ " before
command line arguments;- Prefer to use :: on the preceding line;
- Split a multi-paragraph description as such.
Signed-off-by: Mauro Carvalho Chehab
Acked-by: Jonathan Corbet
Signed-off-by: Shuah Khan
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
08 Jun, 2017
3 commits
-
Add ReST metadata to kselftest_harness.h to be able to include the
comments in the Sphinx documentation.Signed-off-by: Mickaël Salaün
Cc: Andy Lutomirski
Cc: Jonathan Corbet
Cc: Kees Cook
Cc: Shuah Khan
Cc: Will Drewry
Signed-off-by: Shuah Khan -
Include and convert kselftest to the Sphinx format.
Signed-off-by: Mickaël Salaün
Acked-by: Kees Cook
Cc: Jonathan Corbet
Cc: Shuah Khan
Signed-off-by: Shuah Khan -
Move kselftest.txt to dev-tools/kselftest.rst .
Signed-off-by: Mickaël Salaün
Acked-by: Kees Cook
Cc: Jonathan Corbet
Cc: Shuah Khan
Signed-off-by: Shuah Khan
16 May, 2017
2 commits
-
The automatic conversion didn't work too well for this file.
It added weird html blocks inside it, and did some weird
things for literals. Manually fix it, in order to present
a nice display at html/pdf outputs.Signed-off-by: Mauro Carvalho Chehab
-
Use pandoc to convert documentation to ReST by calling
Documentation/sphinx/tmplcvt script.Signed-off-by: Mauro Carvalho Chehab
10 Mar, 2017
1 commit
-
Fix typos and add the following to the scripts/spelling.txt:
disble||disable
disbled||disabledI 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
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
16 Dec, 2016
2 commits
-
It's no longer used.
Signed-off-by: Michael S. Tsirkin
-
We dropped __CHECK_ENDIAN__ so __bitwise__ is now an implementation
detail. People should use __bitwise everywhere.Signed-off-by: Michael S. Tsirkin
03 Nov, 2016
1 commit
-
Now that we don't have automatic syntax highlighting, use the code-block
directive with the explicitly selected language, where appropriate.Signed-off-by: Jani Nikula
27 Oct, 2016
1 commit
-
Add minimal conf.py and moved dev-tools/tools.rst to dev-tools/index.rst
makes the dev-tools folder buildable stand-alone. To build only this
folder run::make SPHINXDIRS=dev-tools htmldocs
make SPHINXDIRS=dev-tools pdfdocsSigned-off-by: Markus Heiser
Signed-off-by: Jonathan Corbet
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_physThe 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
20 Aug, 2016
1 commit
-
Coalesce development-tool documents into a single directory and sphinxify
them.
19 Aug, 2016
10 commits
-
Acked-by: Jan Kiszka
Signed-off-by: Jonathan Corbet -
Cc: Vegard Nossum
Cc: Pekka Enberg
Signed-off-by: Jonathan Corbet -
Acked-by: Catalin Marinas
Signed-off-by: Jonathan Corbet -
Acked-by: Andrey Ryabinin
Signed-off-by: Jonathan Corbet -
No textual changes beyond formatting.
Acked-by: Andrey Ryabinin
Acked-by: Alexander Potapenko
Cc: Dmitry Vyukov
Signed-off-by: Jonathan Corbet -
No textual changes beyond formatting.
Cc: Peter Oberparleiter
Signed-off-by: Jonathan Corbet -
Another document added to the dev-tools collection.
Cc: Dmitry Vyukov
Signed-off-by: Jonathan Corbet -
Fold the sparse document into the development tools set; no changes to the
text itself beyond formatting.Signed-off-by: Jonathan Corbet
-
No textual changes have been made, but the formatting has obviously been
tweaked.Cc: Michal Marek
Cc: Gilles Muller
Acked-by: Nicolas Palix
Acked-by: Julia Lawall
Signed-off-by: Jonathan Corbet -
This directory will be a collecting point for documentation oriented around
development tools. As a step toward ordering Documentation/ it's a small
one, but we have to start somewhere...Signed-off-by: Jonathan Corbet