Re: [PATCH 3/3] mm: rmap: Fix CONT-PTE/PMD size hugetlb issue when unmapping

2022-05-02 Thread Baolin Wang
On 5/2/2022 10:02 PM, Gerald Schaefer wrote: On Sat, 30 Apr 2022 11:22:33 +0800 Baolin Wang wrote: On 4/30/2022 4:02 AM, Gerald Schaefer wrote: On Fri, 29 Apr 2022 16:14:43 +0800 Baolin Wang wrote: On some architectures (like ARM64), it can support CONT-PTE/PMD size hugetlb, which

Re: [PATCH] kbuild: drop $(objtree)/ prefix support for clean-files

2022-05-02 Thread Masahiro Yamada
On Sun, May 1, 2022 at 8:57 PM Michael Ellerman wrote: > > Masahiro Yamada writes: > > I think this hack is a bad idea. arch/powerpc/boot/Makefile is the > > only user. Let's stop doing this. > > > > Signed-off-by: Masahiro Yamada > > --- > > > > arch/powerpc/boot/Makefile | 4 ++-- > >

Re: [PATCH] POWERPC: idle: fix return value of __setup handler

2022-05-02 Thread Michael Ellerman
Randy Dunlap writes: > On 5/2/22 06:19, Michael Ellerman wrote: >> Randy Dunlap writes: >>> __setup() handlers should return 1 to obsolete_checksetup() in >>> init/main.c to indicate that the boot option has been handled. >>> A return of 0 causes the boot option/value to be listed as an Unknown

[PATCH for v5.10] perf symbol: Remove arch__symbols__fixup_end()

2022-05-02 Thread Namhyung Kim
Now the generic code can handle kallsyms fixup properly so no need to keep the arch-functions anymore. Signed-off-by: Namhyung Kim Acked-by: Ian Rogers Cc: Heiko Carstens Cc: Ingo Molnar Cc: Jiri Olsa Cc: John Garry Cc: Leo Yan Cc: Mark Rutland Cc: Masami Hiramatsu Cc: Mathieu Poirier

[PATCH for v5.15] perf symbol: Remove arch__symbols__fixup_end()

2022-05-02 Thread Namhyung Kim
Now the generic code can handle kallsyms fixup properly so no need to keep the arch-functions anymore. Signed-off-by: Namhyung Kim Acked-by: Ian Rogers Cc: Heiko Carstens Cc: Ingo Molnar Cc: Jiri Olsa Cc: John Garry Cc: Leo Yan Cc: Mark Rutland Cc: Masami Hiramatsu Cc: Mathieu Poirier

Re: [PATCH] powerpc/vdso: Fix incorrect CFI in gettimeofday.S

2022-05-02 Thread Alan Modra
On Mon, May 02, 2022 at 09:27:05AM -0500, Segher Boessenkool wrote: > > 2) If a function changes LR or any non-volatile register, the save > > location for those regs must be given. The cfi can be at any > > instruction after the saves up to the point that the reg is > > changed.

Re: [PATCH 2/2] recordmcount: Handle sections with no non-weak symbols

2022-05-02 Thread Steven Rostedt
On Mon, 2 May 2022 14:44:56 + Christophe Leroy wrote: > If we do that after the linking, won't it be a nightmare with the > trampolines installed by the linker when the destination is over the 24 > bits limit ? Not sure what you mean. The locations I'm talking about is the full address

Patch "perf symbol: Update symbols__fixup_end()" has been added to the 5.17-stable tree

2022-05-02 Thread gregkh
This is a note to let you know that I've just added the patch titled perf symbol: Update symbols__fixup_end() to the 5.17-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

Patch "perf symbol: Remove arch__symbols__fixup_end()" has been added to the 5.17-stable tree

2022-05-02 Thread gregkh
This is a note to let you know that I've just added the patch titled perf symbol: Remove arch__symbols__fixup_end() to the 5.17-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

Patch "perf symbol: Pass is_kallsyms to symbols__fixup_end()" has been added to the 5.17-stable tree

2022-05-02 Thread gregkh
This is a note to let you know that I've just added the patch titled perf symbol: Pass is_kallsyms to symbols__fixup_end() to the 5.17-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

Patch "perf symbol: Update symbols__fixup_end()" has been added to the 5.15-stable tree

2022-05-02 Thread gregkh
This is a note to let you know that I've just added the patch titled perf symbol: Update symbols__fixup_end() to the 5.15-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

Patch "perf symbol: Update symbols__fixup_end()" has been added to the 5.10-stable tree

2022-05-02 Thread gregkh
This is a note to let you know that I've just added the patch titled perf symbol: Update symbols__fixup_end() to the 5.10-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

Patch "perf symbol: Pass is_kallsyms to symbols__fixup_end()" has been added to the 5.15-stable tree

