kselftest/next kselftest-seccomp: 2 runs, 1 regressions (v6.8-rc1-32-g345e8abe4c355)

2024-02-13 Thread kernelci.org bot
kselftest/next kselftest-seccomp: 2 runs, 1 regressions (v6.8-rc1-32-g345e8abe4c355) Regressions Summary --- platform| arch | lab | compiler | defconfig | regressions

kselftest/next kselftest-lkdtm: 2 runs, 1 regressions (v6.8-rc1-32-g345e8abe4c355)

2024-02-13 Thread kernelci.org bot
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)

2024-02-13 Thread kernelci.org bot
kselftest/next kselftest-livepatch: 1 runs, 1 regressions (v6.8-rc1-32-g345e8abe4c355) Regressions Summary --- platform| arch | lab | compiler | defconfig | regressions

kselftest/next build: 5 builds: 2 failed, 3 passed, 2 errors, 5 warnings (v6.8-rc1-32-g345e8abe4c355)

2024-02-13 Thread kernelci.org bot
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:

Re: [PATCH v4 5/7] mm: thp: split huge page to any lower order pages (except order-1).

2024-02-13 Thread Zi Yan
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

[GIT PULL] KUnit fixes update for Linux 6.8-rc5

2024-02-13 Thread Shuah Khan
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.

[PATCH v4 3/3] selftests: thermal: intel: workload_hint: add missing gitignore

2024-02-13 Thread Javier Carrasco
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 ---

[PATCH v4 2/3] selftests: thermal: intel: power_floor: add missing gitignore

2024-02-13 Thread Javier Carrasco
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 ---

[PATCH v4 1/3] selftests: uevent: add missing gitignore

2024-02-13 Thread Javier Carrasco
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 ---

[PATCH v4 0/3] selftests: add missing gitignore files and include generated objects

2024-02-13 Thread Javier Carrasco
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

[PATCH] selftests: damon: add access_memory to .gitignore

2024-02-13 Thread Javier Carrasco
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 ---

Re: [PATCH v3 4/4] selftests: damon: add access_memory to .gitignore

2024-02-13 Thread SeongJae Park
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/ >

[PATCH v3 3/4] selftests: thermal: intel: workload_hint: add missing gitignore

2024-02-13 Thread Javier Carrasco
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 ---

[PATCH v3 2/4] selftests: thermal: intel: power_floor: add missing gitignore

2024-02-13 Thread Javier Carrasco
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 ---

[PATCH v3 4/4] selftests: damon: add access_memory to .gitignore

2024-02-13 Thread Javier Carrasco
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 ---

[PATCH v3 1/4] selftests: uevent: add missing gitignore

2024-02-13 Thread Javier Carrasco
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 ---

[PATCH v3 0/4] selftests: add missing gitignore files and include generated objects

2024-02-13 Thread Javier Carrasco
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.

Re: [PATCH v4 0/7] Split a folio to any lower order folios

2024-02-13 Thread Zi Yan
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

Re: [PATCH v4 0/7] Split a folio to any lower order folios

2024-02-13 Thread David Hildenbrand
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

Re: [PATCH v4 5/7] mm: thp: split huge page to any lower order pages (except order-1).

2024-02-13 Thread Zi Yan
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

Re: [PATCH v4 5/7] mm: thp: split huge page to any lower order pages (except order-1).

2024-02-13 Thread Zi Yan
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

Re: [PATCH v4 5/7] mm: thp: split huge page to any lower order pages (except order-1).

2024-02-13 Thread David Hildenbrand
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

Re: [PATCH v4 5/7] mm: thp: split huge page to any lower order pages (except order-1).

2024-02-13 Thread Luis Chamberlain
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

[PATCH v4 6/7] mm: truncate: split huge page cache page to a non-zero order if possible.

2024-02-13 Thread Zi Yan
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

[PATCH v4 1/7] mm/memcg: use order instead of nr in split_page_memcg()

2024-02-13 Thread Zi Yan
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

[PATCH v4 7/7] mm: huge_memory: enable debugfs to split huge pages to any order.

2024-02-13 Thread Zi Yan
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 ++-

[PATCH v4 5/7] mm: thp: split huge page to any lower order pages (except order-1).

2024-02-13 Thread Zi Yan
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

[PATCH v4 4/7] mm: page_owner: add support for splitting to any order in split page_owner.

2024-02-13 Thread Zi Yan
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

[PATCH v4 3/7] mm: memcg: make memcg huge page split support any order split.

2024-02-13 Thread Zi Yan
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 ---

[PATCH v4 2/7] mm/page_owner: use order instead of nr in split_page_owner()

2024-02-13 Thread Zi Yan
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

[PATCH v4 0/7] Split a folio to any lower order folios

2024-02-13 Thread Zi Yan
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

Re: [RFC PATCH net-next v5 07/14] page_pool: devmem support

2024-02-13 Thread Mina Almasry
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

Re: [PATCH RFC bpf-next 0/9] allow HID-BPF to do device IOs

2024-02-13 Thread Alexei Starovoitov
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: >

Re: [PATCH RFC bpf-next 0/9] allow HID-BPF to do device IOs

2024-02-13 Thread Alexei Starovoitov
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 

Re: resctrl selftests ready for inclusion

2024-02-13 Thread Reinette Chatre
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

