From 9403db4534344006d553b9dc0e89622e47f42728 Mon Sep 17 00:00:00 2001
From: Anders Roxell <anders.roxell@linaro.org>
Date: Fri, 13 Apr 2018 09:27:49 +0200
Subject: [PATCH] doc: dev-tools: update kselftest.rst with goal

Update the documentation with the goal of Linux kernel selftests.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
 Documentation/dev-tools/kselftest.rst | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/dev-tools/kselftest.rst b/Documentation/dev-tools/kselftest.rst
index e80850eefe13..5292b1d81335 100644
--- a/Documentation/dev-tools/kselftest.rst
+++ b/Documentation/dev-tools/kselftest.rst
@@ -14,6 +14,12 @@ in safe mode with a limited scope. In limited mode, cpu-hotplug test is
 run on a single cpu as opposed to all hotplug capable cpus, and memory
 hotplug test is run on 2% of hotplug capable memory instead of 10%.
 
+The goal of Linux kernel selftests is to verify the kernel including the
+headers. So for "best" result, the tests should be built with the headers in
+the kernel and not the ones that are installed on the system they are being
+built on.  Internal headers are the primary focus to be able to find
+regressions.
+
 Running the selftests (hotplug tests are run in limited mode)
 =============================================================
 
-- 
2.11.0