2022-05-02 Thread gregkh
This is a note to let you know that I've just added the patch titled perf symbol: Pass is_kallsyms to symbols__fixup_end() to the 5.15-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

Patch "perf symbol: Pass is_kallsyms to symbols__fixup_end()" has been added to the 5.10-stable tree

2022-05-02 Thread gregkh
This is a note to let you know that I've just added the patch titled perf symbol: Pass is_kallsyms to symbols__fixup_end() to the 5.10-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

Re: [PATCH 06/30] soc: bcm: brcmstb: Document panic notifier action and remove useless header

2022-05-02 Thread Guilherme G. Piccoli
On 02/05/2022 12:38, Florian Fainelli wrote: > [...] > Acked-by: Florian Fainelli > > Likewise, I am not sure if the Fixes tag is necessary here. Perfect Florian, thanks! I'll add your Acked-by tag and remove the fixes for V2 =) Cheers, Guilherme

Re: [PATCH 06/30] soc: bcm: brcmstb: Document panic notifier action and remove useless header

2022-05-02 Thread Florian Fainelli
On 4/27/2022 3:49 PM, Guilherme G. Piccoli wrote: The panic notifier of this driver is very simple code-wise, just a memory write to a special position with some numeric code. But this is not clear from the semantic point-of-view, and there is no public documentation about that either. After

Re: [PATCH 15/30] bus: brcmstb_gisb: Clean-up panic/die notifiers

2022-05-02 Thread Florian Fainelli
On 4/27/2022 3:49 PM, Guilherme G. Piccoli wrote: This patch improves the panic/die notifiers in this driver by making use of a passed "id" instead of comparing pointer address; also, it removes an useless prototype declaration and unnecessary header inclusion. This is part of a panic

[PATCH v2] powerpc/4xx: cpm: fix return value of __setup handler

2022-05-02 Thread Randy Dunlap
__setup() handlers should return 1 to obsolete_checksetup() in init/main.c to indicate that the boot option has been handled. A return of 0 causes the boot option/value to be listed as an Unknown kernel parameter and added to init's (limited) argument or environment strings. Also, error return

[PATCH v2] POWERPC: idle: fix return value of __setup handler

2022-05-02 Thread Randy Dunlap
__setup() handlers should return 1 to obsolete_checksetup() in init/main.c to indicate that the boot option has been handled. A return of 0 causes the boot option/value to be listed as an Unknown kernel parameter and added to init's (limited) argument or environment strings. Also, error return

Re: [PATCH] POWERPC: idle: fix return value of __setup handler

2022-05-02 Thread Randy Dunlap
On 5/2/22 11:45, Christophe Leroy wrote: > > > Le 02/05/2022 à 17:50, Randy Dunlap a écrit : >> >> >> On 5/2/22 06:19, Michael Ellerman wrote: >>> Randy Dunlap writes: __setup() handlers should return 1 to obsolete_checksetup() in init/main.c to indicate that the boot option has

Re: [PATCH] POWERPC: idle: fix return value of __setup handler

2022-05-02 Thread Christophe Leroy
Le 02/05/2022 à 17:50, Randy Dunlap a écrit : > > > On 5/2/22 06:19, Michael Ellerman wrote: >> Randy Dunlap writes: >>> __setup() handlers should return 1 to obsolete_checksetup() in >>> init/main.c to indicate that the boot option has been handled. >>> A return of 0 causes the boot

Re: [PATCH kernel] KVM: PPC: Book3s: Retire H_PUT_TCE/etc real mode handlers

2022-05-02 Thread Fabiano Rosas
Alexey Kardashevskiy writes: > diff --git a/arch/powerpc/kvm/book3s_hv_rmhandlers.S > b/arch/powerpc/kvm/book3s_hv_rmhandlers.S > index d185dee26026..44d74bfe05df 100644 > --- a/arch/powerpc/kvm/book3s_hv_rmhandlers.S > +++ b/arch/powerpc/kvm/book3s_hv_rmhandlers.S > @@ -1784,13 +1784,8 @@

Re: [PATCH 15/30] bus: brcmstb_gisb: Clean-up panic/die notifiers

2022-05-02 Thread Guilherme G. Piccoli
On 02/05/2022 12:38, Florian Fainelli wrote: > [...] > > Acked-by: Florian Fainelli > > Not sure if the Fixes tag is warranted however as this is a clean up, > and not really fixing a bug. Perfect, thanks Florian. I'll add your ACK and remove the fixes tag in V2. Cheers, Guilherme

Re: [PATCH] POWERPC: idle: fix return value of __setup handler

2022-05-02 Thread Randy Dunlap
On 5/2/22 06:19, Michael Ellerman wrote: > Randy Dunlap writes: >> __setup() handlers should return 1 to obsolete_checksetup() in >> init/main.c to indicate that the boot option has been handled. >> A return of 0 causes the boot option/value to be listed as an Unknown >> kernel parameter and