Re: [RFC PATCH net-next v5 05/14] netdev: netdevice devmem allocator

2024-02-13 Thread Mina Almasry
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

Re: [PATCH RFC bpf-next 0/9] allow HID-BPF to do device IOs

2024-02-13 Thread Toke Høiland-Jørgensen
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: >>

Re: [PATCH RFC bpf-next 0/9] allow HID-BPF to do device IOs

2024-02-13 Thread Kumar Kartikeya Dwivedi
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: >

[PATCH] selftests: fuxex: Report a unique test name per run of futex_requeue_pi

2024-02-13 Thread Mark Brown
t); return ret; } --- base-commit: 54be6c6c5ae8e0d93a6c4641cb7528eb0b6ba478 change-id: 20240213-kselftest-futex-requeue-pi-unique-5a462303f6bc Best regards, -- Mark Brown

Re: resctrl selftests ready for inclusion

2024-02-13 Thread Shuah
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]

Re: resctrl selftests ready for inclusion

2024-02-13 Thread Shuah
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

Re: [PATCH net 0/2] selftests: net: more pmtu.sh fixes

2024-02-13 Thread patchwork-bot+netdevbpf
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

Re: [PATCH v3 net] selftests: net: cope with slow env in gro.sh test

2024-02-13 Thread patchwork-bot+netdevbpf
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

Re: [PATCH net] selftests: net: cope with slow env in so_txtime.sh test

2024-02-13 Thread patchwork-bot+netdevbpf
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

Re: [PATCH net-next 0/4] selftests: kselftest_harness: support using xfail

2024-02-13 Thread 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. >

Re: [PATCH net-next 4/4] selftests: ip_local_port_range: use XFAIL instead of SKIP

2024-02-13 Thread Kees Cook
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

Re: [PATCH net-next 3/4] selftests: kselftest_harness: support using xfail

2024-02-13 Thread 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

Re: [PATCH net-next 2/4] selftests: kselftest_harness: use KSFT_* exit codes

2024-02-13 Thread Kees Cook
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

Re: [PATCH net-next 1/4] selftests: kselftest_harness: pass step via shared memory

2024-02-13 Thread Kees Cook
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

Re: [PATCH v3 7/7] of: Add KUnit test to confirm DTB is loaded

2024-02-13 Thread Rob Herring
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

Re: [PATCH RFC bpf-next 0/9] allow HID-BPF to do device IOs

2024-02-13 Thread Benjamin Tissoires
ntioned 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/plain; charset="utf-8" Content-Transfer-

Re: [PATCH v1 1/2] KVM: s390: load guest access registers in MEM_OP ioctl

2024-02-13 Thread Eric Farman
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". > > > >

Re: [PATCH v9 19/25] integrity: Move integrity_kernel_module_request() to IMA

2024-02-13 Thread Stefan Berger
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

[PATCH net-next 4/4] selftests: ip_local_port_range: use XFAIL instead of SKIP

2024-02-13 Thread Jakub Kicinski
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

[PATCH net-next 3/4] selftests: kselftest_harness: support using xfail

2024-02-13 Thread Jakub Kicinski
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

[PATCH net-next 2/4] selftests: kselftest_harness: use KSFT_* exit codes

2024-02-13 Thread Jakub Kicinski
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

[PATCH net-next 0/4] selftests: kselftest_harness: support using xfail

2024-02-13 Thread Jakub Kicinski
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

[PATCH net-next 1/4] selftests: kselftest_harness: pass step via shared memory

2024-02-13 Thread Jakub Kicinski
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_*

Re: [PATCH v9 12/25] security: Introduce file_post_open hook

2024-02-13 Thread Paul Moore
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

[PATCH net] selftests: tls: increase the wait in poll_partial_rec_async

2024-02-13 Thread Jakub Kicinski
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(, 1, 5) (0) == 1 (1) # # tls.c:1870:poll_partial_rec_async:Expected status (256) == 0 (0) # # poll_partial_rec_async: Test

Re: [PATCH v3 0/7] Split a folio to any lower order folios

2024-02-13 Thread Zi Yan
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,

Re: [RFC PATCH net-next v5 08/14] memory-provider: dmabuf devmem memory provider

2024-02-13 Thread Pavel Begunkov
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

Re: [RFC PATCH net-next v5 07/14] page_pool: devmem support

2024-02-13 Thread Pavel Begunkov
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

Re: [RFC PATCH net-next v5 05/14] netdev: netdevice devmem allocator

2024-02-13 Thread Pavel Begunkov
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

Re: [PATCH v9 12/25] security: Introduce file_post_open hook

2024-02-13 Thread Roberto Sassu
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 > > > +++

Re: [PATCH v3 0/7] Split a folio to any lower order folios

2024-02-13 Thread Pankaj Raghav (Samsung)
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

[PATCH] tools: selftests: Remove unnecessary semicolons

2024-02-13 Thread Thorsten Blum
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

[PATCH v17 6/6] ring-buffer/selftest: Add ring-buffer mapping test

2024-02-13 Thread Vincent Donnefort
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

Re: [RFC PATCH v1 09/28] mm: abstract shadow stack vma behind `arch_is_shadow_stack`

2024-02-13 Thread David Hildenbrand
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

Re: [PATCH v9 19/25] integrity: Move integrity_kernel_module_request() to IMA

2024-02-13 Thread Roberto Sassu
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