[PATCH] lazy tlb: fix hotplug exit race with MMU_LAZY_TLB_SHOOTDOWN

2024-11-01 Thread Herton R. Krzesinski
From: Nicholas Piggin CPU unplug first calls __cpu_disable(), and that's where powerpc calls cleanup_cpu_mmu_context(), which clears this CPU from mm_cpumask() of all mms in the system. However this CPU may still be using a lazy tlb mm, and its mm_cpumask bit will be cleared from it. The CPU do

Re: [PATCH v8 2/3] modpost: Produce extended MODVERSIONS information

2024-11-01 Thread Luis Chamberlain
On Thu, Oct 31, 2024 at 01:00:28PM -0700, Matthew Maurer wrote: > > The question is, if only extended moversions are used, what new tooling > > requirements are there? Can you test using only extended modversions? > > > > Luis > > I'm not sure precisely what you're asking for. Do you want: > 1.

Re: [PATCH] selftests/ftrace: update kprobe syntax error test for ppc64le

2024-11-01 Thread Segher Boessenkool
Hi! On Sat, Nov 02, 2024 at 12:49:25AM +0530, Hari Bathini wrote: > For ppc64le, depending on the kernel configuration used, offset 16 > from function start address can also be considered function entry. > Update the test case to accommodate such configurations. (This is true for all ELfv2, not j

[PATCH] selftests/ftrace: update kprobe syntax error test for ppc64le

2024-11-01 Thread Hari Bathini
For ppc64le, depending on the kernel configuration used, offset 16 from function start address can also be considered function entry. Update the test case to accommodate such configurations. Signed-off-by: Hari Bathini --- .../selftests/ftrace/test.d/kprobe/kprobe_syntax_errors.tc| 4 1

Re: [resend PATCH 2/2] dim: pass dim_sample to net_dim() by reference

2024-11-01 Thread Vladimir Oltean
On Fri, Nov 01, 2024 at 10:54:47AM +0200, Louis Peens wrote: > Hi - sorry, I do still manage to mix up when to use signed-off-by and > reviewed-by. You use Signed-off-by when you submit a patch and Reviewed-by when you review it.

Re: [PATCH v8 1/3] modules: Support extended MODVERSIONS info

2024-11-01 Thread Luis Chamberlain
On Thu, Oct 31, 2024 at 12:22:36PM +1100, Michael Ellerman wrote: > Matthew Maurer writes: > > Adds a new format for MODVERSIONS which stores each field in a separate > > ELF section. This initially adds support for variable length names, but > > could later be used to add additional fields to MOD

Re: [PATCH v7 1/4] cpu/SMT: Provide a default topology_is_primary_thread()

2024-11-01 Thread Thomas Gleixner
On Fri, Nov 01 2024 at 11:18, Yicong Yang wrote: > On 2024/10/31 21:33, Thomas Gleixner wrote: >> cpu_smt_control is not guaranteed to have CPU_SMT_ENABLED state, so this >> argument is bogus. >> > sorry for didn't explain all the cases here. > > For cpu_sm_control == {CPU_SMT_ENABLED, CPU_SMT_NOT

Re: [resend PATCH 2/2] dim: pass dim_sample to net_dim() by reference

2024-11-01 Thread Louis Peens
On Thu, Oct 31, 2024 at 10:19:55AM -0700, Caleb Sander wrote: > [Some people who received this message don't often get email from > csan...@purestorage.com. Learn why this is important at > https://aka.ms/LearnAboutSenderIdentification ] > > On Thu, Oct 31, 2024 at 5:49 AM Louis Peens wrote: >