Re: [PATCH v2] mm: z3fold: deprecate CONFIG_Z3FOLD

2024-09-16 Thread Christoph Hellwig
I'd still prefer to just kill it right away, but as the second best option I'm ok with this: Acked-by: Christoph Hellwig

Re: [PowerPC][Linux-next][6.11.0-rc4-next-20240820] OOPs while running LTP FS Stress

2024-09-16 Thread Peter Zijlstra
On Mon, Sep 16, 2024 at 12:00:52PM +0530, Venkat Rao Bagalkote wrote: > I am seeing below kernel crash from 6.11.0-rc4-next-20240820. 0820 is almost a month old by now, did you verify if the same happens on a recent kernel? We did fix a bunch of issues around this.

[PATCH] powerpc/atomic: Use YZ constraints for DS-form instructions

2024-09-16 Thread Michael Ellerman
The 'ld' and 'std' instructions require a 4-byte aligned displacement because they are DS-form instructions. But the "m" asm constraint doesn't enforce that. That can lead to build errors if the compiler chooses a non-aligned displacement, as seen with GCC 14: /tmp/ccuSzwiR.s: Assembler message

[RFC PATCH v3 0/3] genirq/cpuhotplug: Adjust managed interrupts according to change of housekeeping cpumask

2024-09-16 Thread Costa Shulyupin
The housekeeping CPU masks, set up by the "isolcpus" and "nohz_full" boot command line options, are used at boot time to exclude selected CPUs from running some kernel housekeeping subsystems to minimize disturbance to latency sensitive userspace applications such as DPDK. This options can only be

[RFC PATCH v3 1/3] sched/isolation: Add infrastructure for dynamic CPU isolation

2024-09-16 Thread Costa Shulyupin
Introduce infrastructure function housekeeping_update() to change housekeeping_cpumask during runtime and adjust configurations of depended subsystems. Configuration adjustments of subsystems follow in subsequent patches. Parent patch: sched/isolation: Exclude dynamically isolated CPUs from house

[RFC PATCH v3 2/3] genirq/cpuhotplug: Adjust managed irqs according to change of housekeeping CPU

2024-09-16 Thread Costa Shulyupin
Interrupts disturb real-time tasks on affined cpus. To ensure CPU isolation for real-time tasks, interrupt handling must be adjusted accordingly. Non-managed interrupts can be configured from userspace, while managed interrupts require adjustments in kernelspace. Adjust status of managed interrupt

[RFC PATCH v3 3/3] DO NOT MERGE: test for managed irqs adjustment

2024-09-16 Thread Costa Shulyupin
shell script for testing managed interrupts status adjustments. Targets: managed_irq_affinity_adjust(), irq_restore_affinity_of_irq(), managed_irq_isolate() Managed interrupts can be created in various ways. One of them: 1. create qcow2 image 2. run virtme-ng -v --cpus 4 --rw --user r

Re: [PowerPC][Linux-next][6.11.0-rc4-next-20240820] OOPs while running LTP FS Stress

2024-09-16 Thread Venkat Rao Bagalkote
Yes, Issue is still seen. Latest seen was on 6.11.0-rc7-next-20240910. I am re-attempting Git Bisect. Will update the results, once I am done. On 16/09/24 5:00 pm, Peter Zijlstra wrote: On Mon, Sep 16, 2024 at 12:00:52PM +0530, Venkat Rao Bagalkote wrote: I am seeing below kernel crash from 6

Re: [PATCH] powerpc/atomic: Use YZ constraints for DS-form instructions

2024-09-16 Thread Mina Almasry
On Mon, Sep 16, 2024 at 5:05 AM Michael Ellerman wrote: > > The 'ld' and 'std' instructions require a 4-byte aligned displacement > because they are DS-form instructions. But the "m" asm constraint > doesn't enforce that. > > That can lead to build errors if the compiler chooses a non-aligned > di

