Re: [PATCH v2 0/7] arch/mm/fault: accelerate pagefault when badaccess

2024-04-07 Thread Kefeng Wang
On 2024/4/4 4:45, Andrew Morton wrote: On Wed, 3 Apr 2024 16:37:58 +0800 Kefeng Wang wrote: After VMA lock-based page fault handling enabled, if bad access met under per-vma lock, it will fallback to mmap_lock-based handling, so it leads to unnessary mmap lock and vma find again. A test fr

Re: [PATCH -next 1/3] powerpc: boot: Fix a typo in partial_decompress() comment

2024-04-07 Thread Randy Dunlap
On 4/6/24 11:39 PM, Yang Li wrote: > This commit adds kernel-doc style comments with complete parameter > descriptions for the function partial_decompress(). > > Signed-off-by: Yang Li Reviewed-by: Randy Dunlap Thanks. > --- > arch/powerpc/boot/decompress.c | 2 +- > 1 file changed, 1 ins

Re: [PATCH -next 2/3] powerpc: Fix kernel-doc comments in fsl_gtm.c

2024-04-07 Thread Randy Dunlap
On 4/6/24 11:39 PM, Yang Li wrote: > Fix some function names in kernel-doc comments. > > Signed-off-by: Yang Li > --- > arch/powerpc/sysdev/fsl_gtm.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/arch/powerpc/sysdev/fsl_gtm.c b/arch/powerpc/sysdev/fsl_gtm.c >

Re: [PATCH -next 3/3] powerpc/rtas: Add kernel-doc comments to smp_startup_cpu()

2024-04-07 Thread Randy Dunlap
On 4/6/24 11:39 PM, Yang Li wrote: > This commit adds kernel-doc style comments with complete parameter > descriptions for the function smp_startup_cpu(). > > Signed-off-by: Yang Li > --- > arch/powerpc/platforms/cell/smp.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/powe

Re: [PATCH v2 0/7] arch/mm/fault: accelerate pagefault when badaccess

2024-04-07 Thread Heiko Carstens
On Sun, Apr 07, 2024 at 03:49:53PM +0800, Kefeng Wang wrote: > On 2024/4/4 4:45, Andrew Morton wrote: > > On Wed, 3 Apr 2024 16:37:58 +0800 Kefeng Wang > > wrote: > > > > > After VMA lock-based page fault handling enabled, if bad access met > > > under per-vma lock, it will fallback to mmap_lock

Re: [PATCH v2 6/7] s390: mm: accelerate pagefault when badaccess

2024-04-07 Thread Heiko Carstens
On Wed, Apr 03, 2024 at 04:38:04PM +0800, Kefeng Wang wrote: > The vm_flags of vma already checked under per-VMA lock, if it is a > bad access, directly handle error, no need to retry with mmap_lock > again. Since the page faut is handled under per-VMA lock, count it > as a vma lock event with VMA_

Re: [PATCH 3/9] IB: Convert from tasklet to BH workqueue

2024-04-07 Thread Zhu Yanjun
在 2024/3/27 17:03, Allen Pais 写道: The only generic interface to execute asynchronously in the BH context is tasklet; however, it's marked deprecated and has some design flaws. To replace tasklets, BH workqueue support was recently added. A BH workqueue behaves similarly to regular workqueues exce

Re: [PATCH -next 1/3] powerpc: boot: Fix a typo in partial_decompress() comment

2024-04-07 Thread Michael Ellerman
Yang Li writes: > This commit adds kernel-doc style comments with complete parameter > descriptions for the function partial_decompress(). This change log doesn't match the subject or the patch. cheers > Signed-off-by: Yang Li > --- > arch/powerpc/boot/decompress.c | 2 +- > 1 file changed, 1

Re: [PATCH] MAINTAINERS: Drop Li Yang as their email address stopped working

2024-04-07 Thread Michael Ellerman
Uwe Kleine-König writes: > When sending a patch to (among others) Li Yang the nxp MTA replied that > the address doesn't exist and so the mail couldn't be delivered. The > error code was 550, so at least technically that's not a temporal issue. > > Signed-off-by: Uwe Kleine-König > --- > Hello, >

Re: [PATCH] KVM: PPC: Book3S HV nestedv2: Cancel pending HDEC exception

2024-04-07 Thread Michael Ellerman
Thorsten Leemhuis writes: > On 05.04.24 05:20, Michael Ellerman wrote: >> "Linux regression tracking (Thorsten Leemhuis)" >> writes: >>> Hi, Thorsten here, the Linux kernel's regression tracker. Top-posting >>> for once, to make this easily accessible to everyone. >>> >>> Was this regression ever

