On Mon, 2024-02-12 at 15:28 -0500, Stefan Berger wrote:
>
> On 2/12/24 12:56, Paul Moore wrote:
> > On Mon, Feb 12, 2024 at 12:48 PM Stefan Berger
> > wrote:
> > > On 1/15/24 13:18, Roberto Sassu wrote:
> >
> > ...
> >
> > > > +/**
> > > > + * ima_kernel_module_request - Prevent crypto-pkcs1pa
On 25.01.24 18:07, Deepak Gupta wrote:
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
This test maps a ring-buffer and validate the meta-page after reset and
after emitting few events.
Cc: Shuah Khan
Cc: Shuah Khan
Cc: linux-kselftest@vger.kernel.org
Signed-off-by: Vincent Donnefort
diff --git a/tools/testing/selftests/ring-buffer/Makefile
b/tools/testing/selftests/ring-buffer
Remove unnecessary semicolons reported by Coccinelle/coccicheck and the
semantic patch at scripts/coccinelle/misc/semicolon.cocci.
Signed-off-by: Thorsten Blum
---
tools/testing/selftests/bpf/benchs/bench_local_storage_create.c | 2 +-
tools/testing/selftests/kvm/access_tracking_perf_test.c
Hi Zi yan,
> From: Zi Yan
>
> Hi all,
>
> File folio supports any order and people would like to support flexible orders
> for anonymous folio[1] too. Currently, split_huge_page() only splits a huge
> page to order-0 pages, but splitting to orders higher than 0 is also useful.
> This patchset a
On Mon, 2024-02-12 at 16:16 -0500, Paul Moore wrote:
> On Mon, Feb 12, 2024 at 4:06 PM Mimi Zohar wrote:
> >
> > Hi Roberto,
> >
> >
> > > diff --git a/security/security.c b/security/security.c
> > > index d9d2636104db..f3d92bffd02f 100644
> > > --- a/security/security.c
> > > +++ b/security/se
On 12/18/23 02:40, Mina Almasry wrote:
Implement netdev devmem allocator. The allocator takes a given struct
netdev_dmabuf_binding as input and allocates net_iov from that
binding.
The allocation simply delegates to the binding's genpool for the
allocation logic and wraps the returned memory reg
On 12/18/23 02:40, Mina Almasry wrote:
Convert netmem to be a union of struct page and struct netmem. Overload
the LSB of struct netmem* to indicate that it's a net_iov, otherwise
it's a page.
Currently these entries in struct page are rented by the page_pool and
used exclusively by the net stac
On 12/18/23 02:40, Mina Almasry wrote:
Implement a memory provider that allocates dmabuf devmem in the form of
net_iov.
The provider receives a reference to the struct netdev_dmabuf_binding
via the pool->mp_priv pointer. The driver needs to set this pointer for
the provider in the net_iov.
The
On 13 Feb 2024, at 7:30, Pankaj Raghav (Samsung) wrote:
> Hi Zi yan,
>
>> From: Zi Yan
>>
>> Hi all,
>>
>> File folio supports any order and people would like to support flexible
>> orders
>> for anonymous folio[1] too. Currently, split_huge_page() only splits a huge
>> page to order-0 pages, bu
Test runners on debug kernels occasionally fail with:
# # RUN tls_err.13_aes_gcm.poll_partial_rec_async ...
# # tls.c:1883:poll_partial_rec_async:Expected poll(&pfd, 1, 5) (0) == 1 (1)
# # tls.c:1870:poll_partial_rec_async:Expected status (256) == 0 (0)
# # poll_partial_rec_async: T
On Tue, Feb 13, 2024 at 7:59 AM Roberto Sassu
wrote:
> On Mon, 2024-02-12 at 16:16 -0500, Paul Moore wrote:
> > On Mon, Feb 12, 2024 at 4:06 PM Mimi Zohar wrote:
> > >
> > > Hi Roberto,
> > >
> > >
> > > > diff --git a/security/security.c b/security/security.c
> > > > index d9d2636104db..f3d92bff
Commit 0ef67a888375 ("selftests/harness: Report skip reason")
added shared memory to communicate between harness and test.
Use that instead of exit codes to send the failing step back
to the harness. The exit codes are limited and because of
the step passing we can't use the full range of KSFT_* ex
Hi!
When running selftests for our subsystem in our CI we'd like all
tests to pass. Currently some tests use SKIP for cases they
expect to fail, because the kselftest_harness limits the return
codes to pass/fail/skip.
Clean up and support the use of the full range of ksft exit codes
under kselfte
Now that we no longer need low exit codes to communicate
assertion steps - use normal KSFT exit codes.
Signed-off-by: Jakub Kicinski
---
tools/testing/selftests/kselftest_harness.h | 13 ++---
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/tools/testing/selftests/kselftest
Selftest summary includes XFAIL but there's no way to use
it from within the harness. Support it in a similar way to skip.
Currently tests report skip for things they expect to fail
e.g. when given combination of parameters is known to be unsupported.
This is confusing because in an ideal environm
SCTP does not support IP_LOCAL_PORT_RANGE and we know it,
so use XFAIL instead of SKIP.
Signed-off-by: Jakub Kicinski
---
tools/testing/selftests/net/ip_local_port_range.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/net/ip_local_port_range.c
b/too
On 2/13/24 03:57, Roberto Sassu wrote:
On Mon, 2024-02-12 at 15:28 -0500, Stefan Berger wrote:
On 2/12/24 12:56, Paul Moore wrote:
On Mon, Feb 12, 2024 at 12:48 PM Stefan Berger wrote:
On 1/15/24 13:18, Roberto Sassu wrote:
...
+/**
+ * ima_kernel_module_request - Prevent crypto-pkcs1
On Mon, 2024-02-12 at 12:52 +0100, Heiko Carstens wrote:
> > On Mon, Feb 12, 2024 at 11:21:30AM +0100, Heiko Carstens wrote:
> > > > Or maybe a TIF flag with different semantics: "guest save area
> > > > does
> > > > not
> > > > reflect current state - which is within registers".
> >
> > Something
able_cb() is called from a sleepable context
as mentioned by Toke):
---
>From d4aa3d969fa9a89c6447d843dad338fde2ac0155 Mon Sep 17 00:00:00 2001
From: Benjamin Tissoires
Date: Tue, 13 Feb 2024 18:40:01 +0100
Subject: [PATCH RFC bpf-next v2 01/11] Sleepable timers
MIME-Version: 1.0
Content-Type: text/
On Fri, Feb 9, 2024 at 8:59 PM Stephen Boyd wrote:
>
> Quoting Geert Uytterhoeven (2024-02-05 11:55:29)
> > On Mon, Feb 5, 2024 at 8:19 PM Stephen Boyd wrote:
> > > Quoting David Gow (2024-02-02 20:10:17)
> > > > On Sat, 3 Feb 2024 at 03:59, Stephen Boyd wrote:
> > > > > Add a KUnit test that co
On Tue, Feb 13, 2024 at 07:44:13AM -0800, Jakub Kicinski wrote:
> Commit 0ef67a888375 ("selftests/harness: Report skip reason")
> added shared memory to communicate between harness and test.
> Use that instead of exit codes to send the failing step back
> to the harness. The exit codes are limited
On Tue, Feb 13, 2024 at 07:44:14AM -0800, Jakub Kicinski wrote:
> Now that we no longer need low exit codes to communicate
> assertion steps - use normal KSFT exit codes.
>
> Signed-off-by: Jakub Kicinski
Yeah, good cleanup.
Acked-by: Kees Cook
--
Kees Cook
On Tue, Feb 13, 2024 at 07:44:15AM -0800, Jakub Kicinski wrote:
> Selftest summary includes XFAIL but there's no way to use
> it from within the harness. Support it in a similar way to skip.
>
> Currently tests report skip for things they expect to fail
> e.g. when given combination of parameters
On Tue, Feb 13, 2024 at 07:44:16AM -0800, Jakub Kicinski wrote:
> SCTP does not support IP_LOCAL_PORT_RANGE and we know it,
> so use XFAIL instead of SKIP.
>
> Signed-off-by: Jakub Kicinski
Reviewed-by: Kees Cook
--
Kees Cook
On Tue, Feb 13, 2024 at 07:44:12AM -0800, Jakub Kicinski wrote:
> Hi!
>
> When running selftests for our subsystem in our CI we'd like all
> tests to pass. Currently some tests use SKIP for cases they
> expect to fail, because the kselftest_harness limits the return
> codes to pass/fail/skip.
>
>
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski :
On Mon, 12 Feb 2024 10:43:31 +0100 you wrote:
> The mentioned test is failing in slow environments:
>
> # SO_TXTIME ipv4 clock monotonic
> # ./so_txtime: recv: timeout: Resource temporarily unavailable
> not ok 1 se
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski :
On Mon, 12 Feb 2024 10:39:41 +0100 you wrote:
> The gro self-tests sends the packets to be aggregated with
> multiple write operations.
>
> When running is slow environment, it's hard to guarantee that
> the GRO engine wi
Hello:
This series was applied to netdev/net.git (main)
by Jakub Kicinski :
On Mon, 12 Feb 2024 11:19:22 +0100 you wrote:
> The mentioned test is still flaky, unusally enough in 'fast'
> environments.
>
> Patch 2/2 [try to] address the existing issues, while patch 1/2
> introduces more strict te
On 2/8/24 13:10, Reinette Chatre wrote:
Hi Shuah,
On 1/22/2024 10:06 AM, Reinette Chatre wrote:
Could you please consider Ilpo's resctrl selftest enhancements [1]
for inclusion into kselftest's "next" branch in preparation for the
next merge window?
I just confirmed that, even though [1] is a
On 1/22/24 11:06, Reinette Chatre wrote:
Hi Shuah,
Could you please consider Ilpo's resctrl selftest enhancements [1]
for inclusion into kselftest's "next" branch in preparation for the
next merge window?
Thank you very much.
Reinette
[1]
https://lore.kernel.org/lkml/20231215150515.36983-1-i
_name, ret);
return ret;
}
---
base-commit: 54be6c6c5ae8e0d93a6c4641cb7528eb0b6ba478
change-id: 20240213-kselftest-futex-requeue-pi-unique-5a462303f6bc
Best regards,
--
Mark Brown
On Tue, 13 Feb 2024 at 18:46, Benjamin Tissoires wrote:
>
> On Feb 12 2024, Alexei Starovoitov wrote:
> > On Mon, Feb 12, 2024 at 10:21 AM Benjamin Tissoires
> > wrote:
> > >
> > > On Mon, Feb 12, 2024 at 6:46 PM Toke Høiland-Jørgensen
> > > wrote:
> > > >
> > > > Benjamin Tissoires writes:
>
Kumar Kartikeya Dwivedi writes:
> On Tue, 13 Feb 2024 at 18:46, Benjamin Tissoires wrote:
>>
>> On Feb 12 2024, Alexei Starovoitov wrote:
>> > On Mon, Feb 12, 2024 at 10:21 AM Benjamin Tissoires
>> > wrote:
>> > >
>> > > On Mon, Feb 12, 2024 at 6:46 PM Toke Høiland-Jørgensen
>> > > wrote:
>>
On Tue, Feb 13, 2024 at 5:24 AM Pavel Begunkov wrote:
>
> On 12/18/23 02:40, Mina Almasry wrote:
> > Implement netdev devmem allocator. The allocator takes a given struct
> > netdev_dmabuf_binding as input and allocates net_iov from that
> > binding.
> >
> > The allocation simply delegates to the
Hi Shuah,
On 2/13/2024 11:02 AM, Shuah wrote:
> On 2/8/24 13:10, Reinette Chatre wrote:
>> Hi Shuah,
>>
>> On 1/22/2024 10:06 AM, Reinette Chatre wrote:
>>> Could you please consider Ilpo's resctrl selftest enhancements [1]
>>> for inclusion into kselftest's "next" branch in preparation for the
>>
On Tue, Feb 13, 2024 at 08:23:17PM +0100, Kumar Kartikeya Dwivedi wrote:
> On Tue, 13 Feb 2024 at 18:46, Benjamin Tissoires wrote:
> >
> > On Feb 12 2024, Alexei Starovoitov wrote:
> > > On Mon, Feb 12, 2024 at 10:21 AM Benjamin Tissoires
> > > wrote:
> > > >
> > > > On Mon, Feb 12, 2024 at 6:46
On Tue, Feb 13, 2024 at 08:51:26PM +0100, Toke Høiland-Jørgensen wrote:
> Kumar Kartikeya Dwivedi writes:
>
> > On Tue, 13 Feb 2024 at 18:46, Benjamin Tissoires wrote:
> >>
> >> On Feb 12 2024, Alexei Starovoitov wrote:
> >> > On Mon, Feb 12, 2024 at 10:21 AM Benjamin Tissoires
> >> > wrote:
>
On Tue, Feb 13, 2024 at 5:28 AM Pavel Begunkov wrote:
>
> On 12/18/23 02:40, Mina Almasry wrote:
> > Convert netmem to be a union of struct page and struct netmem. Overload
> > the LSB of struct netmem* to indicate that it's a net_iov, otherwise
> > it's a page.
> >
> > Currently these entries in
From: Zi Yan
Hi all,
File folio supports any order and multi-size THP is upstreamed[1], so both
file and anonymous folios can be >0 order. Currently, split_huge_page()
only splits a huge page to order-0 pages, but splitting to orders higher than
0 is going to better utilize large folios. In addi
From: Zi Yan
We do not have non power of two pages, using nr is error prone if nr
is not power-of-two. Use page order instead.
Signed-off-by: Zi Yan
---
include/linux/page_owner.h | 8
mm/huge_memory.c | 2 +-
mm/page_alloc.c| 4 ++--
mm/page_owner.c|
From: Zi Yan
It sets memcg information for the pages after the split. A new parameter
new_order is added to tell the order of subpages in the new page, always 0
for now. It prepares for upcoming changes to support split huge page to
any lower order.
Signed-off-by: Zi Yan
---
include/linux/memc
From: Zi Yan
It adds a new_order parameter to set new page order in page owner.
It prepares for upcoming changes to support split huge page to any
lower order.
Signed-off-by: Zi Yan
---
include/linux/page_owner.h | 10 +-
mm/huge_memory.c | 2 +-
mm/page_alloc.c|
From: Zi Yan
To split a THP to any lower order (except order-1) pages, we need to
reform THPs on subpages at given order and add page refcount based on the
new page order. Also we need to reinitialize page_deferred_list after
removing the page from the split_queue, otherwise a subsequent split wi
From: Zi Yan
It is used to test split_huge_page_to_list_to_order for pagecache THPs.
Also add test cases for split_huge_page_to_list_to_order via both
debugfs, truncating a file, and punching holes in a file.
Signed-off-by: Zi Yan
---
mm/huge_memory.c | 34 ++-
..
From: Zi Yan
We do not have non power of two pages, using nr is error prone if nr
is not power-of-two. Use page order instead.
Signed-off-by: Zi Yan
---
include/linux/memcontrol.h | 4 ++--
mm/huge_memory.c | 3 ++-
mm/memcontrol.c| 3 ++-
mm/page_alloc.c| 4 +
From: Zi Yan
To minimize the number of pages after a huge page truncation, we do not
need to split it all the way down to order-0. The huge page has at most
three parts, the part before offset, the part to be truncated, the part
remaining at the end. Find the greatest common divisor of them to
ca
On Tue, Feb 13, 2024 at 04:55:18PM -0500, Zi Yan wrote:
> From: Zi Yan
> Order-1 folio is not supported because _deferred_list, which is used by
> partially mapped folios, is stored in subpage 2 and an order-1 folio only
> has subpage 0 and 1.
The LBS patches has the patch from Matthew which enab
On 13.02.24 23:05, Luis Chamberlain wrote:
On Tue, Feb 13, 2024 at 04:55:18PM -0500, Zi Yan wrote:
From: Zi Yan
Order-1 folio is not supported because _deferred_list, which is used by
partially mapped folios, is stored in subpage 2 and an order-1 folio only
has subpage 0 and 1.
The LBS patche
On 13 Feb 2024, at 17:05, Luis Chamberlain wrote:
> On Tue, Feb 13, 2024 at 04:55:18PM -0500, Zi Yan wrote:
>> From: Zi Yan
>> Order-1 folio is not supported because _deferred_list, which is used by
>> partially mapped folios, is stored in subpage 2 and an order-1 folio only
>> has subpage 0 and
On 13 Feb 2024, at 17:15, Zi Yan wrote:
> On 13 Feb 2024, at 17:05, Luis Chamberlain wrote:
>
>> On Tue, Feb 13, 2024 at 04:55:18PM -0500, Zi Yan wrote:
>>> From: Zi Yan
>>> Order-1 folio is not supported because _deferred_list, which is used by
>>> partially mapped folios, is stored in subpage 2
On 13.02.24 22:55, Zi Yan wrote:
From: Zi Yan
Hi all,
File folio supports any order and multi-size THP is upstreamed[1], so both
file and anonymous folios can be >0 order. Currently, split_huge_page()
only splits a huge page to order-0 pages, but splitting to orders higher than
0 is going to b
On 13 Feb 2024, at 17:21, David Hildenbrand wrote:
> On 13.02.24 22:55, Zi Yan wrote:
>> From: Zi Yan
>>
>> Hi all,
>>
>> File folio supports any order and multi-size THP is upstreamed[1], so both
>> file and anonymous folios can be >0 order. Currently, split_huge_page()
>> only splits a huge pag
This series aims to keep the git status clean after building the
selftests by adding some missing .gitignore files and object inclusion
in existing .gitignore files. This is one of the requirements listed in
the selftests documentation for new tests, but it is not always followed
as desired.
After
The 'uevent_filtering' test generates an object with the same name,
but there is no .gitignore file in the directory to add the object
as stated in the selftest documentation.
Add the missing .gitignore file and include 'uevent_filtering'.
Signed-off-by: Javier Carrasco
---
tools/testing/selfte
This binary is missing in the .gitignore and stays as an untracked file.
Reported-by: Bernd Edlinger
Closes:
https://lore.kernel.org/all/as8p193mb1285c963658008f1b2702af7e4...@as8p193mb1285.eurp193.prod.outlook.com/
Reviewed-by: SeongJae Park
Signed-off-by: Javier Carrasco
---
tools/testing/s
The 'power_floor' test generates an object with the same name,
but there is no .gitignore file in the directory to add the object as
stated in the selftest documentation.
Add the missing .gitignore file and include 'power_floor'.
Signed-off-by: Javier Carrasco
---
tools/testing/selftests/therma
The 'workload_hint_test' test generates an object with the same name,
but there is no .gitignore file in the directory to add the object as
stated in the selftest documentation.
Add the missing .gitignore file and include 'workload_hint_test'.
Signed-off-by: Javier Carrasco
---
tools/testing/se
On Tue, 13 Feb 2024 23:46:53 +0100 Javier Carrasco
wrote:
> This binary is missing in the .gitignore and stays as an untracked file.
>
> Reported-by: Bernd Edlinger
> Closes:
> https://lore.kernel.org/all/as8p193mb1285c963658008f1b2702af7e4...@as8p193mb1285.eurp193.prod.outlook.com/
> Reviewe
This binary is missing in the .gitignore and stays as an untracked file.
Reported-by: Bernd Edlinger
Closes:
https://lore.kernel.org/all/as8p193mb1285c963658008f1b2702af7e4...@as8p193mb1285.eurp193.prod.outlook.com/
Reviewed-by: SeongJae Park
Signed-off-by: Javier Carrasco
---
tools/testing/s
it in mm separately.
- Link to v3:
https://lore.kernel.org/r/20240213-selftest_gitignore-v3-0-1f8123687...@gmail.com
Changes in v3:
- General: base on mm-unstable to avoid conflicts.
- damon: add missing Closes tag.
- Link to v2:
https://lore.kernel.org/r/20240212-selftest_gitignore-v2-0
The 'uevent_filtering' test generates an object with the same name,
but there is no .gitignore file in the directory to add the object
as stated in the selftest documentation.
Add the missing .gitignore file and include 'uevent_filtering'.
Signed-off-by: Javier Carrasco
---
tools/testing/selfte
The 'power_floor' test generates an object with the same name,
but there is no .gitignore file in the directory to add the object as
stated in the selftest documentation.
Add the missing .gitignore file and include 'power_floor'.
Signed-off-by: Javier Carrasco
---
tools/testing/selftests/therma
The 'workload_hint_test' test generates an object with the same name,
but there is no .gitignore file in the directory to add the object as
stated in the selftest documentation.
Add the missing .gitignore file and include 'workload_hint_test'.
Signed-off-by: Javier Carrasco
---
tools/testing/se
Hi Linus,
Please pull the following KUnit fixes update for Linux 6.8-rc5.
This KUnit update for Linux 6.8-rc5 consists of one important fix
to unregister kunit_bus when KUnit module is unloaded. Not doing
so causes an error when KUnit module tries to re-register the bus
when it gets reloaded.
d
On 13 Feb 2024, at 17:19, Zi Yan wrote:
> On 13 Feb 2024, at 17:15, Zi Yan wrote:
>
>> On 13 Feb 2024, at 17:05, Luis Chamberlain wrote:
>>
>>> On Tue, Feb 13, 2024 at 04:55:18PM -0500, Zi Yan wrote:
From: Zi Yan
Order-1 folio is not supported because _deferred_list, which is used by
>>
kselftest/next build: 5 builds: 2 failed, 3 passed, 2 errors, 5 warnings
(v6.8-rc1-32-g345e8abe4c355)
Full Build Summary:
https://kernelci.org/build/kselftest/branch/next/kernel/v6.8-rc1-32-g345e8abe4c355/
Tree: kselftest
Branch: next
Git Describe: v6.8-rc1-32-g345e8abe4c355
Git Commit: 345e8ab
kselftest/next kselftest-lkdtm: 2 runs, 1 regressions
(v6.8-rc1-32-g345e8abe4c355)
Regressions Summary
---
platform| arch | lab | compiler | defconfig
| regressions
+--+---+--+--
kselftest/next kselftest-livepatch: 1 runs, 1 regressions
(v6.8-rc1-32-g345e8abe4c355)
Regressions Summary
---
platform| arch | lab | compiler | defconfig
| regressions
+--+---+--+--
kselftest/next kselftest-seccomp: 2 runs, 1 regressions
(v6.8-rc1-32-g345e8abe4c355)
Regressions Summary
---
platform| arch | lab | compiler | defconfig
| regressions
+--+-+--+
70 matches
Mail list logo