Re: [PATCH net-next v3 4/8] net: ethernet: fs_enet: only protect the .restart() call in .adjust_link

2024-09-16 Thread Russell King (Oracle)
On Wed, Sep 04, 2024 at 07:18:17PM +0200, Maxime Chevallier wrote: > /* generic link-change handler - should be sufficient for most cases */ > -static void generic_adjust_link(struct net_device *dev) > +static void fs_adjust_link(struct net_device *dev) As you're changing the function name, I t

Re: [PATCH v2 00/15] timers: Cleanup delay/sleep related mess

2024-09-16 Thread Christophe JAILLET
Le 11/09/2024 à 07:13, Anna-Maria Behnsen a écrit : Hi, a question about which sleeping function should be used in acpi_os_sleep() started a discussion and examination about the existing documentation and implementation of functions which insert a sleep/delay. The result of the discussion was,

[PATCH] powerpc/perf: Use guard(irqsave)() in eight functions

2024-09-16 Thread Markus Elfring
From: Markus Elfring Date: Mon, 16 Sep 2024 19:25:00 +0200 Scope-based resource management became supported for some programming interfaces by contributions of Peter Zijlstra on 2023-05-26. See also the commit 54da6a0924311c7cf5015533991e44fb8eb12773 ("locking: Introduce __cleanup() based infrast

[PATCH] powerpc/pseries/iommu: Wait until all TCEs are unmapped before deleting DDW

2024-09-16 Thread Gaurav Batra
Some of the network drivers, like Mellanox, use core linux page_pool APIs to manage DMA buffers. These page_pool APIs cache DMA buffers with infrequent map/unmap calls for DMA mappings, thus increasing performance. When a device is initialized, the drivers makes a call to the page_pool API to crea

Re: [PATCH v5 17/17] powerpc64/bpf: Add support for bpf trampolines

2024-09-16 Thread kernel test robot
Hi Hari, kernel test robot noticed the following build warnings: [auto build test WARNING on powerpc/next] [also build test WARNING on powerpc/fixes masahiroy-kbuild/for-next masahiroy-kbuild/fixes linus/master v6.11 next-20240916] [If your patch is applied to the wrong git tree, kindly drop us

[PATCH 07/19] soc/qman: test: Use kthread_run_on_cpu()

2024-09-16 Thread Frederic Weisbecker
Use the proper API instead of open coding it. However it looks like kthreads here could be replaced by the use of a per-cpu workqueue instead. Signed-off-by: Frederic Weisbecker --- drivers/soc/fsl/qbman/qman_test_stash.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a

Re: [PATCH] powerpc/atomic: Use YZ constraints for DS-form instructions

2024-09-16 Thread Michael Ellerman
Mina Almasry writes: > On Mon, Sep 16, 2024 at 5:05 AM Michael Ellerman wrote: >> >> The 'ld' and 'std' instructions require a 4-byte aligned displacement >> because they are DS-form instructions. But the "m" asm constraint >> doesn't enforce that. >> >> That can lead to build errors if the compi

Re: [PATCH v3 2/5] perf: Hoist perf_instruction_pointer() and perf_misc_flags()

2024-09-16 Thread Madhavan Srinivasan
On 9/13/24 2:21 AM, Colton Lewis wrote: For clarity, rename the arch-specific definitions of these functions to perf_arch_* to denote they are arch-specifc. Define the generic-named functions in one place where they can call the arch-specific ones as needed. Signed-off-by: Colton Lewis ---

Re: [PATCH v2 00/15] timers: Cleanup delay/sleep related mess

2024-09-16 Thread Christophe JAILLET
Le 16/09/2024 à 22:20, Christophe JAILLET a écrit : Le 11/09/2024 à 07:13, Anna-Maria Behnsen a écrit : Hi, a question about which sleeping function should be used in acpi_os_sleep() started a discussion and examination about the existing documentation and implementation of functions which