Re: [PATCH v3 11/25] mm: Allow compound zone device pages

2024-11-24 Thread kernel test robot
Hi Alistair, kernel test robot noticed the following build errors: [auto build test ERROR on 81983758430957d9a5cbfe324fd70cf63e7e] url: https://github.com/intel-lab-lkp/linux/commits/Alistair-Popple/fuse-Fix-dax-truncate-punch_hole-fault-path/20241125-094004 base: 81983758430957d9a5cb3

[PATCH 2/3] powerpc: support dynamic preemption

2024-11-24 Thread Shrikanth Hegde
Once the lazy preemption is supported, it would be desirable to change the preemption models at runtime. So this change adds support for dynamic preemption using DYNAMIC_KEY. In irq-exit to kernel path, use preempt_model_preemptible for decision. Other way would be using static key based decision.

[PATCH 3/3] powerpc: print right preemption model in die

2024-11-24 Thread Shrikanth Hegde
Preemption models can change at runtime with dynamic preemption in place. So need to use the right methods instead of relying on CONFIG_PREEMPT to decide whether its full preemption or not. While there, fix it to print preemption model correctly. Signed-off-by: Shrikanth Hegde --- arch/powe

[PATCH 1/3] powerpc: copy preempt.h into arch/include/asm

2024-11-24 Thread Shrikanth Hegde
PowerPC uses asm-generic preempt definitions as of now. Copy that into arch/asm so that arch specific changes can be done. This would help the next patch for enabling dynamic preemption. No functional changes intended. Signed-off-by: Shrikanth Hegde --- arch/powerpc/include/asm/preempt.h | 100

[PATCH 0/3] powerpc: Enable dynamic preemption

2024-11-24 Thread Shrikanth Hegde
Once the lazy preemption is supported, it makes sense to enable dynamic preemption. One can change the preemption model without changing the kernel. Overheads of dynamic preemption seems reasonable for some of the workloads. Tested with db2 database workload, unixbench, schbench and hackbench. Ex

Re: [PATCH v2 2/2] PCI/AER: Report fatal errors of RCiEP and EP if link recoverd

2024-11-24 Thread Shuai Xue
在 2024/11/17 21:36, Shuai Xue 写道: 在 2024/11/16 20:44, Shuai Xue 写道: 在 2024/11/16 04:20, Bowman, Terry 写道: Hi Shuai, On 11/12/2024 7:54 AM, Shuai Xue wrote: The AER driver has historically avoided reading the configuration space of an endpoint or RCiEP that reported a fatal error, cons

Re: [PATCH v3 10/25] pci/p2pdma: Don't initialise page refcount to one

2024-11-24 Thread Alistair Popple
Bjorn Helgaas writes: > On Fri, Nov 22, 2024 at 12:40:31PM +1100, Alistair Popple wrote: >> The reference counts for ZONE_DEVICE private pages should be >> initialised by the driver when the page is actually allocated by the >> driver allocator, not when they are first created. This is currentl

Re: [PATCH v3 2/6] x86/uaccess: Avoid barrier_nospec() in 64-bit __get_user()

2024-11-24 Thread Linus Torvalds
On Sun, 24 Nov 2024 at 08:11, David Laight wrote: > > Is there an 'unsafe_get_user_nofault()' that uses a trap handler > that won't fault in a page? Nope. I was thinking about the same thing, but we actually don't look up the fault handler early - we only do it at failure time. So the pagefault_

[PATCH AUTOSEL 6.12 036/107] net: ethernet: fs_enet: Use %pa to format resource_size_t

2024-11-24 Thread Sasha Levin
From: Simon Horman [ Upstream commit 45fe45fada261e1e83fce2a07fa22835aec1cf0a ] The correct format string for resource_size_t is %pa which acts on the address of the variable to be formatted [1]. [1] https://elixir.bootlin.com/linux/v6.11.3/source/Documentation/core-api/printk-formats.rst#L229

[PATCH AUTOSEL 6.11 30/87] net: ethernet: fs_enet: Use %pa to format resource_size_t

2024-11-24 Thread Sasha Levin
From: Simon Horman [ Upstream commit 45fe45fada261e1e83fce2a07fa22835aec1cf0a ] The correct format string for resource_size_t is %pa which acts on the address of the variable to be formatted [1]. [1] https://elixir.bootlin.com/linux/v6.11.3/source/Documentation/core-api/printk-formats.rst#L229

[PATCH AUTOSEL 6.6 17/61] net: ethernet: fs_enet: Use %pa to format resource_size_t

