[PATCH bpf-next v4 2/2] bpf: selftests: verifier: Add nullness elision tests

2024-10-02 Thread Daniel Xu
d-off-by: Daniel Xu --- .../bpf/progs/verifier_array_access.c | 183 ++ 1 file changed, 183 insertions(+) diff --git a/tools/testing/selftests/bpf/progs/verifier_array_access.c b/tools/testing/selftests/bpf/progs/verifier_array_access.c index 95d7ecc12963..872edded1623 1

[PATCH bpf-next v4 0/2] Support eliding map lookup nullness

2024-10-02 Thread Daniel Xu
ck for when stack is uninitialized (no stack slot yet) * Updated existing tests to account for null elision * Added test case for when R2 can be both const and non-const Daniel Xu (2): bpf: verifier: Support eliding map lookup nullness bpf: selftests: verifier: Add nullness elision tests k

[PATCH bpf-next v4 1/2] bpf: verifier: Support eliding map lookup nullness

2024-10-02 Thread Daniel Xu
d in sync with these changes, as the verifier is more efficient with this change. Notable, iters.c tests had to be changed to use a map type that still requires null checks, as it's exercising verifier tracking logic w.r.t iterators. Acked-by: Eduard Zingerman Signed-off-by: Daniel Xu -

Re: [PATCH] selftests/bpf: Add __init and __exit to the functions bpf_test_no_cfi_init()/bpf_test_no_cfi_exit()

2024-10-02 Thread Daniel Borkmann
) return ret; } -static void bpf_test_no_cfi_exit(void) +static void __exit bpf_test_no_cfi_exit(void) { } Not that the memory saving matters too much in this context, but lets also annotate bpf_testmod_init and bpf_testmod_exit while at it? Thanks, Daniel

Re: [PATCH bpf-next v3 1/2] bpf: verifier: Support eliding map lookup nullness

