On Wed, 2024-01-10 at 09:14 -0500, Benjamin Poirier wrote:
> The lib.sh script is meant to be sourced from other scripts, not executed
> directly. Therefore, remove the executable bits from lib.sh's permissions.
LGTM, but there is any special reason to not fix the permissions of
other *lib.sh file
Hello:
This series was applied to netdev/net.git (main)
by Paolo Abeni :
On Wed, 10 Jan 2024 09:14:34 -0500 you wrote:
> From: Benjamin Poirier
>
> Two small fixes for net selftests.
>
> These patches were carved out of the following RFC series:
> https://lore.kernel.org/netdev/20231222135836.
On Mon, 2024-01-15 at 19:15 +, Al Viro wrote:
> On Mon, Jan 15, 2024 at 07:17:57PM +0100, Roberto Sassu wrote:
> > From: Roberto Sassu
> >
> > In preparation for moving IMA and EVM to the LSM infrastructure, introduce
> > the file_release hook.
> >
> > IMA calculates at file close the new di
Running charge_reserved_hugetlb.sh generates errors if sh is set to
dash:
./charge_reserved_hugetlb.sh: 9: [[: not found
./charge_reserved_hugetlb.sh: 19: [[: not found
./charge_reserved_hugetlb.sh: 27: [[: not found
./charge_reserved_hugetlb.sh: 37: [[: not found
./charge_reserved_hugetlb.sh: 45:
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`.
Signed-off-by: Muhammad Usama Anjum
---
tools/testing/selftests/mm/run_vmtests.sh | 3 +++
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni :
On Sun, 14 Jan 2024 14:47:48 -0800 you wrote:
> ethtool CLI has changed its output. Make the test compatible.
>
> Signed-off-by: Jakub Kicinski
> ---
> CC: sh...@kernel.org
> CC: linux-kselftest@vger.kernel.org
>
> [...]
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni :
On Sun, 14 Jan 2024 14:47:26 -0800 you wrote:
> Number of tests are failing when netdev renaming is active
> on the system. Add udevadm settle in logic determining
> the names.
>
> Fixes: 242aaf03dc9b ("selftests: add a test
Hi Stephen,
On Fri, Jan 12, 2024 at 12:07:44PM -0800, Stephen Boyd wrote:
> Call this function unconditionally so that we can populate an empty DTB
> on platforms that don't boot with a firmware provided or builtin DTB.
> There's no harm in calling unflatten_device_tree() unconditionally.
For bet
On Tue, Jan 16, 2024 at 01:18:12AM +, Tian, Kevin wrote:
> > From: Jason Gunthorpe
> > Sent: Tuesday, January 16, 2024 1:25 AM
> >
> > On Sun, Nov 26, 2023 at 10:34:23PM -0800, Yi Liu wrote:
> > > +/**
> > > + * iommufd_device_pasid_detach - Disconnect a {device, pasid} to an
> > iommu_domain
Hi Mark,
On Tue, Jan 16, 2024 at 12:51 PM Mark Rutland wrote:
> On Fri, Jan 12, 2024 at 12:07:44PM -0800, Stephen Boyd wrote:
> > Call this function unconditionally so that we can populate an empty DTB
> > on platforms that don't boot with a firmware provided or builtin DTB.
> > There's no harm i
On 2024-01-15 18:02 -0800, Jakub Kicinski wrote:
> bonding tests also try to create bridge, veth and dummy
> interfaces. These are not currently listed in config.
>
> Fixes: bbb774d921e2 ("net: Add tests for bonding and team address list
> management")
> Fixes: c078290a2b76 ("selftests: include b
On Tue, 16 Jan 2024 09:37:40 -0500 Benjamin Poirier wrote:
> I tested using the minimal config generated by virtme-ng and the
> following additional config options need to be enabled for bonding
> tests:
> CONFIG_IPV6=y
> CONFIG_NET_ACT_GACT=y
> CONFIG_NET_CLS_FLOWER=y
> CONFIG_NET_SCH_INGRESS=y
>
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski :
On Mon, 15 Jan 2024 18:02:01 -0800 you wrote:
> bonding tests also try to create bridge, veth and dummy
> interfaces. These are not currently listed in config.
>
> Fixes: bbb774d921e2 ("net: Add tests for bonding and team
Jörn-Thorben Hinz wrote:
> A BPF application, e.g., a TCP congestion control, might benefit from or
> even require precise (=hardware) packet timestamps. These timestamps are
> already available through __sk_buff.hwtstamp and
> bpf_sock_ops.skb_hwtstamp, but could not be requested: BPF programs wer
I'll try to recall this problem and actually read the patch tommorrow...
Hmm. but it doesn't apply to Linus's tree, you need to rebase it.
In particular, please note the recent commit 5431fdd2c181dd2eac2
("ptrace: Convert ptrace_attach() to use lock guards")
On 01/15, Bernd Edlinger wrote:
>
> Th
netdevsim tests aren't very well integrated with kselftest,
which has its advantages and disadvantages. But regardless
of the intended integration - a config file to know what kernel
to build is very useful, add one.
Fixes: fc4c93f145d7 ("selftests: add basic netdevsim devlink flash testing")
Sign
As a followup to commit 03fb8565c880 ("selftests: bonding: add missing
build configs"), add more networking-specific config options which are
needed for bonding tests.
For testing, I used the minimal config generated by virtme-ng and I added
the options in the config file. All bonding tests passed
On 1/16/2024 12:47 AM, Roberto Sassu wrote:
> On Mon, 2024-01-15 at 19:15 +, Al Viro wrote:
>> On Mon, Jan 15, 2024 at 07:17:57PM +0100, Roberto Sassu wrote:
>>> From: Roberto Sassu
>>>
>>> In preparation for moving IMA and EVM to the LSM infrastructure, introduce
>>> the file_release hook.
>>
From: Muhammad Usama Anjum
> Sent: 16 January 2024 09:05
>
> Running charge_reserved_hugetlb.sh generates errors if sh is set to
> dash:
>
> /charge_reserved_hugetlb.sh: 9: [[: not found
> /charge_reserved_hugetlb.sh: 19: [[: not found
> /charge_reserved_hugetlb.sh: 27: [[: not found
> /charge_re
On Sun, Jan 14, 2024 at 11:33 PM Muhammad Usama Anjum
wrote:
>
> Conform the layout, informational and status messages to TAP. No
> functional change is intended other than the layout of output messages.
>
> Signed-off-by: Muhammad Usama Anjum
> ---
> Changes in v3:
> - Use ksft_perror as short h
On Tue, Jan 16, 2024 at 08:51:11AM -0800, Casey Schaufler wrote:
> On 1/16/2024 12:47 AM, Roberto Sassu wrote:
> > On Mon, 2024-01-15 at 19:15 +, Al Viro wrote:
> >> On Mon, Jan 15, 2024 at 07:17:57PM +0100, Roberto Sassu wrote:
> >>> From: Roberto Sassu
> >>>
> >>> In preparation for moving I
On Tue, 2024-01-16 at 07:43 -0800, Jakub Kicinski wrote:
> netdevsim tests aren't very well integrated with kselftest,
> which has its advantages and disadvantages.
Out of sheer ignorance I don't see the advantage?!?
> But regardless
> of the intended integration - a config file to know what ker
On 1/16/2024 9:33 AM, Al Viro wrote:
> On Tue, Jan 16, 2024 at 08:51:11AM -0800, Casey Schaufler wrote:
>> On 1/16/2024 12:47 AM, Roberto Sassu wrote:
>>> On Mon, 2024-01-15 at 19:15 +, Al Viro wrote:
On Mon, Jan 15, 2024 at 07:17:57PM +0100, Roberto Sassu wrote:
> From: Roberto Sassu
On Tue, 16 Jan 2024 18:40:49 +0100 Paolo Abeni wrote:
> On Tue, 2024-01-16 at 07:43 -0800, Jakub Kicinski wrote:
> > netdevsim tests aren't very well integrated with kselftest,
> > which has its advantages and disadvantages.
>
> Out of sheer ignorance I don't see the advantage?!?
>
> > But reg
On Tue, 16 Jan 2024 10:49:26 -0500 Benjamin Poirier wrote:
> As a followup to commit 03fb8565c880 ("selftests: bonding: add missing
> build configs"), add more networking-specific config options which are
> needed for bonding tests.
>
> For testing, I used the minimal config generated by virtme-ng
On 1/15/2024 10:18 AM, Roberto Sassu wrote:
> From: Roberto Sassu
>
> Move hardcoded IMA function calls (not appraisal-specific functions) from
> various places in the kernel to the LSM infrastructure, by introducing a
> new LSM named 'ima' (at the end of the LSM list and always enabled like
> 'in
Jakub Kicinski wrote:
>On Tue, 16 Jan 2024 10:49:26 -0500 Benjamin Poirier wrote:
>> As a followup to commit 03fb8565c880 ("selftests: bonding: add missing
>> build configs"), add more networking-specific config options which are
>> needed for bonding tests.
>>
>> For testing, I used the minimal
On 1/15/2024 10:18 AM, Roberto Sassu wrote:
> From: Roberto Sassu
>
> A few additional IMA hooks are needed to reset the cached appraisal
> status, causing the file's integrity to be re-evaluated on next access.
> Register these IMA-appraisal only functions separately from the rest of IMA
> functi
On Tue, 16 Jan 2024 11:03:30 -0800 Jay Vosburgh wrote:
> If I'm reading it right, this will sleep for 12, 22, 32 and 52
> seconds for the passes through the loop in num_grat_arp(), so that would
> be 118 seconds just for that.
Hah, that's really tight if the default timeout is 120.
Let me se
On 2024-01-16 11:20 -0800, Jakub Kicinski wrote:
> On Tue, 16 Jan 2024 11:03:30 -0800 Jay Vosburgh wrote:
> > If I'm reading it right, this will sleep for 12, 22, 32 and 52
> > seconds for the passes through the loop in num_grat_arp(), so that would
> > be 118 seconds just for that.
>
> Hah, t
On Tue, 16 Jan 2024 14:21:51 -0500 Benjamin Poirier wrote:
> real13m35.065s
> user0m1.657s
> sys 0m27.918s
>
> The test is not cpu bound; as Jay pointed out, it spends most of its
> time sleeping.
Ugh, so it does multiple iterations of 118 sec?
Could you send a patch to bump the time
On Thu, Jan 11, 2024 at 6:50 PM David Gow wrote:
>
> Rae has been shouldering a lot of the KUnit review burden for the last
> year, and will continue to do so in the future. Thanks!
Thanks David! Happy to review this one!
Reviewed-by: Rae Moar
>
> Signed-off-by: David Gow
> ---
> MAINTAINERS
On 1/15/2024 10:18 AM, Roberto Sassu wrote:
> From: Roberto Sassu
>
> Define a new structure for EVM-specific metadata, called evm_iint_cache,
> and embed it in the inode security blob. Introduce evm_iint_inode() to
> retrieve metadata, and register evm_inode_alloc_security() for the
> inode_alloc
On 1/15/2024 10:18 AM, Roberto Sassu wrote:
> From: Roberto Sassu
>
> Make the 'ima' LSM independent from the 'integrity' LSM by introducing IMA
> own integrity metadata (ima_iint_cache structure, with IMA-specific fields
> from the integrity_iint_cache structure), and by managing it directly from
On 1/15/2024 10:18 AM, Roberto Sassu wrote:
> From: Roberto Sassu
>
> Since now IMA and EVM use their own integrity metadata, it is safe to
> remove the 'integrity' LSM, with its management of integrity metadata.
>
> Keep the iint.c file only for loading IMA and EVM keys at boot, and for
> creatin
From: Andrii Nakryiko
[ Upstream commit 2b62aa59d02ed281fa4fc218df3ca91b773e1e62 ]
Compiler complains about malloc(). We also don't need to dynamically
allocate anything, so make the life easier by using statically sized
buffer.
Signed-off-by: Andrii Nakryiko
Link: https://lore.kernel.org/r/20
From: Andrii Nakryiko
[ Upstream commit f4c7e887324f5776eef6e6e47a90e0ac8058a7a8 ]
Some compilers complain about get_pprint_mapv_size() not returning value
in some code paths. Fix with explicit return.
Signed-off-by: Andrii Nakryiko
Link: https://lore.kernel.org/r/20231102033759.2541186-3-and.
From: Yonghong Song
[ Upstream commit 100888fb6d8a185866b1520031ee7e3182b173de ]
With latest clang18 (main branch of llvm-project repo), when building bpf
selftests,
[~/work/bpf-next (master)]$ make -C tools/testing/selftests/bpf LLVM=1 -j
The following compilation error happens:
fatal
From: Yafang Shao
[ Upstream commit 4849775587844e44d215289c425bcd70f315efe7 ]
If the net_cls subsystem is already mounted, attempting to mount it again
in setup_classid_environment() will result in a failure with the error code
EBUSY. Despite this, tmpfs will have been successfully mounted at
/
Jakub Kicinski wrote:
>On Tue, 16 Jan 2024 14:21:51 -0500 Benjamin Poirier wrote:
>> real13m35.065s
>> user0m1.657s
>> sys 0m27.918s
>>
>> The test is not cpu bound; as Jay pointed out, it spends most of its
>> time sleeping.
>
>Ugh, so it does multiple iterations of 118 sec?
>
>Coul
From: Yonghong Song
[ Upstream commit b16904fd9f01b580db357ef2b1cc9e86d89576c2 ]
With latest upstream llvm18, the following test cases failed:
$ ./test_progs -j
#13/2bpf_cookie/multi_kprobe_link_api:FAIL
#13/3bpf_cookie/multi_kprobe_attach_api:FAIL
#13 bpf_cookie:FAIL
#77
From: Andrii Nakryiko
[ Upstream commit 62d9a969f4a95219c757831e9ad66cd4dd9edee5 ]
When compiling BPF selftests with RELEASE=1, we get two new
warnings, which are treated as errors. Fix them.
Signed-off-by: Andrii Nakryiko
Acked-by: Yonghong Song
Acked-by: John Fastabend
Link: https://lore.k
On 2024-01-16 11:29 -0800, Jakub Kicinski wrote:
> On Tue, 16 Jan 2024 14:21:51 -0500 Benjamin Poirier wrote:
> > real13m35.065s
> > user0m1.657s
> > sys 0m27.918s
> >
> > The test is not cpu bound; as Jay pointed out, it spends most of its
> > time sleeping.
>
> Ugh, so it does multi
From: Andrii Nakryiko
[ Upstream commit 2b62aa59d02ed281fa4fc218df3ca91b773e1e62 ]
Compiler complains about malloc(). We also don't need to dynamically
allocate anything, so make the life easier by using statically sized
buffer.
Signed-off-by: Andrii Nakryiko
Link: https://lore.kernel.org/r/20
From: Andrii Nakryiko
[ Upstream commit f4c7e887324f5776eef6e6e47a90e0ac8058a7a8 ]
Some compilers complain about get_pprint_mapv_size() not returning value
in some code paths. Fix with explicit return.
Signed-off-by: Andrii Nakryiko
Link: https://lore.kernel.org/r/20231102033759.2541186-3-and.
From: Yonghong Song
[ Upstream commit 100888fb6d8a185866b1520031ee7e3182b173de ]
With latest clang18 (main branch of llvm-project repo), when building bpf
selftests,
[~/work/bpf-next (master)]$ make -C tools/testing/selftests/bpf LLVM=1 -j
The following compilation error happens:
fatal
From: Yafang Shao
[ Upstream commit 4849775587844e44d215289c425bcd70f315efe7 ]
If the net_cls subsystem is already mounted, attempting to mount it again
in setup_classid_environment() will result in a failure with the error code
EBUSY. Despite this, tmpfs will have been successfully mounted at
/
From: Yonghong Song
[ Upstream commit b16904fd9f01b580db357ef2b1cc9e86d89576c2 ]
With latest upstream llvm18, the following test cases failed:
$ ./test_progs -j
#13/2bpf_cookie/multi_kprobe_link_api:FAIL
#13/3bpf_cookie/multi_kprobe_attach_api:FAIL
#13 bpf_cookie:FAIL
#77
From: Andrii Nakryiko
[ Upstream commit 62d9a969f4a95219c757831e9ad66cd4dd9edee5 ]
When compiling BPF selftests with RELEASE=1, we get two new
warnings, which are treated as errors. Fix them.
Signed-off-by: Andrii Nakryiko
Acked-by: Yonghong Song
Acked-by: John Fastabend
Link: https://lore.k
From: Andrii Nakryiko
[ Upstream commit f4c7e887324f5776eef6e6e47a90e0ac8058a7a8 ]
Some compilers complain about get_pprint_mapv_size() not returning value
in some code paths. Fix with explicit return.
Signed-off-by: Andrii Nakryiko
Link: https://lore.kernel.org/r/20231102033759.2541186-3-and.
From: Yonghong Song
[ Upstream commit 100888fb6d8a185866b1520031ee7e3182b173de ]
With latest clang18 (main branch of llvm-project repo), when building bpf
selftests,
[~/work/bpf-next (master)]$ make -C tools/testing/selftests/bpf LLVM=1 -j
The following compilation error happens:
fatal
From: Yafang Shao
[ Upstream commit 4849775587844e44d215289c425bcd70f315efe7 ]
If the net_cls subsystem is already mounted, attempting to mount it again
in setup_classid_environment() will result in a failure with the error code
EBUSY. Despite this, tmpfs will have been successfully mounted at
/
From: Andrii Nakryiko
[ Upstream commit f4c7e887324f5776eef6e6e47a90e0ac8058a7a8 ]
Some compilers complain about get_pprint_mapv_size() not returning value
in some code paths. Fix with explicit return.
Signed-off-by: Andrii Nakryiko
Link: https://lore.kernel.org/r/20231102033759.2541186-3-and.
From: Yonghong Song
[ Upstream commit 100888fb6d8a185866b1520031ee7e3182b173de ]
With latest clang18 (main branch of llvm-project repo), when building bpf
selftests,
[~/work/bpf-next (master)]$ make -C tools/testing/selftests/bpf LLVM=1 -j
The following compilation error happens:
fatal
From: Yafang Shao
[ Upstream commit 4849775587844e44d215289c425bcd70f315efe7 ]
If the net_cls subsystem is already mounted, attempting to mount it again
in setup_classid_environment() will result in a failure with the error code
EBUSY. Despite this, tmpfs will have been successfully mounted at
/
From: Andrii Nakryiko
[ Upstream commit f4c7e887324f5776eef6e6e47a90e0ac8058a7a8 ]
Some compilers complain about get_pprint_mapv_size() not returning value
in some code paths. Fix with explicit return.
Signed-off-by: Andrii Nakryiko
Link: https://lore.kernel.org/r/20231102033759.2541186-3-and.
From: Yonghong Song
[ Upstream commit 100888fb6d8a185866b1520031ee7e3182b173de ]
With latest clang18 (main branch of llvm-project repo), when building bpf
selftests,
[~/work/bpf-next (master)]$ make -C tools/testing/selftests/bpf LLVM=1 -j
The following compilation error happens:
fatal
From: Andrii Nakryiko
[ Upstream commit f4c7e887324f5776eef6e6e47a90e0ac8058a7a8 ]
Some compilers complain about get_pprint_mapv_size() not returning value
in some code paths. Fix with explicit return.
Signed-off-by: Andrii Nakryiko
Link: https://lore.kernel.org/r/20231102033759.2541186-3-and.
From: Yonghong Song
[ Upstream commit 100888fb6d8a185866b1520031ee7e3182b173de ]
With latest clang18 (main branch of llvm-project repo), when building bpf
selftests,
[~/work/bpf-next (master)]$ make -C tools/testing/selftests/bpf LLVM=1 -j
The following compilation error happens:
fatal
jef...@chromium.org writes:
> From: Jeff Xu
>
> Add documentation for mseal().
>
> Signed-off-by: Jeff Xu
> ---
> Documentation/userspace-api/mseal.rst | 181 ++
> 1 file changed, 181 insertions(+)
> create mode 100644 Documentation/userspace-api/mseal.rst
You need to
On 1/16/24 12:13, Jonathan Corbet wrote:
> jef...@chromium.org writes:
>
>> From: Jeff Xu
>>
>> Add documentation for mseal().
>>
>> Signed-off-by: Jeff Xu
>> ---
>> Documentation/userspace-api/mseal.rst | 181 ++
>> 1 file changed, 181 insertions(+)
>> create mode 1
Quoting Rob Herring (2024-01-15 12:32:30)
> On Fri, Jan 12, 2024 at 12:07:47PM -0800, Stephen Boyd wrote:
> > diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig
> > index da9826accb1b..9628e48baa15 100644
> > --- a/drivers/of/Kconfig
> > +++ b/drivers/of/Kconfig
> > @@ -54,9 +54,14 @@ config OF_F
Quoting Mark Rutland (2024-01-16 03:51:14)
> Hi Stephen,
>
> On Fri, Jan 12, 2024 at 12:07:44PM -0800, Stephen Boyd wrote:
> > Call this function unconditionally so that we can populate an empty DTB
> > on platforms that don't boot with a firmware provided or builtin DTB.
> > There's no harm in ca
On Thu, Jan 11, 2024 at 11:45 PM Hu Yadi wrote:
>
> One build issue comes up due to both mount.h included dev_in_maps.c
>
> In file included from dev_in_maps.c:10:
> /usr/include/sys/mount.h:35:3: error: expected identifier before numeric
> constant
>35 | MS_RDONLY = 1, /* Mount read-only.
On Tue, Jan 16, 2024 at 02:47:46PM -0500, Benjamin Poirier wrote:
> On 2024-01-16 11:29 -0800, Jakub Kicinski wrote:
> > On Tue, 16 Jan 2024 14:21:51 -0500 Benjamin Poirier wrote:
> > > real13m35.065s
> > > user0m1.657s
> > > sys 0m27.918s
> > >
> > > The test is not cpu bound; as Jay
> From: Jason Gunthorpe
> Sent: Tuesday, January 16, 2024 8:58 PM
>
> On Tue, Jan 16, 2024 at 01:18:12AM +, Tian, Kevin wrote:
> > > From: Jason Gunthorpe
> > > Sent: Tuesday, January 16, 2024 1:25 AM
> > >
> > > On Sun, Nov 26, 2023 at 10:34:23PM -0800, Yi Liu wrote:
> > > > +/**
> > > > +
On 1/16/24 9:52 PM, David Laight wrote:
> From: Muhammad Usama Anjum
>> Sent: 16 January 2024 09:05
>>
>> Running charge_reserved_hugetlb.sh generates errors if sh is set to
>> dash:
>>
>> /charge_reserved_hugetlb.sh: 9: [[: not found
>> /charge_reserved_hugetlb.sh: 19: [[: not found
>> /charge_res
On 1/16/24 10:07 PM, Jiaqi Yan wrote:
> On Sun, Jan 14, 2024 at 11:33 PM Muhammad Usama Anjum
> wrote:
>>
>> Conform the layout, informational and status messages to TAP. No
>> functional change is intended other than the layout of output messages.
>>
>> Signed-off-by: Muhammad Usama Anjum
>> ---
On 1/16/24 7:17 AM, Willem de Bruijn wrote:
Jörn-Thorben Hinz wrote:
A BPF application, e.g., a TCP congestion control, might benefit from or
even require precise (=hardware) packet timestamps. These timestamps are
already available through __sk_buff.hwtstamp and
bpf_sock_ops.skb_hwtstamp, but c
69 matches
Mail list logo