Re: [PATCH v2] doc: dev-tools: kselftest.rst: update contributing new tests

2018-04-24 Thread Shuah Khan
as opposed to headers > + installed by the distro on the system should be the primary focus to be > able > + to find regressions. > + > Test Harness > > > Here is my reviewed by for this to go through documentation tree. Reviewed-by: Shuah Khan (Samsung

Re: [PATCH] doc: dev-tools: kselftest.rst: update contributing new tests

2018-04-18 Thread Shuah Khan
On 04/17/2018 02:46 AM, Anders Roxell wrote: > Add a description that the kernel headers should be used as far as it is > possible and then the system headers. > > Signed-off-by: Anders Roxell > --- > Documentation/dev-tools/kselftest.rst | 3 +++ > 1 file changed, 3

Re: [PATCH] doc: dev-tools: kselftest.rst: update to include make O=dir support

2017-10-12 Thread Shuah Khan
On 10/12/2017 11:02 AM, Jonathan Corbet wrote: > On Mon, 2 Oct 2017 17:44:17 -0600 > Shuah Khan <shua...@osg.samsung.com> wrote: > >> Update to include details on make O=dir support and other changes improve >> test results output. > > So the three patche

[PATCH] doc: dev-tools: kselftest.rst: update to include make O=dir support

2017-10-02 Thread Shuah Khan
Update to include details on make O=dir support and other changes improve test results output. Signed-off-by: Shuah Khan <shua...@osg.samsung.com> --- Documentation/dev-tools/kselftest.rst | 34 -- 1 file changed, 32 insertions(+), 2 deletions(-) diff

[PATCH] doc: enhance dochelp include default output location for doc build

2017-10-02 Thread Shuah Khan
Enhance documentation help message to specify the default location for the generated documents. Signed-off-by: Shuah Khan <shua...@osg.samsung.com> --- Documentation/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/Makefile b/Documentation/Makefile index 85f785

Re: [PATCH v2 12/29] kselftest.rst: do some adjustments after ReST conversion

2017-06-26 Thread Shuah Khan
On 06/25/2017 01:35 PM, Jonathan Corbet wrote: > On Fri, 23 Jun 2017 18:47:51 -0600 > Shuah Khan <sh...@kernel.org> wrote: > >> Please let me know if you want me to take this through linux-kselftest >> In which case, Ack the patch. If not, you already have my Ack. >

Re: [PATCH v2 12/29] kselftest.rst: do some adjustments after ReST conversion

2017-06-23 Thread Shuah Khan
On 06/23/2017 03:32 PM, Mauro Carvalho Chehab wrote: > Em Fri, 23 Jun 2017 08:04:02 -0600 > Shuah Khan <sh...@kernel.org> escreveu: > >> Hi Mauro, >> >> On 06/17/2017 09:26 AM, Mauro Carvalho Chehab wrote: >>> Do some minor adjustments after ReST conve

Re: [PATCH v2 12/29] kselftest.rst: do some adjustments after ReST conversion

2017-06-23 Thread Shuah Khan
plit a multi-paragraph description as such. > > Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> Looks good to me. I can take this through linux-kselftest or here is my Ack for it to go through the doc tree with the rest in this series. Acked-by: Shuah Khan <shua...@osg.samsu

Re: [PATCH v6 0/7] Add kselftest_harness.h

2017-06-06 Thread Shuah Khan
On 06/05/2017 12:37 PM, Mickaël Salaün wrote: > Hi, > > This patch series make the seccomp/test_harness.h more generally available [1] > and update the kselftest documentation in the Sphinx format. It also improve > the Makefile of seccomp tests to take into account any kselftest_harness.h >

Re: [PATCH v5 7/7] Documentation/dev-tools: Add kselftest_harness documentation

2017-06-05 Thread Shuah Khan
On 06/03/2017 05:17 AM, Mickaël Salaün wrote: > > On 02/06/2017 22:02, Shuah Khan wrote: >> Hi Mickaël, >> >> On 05/26/2017 12:44 PM, Mickaël Salaün wrote: >>> Add ReST metadata to kselftest_harness.h to be able to include the >>> comments in the Sphinx d

Re: [PATCH v5 3/7] selftests/seccomp: Force rebuild according to dependencies

2017-06-05 Thread Shuah Khan
Hi Mickaël, On 06/03/2017 05:13 AM, Mickaël Salaün wrote: > Hi Shuah, > > On 02/06/2017 21:31, Shuah Khan wrote: >> Hi Mickaël, >> >> On 05/26/2017 12:43 PM, Mickaël Salaün wrote: >>> Rebuild the seccomp tests when kselftest_harness.h is updated. >

Re: [PATCH v5 7/7] Documentation/dev-tools: Add kselftest_harness documentation

2017-06-02 Thread Shuah Khan
Salaün <m...@digikod.net> > Cc: Andy Lutomirski <l...@amacapital.net> > Cc: Jonathan Corbet <cor...@lwn.net> > Cc: Kees Cook <keesc...@chromium.org> > Cc: Shuah Khan <sh...@kernel.org> > Cc: Will Drewry <w...@chromium.org> git am isn't happy: Applying: D

Re: [PATCH v5 3/7] selftests/seccomp: Force rebuild according to dependencies

2017-06-02 Thread Shuah Khan
Hi Mickaël, On 05/26/2017 12:43 PM, Mickaël Salaün wrote: > Rebuild the seccomp tests when kselftest_harness.h is updated. > > Signed-off-by: Mickaël Salaün <m...@digikod.net> > Acked-by: Kees Cook <keesc...@chromium.org> > Cc: Andy Lutomirski <l...@amacap

Re: [PATCH v5 0/7] Add kselftest_harness.h

2017-05-30 Thread Shuah Khan
On 05/26/2017 01:09 PM, Kees Cook wrote: > On Fri, May 26, 2017 at 11:43 AM, Mickaël Salaün wrote: >> Hi, >> >> This patch series make the seccomp/test_harness.h more generally available >> [1] >> and update the kselftest documentation in the Sphinx format. It also improve >>

Re: [PATCH v3 0/6] Add kselftest_harness.h

2017-05-04 Thread Shuah Khan
On 05/03/2017 04:26 PM, Mickaël Salaün wrote: > Hi, > > This third patch series make the seccomp/test_harness.h more generally > available [1] and update the kselftest documentation with the Sphinx format. > It > also improve the Makefile of seccomp tests to take into account any >

Re: [PATCH] Doc: update kselftest.txt with details on how to run tests after install

2016-11-22 Thread Shuah Khan
On 11/08/2016 07:13 AM, Daniel Vetter wrote: > On Mon, Nov 07, 2016 at 01:24:14PM -0700, Shuah Khan wrote: >> Update kselftest.txt with details on how to run tests after install. >> >> Signed-off-by: Shuah Khan <shua...@osg.samsung.com> >> --- >> Documentati

[PATCH] Doc: update kselftest.txt with details on how to run tests after install

2016-11-07 Thread Shuah Khan
Update kselftest.txt with details on how to run tests after install. Signed-off-by: Shuah Khan <shua...@osg.samsung.com> --- Documentation/kselftest.txt | 11 +++ 1 file changed, 11 insertions(+) diff --git a/Documentation/kselftest.txt b/Documentation/kselftest.txt index 5

[PATCH v2 2/2] Doc: update 00-INDEX files to reflect the runnable code move

2016-10-06 Thread Shuah Khan
Update 00-INDEX files with the current file list to reflect the runnable code move. Acked-by: Michal Marek <mma...@suse.com> Acked-by: Jonathan Corbet <cor...@lwn.net> Reviewed-by: Kees Cook <keesc...@chromium.org> Signed-off-by: Shuah Khan <shua...@osg.samsung.com> ---

[PATCH v2 0/2] Moving runnable code from Documentation (last 2 patches)

2016-10-06 Thread Shuah Khan
al Marek, and reviewed by from Kees Cook Shuah Khan (2): samples: move blackfin gptimers-example from Documentation Doc: update 00-INDEX files to reflect the runnable code move Documentation/00-INDEX| 3 +- Documentation/Makefile| 2 +- Documentation/arm/

[PATCH v2 1/2] samples: move blackfin gptimers-example from Documentation

2016-10-06 Thread Shuah Khan
Cook <keesc...@chromium.org> Reported-by: Valentin Rothberg <valentinrothb...@gmail.com> Reported-by: Paul Gortmaker <paul.gortma...@windriver.com> Signed-off-by: Shuah Khan <shua...@osg.samsung.com> --- Documentation/Makefile| 2 +- Documentat

Re: [PATCH 0/2] Moving runnable code from Documentation (last 2 patches)

2016-09-30 Thread Shuah Khan
On 09/26/2016 12:40 PM, Shuah Khan wrote: > This patch series contains the last 2 patches to complete moving runnable > code from Documentation to selftests, samples, and tools. > > The first patch moves blackfin gptimers-example to samples and removes > CONFIG_BUILD_DOCSRC. >

[PATCH 2/2] Doc: update 00-INDEX files to reflect the runnable code move

2016-09-26 Thread Shuah Khan
Update 00-INDEX files with the current file list to reflect the runnable code move. Signed-off-by: Shuah Khan <shua...@osg.samsung.com> --- Documentation/00-INDEX | 2 -- Documentation/arm/00-INDEX | 2 -- Documentation/filesystems/00-INDEX | 2 -- Documentation/network

[PATCH 1/2] samples: move blackfin gptimers-example from Documentation

2016-09-26 Thread Shuah Khan
Makefile and lib/Kconfig.debug. Signed-off-by: Shuah Khan <shua...@osg.samsung.com> --- Documentation/Makefile| 1 - Documentation/blackfin/00-INDEX | 4 -- Documentation/blackfin/Makefile | 5 -- Documentation/blackfin/gptimers-example.

[PATCH 0/2] Moving runnable code from Documentation (last 2 patches)

2016-09-26 Thread Shuah Khan
the move of runnable code from Documentation. Shuah Khan (2): samples: move blackfin gptimers-example from Documentation Doc: update 00-INDEX files to reflect the runnable code move Documentation/00-INDEX| 2 - Documentation/Makefile| 1 - Documentation

Re: [PATCH] samples: move blackfin gptimers-example from Documentation

2016-09-23 Thread Shuah Khan
On 09/23/2016 05:45 PM, Shuah Khan wrote: > Move blackfin gptimers-example to samples and remove the Documentation > Makefile. Update samples Kconfig and Makefile to build gptimers-example. > > Signed-off-by: Shuah Khan <shua...@osg.samsung.com> This patch isn't complete. CON

Re: [PATCH v2 0/3] Move runnable tools from Documentation to tools

2016-09-23 Thread Shuah Khan
On 09/22/2016 08:57 AM, Jonathan Corbet wrote: > On Wed, 21 Sep 2016 18:51:10 -0600 > Shuah Khan <shua...@osg.samsung.com> wrote: > >> Move runnable tools from Documentation to tools. I moved just the >> tools code, and left documentation files as is. >> &

[PATCH v2 1/3] tools: move accounting tool from Documentation

2016-09-21 Thread Shuah Khan
-off-by: Shuah Khan <shua...@osg.samsung.com> --- Documentation/Makefile| 2 +- Documentation/accounting/.gitignore | 1 - Documentation/accounting/Makefile | 7 - Documentation/accounting/delay-accounting.txt | 6 +- Documentation/acco

[PATCH v2 2/3] tools: move laptops dslm tool from Documentation

2016-09-21 Thread Shuah Khan
Signed-off-by: Shuah Khan <shua...@osg.samsung.com> --- Documentation/Makefile| 2 +- Documentation/laptops/.gitignore | 1 - Documentation/laptops/00-INDEX| 4 - Documentation/laptops/Makefile| 5 - Documentation/laptops/dslm.c

[PATCH v2 0/3] Move runnable tools from Documentation to tools

2016-09-21 Thread Shuah Khan
-rc1 Changes since v1: -- Move to tools instead of samples based on feedback -- Update location information and MAINTIANERS file as needed. Shuah Khan (3): tools: move accounting example code from Documentation tools: move laptops dslm tool from Documentation tools: move pcmcia crc32hash

[PATCH v2 3/4] samples: move watchdog example code from Documentation

2016-09-21 Thread Shuah Khan
Move watchdog examples to samples and remove it from Documentation Makefile. Create a new Makefile to build watchdog. It can be built from top level directory or from watchdog directory: Run make -C samples/watchdog or cd samples/watchdog; make Signed-off-by: Shuah Khan <shua...@osg.samsung.

[PATCH v2 0/4] Move runnable examples code from Documentation to samples

2016-09-21 Thread Shuah Khan
for timers, and misc-devices/mei Shuah Khan (4): samples: move misc-devices/mei example code from Documentation samples: move timers example code from Documentation samples: move watchdog example code from Documentation samples: move auxdisplay example code from Documentation Documentation

Re: [PATCH 1/8] samples: move accounting example code from Documentation

2016-09-20 Thread Shuah Khan
On 09/19/2016 10:02 AM, Jonathan Corbet wrote: > On Mon, 19 Sep 2016 08:47:32 -0600 > Shuah Khan <shua...@osg.samsung.com> wrote: > >> Move accounting examples to samples and remove it from Documentation >> Makefile. Create a new Makefile to build accounting. It can

[PATCH 1/8] samples: move accounting example code from Documentation

2016-09-19 Thread Shuah Khan
Move accounting examples to samples and remove it from Documentation Makefile. Create a new Makefile to build accounting. It can be built from top level directory or from accounting directory: Run make -C samples/accounting or cd samples/accounting; make Signed-off-by: Shuah Khan <s

[PATCH 6/8] samples: move pcmcia example code from Documentation

2016-09-19 Thread Shuah Khan
Move pcmcia examples to samples and remove it from Documentation Makefile. Create a new Makefile to build pcmcia. It can be built from top level directory or from pcmcia directory: Run make -C samples/pcmcia or cd samples/pcmcia; make Signed-off-by: Shuah Khan <shua...@osg.samsung.

[PATCH 3/8] samples: move laptops example code from Documentation

2016-09-19 Thread Shuah Khan
Move laptops examples to samples and remove it from Documentation Makefile. Create a new Makefile to build laptops. It can be built from top level directory or from laptops directory: Run make -C samples/laptops or cd samples/laptops; make Signed-off-by: Shuah Khan <shua...@osg.samsung.

[PATCH 5/8] samples: move misc-devices/mei example code from Documentation

2016-09-19 Thread Shuah Khan
Move misc-devices/mei examples to samples/mei and remove it from Documentation Makefile. Delete misc-devices/Makefile. Create a new Makefile to build samples/mei. It can be built from top level directory or from mei directory: Run make -C samples/mei or cd samples/mei; make Signed-off-by: Shuah

[PATCH 8/8] samples: move watchdog example code from Documentation

2016-09-19 Thread Shuah Khan
Move watchdog examples to samples and remove it from Documentation Makefile. Create a new Makefile to build watchdog. It can be built from top level directory or from watchdog directory: Run make -C samples/watchdog or cd samples/watchdog; make Signed-off-by: Shuah Khan <shua...@osg.samsung.

[PATCH 7/8] samples: move timers example code from Documentation

2016-09-19 Thread Shuah Khan
Move timers examples to samples and remove it from Documentation Makefile. Create a new Makefile to build timers. It can be built from top level directory or from timers directory: Run make -C samples/timers or cd samples/timers; make Signed-off-by: Shuah Khan <shua...@osg.samsung.

[PATCH 2/8] samples: move auxdisplay example code from Documentation

2016-09-19 Thread Shuah Khan
Move auxdisplay examples to samples and remove it from Documentation Makefile. Create a new Makefile to build auxdisplay. It can be built from top level directory or from auxdisplay directory: Run make -C samples/auxdisplay or cd samples/auxdisplay; make Signed-off-by: Shuah Khan <s

[PATCH 0/8] Move runnable examples code from Documentation to samples

2016-09-19 Thread Shuah Khan
to this move which will be done another patch. Shuah Khan (8): samples: move accounting example code from Documentation samples: move auxdisplay example code from Documentation samples: move laptops example code from Documentation samples: move mic/mpssd example code from Documentation samples

[PATCH] selftests: Move networking/timestamping from Documentation

2016-09-15 Thread Shuah Khan
. This is part of the effort to move runnable code from Documentation. Signed-off-by: Shuah Khan <shua...@osg.samsung.com> --- Documentation/Makefile | 3 +- Documentation/networking/Makefile | 1 - Documentation/networking/timestamping/.gitignore

Re: [PATCH v2 6/6] selftests: move watchdog tests from Documentation/watchdog

2016-09-13 Thread Shuah Khan
On 09/13/2016 02:33 PM, Timur Tabi wrote: > Shuah Khan wrote: >> Remove watchdog-test from Makefile to move the test to selftests. >> >> Add Makefile and .gitignore to for watchdog-test. watchdog-test will > > to for? Thanks - will fix that. > >> n

[PATCH v2 6/6] selftests: move watchdog tests from Documentation/watchdog

2016-09-13 Thread Shuah Khan
Remove watchdog-test from Makefile to move the test to selftests. Add Makefile and .gitignore to for watchdog-test. watchdog-test will not be run as part of selftests suite and will not be included in install targets. It can be built separately for now. Signed-off-by: Shuah Khan <s

[PATCH v2 0/6] Move runnable code (tests) from Documentation to selftests

2016-09-13 Thread Shuah Khan
and people that responded with comments and ideas. - Included ia64 and watchdog which I missed in the v1 series. Shuah Khan (6): selftests: move dnotify_test from Documentation/filesystems selftests: move prctl tests from Documentation/prctl selftests: move ptp tests from Documentation/ptp

[PATCH v2 2/6] selftests: move prctl tests from Documentation/prctl

2016-09-13 Thread Shuah Khan
-by: Shuah Khan <shua...@osg.samsung.com> --- Documentation/Makefile | 2 +- Documentation/prctl/.gitignore | 3 - Documentation/prctl/Makefile | 10 --- .../prctl/disable-tsc-ctxt-sw-stress-test.c

[PATCH v2 4/6] selftests: move vDSO tests from Documentation/vDSO

2016-09-13 Thread Shuah Khan
Remove vDSO from Makefile to move the to selftests. Update vDSO Makefile to work under selftests. vDSO will not be run as part of selftests suite and will not be included in install targets. They can be built separately for now. Signed-off-by: Shuah Khan <shua...@osg.samsung.

[PATCH v2 3/6] selftests: move ptp tests from Documentation/ptp

2016-09-13 Thread Shuah Khan
Remove ptp from Makefile to move the test to selftests. Update ptp Makefile to work under selftests. ptp will not be run as part of selftests suite and will not be included in install targets. They can be built separately for now. Signed-off-by: Shuah Khan <shua...@osg.samsung.

Re: [PATCH 0/9] Move runnable code (tests) from Documentation to selftests

2016-09-13 Thread Shuah Khan
On 09/13/2016 03:20 AM, Jani Nikula wrote: > On Sat, 10 Sep 2016, Jonathan Corbet <cor...@lwn.net> wrote: >> On Fri, 9 Sep 2016 16:22:41 -0600 >> Shuah Khan <shua...@osg.samsung.com> wrote: >> >>> Move runnable code (tests) from Documentation to selfte

Re: [PATCH 2/9] selftests: update filesystems Makefile to work under selftests

2016-09-13 Thread Shuah Khan
On 09/13/2016 05:56 AM, Michael Ellerman wrote: > Shuah Khan <shua...@osg.samsung.com> writes: > >> Update to work under selftests. dnotify_test will not be run as part of >> selftests suite and will not included in install targets. It can be built >> separa

[PATCH 4/9] selftests: move prctl tests from Documentation/prctl

2016-09-09 Thread Shuah Khan
Move prctl tests from Documentation/prctl to selftests/prctl. Signed-off-by: Shuah Khan <shua...@osg.samsung.com> --- Documentation/prctl/.gitignore | 3 - Documentation/prctl/Makefile | 10 --- .../prctl/disable-tsc-ctxt-sw-stress-test.c

[PATCH 7/9] selftests: Update ptp Makefile to work under selftests

2016-09-09 Thread Shuah Khan
Update ptp Makefile to work under selftests. ptp will not be run as part of selftests suite and will not included in install targets. They can be built separately for now. Signed-off-by: Shuah Khan <shua...@osg.samsung.com> --- tools/testing/selftests/ptp/Makefile | 12 ++--

[PATCH 6/9] selftests: move ptp tests from Documentation/ptp

2016-09-09 Thread Shuah Khan
Move ptp tests from Documentation/ptp to selftests/ptp. Signed-off-by: Shuah Khan <shua...@osg.samsung.com> --- Documentation/ptp/.gitignore | 1 - Documentation/ptp/Makefile | 8 - Documentation/ptp/testptp.c

[PATCH 3/9] selftests: move .gitignore from Documentation/filesystems

2016-09-09 Thread Shuah Khan
Move .gitignore for dnotify_test from Documentation/filesystems to selftests/filesystems. Signed-off-by: Shuah Khan <shua...@osg.samsung.com> --- Documentation/filesystems/.gitignore | 1 - tools/testing/selftests/filesystems/.gitignore | 1 + 2 files changed, 1 insertion

[PATCH 5/9] selftests: Update prctl Makefile to work under selftests

2016-09-09 Thread Shuah Khan
Update prctl Makefile to work under selftests. prctl will not be run as part of selftests suite and will not included in install targets. They can be built separately for now. Signed-off-by: Shuah Khan <shua...@osg.samsung.com> --- tools/testing/selftests/prctl/Makefil

[PATCH 2/9] selftests: update filesystems Makefile to work under selftests

2016-09-09 Thread Shuah Khan
Update to work under selftests. dnotify_test will not be run as part of selftests suite and will not included in install targets. It can be built separately for now. Signed-off-by: Shuah Khan <shua...@osg.samsung.com> --- tools/testing/selftests/filesystems/Makefile | 10 ++

[PATCH 1/9] selftests: move dnotify_test from Documentation/filesystems

2016-09-09 Thread Shuah Khan
Move dnotify_test from Documentation/filesystems to selftests/filesystems Signed-off-by: Shuah Khan <shua...@osg.samsung.com> --- Documentation/filesystems/Makefile | 5 Documentation/filesystems/dnotify_test.c | 34 -- tools/testing/sel

[PATCH 0/9] Move runnable code (tests) from Documentation to selftests

2016-09-09 Thread Shuah Khan
patch series that will address those. Shuah Khan (9): selftests: move dnotify_test from Documentation/filesystems selftests: update filesystems Makefile to work under selftests selftests: move .gitignore from Documentation/filesystems selftests: move prctl tests from Documentation/prctl

[PATCH 8/9] selftests: move vDSO tests from Documentation/vDSO

2016-09-09 Thread Shuah Khan
Move vDSO tests from Documentation/vDSO to selftests/vDSO. Signed-off-by: Shuah Khan <shua...@osg.samsung.com> --- Documentation/vDSO/.gitignore | 2 - Documentation/vDSO/Makefile| 17 -- Documentation/vDSO/parse_vdso.c

[PATCH 9/9] selftests: Update vDSO Makefile to work under selftests

2016-09-09 Thread Shuah Khan
Update vDSO Makefile to work under selftests. vDSO will not be run as part of selftests suite and will not included in install targets. They can be built separately for now. Signed-off-by: Shuah Khan <shua...@osg.samsung.com> --- tools/testing/selftests/vDSO/Makefil

Re: Source and Make files under Documentation directory

2016-09-08 Thread Shuah Khan
On 09/08/2016 02:17 AM, Jonathan Corbet wrote: > On Wed, 7 Sep 2016 18:11:59 -0600 > Shuah Khan <shua...@osg.samsung.com> wrote: > >> I noticed there are several source files and Makefiles under the >> Documentation directory. Some of them look very much like tests. >

Source and Make files under Documentation directory

2016-09-07 Thread Shuah Khan
/Makefile blackfin/Makefile media/Makefile timers/Makefile cdrom/Makefilemic/Makefile vDSO/Makefile DocBook/Makefile misc-devices/Makefile watchdog/Makefile EDID/Makefile networking/Makefile filesystems/Makefile pcmcia/Makefile thanks, -- Shuah -- Shuah