[PATCH v2] Add static_key_feature_checks_initialized flag

2024-04-07 Thread Nicholas Miehlbradt
JUMP_LABEL_FEATURE_CHECK_DEBUG used static_key_intialized to determine whether {cpu,mmu}_has_feature() is used before static keys were initialized. However, {cpu,mmu}_has_feature() should not be used before setup_feature_keys() is called but static_key_initialized is set well before this by the cal

Re: [PATCH] serial/pmac_zilog: Remove flawed mitigation for rx irq flood

2024-04-07 Thread Michael Ellerman
Finn Thain writes: > On Fri, 5 Apr 2024, Michael Ellerman wrote: >> >> > > --- >> >> > (here is a good location for Cc:) >> >> >> >> Documentation/process/submitting-patches.rst indicats that it should >> >> be above the "---" separator together with Acked-by etc. Has this >> >> convention chang

Re: [PATCH v2] serial/pmac_zilog: Remove flawed mitigation for rx irq flood

2024-04-07 Thread Michael Ellerman
Finn Thain writes: > On Fri, 5 Apr 2024, Michael Ellerman wrote: > >> I assume you have tested this on an actual pmac, as well as qemu? >> > > I tested the patched driver and its console functionality using Zilog SCC > hardware in a Mac IIci, as well as QEMU's q800 virtual machine. > > That shou

[PATCH -next 3/3 v2] powerpc/rtas: Add kernel-doc comments to smp_startup_cpu()

2024-04-07 Thread Yang Li
This commit adds kernel-doc style comments with complete parameter descriptions for the function smp_startup_cpu(). Signed-off-by: Yang Li --- arch/powerpc/platforms/cell/smp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/platforms/cell/smp.c b/arch/powerpc/platforms/cell/sm

[PATCH -next 2/3 v2] powerpc: Fix kernel-doc comments in fsl_gtm.c

2024-04-07 Thread Yang Li
Fix some function names in kernel-doc comments. Signed-off-by: Yang Li --- arch/powerpc/sysdev/fsl_gtm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/sysdev/fsl_gtm.c b/arch/powerpc/sysdev/fsl_gtm.c index 39186ad6b3c3..3dabc9621810 100644 --- a/arch/powe

Re: [PATCH] serial/pmac_zilog: Remove flawed mitigation for rx irq flood

2024-04-07 Thread Jiri Slaby
On 08. 04. 24, 7:29, Michael Ellerman wrote: Many maintainers won't drop Cc: tags if they are there in the submitted patch. So I agree with Andy that we should encourage folks not to add them in the first place. But fix the docs first. I am personally not biased to any variant (as in: I don't

Re: [PATCH] serial/pmac_zilog: Remove flawed mitigation for rx irq flood

2024-04-07 Thread Jiri Slaby
On 08. 04. 24, 7:32, Jiri Slaby wrote: On 08. 04. 24, 7:29, Michael Ellerman wrote: Many maintainers won't drop Cc: tags if they are there in the submitted patch. So I agree with Andy that we should encourage folks not to add them in the first place. But fix the docs first. I am personally no

Re: [PATCH] serial/pmac_zilog: Remove flawed mitigation for rx irq flood

2024-04-07 Thread Greg Kroah-Hartman
On Mon, Apr 08, 2024 at 07:37:22AM +0200, Jiri Slaby wrote: > On 08. 04. 24, 7:32, Jiri Slaby wrote: > > On 08. 04. 24, 7:29, Michael Ellerman wrote: > > > Many maintainers won't drop Cc: tags if they are there in the submitted > > > patch. So I agree with Andy that we should encourage folks not to

Re: [PATCH 4/4] mm: replace set_pte_at_notify() with just set_pte_at()

2024-04-07 Thread Philippe Mathieu-Daudé
On 5/4/24 13:58, Paolo Bonzini wrote: With the demise of the .change_pte() MMU notifier callback, there is no notification happening in set_pte_at_notify(). It is a synonym of set_pte_at() and can be replaced with it. Signed-off-by: Paolo Bonzini --- include/linux/mmu_notifier.h | 2 -- ker

Re: [PATCH 2/4] KVM: remove unused argument of kvm_handle_hva_range()

2024-04-07 Thread Philippe Mathieu-Daudé
On 5/4/24 13:58, Paolo Bonzini wrote: The only user was kvm_mmu_notifier_change_pte(), which is now gone. Signed-off-by: Paolo Bonzini --- virt/kvm/kvm_main.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) Reviewed-by: Philippe Mathieu-Daudé