Prevent them from polluting git status after building selftests.
Signed-off-by: Bernd Edlinger
---
tools/testing/selftests/damon/.gitignore | 1 +
tools/testing/selftests/thermal/intel/power_floor/.gitignore | 2 ++
kselftest/fixes kselftest-lkdtm: 1 runs, 1 regressions
(v6.8-rc1-5-g93ffe3f1e97da)
Regressions Summary
---
platform| arch | lab | compiler | defconfig
| regressions
On Wed, 24 Jan 2024 08:39:33 -0500 Audra Mitchell wrote:
> > A more complete description of these "test failures" would be helpful
> > please.
> >
>
> Hey, sorry for the incomplete description. The test does a series of mmap
> calls including three using the MAP_FIXED flag and specifying an
On Wed, Jan 24, 2024 at 4:13 PM Suren Baghdasaryan wrote:
>
> Current implementation of UFFDIO_MOVE fails to move zeropages and returns
> EBUSY when it encounters one. We can handle them by mapping a zeropage
> at the destination and clearing the mapping at the source. This is done
> both for
On Thu, Jan 25, 2024, Paul Durrant wrote:
> On 15/01/2024 12:56, Paul Durrant wrote:
> > From: Paul Durrant
> >
> > This series has one small fix to what was in v11 [1]:
> >
> > * KVM: xen: re-initialize shared_info if guest (32/64-bit) mode is set
> >
> > The v11 patch failed to set the
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski :
On Wed, 24 Jan 2024 14:13:44 +0800 you wrote:
> The busywait timeout value is a millisecond, not a second. So the
> current setting 2 is too small. On slow/busy host (or VMs) the
> current timeout can expire even on
kselftest/fixes build: 5 builds: 2 failed, 3 passed, 2 errors, 6 warnings
(v6.8-rc1-5-g93ffe3f1e97da)
Full Build Summary:
https://kernelci.org/build/kselftest/branch/fixes/kernel/v6.8-rc1-5-g93ffe3f1e97da/
Tree: kselftest
Branch: fixes
Git Describe: v6.8-rc1-5-g93ffe3f1e97da
Git Commit:
On Thu, Jan 25, 2024 at 01:24:16PM -0800, Charlie Jenkins wrote:
On Wed, Jan 24, 2024 at 10:21:40PM -0800, de...@rivosinc.com wrote:
From: Deepak Gupta
As discussed extensively in the changelog for the addition of this
syscall on x86 ("x86/shstk: Introduce map_shadow_stack syscall") the
Hello:
This series was applied to netdev/net-next.git (main)
by Jakub Kicinski :
On Wed, 24 Jan 2024 15:19:28 -0300 you wrote:
> Patches 1 and 3 are fixes for tdc that were discovered when running it
> using defconfig + tc-testing config and against the latest iproute2.
>
> Patch 2 improves the
On Thu, Jan 25, 2024 at 02:47:49PM -0500, Stefan O'Rear wrote:
On Thu, Jan 25, 2024, at 12:30 PM, Deepak Gupta wrote:
On Thu, Jan 25, 2024 at 02:29:01AM -0500, Stefan O'Rear wrote:
On Thu, Jan 25, 2024, at 1:21 AM, de...@rivosinc.com wrote:
From: Deepak Gupta
Carves out space in arch
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski :
On Wed, 24 Jan 2024 15:36:30 -0800 you wrote:
> The default timeout for tests is 45sec, bench-lookups_ipv6
> seems to take around 50sec when running in a VM without
> HW acceleration. Give it a 2x margin and set the
Hello:
This series was applied to netdev/net.git (main)
by Jakub Kicinski :
On Wed, 24 Jan 2024 22:33:19 +0100 you wrote:
> This series address self-tests failures for udp gro-related tests.
>
> The first patch addresses the main problem I observe locally - the XDP
> program required by such
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski :
On Wed, 24 Jan 2024 11:25:50 -0800 you wrote:
> Still a bit unclear whether each directory should have its own
> config file, but assuming they should lets add one for tcp_ao.
>
> The following tests still fail with this
On Wed, Jan 24, 2024 at 10:21:40PM -0800, de...@rivosinc.com wrote:
> From: Deepak Gupta
>
> As discussed extensively in the changelog for the addition of this
> syscall on x86 ("x86/shstk: Introduce map_shadow_stack syscall") the
> existing mmap() and madvise() syscalls do not map entirely well
On 1/24/24 06:00, Mark Brown wrote:
Currently the seccomp benchmark selftest produces non-standard output,
meaning that while it makes a number of checks of the performance it
observes this has to be parsed by humans. This means that automated
systems running this suite of tests are almost
grep|cut pipe will hang when there is no input for grep
Signed-off-by: Lu Dai
---
tools/testing/selftests/kselftest_deps.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/testing/selftests/kselftest_deps.sh
b/tools/testing/selftests/kselftest_deps.sh
index de59cc8f03c3..487e49fdf2a6
On Thu, 2024-01-25 at 15:03 +, Paul Durrant wrote:
> On 15/01/2024 12:56, Paul Durrant wrote:
> > From: Paul Durrant
> >
> > This series has one small fix to what was in v11 [1]:
> >
> > * KVM: xen: re-initialize shared_info if guest (32/64-bit) mode is set
> >
> > The v11 patch failed to
On Thu, Jan 25, 2024, at 12:30 PM, Deepak Gupta wrote:
> On Thu, Jan 25, 2024 at 02:29:01AM -0500, Stefan O'Rear wrote:
>>On Thu, Jan 25, 2024, at 1:21 AM, de...@rivosinc.com wrote:
>>> From: Deepak Gupta
>>>
>>> Carves out space in arch specific thread struct for cfi status and shadow
>>> stack
On Thu, Jan 25, 2024 at 06:44:48PM +, Conor Dooley wrote:
On Thu, Jan 25, 2024 at 10:12:16AM -0800, Deepak Gupta wrote:
On Thu, Jan 25, 2024 at 06:04:26PM +, Conor Dooley wrote:
> On Wed, Jan 24, 2024 at 10:21:49PM -0800, de...@rivosinc.com wrote:
> > From: Deepak Gupta
> >
> > This
On Thu, Jan 25, 2024 at 10:26:19AM -0800, Deepak Gupta wrote:
> > Anything you add to this array, you need to document in a dt-binding.
>
> You mean Documentation/devicetree/bindings/riscv/extensions.yaml
> (or possibly any other yaml if needed?)
That one alone should be okay.
> > Also, you
On Thu, Jan 25, 2024 at 10:12:16AM -0800, Deepak Gupta wrote:
> On Thu, Jan 25, 2024 at 06:04:26PM +, Conor Dooley wrote:
> > On Wed, Jan 24, 2024 at 10:21:49PM -0800, de...@rivosinc.com wrote:
> > > From: Deepak Gupta
> > >
> > > This patch selects config shadow stack support and landing
On Thu, Jan 25, 2024 at 7:09 PM Paolo Abeni wrote:
>
> The gro.sh test-case relay on the gro_flush_timeout to ensure
> that all the segments belonging to any given batch are properly
> aggregated.
>
> The other end, the sender is a user-space program transmitting
> each packet with a separate
On Thu, Jan 25, 2024 at 05:59:24PM +, Conor Dooley wrote:
Yo,
Series is RFC, so not gonna review it in depth, just wanted to comment
on this particular patch.
On Wed, Jan 24, 2024 at 10:21:30PM -0800, de...@rivosinc.com wrote:
From: Deepak Gupta
This patch adds support for detecting
On Thu, Jan 25, 2024 at 06:04:26PM +, Conor Dooley wrote:
On Wed, Jan 24, 2024 at 10:21:49PM -0800, de...@rivosinc.com wrote:
From: Deepak Gupta
This patch selects config shadow stack support and landing pad instr
support. Shadow stack support and landing instr support is hidden behind
The gro.sh test-case relay on the gro_flush_timeout to ensure
that all the segments belonging to any given batch are properly
aggregated.
The other end, the sender is a user-space program transmitting
each packet with a separate write syscall. A busy host and/or
stracing the sender program can
On Wed, Jan 24, 2024 at 10:21:49PM -0800, de...@rivosinc.com wrote:
> From: Deepak Gupta
>
> This patch selects config shadow stack support and landing pad instr
> support. Shadow stack support and landing instr support is hidden behind
> `CONFIG_RISCV_USER_CFI`. Selecting
Yo,
Series is RFC, so not gonna review it in depth, just wanted to comment
on this particular patch.
On Wed, Jan 24, 2024 at 10:21:30PM -0800, de...@rivosinc.com wrote:
> From: Deepak Gupta
>
> This patch adds support for detecting zicfiss and zicfilp. zicfiss and zicfilp
> stands for
On Thu, Jan 25, 2024 at 09:09:14AM -0800, Deepak Gupta wrote:
On Thu, Jan 25, 2024 at 02:19:29AM -0500, Stefan O'Rear wrote:
On Thu, Jan 25, 2024, at 1:21 AM, de...@rivosinc.com wrote:
From: Deepak Gupta
envcfg CSR defines enabling bits for cache management instructions and soon
will control
On Thu, Jan 25, 2024 at 02:29:01AM -0500, Stefan O'Rear wrote:
On Thu, Jan 25, 2024, at 1:21 AM, de...@rivosinc.com wrote:
From: Deepak Gupta
Carves out space in arch specific thread struct for cfi status and shadow stack
in usermode on riscv.
This patch does following
- defines a new
On Thu, Jan 25, 2024 at 02:19:29AM -0500, Stefan O'Rear wrote:
On Thu, Jan 25, 2024, at 1:21 AM, de...@rivosinc.com wrote:
From: Deepak Gupta
envcfg CSR defines enabling bits for cache management instructions and soon
will control enabling for control flow integrity and pointer masking
On Thu, Jan 25, 2024 at 09:18:07AM +0100, David Hildenbrand wrote:
On 25.01.24 07:21, de...@rivosinc.com wrote:
From: Deepak Gupta
x86 has used VM_SHADOW_STACK (alias to VM_HIGH_ARCH_5) to encode shadow
stack VMA. VM_SHADOW_STACK is thus not possible on 32bit. Some arches may
need a way to
On Thu, Jan 25, 2024 at 09:17:01AM +0100, David Hildenbrand wrote:
On 25.01.24 07:21, de...@rivosinc.com wrote:
From: Deepak Gupta
VM_SHADOW_STACK is defined by x86 as vm flag to mark a shadow stack vma.
x86 uses VM_HIGH_ARCH_5 bit but that limits shadow stack vma to 64bit only.
arm64
On 2024-01-24 20:46 -0800, Jakub Kicinski wrote:
> On Wed, 24 Jan 2024 12:02:17 -0500 Benjamin Poirier wrote:
> > --- a/Documentation/dev-tools/kselftest.rst
> > +++ b/Documentation/dev-tools/kselftest.rst
> > @@ -255,9 +255,19 @@ Contributing new tests (details)
> >
> > TEST_PROGS_EXTENDED,
On Thu, Jan 25, 2024 at 5:40 PM Paolo Abeni wrote:
>
>
> Thank you for testing!
>
> Do you prefer I'll send the formal patch or do you prefer otherwise?
Please send it, you did the investigations, thanks a lot !
On Thu, 2024-01-25 at 15:10 +0100, Eric Dumazet wrote:
> On Thu, Jan 25, 2024 at 12:38 PM Paolo Abeni wrote:
> >
> > On Thu, 2024-01-25 at 09:48 +0100, Eric Dumazet wrote:
> > > On Thu, Jan 25, 2024 at 9:23 AM Paolo Abeni wrote:
> > > >
> > > > the udpgro_fraglist self-test uses the BPF
From: Björn Töpel
When using the "install" or targets depending on install, e.g.
"gen_tar", the "runner extras" weren't included for the BPF machine
flavors.
Make sure the necessary helper scripts/tools are added to
corresponding BPF machine flavor.
Signed-off-by: Björn Töpel
---
v2: Added
Add missing tests to run_vmtests.sh. The mm kselftests are run through
run_vmtests.sh. If a test isn't present in this script, it'll not run
with run_tests or `make -C tools/testing/selftests/mm run_tests`.
Cc: Ryan Roberts
Signed-off-by: Muhammad Usama Anjum
---
Changes since v1:
- Copy the
Save and restore nr_hugepages before changing it during the test. A test
should not change system wide settings.
Fixes: 5f23f6d082a9 ("x86/pkeys: Add self-tests")
Signed-off-by: Muhammad Usama Anjum
---
tools/testing/selftests/mm/protection_keys.c | 34
1 file changed, 34
Save and restore nr_hugepages before changing it during the test. A test
should not change system wide settings.
Signed-off-by: Muhammad Usama Anjum
---
tools/testing/selftests/mm/charge_reserved_hugetlb.sh | 4
tools/testing/selftests/mm/hugetlb_reparenting_test.sh | 3 +++
2 files
Remove sudo as some test running environments may not have sudo
available. Instead skip the test if root privileges aren't available in
the test.
Signed-off-by: Muhammad Usama Anjum
---
Changes since v1:
- Added this patch in v2
We are allocating 2*RLIMIT_MEMLOCK.rlim_max memory and mmap()
Do not unmount the cgroup if it wasn't mounted by the test. The earlier
patch had fixed this for charge_reserved_hugetlb, but not for this test.
I'm adding fixes tag to that earlier patch.
Fixes: 209376ed2a84 ("selftests/vm: make charge_reserved_hugetlb.sh work with
existing cgroup setting")
In this series, I'm trying to add 3 missing tests to vm_runtests.sh
which is used to run all the tests in mm suite. These tests weren't
running by CIs. While enabling them and through review feedback, I've
fixed some problems in tests as well. I've found more flakiness in more
tests which I'll be
Paolo Abeni wrote:
> On Thu, 2024-01-25 at 09:27 -0500, Willem de Bruijn wrote:
> > Paolo Abeni wrote:
> > > On Wed, 2024-01-24 at 20:10 -0500, Willem de Bruijn wrote:
> > > > Paolo Abeni wrote:
> > > > > Several net tests requires an XDP program build under the ebpf
> > > > > directory, and error
Hi,
This two patches fix an issue when the user running net_test is not
root. The second patch simplify test error logs.
Regards,
Mickaël Salaün (2):
selftests/landlock: Fix capability for net_test
selftests/landlock: Clean up error logs related to capabilities
It doesn't help to call TH_LOG() for every cap_*() error. Let's only
log errors returned by the kernel, not by libcap specificities.
Signed-off-by: Mickaël Salaün
---
tools/testing/selftests/landlock/common.h | 39 ++-
1 file changed, 9 insertions(+), 30 deletions(-)
diff
CAP_NET_ADMIN allows to configure network interfaces, not CAP_SYS_ADMIN
which only allows to call unshare(2). Without this change, running
network tests as a non-root user but with all capabilities would fail at
the setup_loopback() step with "RTNETLINK answers: Operation not
permitted".
The
On Thu, 2024-01-25 at 09:27 -0500, Willem de Bruijn wrote:
> Paolo Abeni wrote:
> > On Wed, 2024-01-24 at 20:10 -0500, Willem de Bruijn wrote:
> > > Paolo Abeni wrote:
> > > > Several net tests requires an XDP program build under the ebpf
> > > > directory, and error out if such program is not
On 15/01/2024 12:56, Paul Durrant wrote:
From: Paul Durrant
This series has one small fix to what was in v11 [1]:
* KVM: xen: re-initialize shared_info if guest (32/64-bit) mode is set
The v11 patch failed to set the return code of the ioctl if the mode
was not actually changed, leading to a
Paolo Abeni wrote:
> On Wed, 2024-01-24 at 20:10 -0500, Willem de Bruijn wrote:
> > Paolo Abeni wrote:
> > > Several net tests requires an XDP program build under the ebpf
> > > directory, and error out if such program is not available.
> > >
> > > That makes running successful net test hard,
Björn Töpel writes:
> From: Björn Töpel
>
> When using the "install" or targets depending on install, e.g.
> "gen_tar", the "runner extras" weren't included for the BPF machine
> flavors.
>
> Make sure the necessary helper scripts/tools are added to
> corresponding BPF machine flavor.
>
>
On Thu, Jan 25, 2024 at 12:38 PM Paolo Abeni wrote:
>
> On Thu, 2024-01-25 at 09:48 +0100, Eric Dumazet wrote:
> > On Thu, Jan 25, 2024 at 9:23 AM Paolo Abeni wrote:
> > >
> > > the udpgro_fraglist self-test uses the BPF classifiers, but the
> > > current net self-test configuration does not
From: Björn Töpel
When using the "install" or targets depending on install, e.g.
"gen_tar", the "runner extras" weren't included for the BPF machine
flavors.
Make sure the necessary helper scripts/tools are added to
corresponding BPF machine flavor.
Signed-off-by: Björn Töpel
---
On Thu, 25 Jan 2024, Maciej Wieczor-Retman wrote:
> Feature checking done by resctrl_mon_feature_exists() covers features
> represented by the feature name presence inside the 'mon_features' file
> in /sys/fs/resctrl/info/L3_MON directory. There exists a different way
> to represent feature
On Thu, 25 Jan 2024, Maciej Wieczor-Retman wrote:
> The CAT non-contiguous selftests have to read the file responsible for
> reporting support of non-contiguous CBMs in kernel (resctrl). Then the
> test compares if that information matches what is reported by CPUID
> output.
>
> Add a generic
On Thu, 25 Jan 2024, Maciej Wieczor-Retman wrote:
> validate_resctrl_feature_request() is used to test both if a resource is
> present in the info directory, and if a passed monitoring feature is
> present in the mon_features file.
>
> Refactor validate_resctrl_feature_request() into two smaller
On Thu, 2024-01-25 at 09:48 +0100, Eric Dumazet wrote:
> On Thu, Jan 25, 2024 at 9:23 AM Paolo Abeni wrote:
> >
> > the udpgro_fraglist self-test uses the BPF classifiers, but the
> > current net self-test configuration does not include it, causing
> > CI failures:
> >
> > # selftests: net:
Add tests for both L2 and L3 CAT to verify the return values
generated by writing non-contiguous CBMs don't contradict the
reported non-contiguous support information.
Use a logical XOR to confirm return value of write_schemata() and
non-contiguous CBMs support information match.
Signed-off-by:
Feature checking done by resctrl_mon_feature_exists() covers features
represented by the feature name presence inside the 'mon_features' file
in /sys/fs/resctrl/info/L3_MON directory. There exists a different way
to represent feature support and that is by the presence of 0 or 1 in a
single file
validate_resctrl_feature_request() is used to test both if a resource is
present in the info directory, and if a passed monitoring feature is
present in the mon_features file.
Refactor validate_resctrl_feature_request() into two smaller functions
that each accomplish one check to give feature
The CAT non-contiguous selftests have to read the file responsible for
reporting support of non-contiguous CBMs in kernel (resctrl). Then the
test compares if that information matches what is reported by CPUID
output.
Add a generic helper function to read an unsigned number from a file in
From: Ilpo Järvinen
To select test to run -t parameter can be used. However, -t cat
currently maps to L3 CAT test which will be confusing after more CAT
related tests will be added.
Allow selecting tests as groups and call L3 CAT test "L3_CAT", "CAT"
group will enable all CAT related tests.
Non-contiguous CBM support for Intel CAT has been merged into the kernel
with Commit 0e3cd31f6e90 ("x86/resctrl: Enable non-contiguous CBMs in
Intel CAT") but there is no selftest that would validate if this feature
works correctly.
The selftest needs to verify if writing non-contiguous CBMs to
Jakub Kicinski writes:
> On Tue, 23 Jan 2024 18:04:19 +0100 Petr Machata wrote:
>> > Unless I'm doing it wrong and the sub-directories are supposed to
>> > inherit the parent directory's config? So net/forwarding/ should
>> > be built with net/'s config? I could not find the info in docs,
>> >
On Wed, Jan 24, 2024 at 03:19:28PM -0300, Pedro Tammela wrote:
> Patches 1 and 3 are fixes for tdc that were discovered when running it
> using defconfig + tc-testing config and against the latest iproute2.
>
> Patch 2 improves the taprio tests.
>
> Patch 4 enables all tdc tests.
>
> Patch 5
On Thu, Jan 25, 2024 at 9:23 AM Paolo Abeni wrote:
>
> the udpgro_fraglist self-test uses the BPF classifiers, but the
> current net self-test configuration does not include it, causing
> CI failures:
>
> # selftests: net: udpgro_frglist.sh
> # ipv6
> # tcp - over veth touching data
> # -l 4
On Thu, Jan 25, 2024 at 12:23 AM Paolo Abeni wrote:
>
> the udpgro_fraglist self-test uses the BPF classifiers, but the
> current net self-test configuration does not include it, causing
> CI failures:
>
> # selftests: net: udpgro_frglist.sh
> # ipv6
> # tcp - over veth touching data
> # -l 4
the udpgro_fraglist self-test uses the BPF classifiers, but the
current net self-test configuration does not include it, causing
CI failures:
# selftests: net: udpgro_frglist.sh
# ipv6
# tcp - over veth touching data
# -l 4 -6 -D 2001:db8::1 -t rx -4 -t
# Error: TC classifier not found.
#
On 25.01.24 07:21, de...@rivosinc.com wrote:
From: Deepak Gupta
x86 has used VM_SHADOW_STACK (alias to VM_HIGH_ARCH_5) to encode shadow
stack VMA. VM_SHADOW_STACK is thus not possible on 32bit. Some arches may
need a way to encode shadow stack on 32bit and 64bit both and they may
encode this
On 25.01.24 07:21, de...@rivosinc.com wrote:
From: Deepak Gupta
VM_SHADOW_STACK is defined by x86 as vm flag to mark a shadow stack vma.
x86 uses VM_HIGH_ARCH_5 bit but that limits shadow stack vma to 64bit only.
arm64 follows same path
69 matches
Mail list logo