2024-11-24 Thread Sasha Levin
From: Simon Horman [ Upstream commit 45fe45fada261e1e83fce2a07fa22835aec1cf0a ] The correct format string for resource_size_t is %pa which acts on the address of the variable to be formatted [1]. [1] https://elixir.bootlin.com/linux/v6.11.3/source/Documentation/core-api/printk-formats.rst#L229

[PATCH AUTOSEL 6.1 13/48] net: ethernet: fs_enet: Use %pa to format resource_size_t

2024-11-24 Thread Sasha Levin
From: Simon Horman [ Upstream commit 45fe45fada261e1e83fce2a07fa22835aec1cf0a ] The correct format string for resource_size_t is %pa which acts on the address of the variable to be formatted [1]. [1] https://elixir.bootlin.com/linux/v6.11.3/source/Documentation/core-api/printk-formats.rst#L229

[PATCH AUTOSEL 5.4 06/28] net: ethernet: fs_enet: Use %pa to format resource_size_t

2024-11-24 Thread Sasha Levin
From: Simon Horman [ Upstream commit 45fe45fada261e1e83fce2a07fa22835aec1cf0a ] The correct format string for resource_size_t is %pa which acts on the address of the variable to be formatted [1]. [1] https://elixir.bootlin.com/linux/v6.11.3/source/Documentation/core-api/printk-formats.rst#L229

[PATCH AUTOSEL 5.15 08/36] net: ethernet: fs_enet: Use %pa to format resource_size_t

2024-11-24 Thread Sasha Levin
From: Simon Horman [ Upstream commit 45fe45fada261e1e83fce2a07fa22835aec1cf0a ] The correct format string for resource_size_t is %pa which acts on the address of the variable to be formatted [1]. [1] https://elixir.bootlin.com/linux/v6.11.3/source/Documentation/core-api/printk-formats.rst#L229

[PATCH AUTOSEL 5.10 08/33] net: ethernet: fs_enet: Use %pa to format resource_size_t

2024-11-24 Thread Sasha Levin
From: Simon Horman [ Upstream commit 45fe45fada261e1e83fce2a07fa22835aec1cf0a ] The correct format string for resource_size_t is %pa which acts on the address of the variable to be formatted [1]. [1] https://elixir.bootlin.com/linux/v6.11.3/source/Documentation/core-api/printk-formats.rst#L229

[PATCH AUTOSEL 4.19 04/21] net: ethernet: fs_enet: Use %pa to format resource_size_t

2024-11-24 Thread Sasha Levin
From: Simon Horman [ Upstream commit 45fe45fada261e1e83fce2a07fa22835aec1cf0a ] The correct format string for resource_size_t is %pa which acts on the address of the variable to be formatted [1]. [1] https://elixir.bootlin.com/linux/v6.11.3/source/Documentation/core-api/printk-formats.rst#L229

[PATCH] docs: ABI: sysfs-bus-event_source-devices-vpa-pmu: Fix htmldocs errors

2024-11-24 Thread Michael Ellerman
Fix errors during `make htmldocs`, eg: Documentation/ABI/testing/sysfs-bus-event_source-devices-vpa-pmu:2: ERROR: Unexpected indentation. Fixes: 4ae0b32ecee7 ("docs: ABI: sysfs-bus-event_source-devices-vpa-pmu: Document sysfs event format entries for vpa_pmu") Reported-by: Stephen Rothwell C

RE: [PATCH v3 2/6] x86/uaccess: Avoid barrier_nospec() in 64-bit __get_user()

2024-11-24 Thread David Laight
From: Linus Torvalds > Sent: 22 November 2024 19:35 > > On Fri, 22 Nov 2024 at 11:13, Linus Torvalds > wrote: > > > > I've only compiled it so far, about to actually boot into it. > > Looks fine. Sent out a proper patch with commit message etc at > > > https://lore.kernel.org/all/2024112219

Re: linux-next: manual merge of the powerpc tree with the kbuild tree

2024-11-24 Thread Stephen Rothwell
Hi all, On Wed, 13 Nov 2024 09:52:28 +1100 Stephen Rothwell wrote: > > Today's linux-next merge of the powerpc tree got a conflict in: > > arch/powerpc/Makefile > > between commit: > > de51342c5157 ("kbuild: add $(objtree)/ prefix to some in-kernel build > artifacts") > > from the kbuil

Re: [PATCH -next] powerpc/machdep: Remove duplicated include in svm.c

2024-11-24 Thread Christophe Leroy
Le 07/11/2024 à 12:29, Michael Ellerman a écrit : Yang Li writes: The header files linux/mem_encrypt.h is included twice in svm.c, so one inclusion of each can be removed. Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=11750 Signed-off-by: Yang Li --- ar