Re: [PATCH v2 15/16] objtool/powerpc: Enable objtool to be built on ppc

2023-02-04 Thread Randy Dunlap
Hi-- On 8/29/22 23:41, Christophe Leroy wrote: > > > Le 29/08/2022 à 07:52, Sathvika Vasireddy a écrit : >> This patch adds [stub] implementations for required >> functions, inorder to enable objtool build on powerpc. > > Not all powerpc it seems, see below > When cross-compiling PPC32 (on x8

Re: [PATCH v2 15/16] objtool/powerpc: Enable objtool to be built on ppc

2023-02-04 Thread Randy Dunlap
On 2/4/23 00:19, Randy Dunlap wrote: > Hi-- > > On 8/29/22 23:41, Christophe Leroy wrote: >> >> >> Le 29/08/2022 à 07:52, Sathvika Vasireddy a écrit : >>> This patch adds [stub] implementations for required >>> functions, inorder to enable objtool build on powerpc. >> >> Not all powerpc it seem

Re: [PATCH v2 15/16] objtool/powerpc: Enable objtool to be built on ppc

2023-02-04 Thread Randy Dunlap
On 2/4/23 00:21, Randy Dunlap wrote: > > > On 2/4/23 00:19, Randy Dunlap wrote: >> Hi-- >> >> On 8/29/22 23:41, Christophe Leroy wrote: >>> >>> >>> Le 29/08/2022 à 07:52, Sathvika Vasireddy a écrit : This patch adds [stub] implementations for required functions, inorder to enable obj

Re: [PATCH v2 15/16] objtool/powerpc: Enable objtool to be built on ppc

2023-02-04 Thread Christophe Leroy
Hi, Le 04/02/2023 à 09:30, Randy Dunlap a écrit : > > > On 2/4/23 00:21, Randy Dunlap wrote: >> >> >> On 2/4/23 00:19, Randy Dunlap wrote: >>> Hi-- >>> >>> On 8/29/22 23:41, Christophe Leroy wrote: Le 29/08/2022 à 07:52, Sathvika Vasireddy a écrit : > This patch adds [stub] im

Re: [PATCH v2 5/5] powerpc: kcsan: Add KCSAN Support

2023-02-04 Thread kernel test robot
next patch link: https://lore.kernel.org/r/20230201043438.1301212-6-rmclure%40linux.ibm.com patch subject: [PATCH v2 5/5] powerpc: kcsan: Add KCSAN Support config: powerpc-allmodconfig (https://download.01.org/0day-ci/archive/20230204/202302042021.ozym71gg-...@intel.com/config) compiler: powerpc

Re: [PATCH v2 15/16] objtool/powerpc: Enable objtool to be built on ppc

2023-02-04 Thread Christophe Leroy
Le 04/02/2023 à 12:55, Christophe Leroy a écrit : Hi, Le 04/02/2023 à 09:30, Randy Dunlap a écrit : On 2/4/23 00:21, Randy Dunlap wrote: On 2/4/23 00:19, Randy Dunlap wrote: Hi-- On 8/29/22 23:41, Christophe Leroy wrote: Le 29/08/2022 à 07:52, Sathvika Vasireddy a écrit : This patc

Re: [PATCH v2 15/16] objtool/powerpc: Enable objtool to be built on ppc

2023-02-04 Thread Josh Poimboeuf
On Sat, Feb 04, 2023 at 02:10:34PM +0100, Christophe Leroy wrote: > Ok, got the same problem as you with next-20230203 > > DESCEND objtool > :1:10: fatal error: libelf.h: No such file or directory > compilation terminated. > HOSTCC /home/chleroy/linux-powerpc/tools/objtool/fixdep.o > HOSTLD

[PATCH] powerpc/kexec_file: fix implicit decl error

2023-02-04 Thread Randy Dunlap
kexec (PPC64) code calls memory_hotplug_max(). Add the header declaration for it from . Using does not work since the #include for depends on CONFIG_NUMA=y, which is not set in this kernel config file. Fixes this build error/warning: ../arch/powerpc/kexec/file_load_64.c: In function 'kexec_extr

Re: [PATCH 0/2] powerpc: Fix livepatch module re-patching issue

2023-02-04 Thread Josh Poimboeuf
On Tue, Jan 24, 2023 at 07:38:03PM -0800, Josh Poimboeuf wrote: > Fix a livepatch bug seen when reloading a patched module. > > This is the powerpc counterpart to Song Liu's fix for a similar issue on > x86: > > https://lkml.kernel.org/lkml/20230121004945.697003-2-s...@kernel.org > > Josh Poim

PPC64 TOC. warnings

2023-02-04 Thread Randy Dunlap
Hi, I'm seeing thousands of these warnings: (gcc 12.2.0) ./include/generated/autoksyms.h:7:9: warning: ISO C99 requires whitespace after the macro name 7 | #define __KSYM_TOC. 1 | ^~ In file included from ../include/asm-generic/export.h:57, from ./arc

Re: PPC64 TOC. warnings

2023-02-04 Thread Masahiro Yamada
On Sun, Feb 5, 2023 at 2:30 AM Randy Dunlap wrote: > > Hi, > > I'm seeing thousands of these warnings: > (gcc 12.2.0) > > > ./include/generated/autoksyms.h:7:9: warning: ISO C99 requires whitespace > after the macro name > 7 | #define __KSYM_TOC. 1 > | ^~ > > In file inc

Re: [PATCH v1] perf pmu: Fix aarch64 build

2023-02-04 Thread Ian Rogers
On Fri, Feb 3, 2023 at 8:56 AM Arnaldo Carvalho de Melo wrote: > > Em Fri, Feb 03, 2023 at 01:02:02PM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Fri, Feb 03, 2023 at 12:43:48PM -0300, Arnaldo Carvalho de Melo escreveu: > > > I tried bisecting, but at this cset: > > > > > > acme@roc-rk3399-pc

Re: [PATCH v5 15/15] perf jevents: Run metric_test.py at compile-time

2023-02-04 Thread Ian Rogers
On Fri, Feb 3, 2023 at 12:15 PM Arnaldo Carvalho de Melo wrote: > > Em Thu, Jan 26, 2023 at 03:36:45PM -0800, Ian Rogers escreveu: > > Add a target that generates a log file for running metric_test.py and > > make this a dependency on generating pmu-events.c. The log output is > > displayed if the

Re: [PATCH 0/2] powerpc: Fix livepatch module re-patching issue

2023-02-04 Thread Michael Ellerman
Josh Poimboeuf writes: > On Tue, Jan 24, 2023 at 07:38:03PM -0800, Josh Poimboeuf wrote: >> Fix a livepatch bug seen when reloading a patched module. >> >> This is the powerpc counterpart to Song Liu's fix for a similar issue on >> x86: >> >> https://lkml.kernel.org/lkml/20230121004945.697003-

Re: [PATCH] powerpc: Check !irq instead of irq == NO_IRQ and remove NO_IRQ

2023-02-04 Thread Michael Ellerman
On Mon, 23 Jan 2023 13:26:46 +0100, Christophe Leroy wrote: > NO_IRQ is a relic from the old days. It is not used anymore in core > functions. By the way, function irq_of_parse_and_map() returns value 0 > on error. > > In some drivers, NO_IRQ is erroneously used to check the return of > irq_of_par

Re: [PATCH 0/2] powerpc: Fix livepatch module re-patching issue

2023-02-04 Thread Michael Ellerman
On Tue, 24 Jan 2023 19:38:03 -0800, Josh Poimboeuf wrote: > Fix a livepatch bug seen when reloading a patched module. > > This is the powerpc counterpart to Song Liu's fix for a similar issue on > x86: > > https://lkml.kernel.org/lkml/20230121004945.697003-2-s...@kernel.org > > [...] Applied

Re: [PATCH v2 0/4] powerpc/rtas: exports and locking

2023-02-04 Thread Michael Ellerman
On Tue, 24 Jan 2023 08:04:44 -0600, Nathan Lynch wrote: > This series began as a single patch[1] to convert the RTAS subsystem's > internal locks to raw spinlocks. The discussion of that patch > identified opportunities to update a few aspects of the RTAS API, so > the series begins with those and

Re: [PATCH 1/2] powerpc/64: Set default CPU in Kconfig

2023-02-04 Thread Michael Ellerman
On Wed, 25 Jan 2023 08:38:59 +0100, Christophe Leroy wrote: > Since 0069f3d14e7a ("powerpc/64e: Tie PPC_BOOK3E_64 to PPC_E500MC"), the > only possible BOOK3E/64 are E500, so no need of a default CPU over the > E5500. > > When the user selects book3e, they must have an e500 compatible > compiler, a

[GIT PULL] Please pull powerpc/linux.git powerpc-6.2-4 tag

2023-02-04 Thread Michael Ellerman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Linus, Please pull some more powerpc fixes for 6.2. It's a bit of a big batch for rc6, but just because I didn't send any fixes the last week or two while I was on vacation, next week should be quieter. cheers The following changes since comm

Re: PPC64 TOC. warnings

2023-02-04 Thread Randy Dunlap
On 2/4/23 09:40, Masahiro Yamada wrote: > On Sun, Feb 5, 2023 at 2:30 AM Randy Dunlap wrote: >> >> Hi, >> >> I'm seeing thousands of these warnings: >> (gcc 12.2.0) >> >> >> ./include/generated/autoksyms.h:7:9: warning: ISO C99 requires whitespace >> after the macro name >> 7 | #define __K

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-6.2-4 tag

2023-02-04 Thread pr-tracker-bot
The pull request you sent on Sun, 05 Feb 2023 12:23:13 +1100: > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git > tags/powerpc-6.2-4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/837c07cf68fec9cad455d5fc86aab5350cc06c53 Thank you! -- Deet-doot-do