Re: [PATCH 04/12] mm: Allow compound zone device pages

2024-09-10 Thread Alistair Popple
Matthew Wilcox writes: > On Tue, Sep 10, 2024 at 02:14:29PM +1000, Alistair Popple wrote: >> @@ -337,6 +341,7 @@ struct folio { >> /* private: */ >> }; >> /* public: */ >> +struct dev_pagemap *pgmap; > > Shouldn't that be indented by on

Re: [PATCH] powerpc/ftrace: restore r2 to caller's stack on livepatch sibling call

2024-09-10 Thread Michael Ellerman
"Ryan B. Sullivan" writes: > Hello all, > > Just wanted to ping and see if there was any further feedback or > questions regarding the patch? Hi Ryan, I'd really like a selftest that triggers the sibling call behaviour. As I said upthread I tried writing one but failed. Which you later explaine

Re: [PATCH v2] powerpc/pseries/eeh: Fix pseries_eeh_err_inject

2024-09-10 Thread Michael Ellerman
Narayana Murty N writes: > On 05/09/24 6:33 PM, Michael Ellerman wrote: >> Narayana Murty N writes: >>> VFIO_EEH_PE_INJECT_ERR ioctl is currently failing on pseries >>> due to missing implementation of err_inject eeh_ops for pseries. >>> This patch implements pseries_eeh_err_inject in eeh_ops/pse

Re: No rule to make target 'arch/powerpc/boot/dtbImage.ps3', needed by 'arch/powerpc/boot/zImage'.

2024-09-10 Thread Christophe Leroy
Le 09/09/2024 à 21:25, Naresh Kamboju a écrit : The Powerpc cell_defconfig and mpc83xx_defconfig builds failed on the Linux next-20240909 due to following build warnings / errors with gcc-13 and clang-19. First seen on next-20240909 Good: next-20240906 BAD: next-20240909 Reported-by:

Re: [PATCH RFC v3 1/2] mm: Add personality flag to limit address to 47 bits

2024-09-10 Thread Arnd Bergmann
On Mon, Sep 9, 2024, at 23:22, Charlie Jenkins wrote: > On Fri, Sep 06, 2024 at 10:52:34AM +0100, Lorenzo Stoakes wrote: >> On Fri, Sep 06, 2024 at 09:14:08AM GMT, Arnd Bergmann wrote: >> The intent is to optionally be able to run a process that keeps higher bits >> free for tagging and to be sure

Re: [PATCH RFC v3 1/2] mm: Add personality flag to limit address to 47 bits

