Re: [PATCH] hrtimer:Add get_hrtimer_cpu_base()

2024-03-14 Thread Thomas Gleixner
On Fri, Mar 15 2024 at 11:12, Enlin Mu wrote: > Thomas Gleixner 于2024年3月14日周四 19:59写道: >> >> On Thu, Mar 14 2024 at 18:45, Enlin Mu wrote: >> > Thomas Gleixner 于2024年3月14日周四 18:22写道: >> >> >> >> On Wed, Mar 13 2024 at 05:30, Enlin Mu wrote: >> >> > From: Enlin Mu >> >> > >> >> > On the Arm

Re: [PATCH] hrtimer:Add get_hrtimer_cpu_base()

2024-03-14 Thread Enlin Mu
Thomas Gleixner 于2024年3月14日周四 19:59写道: > > On Thu, Mar 14 2024 at 18:45, Enlin Mu wrote: > > Thomas Gleixner 于2024年3月14日周四 18:22写道: > >> > >> On Wed, Mar 13 2024 at 05:30, Enlin Mu wrote: > >> > From: Enlin Mu > >> > > >> > On the Arm platform,arch_timer may occur irq strom, > >> > By using the

Re: [PATCH bpf-next v3 1/2] bpf: Take return from set_memory_ro() into account with bpf_prog_lock_ro()

2024-03-14 Thread patchwork-bot+netdevbpf
Hello: This series was applied to bpf/bpf-next.git (master) by Alexei Starovoitov : On Fri, 8 Mar 2024 06:38:07 +0100 you wrote: > set_memory_ro() can fail, leaving memory unprotected. > > Check its return and take it into account as an error. > > Link: https://github.com/KSPP/linux/issues/7

Re: [PATCH] hrtimer:Add get_hrtimer_cpu_base()

2024-03-14 Thread Enlin Mu
Enlin Mu 于2024年3月15日周五 10:07写道: > > Thomas Gleixner 于2024年3月14日周四 19:59写道: > > > > On Thu, Mar 14 2024 at 18:45, Enlin Mu wrote: > > > Thomas Gleixner 于2024年3月14日周四 18:22写道: > > >> > > >> On Wed, Mar 13 2024 at 05:30, Enlin Mu wrote: > > >> > From: Enlin Mu > > >> > > > >> > On the Arm

Re: [PATCH] hrtimer:Add get_hrtimer_cpu_base()

2024-03-14 Thread Enlin Mu
Thomas Gleixner 于2024年3月14日周四 19:59写道: > > On Thu, Mar 14 2024 at 18:45, Enlin Mu wrote: > > Thomas Gleixner 于2024年3月14日周四 18:22写道: > >> > >> On Wed, Mar 13 2024 at 05:30, Enlin Mu wrote: > >> > From: Enlin Mu > >> > > >> > On the Arm platform,arch_timer may occur irq strom, > >> > By using the

[PATCH] ubsan: Remove unused function

2024-03-14 Thread Jiapeng Chong
The function are defined in the test_ubsan.c file, but not called elsewhere, so delete the unused function. lib/test_ubsan.c:137:28: warning: unused variable 'skip_ubsan_array'. Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=8541 Signed-off-by: Jiapeng Chong

[PATCH] soc: qcom: cmd-db: replace deprecated strncpy with memcpy

2024-03-14 Thread Justin Stitt
OK and expected. -*/ - strncpy(query, id, sizeof(query)); + memcpy(query, id, sizeof(query)); for (i = 0; i < MAX_SLV_ID; i++) { rsc_hdr = _db_header->header[i]; --- base-commit: fe46a7dd189e25604716c03576d05ac8a5209743 change-id: 20240314-strncpy-dri

Re: [RFC PATCH v2 00/19] PKS write protected page tables

2024-03-14 Thread Ira Weiny
Edgecombe, Rick P wrote: > On Thu, 2024-03-14 at 09:27 -0700, Kees Cook wrote: > > On Mon, Aug 30, 2021 at 04:59:08PM -0700, Rick Edgecombe wrote: > > > This is a second RFC for the PKS write protected tables concept. > > > I'm sharing to > > > show the progress to interested people. I'd also

Re: [RFC PATCH v2 00/19] PKS write protected page tables

2024-03-14 Thread Edgecombe, Rick P
On Thu, 2024-03-14 at 09:27 -0700, Kees Cook wrote: > On Mon, Aug 30, 2021 at 04:59:08PM -0700, Rick Edgecombe wrote: > > This is a second RFC for the PKS write protected tables concept. > > I'm sharing to > > show the progress to interested people. I'd also appreciate any > > comments, > >

Re: [PATCH] Revert "kunit: memcpy: Split slow memcpy tests into MEMCPY_SLOW_KUNIT_TEST"

2024-03-14 Thread Kees Cook
On Thu, 14 Mar 2024 08:12:00 -0700, Guenter Roeck wrote: > This reverts commit 4acf1de35f41549e60c3c02a8defa7cb95eabdf2. > > Commit d055c6a2cc16 ("kunit: memcpy: Mark tests as slow using test > attributes") marks slow memcpy unit tests as slow. Since this commit, > the tests can be disabled with

Re: [RFC PATCH v2 00/19] PKS write protected page tables

2024-03-14 Thread Kees Cook
On Mon, Aug 30, 2021 at 04:59:08PM -0700, Rick Edgecombe wrote: > This is a second RFC for the PKS write protected tables concept. I'm sharing > to > show the progress to interested people. I'd also appreciate any comments, > especially on the direct map page table protection solution (patch 17).

[PATCH] Revert "kunit: memcpy: Split slow memcpy tests into MEMCPY_SLOW_KUNIT_TEST"

2024-03-14 Thread Guenter Roeck
This reverts commit 4acf1de35f41549e60c3c02a8defa7cb95eabdf2. Commit d055c6a2cc16 ("kunit: memcpy: Mark tests as slow using test attributes") marks slow memcpy unit tests as slow. Since this commit, the tests can be disabled with a module parameter, and the configuration option to skip the slow

Re: [PATCH] hrtimer:Add get_hrtimer_cpu_base()

2024-03-14 Thread Thomas Gleixner
On Thu, Mar 14 2024 at 18:45, Enlin Mu wrote: > Thomas Gleixner 于2024年3月14日周四 18:22写道: >> >> On Wed, Mar 13 2024 at 05:30, Enlin Mu wrote: >> > From: Enlin Mu >> > >> > On the Arm platform,arch_timer may occur irq strom, >> > By using the next_timer of hrtimer_cpu_base, it is >> > possible to

Re: [PATCH] hrtimer:Add get_hrtimer_cpu_base()

2024-03-14 Thread Enlin Mu
Thomas Gleixner 于2024年3月14日周四 18:22写道: > > On Wed, Mar 13 2024 at 05:30, Enlin Mu wrote: > > From: Enlin Mu > > > > On the Arm platform,arch_timer may occur irq strom, > > By using the next_timer of hrtimer_cpu_base, it is > > possible to quickly locate abnormal timers. > > As it is an out of

Re: [PATCH] hrtimer:Add get_hrtimer_cpu_base()

2024-03-14 Thread Thomas Gleixner
On Wed, Mar 13 2024 at 05:30, Enlin Mu wrote: > From: Enlin Mu > > On the Arm platform,arch_timer may occur irq strom, > By using the next_timer of hrtimer_cpu_base, it is > possible to quickly locate abnormal timers. > As it is an out of tree modules,the function needs > to be exproted. No. We