]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/4.4.152/selftests-sync-add-config-fragment-for-testing-sync-framework.patch
Linux 4.4.152
[thirdparty/kernel/stable-queue.git] / releases / 4.4.152 / selftests-sync-add-config-fragment-for-testing-sync-framework.patch
1 From foo@baz Wed Aug 22 10:28:26 CEST 2018
2 From: Fathi Boudra <fathi.boudra@linaro.org>
3 Date: Thu, 14 Jun 2018 11:57:08 +0200
4 Subject: selftests: sync: add config fragment for testing sync framework
5
6 From: Fathi Boudra <fathi.boudra@linaro.org>
7
8 [ Upstream commit d6a3e55131fcb1e5ca1753f4b6f297a177b2fc91 ]
9
10 Unless the software synchronization objects (CONFIG_SW_SYNC) is enabled,
11 the sync test will be skipped:
12
13 TAP version 13
14 1..0 # Skipped: Sync framework not supported by kernel
15
16 Add a config fragment file to be able to run "make kselftest-merge" to
17 enable relevant configuration required in order to run the sync test.
18
19 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
20 Link: https://lkml.org/lkml/2017/5/5/14
21 Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
22 Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
23 Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
24 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
25 ---
26 tools/testing/selftests/sync/config | 4 ++++
27 1 file changed, 4 insertions(+)
28 create mode 100644 tools/testing/selftests/sync/config
29
30 --- /dev/null
31 +++ b/tools/testing/selftests/sync/config
32 @@ -0,0 +1,4 @@
33 +CONFIG_STAGING=y
34 +CONFIG_ANDROID=y
35 +CONFIG_SYNC=y
36 +CONFIG_SW_SYNC=y