2024-10-01 Thread Daniel Xu
On Wed, Sep 25, 2024 at 10:24:01AM GMT, Alexei Starovoitov wrote: > On Tue, Sep 24, 2024 at 12:40 PM Daniel Xu wrote: > > > > + > > +/* Returns constant key value if possible, else -1 */ > > +static long get_constant_map_key(s

Re: [PATCH bpf-next v3 1/2] bpf: verifier: Support eliding map lookup nullness

2024-10-01 Thread Daniel Xu
Hit send too early. On Tue, Oct 1, 2024, at 5:07 PM, Daniel Xu wrote: > On Wed, Sep 25, 2024 at 10:24:01AM GMT, Alexei Starovoitov wrote: >> On Tue, Sep 24, 2024 at 12:40 PM Daniel Xu wrote: >> > >> > + >> > +/* Returns constant key value if po

Re: [PATCH v4 01/16] module: Take const arg in validate_section_offset

2024-09-25 Thread Daniel Gomez
at lore I found it here: https://lore.kernel.org/asahi/20240924212024.540574-1-mmau...@google.com/ Can you add linux-modules list in case there's a next revision? Also, the cover letter is missing a full changelog other than a reference to the previous discussions and to the last changes. Daniel

[PATCH bpf-next v3 2/2] bpf: selftests: verifier: Add nullness elision tests

2024-09-24 Thread Daniel Xu
d-off-by: Daniel Xu --- .../bpf/progs/verifier_array_access.c | 166 ++ 1 file changed, 166 insertions(+) diff --git a/tools/testing/selftests/bpf/progs/verifier_array_access.c b/tools/testing/selftests/bpf/progs/verifier_array_access.c index 95d7ecc12963..2e74504ddbb5 1

[PATCH bpf-next v3 1/2] bpf: verifier: Support eliding map lookup nullness

2024-09-24 Thread Daniel Xu
d in sync with these changes, as the verifier is more efficient with this change. Notable, iters.c tests had to be changed to use a map type that still requires null checks, as it's exercising verifier tracking logic w.r.t iterators. Signed-off-by: Daniel Xu --- kernel/bpf/verifier.c

[PATCH bpf-next v3 0/2] Support eliding map lookup nullness

2024-09-24 Thread Daniel Xu
e for when R2 can be both const and non-const Daniel Xu (2): bpf: verifier: Support eliding map lookup nullness bpf: selftests: verifier: Add nullness elision tests kernel/bpf/verifier.c | 67 ++- tools/testing/selftests/bpf/progs/iters.c | 14 +- ...

[ANNOUNCE] 4.19.322-rt138

2024-09-23 Thread Daniel Wagner
Enjoy! Daniel Changes from v4.19.317-rt137: --- Daniel Wagner (1): Linux 4.19.322-rt138 --- localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- diff --git a/localversion-rt b/localversion-rt index 41b444e910ef..9f63718d5731 100644 --- a/localversion-rt +++ b/localversi

Re: [PATCH bpf-next v2 1/2] bpf: verifier: Support eliding map lookup nullness

2024-09-22 Thread Daniel Xu
On Fri, Sep 20, 2024 at 03:05:35PM GMT, Eduard Zingerman wrote: > On Sun, 2024-09-15 at 21:45 -0600, Daniel Xu wrote: > > This commit allows progs to elide a null check on statically known map > > lookup keys. In other words, if the verifier can statically prove that > >

[PATCH RT 1/1] Linux 4.19.322-rt138

2024-09-16 Thread Daniel Wagner
v4.19.322-rt138-rc1 stable review patch. If anyone has any objections, please let me know. --- Signed-off-by: Daniel Wagner --- localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localversion-rt b/localversion-rt index 41b444e910ef..9f63718d5731 100644

[PATCH RT 0/1] Linux v4.19.322-rt138-rc1

2024-09-16 Thread Daniel Wagner
://git.kernel.org/pub/scm/docs/kernel/pgpkeys.git Enjoy! Daniel Changes from v4.19.317-rt137: There was a merge conflict due to the backport of d33d26036a02 ("rtmutex: Drop rt_mutex::wait_lock before scheduling"). This commit added the lock argument to rt_mutex_handle_deadlock function. diff -

[PATCH bpf-next v2 2/2] bpf: selftests: verifier: Add nullness elision tests

2024-09-15 Thread Daniel Xu
Test that nullness elision works for common use cases. For example, we want to check that both full and subreg stack slots are recognized. As well as when there's both const and non-const values of R2 leading up to a lookup. And obviously some bound checks. Signed-off-by: Daniel Xu --- ..

[PATCH bpf-next v2 1/2] bpf: verifier: Support eliding map lookup nullness

2024-09-15 Thread Daniel Xu
bytes. In these situations, it is desirable for the programmer to express: "this lookup should never fail, and if it does, it means I messed up the code". By omitting the null check, the programmer can "ask" the verifier to double check the logic. Signed-off-by: Daniel

[PATCH bpf-next v2 0/2] Support eliding map lookup nullness

2024-09-15 Thread Daniel Xu
k for when R2 is not a ptr to stack * Added a check for when stack is uninitialized (no stack slot yet) * Fix spinlock reg id bumping * Updated existing tests to account for null elision * Added test case for when R2 can be both const and non-const Daniel Xu (2): bpf: verifier: Support eliding

[PATCH bpf-next 2/2] bpf: selftests: verifier: Add nullness elision tests

2024-09-14 Thread Daniel Xu
Test that nullness elision works for common use cases. For example, we want to check that both full and subreg stack slots recognized. As well as multiple lookups. And obviously some bound checks. Signed-off-by: Daniel Xu --- .../bpf/progs/verifier_array_access.c | 143

[PATCH bpf-next 0/2] Support eliding map lookup nullness

2024-09-14 Thread Daniel Xu
bytes. In these situations, it is desirable for the programmer to express: "this lookup should never fail, and if it does, it means I messed up the code". By omitting the null check, the programmer can "ask" the verifier to double check the logic. Daniel Xu (2): bpf: verifier:

Re: CPUMAP latency metrics (was: [PATCH bpf-next] bpf: ringbuf: Support consuming BPF_MAP_TYPE_RINGBUF from prog)

2024-09-12 Thread Daniel Xu
On Thu, Sep 12, 2024, at 2:40 AM, Jesper Dangaard Brouer wrote: > On 11/09/2024 20.53, Daniel Xu wrote: >> On Wed, Sep 11, 2024 at 10:32:56AM GMT, Jesper Dangaard Brouer wrote: >>> >>> >>> On 11/09/2024 06.43, Daniel Xu wrote: >>>> [cc Jesper] &g

Re: [PATCH bpf-next] bpf: ringbuf: Support consuming BPF_MAP_TYPE_RINGBUF from prog

2024-09-11 Thread Daniel Xu
On Wed, Sep 11, 2024 at 10:32:56AM GMT, Jesper Dangaard Brouer wrote: > > > On 11/09/2024 06.43, Daniel Xu wrote: > > [cc Jesper] > > > > On Tue, Sep 10, 2024, at 8:31 PM, Daniel Xu wrote: > > > On Tue, Sep 10, 2024 at 05:39:55PM GMT, Andrii Nakryiko wrot

Re: [PATCH bpf-next] bpf: ringbuf: Support consuming BPF_MAP_TYPE_RINGBUF from prog

2024-09-10 Thread Daniel Xu
[cc Jesper] On Tue, Sep 10, 2024, at 8:31 PM, Daniel Xu wrote: > On Tue, Sep 10, 2024 at 05:39:55PM GMT, Andrii Nakryiko wrote: >> On Tue, Sep 10, 2024 at 4:44 PM Daniel Xu wrote: >> > >> > On Tue, Sep 10, 2024 at 03:21:04PM GMT, Andrii Nakryiko wrote: >> &g

Re: [PATCH bpf-next] bpf: ringbuf: Support consuming BPF_MAP_TYPE_RINGBUF from prog

2024-09-10 Thread Daniel Xu
On Tue, Sep 10, 2024 at 05:39:55PM GMT, Andrii Nakryiko wrote: > On Tue, Sep 10, 2024 at 4:44 PM Daniel Xu wrote: > > > > On Tue, Sep 10, 2024 at 03:21:04PM GMT, Andrii Nakryiko wrote: > > > On Tue, Sep 10, 2024 at 3:16 PM Daniel Xu wrote: > > > > > > &g

Re: [PATCH bpf-next] bpf: ringbuf: Support consuming BPF_MAP_TYPE_RINGBUF from prog

2024-09-10 Thread Daniel Xu
On Tue, Sep 10, 2024 at 03:21:04PM GMT, Andrii Nakryiko wrote: > On Tue, Sep 10, 2024 at 3:16 PM Daniel Xu wrote: > > > > > > > > On Tue, Sep 10, 2024, at 2:07 PM, Daniel Xu wrote: > > > On Tue, Sep 10, 2024 at 01:41:41PM GMT, Andrii Nakryiko wrote: > >

Re: [PATCH bpf-next] bpf: ringbuf: Support consuming BPF_MAP_TYPE_RINGBUF from prog

2024-09-10 Thread Daniel Xu
On Tue, Sep 10, 2024, at 2:07 PM, Daniel Xu wrote: > On Tue, Sep 10, 2024 at 01:41:41PM GMT, Andrii Nakryiko wrote: >> On Tue, Sep 10, 2024 at 11:36 AM Alexei Starovoitov [...] > >> >> Also, Daniel, can you please make sure that dynptr we return for each >> sam

Re: [PATCH bpf-next] bpf: ringbuf: Support consuming BPF_MAP_TYPE_RINGBUF from prog

2024-09-10 Thread Daniel Xu
On Tue, Sep 10, 2024 at 01:41:41PM GMT, Andrii Nakryiko wrote: > On Tue, Sep 10, 2024 at 11:36 AM Alexei Starovoitov > wrote: > > > > On Mon, Sep 9, 2024 at 5:55 PM Daniel Xu wrote: > > > > > > Right now there exists prog produce / userspace consume and us

Re: [PATCH bpf-next] bpf: ringbuf: Support consuming BPF_MAP_TYPE_RINGBUF from prog

2024-09-10 Thread Daniel Xu
On Tue, Sep 10, 2024 at 11:36:36AM GMT, Alexei Starovoitov wrote: > On Mon, Sep 9, 2024 at 5:55 PM Daniel Xu wrote: > > > > Right now there exists prog produce / userspace consume and userspace > > produce / prog consume support. But it is also useful to have prog >

[PATCH bpf-next] bpf: ringbuf: Support consuming BPF_MAP_TYPE_RINGBUF from prog

2024-09-09 Thread Daniel Xu
use case - there is no need to involve kernel for that. Signed-off-by: Daniel Xu --- kernel/bpf/verifier.c | 6 +- tools/testing/selftests/bpf/Makefile | 3 +- .../selftests/bpf/prog_tests/ringbuf.c| 50 +++ .../bpf/progs

Re: [PATCH] MAINTAINERS: scale modules with more reviewers

2024-08-23 Thread Daniel Gomez
Rust and C code for modules so we can ensure we get proper > reviews for both parts of the code and so that we can scale. > > Add those who have stepped up to help. > > Signed-off-by: Luis Chamberlain > --- Acked-by: Daniel Gomez Daniel > > First order of busine

Re: [PATCH v3 2/2] remoteproc: imx_rproc: Add support for poweroff and reboot

2024-08-23 Thread Daniel Baluta
eate them as non-blocking. > > Note that power off and restart are totally different operations and are > not complementary. > > We introduce a new flag in the imx remoteproc per device data which tells > us when a device needs this special setup. For now, only imx7ulp needs it. > > Signed-off-by: Peng Fan Reviewed-by: Daniel Baluta

Re: [PATCH v3 1/2] remoteproc: imx_rproc: Allow setting of the mailbox transmit mode

2024-08-23 Thread Daniel Baluta
x_block mode to be set (true/false) depending on usecase. > > No functional changes. > > Signed-off-by: Peng Fan Reviewed-by: Daniel Baluta

Re: [PATCH v2 2/2] remoteproc: imx_rproc: handle system off for i.MX7ULP

2024-08-21 Thread Daniel Baluta
Hello Mathieu, I've talked to Peng and if my understanding is correct I think the patch is OK. Maybe we can split the patch in two: * first, adding the power off callback with explanations. * second, adding the restart callback with explanations. And also add a more detailed explanation. Power o

Re: [PATCH] rust: add `module_params` macro

2024-08-19 Thread Daniel Gomez
On Wed, Jul 24, 2024 at 05:04:25PM GMT, Sami Tolvanen wrote: > Hi Luis, > > On Thu, Jul 18, 2024 at 5:15 PM Luis Chamberlain wrote: > > > > On Tue, Jul 09, 2024 at 12:08:16PM +0200, Miguel Ojeda wrote: > > > On Mon, Jul 8, 2024 at 11:42 PM Luis Chamberlain > > > wrote: > > > > > > > > The ratio

Re: [PATCH] ptp: Add vDSO-style vmclock support

2024-07-25 Thread Daniel P . Berrangé
On Thu, Jul 25, 2024 at 12:53:34PM +0100, David Woodhouse wrote: > On Thu, 2024-07-25 at 12:31 +0100, Daniel P. Berrangé wrote: > > On Thu, Jul 25, 2024 at 10:56:05AM +0100, David Woodhouse wrote: > > > Hi Michael, thanks for the review! > > > > > > On Thu,

Re: [PATCH] ptp: Add vDSO-style vmclock support

2024-07-25 Thread Daniel P . Berrangé
an do virtio without PCI but that's > complex in other ways). In general it shouldn't have to take up a PCI slot, that's just a common default policy. virtio-devices only need a dedicated slot if there's a need to do hotplug/unplug of them. There is a set of core devices for wh

Re: [PATCH v2 0/2] remoteproc: imx_rproc: support non-blocking tx for i.MX7ULP

2024-07-19 Thread Daniel Baluta
for completion. > > patch 1 is to support non-blocking tx mailbox channel > patch 2 is to switch to non-blocking tx for system poweroff or restart. > > Based on patchset: > https://lore.kernel.org/all/20240719-imx_rproc-v2-0-10d0268c7...@nxp.com/ > > Signed-off-by: Peng Fan Series looks good to me. Reviewed-by: Daniel Baluta

Re: [PATCH v2 0/4] remoteproc: imx_rproc: various patches for misc

2024-07-19 Thread Daniel Baluta
> Signed-off-by: Peng Fan Neat and clean. Reviewed-by: Daniel Baluta Thanks Peng!

[ANNOUNCE] 4.19.317-rt137

2024-07-12 Thread Daniel Wagner
ernel/pgpkeys.git Enjoy! Daniel Changes from v4.19.316-rt136: --- Daniel Wagner (1): Linux 4.19.317-rt137 --- localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- diff --git a/localversion-rt b/localversion-rt index f824f53c19ea..41b444e910ef 100644 --- a/localversion-rt

Re: [PATCH v2 2/2] virtio: fix vq # for balloon

2024-07-10 Thread Daniel Verkamp
On Wed, Jul 10, 2024 at 1:39 PM Michael S. Tsirkin wrote: > > On Wed, Jul 10, 2024 at 12:58:11PM -0700, Daniel Verkamp wrote: > > On Wed, Jul 10, 2024 at 11:39 AM Michael S. Tsirkin wrote: > > > > > > On Wed, Jul 10, 2024 at 11:12:34AM -0700, Daniel Verkamp wrote: &

Re: [PATCH v2 2/2] virtio: fix vq # for balloon

2024-07-10 Thread Daniel Verkamp
On Wed, Jul 10, 2024 at 11:39 AM Michael S. Tsirkin wrote: > > On Wed, Jul 10, 2024 at 11:12:34AM -0700, Daniel Verkamp wrote: > > On Wed, Jul 10, 2024 at 4:43 AM Michael S. Tsirkin wrote: > > > > > > virtio balloon communicates to the core that in some >

Re: [PATCH v2 2/2] virtio: fix vq # for balloon

2024-07-10 Thread Daniel Verkamp
;ctx, > +=== > + vqs[i] = vp_setup_vq(vdev, i, callbacks[i], names[i], > +ctx ? ctx[i] : false, > +>>>>>>> f814759f80b7... virtio: fix vq # for balloon This still has merge markers in it. Thanks, -- Daniel

[PATCH RT 1/1] Linux 4.19.317-rt137

2024-07-09 Thread Daniel Wagner
v4.19.317-rt137-rc1 stable review patch. If anyone has any objections, please let me know. --- Signed-off-by: Daniel Wagner --- localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localversion-rt b/localversion-rt index f824f53c19ea..41b444e910ef 100644

[PATCH RT 0/1] Linux v4.19.317-rt137-rc1

2024-07-09 Thread Daniel Wagner
://git.kernel.org/pub/scm/docs/kernel/pgpkeys.git Enjoy! Daniel Changes from v4.19.316-rt136: Daniel Wagner (1): Linux 4.19.317-rt137 localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.45.2

[ANNOUNCE] 4.19.316-rt136

2024-07-09 Thread Daniel Wagner
Enjoy! Daniel Changes from v4.19.315-rt135: --- Daniel Wagner (1): Linux 4.19.316-rt136 --- localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- diff --git a/localversion-rt b/localversion-rt index e3026053f01e..f824f53c19ea 100644 --- a/localversion-rt +++ b/localversi

[PATCH RT 0/1] Linux v4.19.316-rt136-rc1

2024-07-01 Thread Daniel Wagner
://git.kernel.org/pub/scm/docs/kernel/pgpkeys.git Enjoy! Daniel Changes from v4.19.315-rt135: Daniel Wagner (1): Linux 4.19.316-rt136 localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.45.2

[PATCH RT 1/1] Linux 4.19.316-rt136

2024-07-01 Thread Daniel Wagner
v4.19.316-rt136-rc1 stable review patch. If anyone has any objections, please let me know. --- Signed-off-by: Daniel Wagner --- localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localversion-rt b/localversion-rt index e3026053f01e..f824f53c19ea 100644

Re: [PATCH 6.10.0-rc2] kernel/module: avoid panic on loading broken module

2024-06-21 Thread Daniel von Kirschten
Am 18.06.2024 um 21:58 schrieb Luis Chamberlain: On Thu, Jun 06, 2024 at 03:31:49PM +0200, Daniel v. Kirschten wrote: If a module is being loaded, and the .gnu.linkonce.this_module section in the module's ELF file does not have the WRITE flag, the kernel will map the finished module stru

Re: [PATCH] tools: build: use correct lib name for libtracefs feature detection

2024-06-21 Thread Daniel Bristot de Oliveira
On 6/17/24 20:38, Daniel Wagner wrote: > Use libtracefs as package name to lookup the CFLAGS for libtracefs. This > makes it possible to use the distro specific path as include path for > the header file. So, I added it to my review branch and tested it. It is fine! But, as the most

Re: [PATCH 1/5] rtla: Add dependency on libcpupower

2024-06-21 Thread Daniel Bristot de Oliveira
Hi Thomas On 6/12/24 16:54, tglo...@redhat.com wrote: > From: Tomas Glozar I think we can split this into two patches, this first part on tools/Build: > Add a test for libcpupower into feature tests and use it to add a > dependency on libcpupower to rtla. > > Signed-off-by: Tomas Glozar > ---

Re: [PATCH 2/5] rtla/utils: Add idle state disabling via libcpupower

2024-06-21 Thread Daniel Bristot de Oliveira
On 6/12/24 16:54, tglo...@redhat.com wrote: > + > + nr_states = cpuidle_state_count(cpu); > + Question: Is this library implemented for all archs or only intel &| arm? If it is restricted to few archs, it is another point to make it optional. -- Daniel

Re: [PATCH 3/5] rtla/timerlat: Add --disable-idle-states for top

2024-06-21 Thread Daniel Bristot de Oliveira
_idle_disable_state(i) < 0) { > + err_msg("Could not save cpu idle state.\n"); > + goto out_free; > + } > + if (set_cpu_idle_disable_state(i, 1) < 0) { and use the argument state here?^ -- Daniel

Re: [PATCH] rtla/osnoise: Better report when histogram is empty

2024-06-21 Thread Daniel Bristot de Oliveira
my queue. Thanks Luis and John! -- Daniel

Re: [PATCH] tools: build: use correct lib name for libtracefs feature detection

2024-06-18 Thread Daniel Bristot de Oliveira
Adding Arnaldo On 6/17/24 20:38, Daniel Wagner wrote: > Use libtracefs as package name to lookup the CFLAGS for libtracefs. This > makes it possible to use the distro specific path as include path for > the header file. > > Signed-off-by: Daniel Wagner > --- > Our down

[PATCH] tools: build: use correct lib name for libtracefs feature detection

2024-06-17 Thread Daniel Wagner
Use libtracefs as package name to lookup the CFLAGS for libtracefs. This makes it possible to use the distro specific path as include path for the header file. Signed-off-by: Daniel Wagner --- Our downstream packaging stop working. After a bit of didding I found out that the libtracefs feature

[PATCH bpf-next v5 06/12] bpf: Make bpf_session_cookie() kfunc return long *

2024-06-12 Thread Daniel Xu
__u64 *. You can see evidence of that intent in a3a5113393cc ("selftests/bpf: Add kprobe session cookie test"). Fix conflict by changing kfunc definition. Fixes: 5c919acef851 ("bpf: Add support for kprobe session cookie") Signed-off-by: Daniel Xu --- kernel/trace/bpf_tr

Re: [PATCH v6 3/3] sched/rt: Rename realtime_{prio, task}() to rt_or_dl_{prio, task}()

2024-06-11 Thread Daniel Bristot de Oliveira
On 6/10/24 21:20, Qais Yousef wrote: > - if (realtime_prio(p->prio)) /* includes deadline */ > + if (rt_or_dl_prio(p->prio)) that is it... no thinking, no recall, no comment, no confusion... -- Daniel.

[ANNOUNCE] 4.19.315-rt135

2024-06-07 Thread Daniel Wagner
Enjoy! Daniel Changes from v4.19.312-rt134: --- Daniel Wagner (1): Linux 4.19.315-rt135 --- localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- diff --git a/localversion-rt b/localversion-rt index 6067da4c8c99..e3026053f01e 100644 --- a/localversion-rt +++ b/localversi

[PATCH 6.10.0-rc2] kernel/module: avoid panic on loading broken module

2024-06-06 Thread Daniel v. Kirschten
ss this is due to some structures not being cleaned up properly, but I didn't investigate this further. A check already exists which verifies that .gnu.linkonce.this_module is ALLOC. This patch simply adds an analogous check for WRITE. Signed-off-by: Daniel Kirschten --- kernel/module/main.

Re: [PATCH v5 1/2] sched/rt: Clean up usage of rt_task()

2024-06-05 Thread Daniel Bristot de Oliveira
keep them separate, so I can easily search for dl_ specific checks. rt_or_dl_task(p); would also make it clear that we have both. -- Daniel

Re: [PATCH v5 1/2] sched/rt: Clean up usage of rt_task()

2024-06-05 Thread Daniel Bristot de Oliveira
On 6/5/24 11:32, Sebastian Andrzej Siewior wrote: > On 2024-06-04 17:57:46 [+0200], Daniel Bristot de Oliveira wrote: >> On 6/4/24 16:42, Qais Yousef wrote: >>> - (wakeup_rt && !dl_task(p) && !rt_task(p)) || >>> + (wakeup_rt && !re

Re: [PATCH v5 1/2] sched/rt: Clean up usage of rt_task()

2024-06-04 Thread Daniel Bristot de Oliveira
On 6/4/24 18:37, Steven Rostedt wrote: > On Tue, 4 Jun 2024 17:57:46 +0200 > Daniel Bristot de Oliveira wrote: > >> On 6/4/24 16:42, Qais Yousef wrote: >>> - (wakeup_rt && !dl_task(p) && !rt_task(p)) || >>> + (wakeup_rt && !rea

Re: [PATCH v5 1/2] sched/rt: Clean up usage of rt_task()

2024-06-04 Thread Daniel Bristot de Oliveira
ss* clear that we also have DL here. I know we can always read the comments, but we can do without changes as well... I would suggest finding the plural version for realtime_task()... so we know it is not about the "rt" scheduler, but rt and dl schedulers. -- Daniel

[PATCH RT 0/1] Linux v4.19.315-rt135-rc1

2024-05-31 Thread Daniel Wagner
://git.kernel.org/pub/scm/docs/kernel/pgpkeys.git Enjoy! Daniel Changes from v4.19.312-rt134: Daniel Wagner (1): Linux 4.19.315-rt135 localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.45.1

[PATCH RT 1/1] Linux 4.19.315-rt135

2024-05-31 Thread Daniel Wagner
v4.19.315-rt135-rc1 stable review patch. If anyone has any objections, please let me know. --- Signed-off-by: Daniel Wagner --- localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localversion-rt b/localversion-rt index 6067da4c8c99..e3026053f01e 100644

Re: [PATCH] rv: Update rv_en(dis)able_monitor doc to match kernel-doc

2024-05-28 Thread Daniel Bristot de Oliveira
On 5/20/24 07:42, Yang Li wrote: > The patch updates the function documentation comment for > rv_en(dis)able_monitor to adhere to the kernel-doc specification. > > Signed-off-by: Yang Li Acked-by: Daniel Bristot de Oliveira Thanks -- Daniel

[ANNOUNCE] 4.19.312-rt134

2024-05-22 Thread Daniel Wagner
which v4.19-rt already shipped. Sebastian helped out to get this merge correct, thanks a lot! Cheers, Daniel You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git branch: v4.19-rt Head SHA1: 1c3b7281e2711af8488ce40c9202ad19f3eeb557

Re: [PATCH -next] rv: Update rv_en(dis)able_monitor doc to match kernel-doc

2024-05-17 Thread Daniel Bristot de Oliveira
v_disable_monitor - disable a given runtime monitor > + * @mdef: Pointer to the monitor definition structure. This change is in for mainline kernel, why are you using the -next on the Subject? -- Daniel

[GIT PULL] tracing/tools: Updates for 6.10

2024-05-17 Thread Daniel Bristot de Oliveira
x.git trace-tools-v6.10 Tag SHA1: dbd633e7f81bac0114f609ff2eade9f4e66a28e2 Head SHA1: 59c22f70b2951d81de410d477ae536ba951b4f37 Daniel Bristot de Oliveira (8): rtla/timerlat: Simplify "no value" printing on top rtla/auto-analysis: Replace \t with spaces rtla/timerlat: Use pretty fo

Re: [PATCH RT 0/1] Linux v4.19.312-rt134-rc3

2024-05-13 Thread Daniel Wagner
On Mon, May 13, 2024 at 08:59:35AM GMT, Sebastian Andrzej Siewior wrote: > On 2024-05-07 17:16:47 [+0200], Daniel Wagner wrote: > > Dear RT Folks, > > > > This is the RT stable review cycle of patch 4.19.312-rt134-rc3. > > > > Please scream at me if I messed some

[PATCH RT 0/1] Linux v4.19.312-rt134-rc3

2024-05-07 Thread Daniel Wagner
://git.kernel.org/pub/scm/docs/kernel/pgpkeys.git Enjoy! Daniel Changes from v4.19.307-rt133: Daniel Wagner (1): Linux 4.19.312-rt134 localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.44.0

[PATCH RT 1/1] Linux 4.19.312-rt134

2024-05-07 Thread Daniel Wagner
v4.19.312-rt134-rc3 stable review patch. If anyone has any objections, please let me know. --- Signed-off-by: Daniel Wagner --- localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localversion-rt b/localversion-rt index c2c7e0fb6685..6067da4c8c99 100644

Re: [PATCH RT 0/1] Linux v4.19.312-rt134-rc2

2024-05-07 Thread Daniel Wagner
y used. Will do. > As an alternative I can send you my rebased queue if this makes it > easier for you. Yes please, this makes it easy to sync the rebase branch. Thanks a lot! Cheers, Daniel

Re: [PATCH RT 0/1] Linux v4.19.312-rt134-rc2

2024-05-06 Thread Daniel Wagner
Hi Sebastian, On 06.05.24 12:46, Daniel Wagner wrote: Dear RT Folks, This is the RT stable review cycle of patch 4.19.312-rt134-rc2. Please scream at me if I messed something up. Please test the patches too. My announce script is not attaching any conflict resolve diffs (eventually, I&#x

[PATCH RT 1/1] Linux 4.19.312-rt134

2024-05-06 Thread Daniel Wagner
v4.19.312-rt134-rc2 stable review patch. If anyone has any objections, please let me know. --- Signed-off-by: Daniel Wagner --- localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localversion-rt b/localversion-rt index c2c7e0fb6685..6067da4c8c99 100644

[PATCH RT 0/1] Linux v4.19.312-rt134-rc2

2024-05-06 Thread Daniel Wagner
://git.kernel.org/pub/scm/docs/kernel/pgpkeys.git Enjoy! Daniel Changes from v4.19.307-rt133: Daniel Wagner (1): Linux 4.19.312-rt134 localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.44.0

[PATCH RT 0/1] Linux v4.19.312-rt134-rc1

2024-04-17 Thread Daniel Wagner
://git.kernel.org/pub/scm/docs/kernel/pgpkeys.git Enjoy! Daniel Changes from v4.19.307-rt133: Daniel Wagner (1): Linux 4.19.312-rt134 localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.44.0

[PATCH RT 1/1] Linux 4.19.312-rt134

2024-04-17 Thread Daniel Wagner
v4.19.312-rt134-rc1 stable review patch. If anyone has any objections, please let me know. --- Signed-off-by: Daniel Wagner --- localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localversion-rt b/localversion-rt index c2c7e0fb6685..6067da4c8c99 100644

[GIT PULL V2] tracing/tools: Updates for 6.9

2024-03-20 Thread Daniel Bristot de Oliveira
. Please pull the latest trace-tools-v6.9-2 tree, which can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/bristot/linux.git trace-tools-v6.9-2 Tag SHA1: e8d5e0f38601c3718874d95db2a0020ab1c454df Head SHA1: a23c05fd76cf4ad27e0c74f7a93e7b089e94a55c Daniel Bristot de Oliveira (4):

Re: [GIT PULL] tracing/tools: Updates for 6.9

2024-03-20 Thread Daniel Bristot de Oliveira
On 3/20/24 00:02, Steven Rostedt wrote: > On Mon, 18 Mar 2024 18:41:13 +0100 > Daniel Bristot de Oliveira wrote: > >> Steven, >> >> Tracing tooling updates for 6.9 >> >> Tracing: >> - Update makefiles for latency-collector and RTLA, >&g

[GIT PULL] tracing/tools: Updates for 6.9

2024-03-18 Thread Daniel Bristot de Oliveira
the latest trace-tools-v6.9 tree, which can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/bristot/linux.git trace-tools-v6.9 Tag SHA1: 2eb09a97c56af3c27bd9dcebccb495f70d56d5c0 Head SHA1: 9c63d9f58a42b979a42bcaed534d9246996ac0d9 Daniel Bristot de Oliveira (4): tools/tracing:

[PATCH V3 3/3] tools/verification: Use tools/build makefiles on rv

2024-03-15 Thread Daniel Bristot de Oliveira
Use tools/build/ makefiles to build rv, inheriting the benefits of it. For example, having a proper way to handle dependencies. Suggested-by: Linus Torvalds Signed-off-by: Daniel Bristot de Oliveira --- tools/verification/rv/.gitignore | 6 + tools/verification/rv/Build | 1

[PATCH V3 2/3] tools/rtla: Use tools/build makefiles to build rtla

2024-03-15 Thread Daniel Bristot de Oliveira
tools/build. But this would also require changes in the user side (the directory structure changes, and probably the deps to build the package). Inspired on perf and objtool. Suggested-by: Linus Torvalds Signed-off-by: Daniel Bristot de Oliveira --- tools/tracing/rtla/.gitignore | 7

[PATCH V3 1/3] tools/tracing: Use tools/build makefiles on latency-collector

2024-03-15 Thread Daniel Bristot de Oliveira
/libtracefs-devel Makefile.config:29: *** Please, check the errors above.. Stop. This type of output is common across other tools in tools/ like perf and objtool. Suggested-by: Linus Torvalds Signed-off-by: Daniel Bristot de Oliveira --- tools/tracing/latency/.gitignore | 5 +- tools

[PATCH V3 0/3] tools/tracing: Use tools/build makefiles like perf

2024-03-15 Thread Daniel Bristot de Oliveira
ges from V1: - Link: https://lore.kernel.org/lkml/cover.1709914259.git.bris...@kernel.org/ - Proper handle O= and OUTPUT= flags fixing "make tools/tracing" - Cleanups Daniel Bristot de Oliveira (3): tools/tracing: Use tools/build makefiles on latency-collector tools/rtla: Use tools

Re: [PATCH V2 1/3] tools/tracing: Use tools/build makefiles on latency-collector

2024-03-15 Thread Daniel Bristot de Oliveira
On 3/15/24 15:53, Arnaldo Carvalho de Melo wrote: > On Fri, Mar 15, 2024 at 03:48:58PM +0100, Daniel Bristot de Oliveira wrote: >> On 3/15/24 15:24, Daniel Bristot de Oliveira wrote: >>> Use tools/build/ makefiles to build latency-collector, inheriting >>> the benefits

Re: [PATCH V2 1/3] tools/tracing: Use tools/build makefiles on latency-collector

2024-03-15 Thread Daniel Bristot de Oliveira
On 3/15/24 15:24, Daniel Bristot de Oliveira wrote: > Use tools/build/ makefiles to build latency-collector, inheriting > the benefits of it. For example: Before this patch, a missing > tracefs/traceevents headers will result in fail

[PATCH V2 3/3] tools/verification: Use tools/build makefiles on rv

2024-03-15 Thread Daniel Bristot de Oliveira
Use tools/build/ makefiles to build rv, inheriting the benefits of it. For example, having a proper way to handle dependencies. Suggested-by: Linus Torvalds Signed-off-by: Daniel Bristot de Oliveira --- tools/verification/rv/.gitignore | 6 + tools/verification/rv/Build | 1

[PATCH V2 2/3] tools/rtla: Use tools/build makefiles to build rtla

2024-03-15 Thread Daniel Bristot de Oliveira
tools/build. But this would also require changes in the user side (the directory structure changes, and probably the deps to build the package). Inspired on perf and objtool. Suggested-by: Linus Torvalds Signed-off-by: Daniel Bristot de Oliveira --- tools/tracing/rtla/.gitignore | 7

[PATCH V2 1/3] tools/tracing: Use tools/build makefiles on latency-collector

2024-03-15 Thread Daniel Bristot de Oliveira
e.. Stop. %< --- This type of output is common across other tools in tools/ like perf and objtool. Suggested-by: Linus Torvalds Signed-off-by: Daniel Bristot de Oliveira --- tools/tracing/latency/.gitignore | 5 +- tools/tracing/latency/Build | 1 + tools/tra

[PATCH V2 0/3] tools/tracing: Use tools/build makefiles like perf

2024-03-15 Thread Daniel Bristot de Oliveira
l.com/ Changes from V1: - Link: https://lore.kernel.org/lkml/cover.1709914259.git.bris...@kernel.org/ - Proper handle O= and OUTPUT= flags fixing "make tools/tracing" - Cleanups Daniel Bristot de Oliveira (3): tools/tracing: Use tools/build makefiles on latency-collector tools/

[PATCH 3/3] tools/rtla: Use tools/build makefiles to build rtla

2024-03-08 Thread Daniel Bristot de Oliveira
tools/build. But this would also require changes in the user side (the directory structure changes, and probably the deps to build the package). Inspired on perf and objtool. Suggested-by: Linus Torvalds Signed-off-by: Daniel Bristot de Oliveira --- tools/tracing/rtla/.gitignore | 4

[PATCH 2/3] tools/verification: Use tools/build makefiles on rv

2024-03-08 Thread Daniel Bristot de Oliveira
Use tools/build/ makefiles to build rv, inheriting the benefits of it. For example, having a proper way to handle dependencies. Suggested-by: Linus Torvalds Signed-off-by: Daniel Bristot de Oliveira --- tools/verification/rv/.gitignore | 2 + tools/verification/rv/Build | 1

[PATCH 1/3] tools/tracing: Use tools/build makefiles on latency-collector

2024-03-08 Thread Daniel Bristot de Oliveira
Use tools/build/ makefiles to build latency-collector, inheriting the benefits of it. For example, having a proper way to handle dependencies. Inspired on perf and objtool. Suggested-by: Linus Torvalds Signed-off-by: Daniel Bristot de Oliveira --- tools/tracing/latency/.gitignore | 1

[PATCH 0/3] tools/tracing: Use tools/build makefiles like perf

2024-03-08 Thread Daniel Bristot de Oliveira
cgq-e...@mail.gmail.com/ Daniel Bristot de Oliveira (3): tools/tracing: Use tools/build makefiles on latency-collector tools/verification: Use tools/build makefiles on rv tools/rtla: Use tools/build makefiles to build rtla tools/tracing/latency/.gitignore | 1 + tools/tracing/latency/

[ANNOUNCE] 4.19.307-rt133

2024-03-03 Thread Daniel Wagner
Enjoy! Daniel

[PATCH RT 0/1] Linux v4.19.307-rt133-rc1

2024-02-27 Thread Daniel Wagner
://git.kernel.org/pub/scm/docs/kernel/pgpkeys.git Enjoy! Daniel Changes from v4.19.306-rt132: Daniel Wagner (1): Linux 4.19.307-rt133 localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.43.2

[PATCH RT 1/1] Linux 4.19.307-rt133

2024-02-27 Thread Daniel Wagner
v4.19.307-rt133-rc1 stable review patch. If anyone has any objections, please let me know. --- Signed-off-by: Daniel Wagner --- localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localversion-rt b/localversion-rt index ecff281e807f..c2c7e0fb6685 100644

[GIT PULL] tracing/tools: Fixes for 6.8-rc4

2024-02-12 Thread Daniel Bristot de Oliveira
/linux.git trace-tools-fixes-v6.8-rc4 Tag SHA1: 63f0522db203c7d138595e760b9a237bc02990fa Head SHA1: b5f319360371087d52070d8f3fc7789e80ce69a6 Daniel Bristot de Oliveira (6): tools/rtla: Fix Makefile compiler options for clang tools/rtla: Fix uninitialized bucket/data->bucket_size warn

[ANNOUNCE] 4.19.306-rt132

2024-02-12 Thread Daniel Wagner
4.19/older/patch-4.19.306-rt132.patch.xz Signing key fingerprint: 5BF6 7BC5 0826 72CA BB45 ACAE 587C 5ECA 5D0A 306C All keys used for the above files and repositories can be found on the following git repository: git://git.kernel.org/pub/scm/docs/kernel/pgpkeys.git Enjoy! Daniel Cha

Re: [PATCH] tools/rtla: Replace setting prio with nice for SCHED_OTHER

2024-02-08 Thread Daniel Bristot de Oliveira
On 2/7/24 07:51, limingming3 wrote: > Since the sched_priority for SCHED_OTHER is always 0, it makes no > sence to set it. > Setting nice for SCHED_OTHER seems more meaningful. Thanks! This is actually a fix, I meant to set nice since the beginning. -- Daniel

  1   2   3   4   5   6   7   8   9   10   >