**DO NOT DELETE THIS MESSAGE
Samsung Europe
Prize Office
Evert van de Beekstraat 310
1118 CX Schiphol-Holland
www.samsung.com/europe
OFFICIAL WIN NOTIFICATION.
Email Prize Ticket Number: GLX/9627835/EU/PRIZE2ND.
Dear Email User:
Are you
**DO NOT DELETE THIS MESSAGE
Samsung Europe
Prize Office
Evert van de Beekstraat 310
1118 CX Schiphol-Holland
www.samsung.com/europe
OFFICIAL WIN NOTIFICATION.
Email Prize Ticket Number: GLX/9627835/EU/PRIZE2ND.
Dear Email User:
Are you
unsupported ioctl command or some other error.
Fix it to handle error paths as oneshot to stop the watchdog ticks and
exit right away.
Signed-off-by: Shuah Khan (Samsung OSG)
---
tools/testing/selftests/watchdog/watchdog-test.c | 16
1 file changed, 12 insertions(+), 4 deletions
When /dev/watchdog open fails, watchdog exits with "watchdog not enabled"
message. This is incorrect when open fails due to insufficient privilege.
Fix message to clearly state the reason when open fails with EACCESS when
a non-root user runs it.
Signed-off-by: Shuah Khan (S
ks across NUMA nodes.
If NUMA emulation init fails, it will fall back to dummy NUMA init.
This is tested on Raspberry Pi3b+ with ltp NUMA test suite, numactl, and
numastat tools. In addition, tested in conjunction with cpuset cgroup to
verify cpuset.cpus and cpuset.mems assignments.
Signed-off-by:
Fix to exclude vdso_standalone_test_x86 test from building on non-x86
platforms. In addition, fix it to use TEST_GEN_PROGS which is the right
variable to use for generated programs. TEST_PROGS is for shell scripts.
Signed-off-by: Shuah Khan (Samsung OSG)
---
tools/testing/selftests/vDSO
Fix to return KSFT_SKIP when test couldn't be run because AT_SYSINFO_EHDR
isn't found and gettimeofday isn't defined.
Signed-off-by: Shuah Khan (Samsung OSG)
---
tools/testing/selftests/vDSO/vdso_test.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git
skipped to
clearly report that the test could not be run.
Kselftest framework SKIP code is 4 and the framework prints appropriate
messages to indicate that the test is skipped.
Signed-off-by: Shuah Khan (Samsung OSG)
---
tools/testing/selftests/zram/zram.sh | 5 -
tools/testing/selftests
skipped to
clearly report that the test could not be run.
Kselftest framework SKIP code is 4 and the framework prints appropriate
messages to indicate that the test is skipped.
Signed-off-by: Shuah Khan (Samsung OSG)
---
tools/testing/selftests/vm/compaction_test.c | 4 +++-
tools/testing/selftests
skipped to
clearly report that the test could not be run. Add an explicit check
for module presence and return skip code if module isn't present.
Kselftest framework SKIP code is 4 and the framework prints appropriate
messages to indicate that the test is skipped.
Signed-off-by: Shuah Khan (Sa
han (Samsung OSG)
---
tools/testing/selftests/kselftest_harness.h | 15 +--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/tools/testing/selftests/kselftest_harness.h
b/tools/testing/selftests/kselftest_harness.h
index 6ae3730c4ee3..7af9ab97b367 100644
--- a/tools/test
Add missing SPDX License Identifiers to Makefile(s).
Signed-off-by: Shuah Khan (Samsung OSG)
---
tools/testing/selftests/sparc64/Makefile | 1 +
tools/testing/selftests/sparc64/drivers/Makefile | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/testing/selftests
.
Signed-off-by: Shuah Khan (Samsung OSG)
---
tools/testing/selftests/sysctl/sysctl.sh | 20 +---
1 file changed, 13 insertions(+), 7 deletions(-)
diff --git a/tools/testing/selftests/sysctl/sysctl.sh
b/tools/testing/selftests/sysctl/sysctl.sh
index ec232c3cfcaa..584eb8ea780a 100755
ftest framework SKIP code is 4 and the framework prints appropriate
messages to indicate that the test is skipped.
Signed-off-by: Shuah Khan (Samsung OSG)
---
.../selftests/static_keys/test_static_keys.sh | 13 +
1 file changed, 13 insertions(+)
diff --git a/tools/testing/self
Delete RUN_TESTS and EMIT_TESTS overrides and use common defines in
lib.mk. Common defines work just fine and there is no need to define
custom overrides.
Signed-off-by: Shuah Khan (Samsung OSG)
---
tools/testing/selftests/sparc64/Makefile | 8
1 file changed, 8 deletions(-)
diff
instruction: `rd %tick,%rax'
adi-test.c:79: Error: no such instruction: `rd %tick,%rax'
: recipe for target 'adi-test' failed
make[1]: *** [adi-test] Error 1
adi: [FAIL]
./drivers_test.sh: 24: ./drivers_test.sh: ./adi-test: not found
../lib.mk:73: recipe for target 'run_test
test gets skipped to clearly
report that the test could not be run.
Kselftest framework SKIP code is 4 and the framework prints appropriate
messages to indicate that the test is skipped.
Signed-off-by: Shuah Khan (Samsung OSG)
---
tools/testing/selftests/pstore/pstore_post_reboot_tests | 5 -
1
prime_numbers modules search and skip logic removes the module instead
of searching for it. Fix it.
Signed-off-by: Shuah Khan (Samsung OSG)
---
tools/testing/selftests/lib/prime_numbers.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/lib
already
detached (status == VDEV_ST_NULL). Don't remove state files and don't send
detach request for invalid ports and ports that are already detached.
Add error and information messages that make sense.
Signed-off-by: Shuah Khan (Samsung OSG)
---
tools/usb/usbip/src/u
22076557b07c ("usbip: usbip_host: fix NULL-ptr deref and
use-after-free errors") in usb-linus
Signed-off-by: Shuah Khan (Samsung OSG)
---
drivers/usb/usbip/stub_main.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/usbip/stub_main.c b/drivers/usb/usbip/
A new patchwork project is created to track kselftest patches. Update
the kselftest entry in the MAINTAINERS file adding Q: entry:
https://patchwork.kernel.org/project/linux-kselftest/list/
Signed-off-by: Shuah Khan (Samsung OSG)
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff
stub_device_rebind()
call put_busid_priv() to release the busid lock before returning. This
changes fixes the unprotected code paths eliminating the race conditions
in updating the busid entries.
Signed-off-by: Shuah Khan (Samsung OSG)
---
drivers/usb/usbip/stub.h | 2 ++
drivers/usb/usbip
Khan (Samsung OSG)
---
tools/testing/selftests/memfd/Makefile | 6 +++---
.../testing/selftests/memfd/{run_tests.sh => run_hugetlbfs_test.sh} | 6 --
2 files changed, 3 insertions(+), 9 deletions(-)
rename tools/testing/selftests/memfd/{run_tests
framework SKIP code is 4 and the framework prints appropriate
messages to indicate that the test is skipped.
Signed-off-by: Shuah Khan (Samsung OSG)
---
Changes since v1:
-- addressed review comments on v1
-- Fixed a regression in v1 that changed the behavior to require root
for all tests not
urces required e.g: open /dev/kvm failed, rc: -1 errno: 13
Signed-off-by: Shuah Khan (Samsung OSG)
---
Changes since v1:
- Don't do root check at the top of assert.
- Instead do check for EACCES.
tools/testing/selftests/kvm/lib/assert.c | 9 +++--
tools/testing/sel
message, instead
of failing the test when /sys/power/state file open fails.
Signed-off-by: Shuah Khan (Samsung OSG)
---
tools/testing/selftests/net/fib_tests.sh| 8 +---
tools/testing/selftests/net/netdevice.sh| 16 +--
tools/testing/selftests/net/pmtu.sh | 5
skipped to
clearly report that the test could not be run.
Change it to use ksft_exit_skip() when the test is skipped.
Signed-off-by: Shuah Khan (Samsung OSG)
---
tools/testing/selftests/mqueue/mq_open_tests.c | 8
tools/testing/selftests/mqueue/mq_perf_tests.c | 8
2 files
gets skipped to
clearly report that the test could not be run.
Added an explicit check for root user and return skip code.
Kselftest framework SKIP code is 4 and the framework prints appropriate
messages to indicate that the test is skipped.
Signed-off-by: Shuah Khan (Samsung OSG)
---
tools
a test gets skipped to
clearly report that the test could not be run.
Kselftest framework SKIP code is 4 and the framework prints appropriate
messages to indicate that the test is skipped.
Signed-off-by: Shuah Khan (Samsung OSG)
---
tools/testing/selftests/memory-hotplug/mem-on-off-test.sh | 11
gets skipped to
clearly report that the test could not be run.
Change it to use ksft_exit_skip() when the test is skipped.
Signed-off-by: Shuah Khan (Samsung OSG)
---
tools/testing/selftests/membarrier/membarrier_test.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a
gets skipped to
clearly report that the test could not be run.
Change it to use ksft_exit_skip() when the test is skipped.
Signed-off-by: Shuah Khan (Samsung OSG)
---
tools/testing/selftests/media_tests/Makefile| 3 ++-
tools/testing/selftests/media_tests/media_device_open.c | 8
Add Makefile for locking test.
Signed-off-by: Shuah Khan (Samsung OSG)
---
tools/testing/selftests/locking/Makefile | 10 ++
1 file changed, 10 insertions(+)
create mode 100644 tools/testing/selftests/locking/Makefile
diff --git a/tools/testing/selftests/locking/Makefile
b/tools
ework prints appropriate
messages to indicate that the test is skipped.
Signed-off-by: Shuah Khan (Samsung OSG)
---
tools/testing/selftests/locking/ww_mutex.sh | 8
1 file changed, 8 insertions(+)
mode change 100644 => 100755 tools/testing/selftests/locking/ww_mutex.sh
diff --git a/tools
gets skipped to
clearly report that the test could not be run.
Kselftest framework SKIP code is 4 and the framework prints appropriate
messages to indicate that the test is skipped.
Signed-off-by: Shuah Khan (Samsung OSG)
---
tools/testing/selftests/lib/bitmap.sh| 8 ++--
tools
skipped to
clearly report that the test could not be run.
Kselftest framework SKIP code is 4 and the framework prints appropriate
messages to indicate that the test is skipped.
Signed-off-by: Shuah Khan (Samsung OSG)
---
tools/testing/selftests/intel_pstate/run.sh | 5 -
1 file changed, 4
skipped to
clearly report that the test could not be run.
Change it to use ksft_exit_skip() when the test is skipped.
Signed-off-by: Shuah Khan (Samsung OSG)
---
tools/testing/selftests/ipc/msgque.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/tools/testing/selftests
prime_numbers.sh is not included in TEST_PROGS. Add it.
Signed-off-by: Shuah Khan (Samsung OSG)
---
tools/testing/selftests/lib/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/lib/Makefile
b/tools/testing/selftests/lib/Makefile
index
Khan (Samsung OSG)
---
tools/testing/selftests/kmod/kmod.sh | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/tools/testing/selftests/kmod/kmod.sh
b/tools/testing/selftests/kmod/kmod.sh
index 7956ea3be667..0a76314b4414 100755
--- a/tools/testing/selftests/kmod
(Samsung OSG)
---
tools/testing/selftests/kvm/lib/assert.c | 10 --
tools/testing/selftests/kvm/vmx_tsc_adjust_test.c | 4 +++-
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/tools/testing/selftests/kvm/lib/assert.c
b/tools/testing/selftests/kvm/lib/assert.c
index
skipped to
clearly report that the test could not be run.
Kselftest framework SKIP code is 4 and the framework prints appropriate
messages to indicate that the test is skipped.
Signed-off-by: Shuah Khan (Samsung OSG)
---
tools/testing/selftests/gpio/gpio-mockup.sh | 12
1 file changed
to
clearly report that the test could not be run.
Kselftest framework SKIP code is 4 and the framework prints appropriate
messages to indicate that the test is skipped.
Signed-off-by: Shuah Khan (Samsung OSG)
---
tools/testing/selftests/ftrace/ftracetest | 8 ++--
1 file changed, 6
skipped to
clearly report that the test could not be run.
Kselftest framework SKIP code is 4 and the framework prints appropriate
messages to indicate that the test is skipped.
Signed-off-by: Shuah Khan (Samsung OSG)
---
tools/testing/selftests/firmware/fw_fallback.sh | 4 ++--
tools/testing
reporting a false
postive.
Change it to return kselftest skip code when a test gets skipped to
clearly report that the test could not be run.
Change it to use ksft_exit_skip() when test is skipped.
Signed-off-by: Shuah Khan (Samsung OSG)
---
tools/testing/selftests/filesystems/devpts_pts.c | 11
gets skipped to
clearly report that the test could not be run.
Change it to use ksft_exit_skip() when kernel doesn't support execveat.
Signed-off-by: Shuah Khan (Samsung OSG)
---
tools/testing/selftests/exec/execveat.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/
skipped to
clearly report that the test could not be run.
Kselftest framework SKIP code is 4 and the framework prints appropriate
messages to indicate that the test is skipped.
Signed-off-by: Shuah Khan (Samsung OSG)
---
tools/testing/selftests/cpufreq/main.sh | 5 -
1 file changed, 4
skipped to
clearly report that the test could not be run.
Kselftest framework SKIP code is 4 and the framework prints appropriate
messages to indicate that the test is skipped.
Signed-off-by: Shuah Khan (Samsung OSG)
---
tools/testing/selftests/efivarfs/efivarfs.sh | 7 +--
1 file changed, 5
skipped to
clearly report that the test could not be run.
Kselftest framework SKIP code is 4 and the framework prints appropriate
messages to indicate that the test is skipped.
Signed-off-by: Shuah Khan (Samsung OSG)
---
tools/testing/selftests/cpu-hotplug/cpu-on-off-test.sh | 14 --
1
clearly report that the test could not be run.
Kselftest framework SKIP code is 4 and the framework prints appropriate
messages to indicate that the test is skipped.
Signed-off-by: Shuah Khan (Samsung OSG)
---
tools/testing/selftests/android/ion/ion_test.sh | 7 +--
1 file changed, 5
a test gets skipped to clearly
report that the test could not be run.
Change it to use ksft_exit_skip() when a non-root user runs the test and
add an explicit check for root and a clear message, instead of failing
the test when /sys/power/state file open fails.
Signed-off-by: Shuah Khan (Samsung
: Shuah Khan (Samsung OSG)
---
tools/testing/selftests/mqueue/Makefile| 12 +--
tools/testing/selftests/mqueue/mq_open_tests.c | 29 +-
2 files changed, 16 insertions(+), 25 deletions(-)
diff --git a/tools/testing/selftests/mqueue/Makefile
b/tools/testing
test is skipped instead of
reporting it as failed.
Output with this change:
TAP version 13
selftests: mount: run_tests.sh
WARN: No /proc/self/uid_map exist, test skipped.
not ok 1..1 selftests: mount: run_tests.sh [SKIP]
Signed-off-by: Shuah Khan (Samsun
Delete RUN_TESTS and EMIT_TESTS overrides and use common defines in
lib.mk. Common defines work just fine and there is no need to define
custom overrides.
Signed-off-by: Shuah Khan (Samsung OSG)
---
tools/testing/selftests/android/Makefile | 8
1 file changed, 8 deletions(-)
diff
sts target now calls the test with "-r 10".
Signed-off-by: Shuah Khan (Samsung OSG)
---
tools/testing/selftests/memory-hotplug/Makefile | 5 +
tools/testing/selftests/memory-hotplug/mem-on-off-test.sh | 3 ++-
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/too
Delete RUN_TESTS and EMIT_TESTS overrides and use common defines in
lib.mk. Common defines work just fine and there is no need to define
custom overrides.
Signed-off-by: Shuah Khan (Samsung OSG)
---
tools/testing/selftests/futex/Makefile | 12
1 file changed, 12 deletions(-)
diff
-off-by: Shuah Khan (Samsung OSG)
---
tools/testing/selftests/lib.mk | 52 +++---
1 file changed, 28 insertions(+), 24 deletions(-)
diff --git a/tools/testing/selftests/lib.mk b/tools/testing/selftests/lib.mk
index e8f5f8b3abeb..dd516f92f7c2 100644
--- a/tools
return a skip code of 4 to clearly differentiate the skipped
tests.
Signed-off-by: Shuah Khan (Samsung OSG)
---
tools/testing/selftests/kselftest.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/kselftest.h
b/tools/testing/selftests/kselftest.h
index
tests: breakpoints: breakpoint_test
ok 1..2 selftests: breakpoints: breakpoint_test [PASS]
Signed-off-by: Shuah Khan (Samsung OSG)
---
tools/testing/selftests/Makefile | 3 ++-
tools/testing/selftests/lib.mk | 8 ++--
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/tools/testing/self
g and cleaned up both
RUN_TESTS and EMIT_TESTS define to remove duplicate test output strings.
Shuah Khan (Samsung OSG) (7):
selftests: lib.mk: cleanup RUN_TESTS define and make it readable
selftests: lib.mk: add SKIP handling to RUN_TESTS define
selftests: lib.mk: move running and printing result
Refine RUN_TESTS define's output block for summary and non-summary code
to remove duplicate code and make it readable.
cd `dirname $$TEST` > /dev/null; and cd - > /dev/null; are moved
to common code block and indentation fixed.
Signed-off-by: Shuah Khan (Samsung OSG)
---
to
Similar to what RUN_TESTS does, change EMIT_TESTS to check for execute
bit and emit code to print warnings if test isn't executable to the
the run_kselftest.sh.
Signed-off-by: Shuah Khan (Samsung OSG)
---
tools/testing/selftests/lib.mk | 7 ++-
1 file changed, 6 insertions(+), 1 del
..7 selftests: timers: raw_skew [PASS]
Signed-off-by: Shuah Khan (Samsung OSG)
---
tools/testing/selftests/lib.mk | 19 ++-
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/tools/testing/selftests/lib.mk b/tools/testing/selftests/lib.mk
index dd516f92f7c2
Shuah Khan (Samsung OSG)
---
tools/testing/selftests/lib.mk | 15 +--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/tools/testing/selftests/lib.mk b/tools/testing/selftests/lib.mk
index 1d2b48f2d481..e8f5f8b3abeb 100644
--- a/tools/testing/selftests/lib.mk
+++ b/
Updating email address in MAINTAINERS file due to IT infrastructure
changes at Samsung.
Signed-off-by: Shuah Khan (Samsung OSG)
---
MAINTAINERS | 3 ---
1 file changed, 3 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 92be777d060a..f9346c412fc6 100644
--- a/MAINTAINERS
+++ b
the devices to their original drivers. This includes cleanup changes
and moving device_attach() code to a common routine to be called from
rebind_store() and usbip_host_exit().
Signed-off-by: Shuah Khan (Samsung OSG)
---
drivers/usb/usbip/stub_dev.c | 6 +
drivers/usb/usbip/stub_main.c
.
Signed-off-by: Shuah Khan (Samsung OSG)
---
drivers/usb/usbip/stub_main.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/usb/usbip/stub_main.c b/drivers/usb/usbip/stub_main.c
index d41d0cdeec0f..fb46bd62d538 100644
--- a/drivers/usb/usbip/stub_main.c
+++ b/drivers/usb/usbip
Dear Email account holder,
Congratulations,
Your E-mail address has won Five Hundred Thousand United States Dollars
($500,000.00 USD), in the just concluded October 2015 Samsung draw Giveaway
held at NEW DELHI, INDIA. To claim your prize, send your Full Name, Phone
Number, Address, State
66 matches
Mail list logo