2024-09-10 Thread Christophe Leroy
diff --git a/include/uapi/linux/personality.h b/include/uapi/linux/personality.h index 49796b7756af..cd3b8c154d9b 100644 --- a/include/uapi/linux/personality.h +++ b/include/uapi/linux/personality.h @@ -22,6 +22,7 @@ enum { WHOLE_SECONDS = 0x200, STICKY_TIMEOUTS =

Re: [PATCH RFC v3 1/2] mm: Add personality flag to limit address to 47 bits

2024-09-10 Thread Geert Uytterhoeven
Hi Christophe, On Tue, Sep 10, 2024 at 11:21 AM Christophe Leroy wrote: > >>> diff --git a/include/uapi/linux/personality.h > >>> b/include/uapi/linux/personality.h > >>> index 49796b7756af..cd3b8c154d9b 100644 > >>> --- a/include/uapi/linux/personality.h > >>> +++ b/include/uapi/linux/personali

Re: [PATCH 04/12] mm: Allow compound zone device pages

2024-09-10 Thread Matthew Wilcox
On Tue, Sep 10, 2024 at 04:57:41PM +1000, Alistair Popple wrote: > > Matthew Wilcox writes: > > > On Tue, Sep 10, 2024 at 02:14:29PM +1000, Alistair Popple wrote: > >> @@ -337,6 +341,7 @@ struct folio { > >>/* private: */ > >>}; > >>/* public: */ > >> +

Re: [PATCH 02/12] pci/p2pdma: Don't initialise page refcount to one

2024-09-10 Thread Bjorn Helgaas
In subject: PCI/P2PDMA: ... would match previous history. On Tue, Sep 10, 2024 at 02:14:27PM +1000, 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

Re: [PATCH] powerpc/ftrace: restore r2 to caller's stack on livepatch sibling call

2024-09-10 Thread Ryan B. Sullivan
On Tue, Sep 10, 2024 at 05:21:57PM +1000, Michael Ellerman wrote: > "Ryan B. Sullivan" writes: > > Hello all, > > > > Just wanted to ping and see if there was any further feedback or > > questions regarding the patch? > Hi Michael, Thank you for the update. > Hi Ryan, > > I'd really like a se

Re: [PATCH RFC v3 1/2] mm: Add personality flag to limit address to 47 bits

2024-09-10 Thread Liam R. Howlett
* Catalin Marinas [240906 07:44]: > On Fri, Sep 06, 2024 at 09:55:42AM +, Arnd Bergmann wrote: > > On Fri, Sep 6, 2024, at 09:14, Guo Ren wrote: > > > On Fri, Sep 6, 2024 at 3:18 PM Arnd Bergmann wrote: > > >> It's also unclear to me how we want this flag to interact with > > >> the existing

Re: [Patch v5 02/12] dt-bindings: dma: Add lpc32xx DMA mux binding

2024-09-10 Thread Rob Herring (Arm)
On Thu, 27 Jun 2024 17:00:20 +0200, Piotr Wojtaszczyk wrote: > LPC32XX SoCs use pl080 dma controller which have few request signals > multiplexed between peripherals. This binding describes how devices can > use the multiplexed request signals. > > Signed-off-by: Piotr Wojtaszczyk > --- > Changes

Re: [PATCH RFC v3 1/2] mm: Add personality flag to limit address to 47 bits

2024-09-10 Thread Charlie Jenkins
On Tue, Sep 10, 2024 at 09:13:33AM +, Arnd Bergmann wrote: > On Mon, Sep 9, 2024, at 23:22, Charlie Jenkins wrote: > > On Fri, Sep 06, 2024 at 10:52:34AM +0100, Lorenzo Stoakes wrote: > >> On Fri, Sep 06, 2024 at 09:14:08AM GMT, Arnd Bergmann wrote: > >> The intent is to optionally be able to r

Re: [kvm-unit-tests PATCH v2 1/4] riscv: Drop mstrict-align

2024-09-10 Thread Nicholas Piggin
On Wed Sep 4, 2024 at 8:50 PM AEST, Andrew Jones wrote: > The spec says unaligned accesses are supported, so this isn't required > and clang doesn't support it. A platform might have slow unaligned > accesses, but kvm-unit-tests isn't about speed anyway. > > Reviewed-by: Thomas Huth > Signed-off-b

Re: [kvm-unit-tests PATCH v2 2/4] Makefile: Prepare for clang EFI builds

2024-09-10 Thread Nicholas Piggin
On Wed Sep 4, 2024 at 8:50 PM AEST, Andrew Jones wrote: > clang complains about GNU extensions such as variable sized types not > being at the end of structs unless -Wno-gnu is used. We may > eventually want -Wno-gnu, but for now let's just handle the warnings > as they come. Add -Wno-gnu-variable-

Re: [kvm-unit-tests PATCH v2 3/4] configure: Support cross compiling with clang

2024-09-10 Thread Nicholas Piggin
On Wed Sep 4, 2024 at 8:50 PM AEST, Andrew Jones wrote: > When a user specifies the compiler with --cc assume it's already > fully named, even if the user also specifies a cross-prefix. This > allows clang to be selected for the compiler, which doesn't use > prefixes, but also still provide a cross

Re: [kvm-unit-tests PATCH v2 4/4] riscv: gitlab-ci: Add clang build tests

2024-09-10 Thread Nicholas Piggin
On Wed Sep 4, 2024 at 8:50 PM AEST, Andrew Jones wrote: > Test building 32 and 64-bit with clang. Throw a test of in- and out- > of-tree building in too by swapping which is done to which (32-bit > vs. 64-bit) with respect to the gcc build tests. > Acked-by: Nicholas Piggin > Acked-by: Thomas Hut

Re: [kvm-unit-tests PATCH 1/2] configure: Introduce add-config

2024-09-10 Thread Nicholas Piggin
On Wed Sep 4, 2024 at 12:39 AM AEST, Andrew Jones wrote: > Allow users to add additional CONFIG_* and override defaults > by concatenating a given file with #define's and #undef's to > lib/config.h That's a horrible config format lol, but probbaly the simplest way to get something working. What if

Re: [PATCH RFC v3 1/2] mm: Add personality flag to limit address to 47 bits

2024-09-10 Thread Charlie Jenkins
On Tue, Sep 10, 2024 at 03:08:14PM -0400, Liam R. Howlett wrote: > * Catalin Marinas [240906 07:44]: > > On Fri, Sep 06, 2024 at 09:55:42AM +, Arnd Bergmann wrote: > > > On Fri, Sep 6, 2024, at 09:14, Guo Ren wrote: > > > > On Fri, Sep 6, 2024 at 3:18 PM Arnd Bergmann wrote: > > > >> It's als

Re: [PATCH 02/12] pci/p2pdma: Don't initialise page refcount to one

2024-09-10 Thread Alistair Popple
>> diff --git a/drivers/pci/p2pdma.c b/drivers/pci/p2pdma.c >> index 4f47a13..210b9f4 100644 >> --- a/drivers/pci/p2pdma.c >> +++ b/drivers/pci/p2pdma.c >> @@ -129,6 +129,12 @@ static int p2pmem_alloc_mmap(struct file *filp, struct >> kobject *kobj, >> } >> >> /* >> + * Initialis

Re: [PATCH 02/12] pci/p2pdma: Don't initialise page refcount to one

2024-09-10 Thread Logan Gunthorpe
On 2024-09-09 22:14, 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 currently > the case for MEMORY_DEVICE_PRIVATE and MEMORY

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

2024-09-10 Thread Anna-Maria Behnsen
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, that the documentation is outdated and the implemented

[PATCH v2 13/15] powerpc/rtas: Use fsleep() to minimize additional sleep duration

2024-09-10 Thread Anna-Maria Behnsen
When commit 38f7b7067dae ("powerpc/rtas: rtas_busy_delay() improvements") was introduced, documentation about proper usage of sleep realted functions was outdated. The commit message references the usage of a HZ=100 system. When using a 20ms sleep duration on such a system and therefore using msle