Re: Any technical information for Wind River 7457 board?

2022-05-02 Thread Christophe Leroy
Le 28/04/2022 à 19:33, Steven J. Hill a écrit : > Below is the serial output at power on. Does anyone have any information > at all? I know the processor is a single 7457 with Marvell/Galileo > GT64260A host bridge. I think the board was made by Motorola or NXP. It > has been difficult to

Re: [PATCH 2/2] recordmcount: Handle sections with no non-weak symbols

2022-05-02 Thread Christophe Leroy
Le 28/04/2022 à 16:06, Steven Rostedt a écrit : > On Thu, 28 Apr 2022 13:15:22 +0530 > "Naveen N. Rao" wrote: > >> Indeed, plain old -pg will be a problem. I'm not sure there is a generic >> way to address this. I suppose architectures will have to validate the >> mcount locations, something

Re: [PATCH] tty: hvcs: simplify if-if to if-else

2022-05-02 Thread Christophe Leroy
Le 24/04/2022 à 11:13, Wan Jiabing a écrit : > Use if and else instead of if(A) and if (!A) and fix a coding style. > > Signed-off-by: Wan Jiabing Did you run 'checkpatch' on your patch ? Should be if (something) do_something(); else

Re: [PATCH] powerpc/vdso: Fix incorrect CFI in gettimeofday.S

2022-05-02 Thread Segher Boessenkool
Hi! On Mon, May 02, 2022 at 10:50:10PM +1000, Michael Ellerman wrote: > As reported by Alan, the CFI (Call Frame Information) in the VDSO time > routines is incorrect since commit ce7d8056e38b ("powerpc/vdso: Prepare > for switching VDSO to generic C implementation."). > > In particular the

Re: [PATCH -next v4 1/7] x86, powerpc: fix function define in copy_mc_to_user

2022-05-02 Thread Christophe Leroy
Le 20/04/2022 à 05:04, Tong Tiangen a écrit : > x86/powerpc has it's implementation of copy_mc_to_user but not use #define > to declare. > > This may cause problems, for example, if other architectures open > CONFIG_ARCH_HAS_COPY_MC, but want to use copy_mc_to_user() outside the > architecture,

Re: [PATCH 3/3] mm: rmap: Fix CONT-PTE/PMD size hugetlb issue when unmapping

2022-05-02 Thread Gerald Schaefer
On Sat, 30 Apr 2022 11:22:33 +0800 Baolin Wang wrote: > > > On 4/30/2022 4:02 AM, Gerald Schaefer wrote: > > On Fri, 29 Apr 2022 16:14:43 +0800 > > Baolin Wang wrote: > > > >> On some architectures (like ARM64), it can support CONT-PTE/PMD size > >> hugetlb, which means it can support not

Re: [PATCH linux-next] power:pkeys: fix bugon.cocci warnings

2022-05-02 Thread Michael Ellerman
CGEL writes: > From: Jing Yangyang > > Use BUG_ON instead of a if condition followed by BUG. > > ./arch/powerpc/include/asm/book3s/64/pkeys.h:21:2-5:WARNING > Use BUG_ON instead of if condition followed by BUG. > ./arch/powerpc/include/asm/book3s/64/pkeys.h:14:2-5:WARNING > Use BUG_ON instead of

Re: [PATCH] POWERPC: idle: fix return value of __setup handler

2022-05-02 Thread Michael Ellerman
Randy Dunlap writes: > __setup() handlers should return 1 to obsolete_checksetup() in > init/main.c to indicate that the boot option has been handled. > A return of 0 causes the boot option/value to be listed as an Unknown > kernel parameter and added to init's (limited) argument or environment >

[PATCH] powerpc/vdso: Fix incorrect CFI in gettimeofday.S

2022-05-02 Thread Michael Ellerman
As reported by Alan, the CFI (Call Frame Information) in the VDSO time routines is incorrect since commit ce7d8056e38b ("powerpc/vdso: Prepare for switching VDSO to generic C implementation."). In particular the changes to the frame address register (r1) are not properly described, which prevents

[Bug 215389] pagealloc: memory corruption at building glibc-2.33 and running its' testsuite

2022-05-02 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=215389 --- Comment #15 from Erhard F. (erhar...@mailbox.org) --- It definitively still happens with the default values. Can test with the reduced CONFIG_LOWMEM_SIZE next week and report back. -- You may reply to this email to add a comment. You are

[Bug 215389] pagealloc: memory corruption at building glibc-2.33 and running its' testsuite

2022-05-02 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=215389 --- Comment #14 from Christophe Leroy (christophe.le...@csgroup.eu) --- Do you mean it still happens with the default values, or it also happens with the reduced CONFIG_LOWMEM_SIZE ? -- You may reply to this email to add a comment. You are