[PATCH] selftest/powerpc/pmu/ebb: remove fixed_instruction.S

2022-03-21 Thread Madhavan Srinivasan
Commit 3752e453f6ba ("selftests/powerpc: Add tests of PMU EBBs") added selftest testcases to verify EBB interface. instruction_count_test.c testcase needs a fixed loop function to count overhead. Instead of using the thirty_two_instruction_loop() in fixed_instruction_loop.S in ebb folder, file is

[PATCH 6/6] powerpc/fsl: update ifc node name to be memory-controller

2022-03-21 Thread Li Yang
Update the node name to be align with latest binding. Signed-off-by: Li Yang --- arch/powerpc/boot/dts/fsl/bsc9131rdb.dts| 2 +- arch/powerpc/boot/dts/fsl/bsc9132qds.dts| 2 +- arch/powerpc/boot/dts/fsl/c293pcie.dts | 2 +- arch/powerpc/boot/dts/fsl/p1010rdb_32b.dtsi | 2 +-

[PATCH 3/6] powerpc/mpc85xx: remove "simple-bus" compatible from ifc node

2022-03-21 Thread Li Yang
The binding of ifc device has been updated. Update dts to match accordingly. Signed-off-by: Li Yang --- arch/powerpc/boot/dts/fsl/b4si-post.dtsi | 2 +- arch/powerpc/boot/dts/fsl/bsc9131si-post.dtsi | 2 +- arch/powerpc/boot/dts/fsl/bsc9132si-post.dtsi | 2 +-

Re: [PATCH kernel] powerpc/boot: Stop using RELACOUNT

2022-03-21 Thread Michael Ellerman
Alexey Kardashevskiy writes: > So far the RELACOUNT tag from the ELF header was containing the exact > number of R_PPC_RELATIVE/R_PPC64_RELATIVE relocations. However the LLVM's > recent change [1] make it equal-or-less than the actual number which > makes it useless. > > This replaces RELACOUNT

Re: [PATCH 1/2] drivers/nvdimm: Fix build failure when CONFIG_PERF_EVENTS is not set

2022-03-21 Thread Dan Williams
On Fri, Mar 18, 2022 at 4:42 AM Kajol Jain wrote: > > The following build failure occures when CONFIG_PERF_EVENTS is not set > as generic pmu functions are not visible in that scenario. > > |-- s390-randconfig-r044-20220313 > | |--

Re: [PATCH 2/2] powerpc/papr_scm: Fix build failure when CONFIG_PERF_EVENTS is not set

2022-03-21 Thread Dan Williams
On Mon, Mar 21, 2022 at 2:39 PM Dan Williams wrote: > > On Fri, Mar 18, 2022 at 4:42 AM Kajol Jain wrote: > > > > The following build failure occures when CONFIG_PERF_EVENTS is not set > > as generic pmu functions are not visible in that scenario. > > > >

Re: [PATCH] Docs: admin/kernel-parameters: edit a few boot options

2022-03-21 Thread Randy Dunlap
On 3/21/22 17:45, Michael Ellerman wrote: > Randy Dunlap writes: >> Clean up some of admin-guide/kernel-parameters.txt: >> >> a. "smt" should be "smt=" (S390) >> b. add "smt-enabled" for POWERPC > > I'd rather you didn't. It's not well tested and we ignore it entirely on > some platforms

Re: [PATCH] Docs: admin/kernel-parameters: edit a few boot options

2022-03-21 Thread Michael Ellerman
Randy Dunlap writes: > Clean up some of admin-guide/kernel-parameters.txt: > > a. "smt" should be "smt=" (S390) > b. add "smt-enabled" for POWERPC I'd rather you didn't. It's not well tested and we ignore it entirely on some platforms because it causes bugs. Eventually I'd like to remove it. If

Re: [PATCH v2] macintosh/via-pmu: Avoid compiler warnings when CONFIG_PROC_FS is disabled

2022-03-21 Thread Randy Dunlap
On 3/21/22 02:28, Finn Thain wrote: > drivers/macintosh/via-pmu.c:897:12: warning: 'pmu_battery_proc_show' defined > but not used [-Wunused-function] > static int pmu_battery_proc_show(struct seq_file *m, void *v) > ^ > drivers/macintosh/via-pmu.c:871:12:

Re: [PATCH 2/2] powerpc/papr_scm: Fix build failure when CONFIG_PERF_EVENTS is not set

2022-03-21 Thread Dan Williams
On Fri, Mar 18, 2022 at 4:42 AM Kajol Jain wrote: > > The following build failure occures when CONFIG_PERF_EVENTS is not set > as generic pmu functions are not visible in that scenario. > > arch/powerpc/platforms/pseries/papr_scm.c:372:35: error: ‘struct perf_event’ > has no member named ‘attr’

Re: [PATCH v1 4/7] arm64/pgtable: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE

2022-03-21 Thread Catalin Marinas
On Mon, Mar 21, 2022 at 05:44:05PM +, Will Deacon wrote: > On Mon, Mar 21, 2022 at 04:07:48PM +0100, David Hildenbrand wrote: > > So the example you gave cannot possibly have that bit set. From what I > > understand, it should be fine. But I have no real preference: I can also > > just stick

[powerpc:next] BUILD SUCCESS fe2640bd7a62f1f7c3f55fbda31084085075bc30

2022-03-21 Thread kernel test robot
allmodconfig i386 randconfig-c001-20220321 mips randconfig-c004-20220320 i386 randconfig-c001 arm corgi_defconfig s390 allmodconfig powerpccell_defconfig arm

[powerpc:merge] BUILD SUCCESS e8833c5edc5903f8c8c4fa3dd4f34d6b813c87c8

2022-03-21 Thread kernel test robot
defconfig i386 randconfig-c001-20220321 powerpc mpc8540_ads_defconfig arc haps_hs_smp_defconfig mips db1xxx_defconfig sh ecovec24_defconfig arm rpc_defconfig powerpc

Re: [PATCH v1 4/7] arm64/pgtable: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE

2022-03-21 Thread Will Deacon
On Mon, Mar 21, 2022 at 04:07:48PM +0100, David Hildenbrand wrote: > On 21.03.22 15:38, Will Deacon wrote: > > On Wed, Mar 16, 2022 at 06:27:01PM +, Catalin Marinas wrote: > >> On Tue, Mar 15, 2022 at 03:18:34PM +0100, David Hildenbrand wrote: > >>> diff --git

[PATCH] powerpc: align address to page boundary in change_page_attr()

2022-03-21 Thread Christophe Leroy
Aligning address to page boundary allows flush_tlb_kernel_range() to know it's a single page flush and use tlbie instead of tlbia. On 603 we now have the following code in first leg of change_page_attr(): 2c: 55 29 00 3c rlwinm r9,r9,0,0,30 30: 91 23 00 00 stw

[PATCH] powerpc/8xx: Simplify flush_tlb_kernel_range()

2022-03-21 Thread Christophe Leroy
In the same spirit as commit 63f501e07a85 ("powerpc/8xx: Simplify TLB handling"), simplify flush_tlb_kernel_range() for 8xx. 8xx cannot be SMP, and has 'tlbie' and 'tlbia' instructions, so an inline version of flush_tlb_kernel_range() for 8xx is worth it. With this page, first leg of

Re: [PATCH v1 4/7] arm64/pgtable: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE

2022-03-21 Thread David Hildenbrand
On 21.03.22 15:38, Will Deacon wrote: > On Wed, Mar 16, 2022 at 06:27:01PM +, Catalin Marinas wrote: >> On Tue, Mar 15, 2022 at 03:18:34PM +0100, David Hildenbrand wrote: >>> diff --git a/arch/arm64/include/asm/pgtable-prot.h >>> b/arch/arm64/include/asm/pgtable-prot.h >>> index

Re: Build regressions/improvements in v5.17

2022-03-21 Thread Geert Uytterhoeven
On Mon, Mar 21, 2022 at 3:00 PM Geert Uytterhoeven wrote: > JFYI, when comparing v5.17[1] to v5.17-rc8[3], the summaries are: > - build errors: +5/-0 + /kisskb/src/crypto/blake2b_generic.c: error: the frame size of 2288 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]: => 109:1

Re: [PATCH v1 4/7] arm64/pgtable: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE

2022-03-21 Thread Will Deacon
On Mon, Mar 21, 2022 at 02:38:02PM +, Will Deacon wrote: > On Wed, Mar 16, 2022 at 06:27:01PM +, Catalin Marinas wrote: > > On Tue, Mar 15, 2022 at 03:18:34PM +0100, David Hildenbrand wrote: > > > diff --git a/arch/arm64/include/asm/pgtable-prot.h > > >

Re: [PATCH v1 4/7] arm64/pgtable: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE

2022-03-21 Thread Will Deacon
On Wed, Mar 16, 2022 at 06:27:01PM +, Catalin Marinas wrote: > On Tue, Mar 15, 2022 at 03:18:34PM +0100, David Hildenbrand wrote: > > diff --git a/arch/arm64/include/asm/pgtable-prot.h > > b/arch/arm64/include/asm/pgtable-prot.h > > index b1e1b74d993c..62e0ebeed720 100644 > > ---

Re: [PATCH v2] ASoC: fsl-asoc-card: Fix jack_event() always return 0

2022-03-21 Thread Mark Brown
On Mon, 21 Mar 2022 14:57:54 +0800, Meng Tang wrote: > Today, hp_jack_event and mic_jack_event always return 0. However, > snd_soc_dapm_disable_pin and snd_soc_dapm_enable_pin may return a > non-zero value, this will cause the user who calling hp_jack_event > and mic_jack_event don't know whether

[syzbot] WARNING in kvm_mmu_notifier_invalidate_range_start (2)

2022-03-21 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:56e337f2cf13 Revert "gpio: Revert regression in sysfs-gpio.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=13821b8d70 kernel config: https://syzkaller.appspot.com/x/.config?x=d35f9bc6884af6c9

Re: [PATCH v2] ASoC: fsl-asoc-card: Fix jack_event() always return 0

2022-03-21 Thread Shengjiu Wang
On Mon, Mar 21, 2022 at 2:58 PM Meng Tang wrote: > Today, hp_jack_event and mic_jack_event always return 0. However, > snd_soc_dapm_disable_pin and snd_soc_dapm_enable_pin may return a > non-zero value, this will cause the user who calling hp_jack_event > and mic_jack_event don't know whether

[PATCH v2] macintosh/via-pmu: Avoid compiler warnings when CONFIG_PROC_FS is disabled

2022-03-21 Thread Finn Thain
drivers/macintosh/via-pmu.c:897:12: warning: 'pmu_battery_proc_show' defined but not used [-Wunused-function] static int pmu_battery_proc_show(struct seq_file *m, void *v) ^ drivers/macintosh/via-pmu.c:871:12: warning: 'pmu_irqstats_proc_show' defined but not

Re: [RFC PATCH 2/3] objtool: Enable and implement 'mcount' subcommand

2022-03-21 Thread Naveen N. Rao
Christophe Leroy wrote: Le 21/03/2022 à 09:19, Naveen N. Rao a écrit : Christophe Leroy wrote: We don't enable ftrace for vdso, so I suspect objtool run above will be a no-op. This needs to be confirmed, of course. I just checked without the series: recordmcount isn't run for VDSO, so

Re: [PATCH] Subject: [PATCH] macintosh/via-pmu: Avoid compiler warnings when CONFIG_PROC_FS is disabled

2022-03-21 Thread Finn Thain
Please disregard. I'll send v2 with corrected commit log entry.

[PATCH] Subject: [PATCH] macintosh/via-pmu: Avoid compiler warnings when CONFIG_PROC_FS is disabled

2022-03-21 Thread Finn Thain
drivers/macintosh/via-pmu.c:897:12: warning: 'pmu_battery_proc_show' defined but not used [-Wunused-function] static int pmu_battery_proc_show(struct seq_file *m, void *v) ^ drivers/macintosh/via-pmu.c:871:12: warning: 'pmu_irqstats_proc_show' defined but not

Re: [PATCH] macintosh/via-pmu: Fix compiler warnings when CONFIG_PROC_FS is disabled

2022-03-21 Thread Finn Thain
On Mon, 21 Mar 2022, Christophe Leroy wrote: > Le 21/03/2022 à 09:50, Finn Thain a écrit : > > Hi Christophe, > > > > On Mon, 21 Mar 2022, Finn Thain wrote: > > > >> On Mon, 21 Mar 2022, Christophe Leroy wrote: > >> > >>> Le 19/03/2022 à 08:20, Finn Thain a écrit : >

Re: [PATCH] macintosh/via-pmu: Fix build failure when CONFIG_INPUT is disabled

2022-03-21 Thread Finn Thain
On Mon, 21 Mar 2022, Geert Uytterhoeven wrote: > On Mon, Mar 21, 2022 at 9:29 AM Finn Thain wrote: > > On Mon, 21 Mar 2022, Christophe Leroy wrote: > > > Le 21/03/2022 à 05:30, Finn Thain a écrit : > > > > drivers/macintosh/via-pmu-event.o: In function `via_pmu_event': > > > >

Re: [RFC PATCH 3/3] objtool/mcount: Add powerpc specific functions

2022-03-21 Thread Christophe Leroy
Le 21/03/2022 à 09:30, Christophe Leroy a écrit : Le 21/03/2022 à 08:56, Christophe Leroy a écrit : Le 21/03/2022 à 03:27, Michael Ellerman a écrit : Christophe Leroy writes: Le 18/03/2022 à 13:26, Peter Zijlstra a écrit : On Fri, Mar 18, 2022 at 04:21:40PM +0530, Sathvika Vasireddy

Re: [PATCH] macintosh/via-pmu: Fix compiler warnings when CONFIG_PROC_FS is disabled

2022-03-21 Thread Christophe Leroy
Le 21/03/2022 à 09:50, Finn Thain a écrit : > Hi Christophe, > > On Mon, 21 Mar 2022, Finn Thain wrote: > >> On Mon, 21 Mar 2022, Christophe Leroy wrote: >> >>> Le 19/03/2022 à 08:20, Finn Thain a écrit : drivers/macintosh/via-pmu.c:897:12: warning: 'pmu_battery_proc_show' defined

Re: [PATCH] macintosh/via-pmu: Fix compiler warnings when CONFIG_PROC_FS is disabled

2022-03-21 Thread Christophe Leroy
Le 21/03/2022 à 09:33, Finn Thain a écrit : > On Mon, 21 Mar 2022, Christophe Leroy wrote: > >> Le 19/03/2022 à 08:20, Finn Thain a écrit : >>> drivers/macintosh/via-pmu.c:897:12: warning: 'pmu_battery_proc_show' >>> defined but not used [-Wunused-function] >>>static int

Re: [PATCH] macintosh/via-pmu: Fix compiler warnings when CONFIG_PROC_FS is disabled

2022-03-21 Thread Finn Thain
Hi Christophe, On Mon, 21 Mar 2022, Finn Thain wrote: > On Mon, 21 Mar 2022, Christophe Leroy wrote: > > > Le 19/03/2022 à 08:20, Finn Thain a écrit : > > > drivers/macintosh/via-pmu.c:897:12: warning: 'pmu_battery_proc_show' > > > defined but not used [-Wunused-function] > > > static int

Re: [PATCH] macintosh/via-pmu: Fix build failure when CONFIG_INPUT is disabled

2022-03-21 Thread Geert Uytterhoeven
Hi Finn, On Mon, Mar 21, 2022 at 9:29 AM Finn Thain wrote: > On Mon, 21 Mar 2022, Christophe Leroy wrote: > > Le 21/03/2022 à 05:30, Finn Thain a écrit : > > > drivers/macintosh/via-pmu-event.o: In function `via_pmu_event': > > > via-pmu-event.c:(.text+0x44): undefined reference to `input_event'

Re: [PATCH] macintosh/via-pmu: Fix compiler warnings when CONFIG_PROC_FS is disabled

2022-03-21 Thread Finn Thain
On Mon, 21 Mar 2022, Christophe Leroy wrote: > Le 19/03/2022 à 08:20, Finn Thain a écrit : > > drivers/macintosh/via-pmu.c:897:12: warning: 'pmu_battery_proc_show' > > defined but not used [-Wunused-function] > > static int pmu_battery_proc_show(struct seq_file *m, void *v) > >

Re: [RFC PATCH 3/3] objtool/mcount: Add powerpc specific functions

2022-03-21 Thread Christophe Leroy
Le 21/03/2022 à 08:56, Christophe Leroy a écrit : Le 21/03/2022 à 03:27, Michael Ellerman a écrit : Christophe Leroy writes: Le 18/03/2022 à 13:26, Peter Zijlstra a écrit : On Fri, Mar 18, 2022 at 04:21:40PM +0530, Sathvika Vasireddy wrote: This patch adds powerpc specific functions

Re: [PATCH] macintosh/via-pmu: Fix build failure when CONFIG_INPUT is disabled

2022-03-21 Thread Finn Thain
On Mon, 21 Mar 2022, Christophe Leroy wrote: > > > Le 21/03/2022 à 05:30, Finn Thain a écrit : > > drivers/macintosh/via-pmu-event.o: In function `via_pmu_event': > > via-pmu-event.c:(.text+0x44): undefined reference to `input_event' > > via-pmu-event.c:(.text+0x68): undefined reference to

Re: [RFC PATCH 2/3] objtool: Enable and implement 'mcount' subcommand

2022-03-21 Thread Christophe Leroy
Le 21/03/2022 à 09:19, Naveen N. Rao a écrit : > Christophe Leroy wrote: >> >> >> Le 18/03/2022 à 11:51, Sathvika Vasireddy a écrit : >>> This patch adds 'mcount' as a subcommand to objtool, and enables >>> the same for x86. objtool is built if CONFIG_FTRACE_MCOUNT_USE_OBJTOOL >>> is selected.

Re: [RFC PATCH 2/3] objtool: Enable and implement 'mcount' subcommand

2022-03-21 Thread Naveen N. Rao
Christophe Leroy wrote: Le 18/03/2022 à 11:51, Sathvika Vasireddy a écrit : This patch adds 'mcount' as a subcommand to objtool, and enables the same for x86. objtool is built if CONFIG_FTRACE_MCOUNT_USE_OBJTOOL is selected. Additionally, architectures can select HAVE_NOP_MCOUNT if they

[RFC v3 PATCH 5/5] powerpc/crash hp: add crash hotplug support for kexec_load

2022-03-21 Thread Sourabh Jain
The kernel changes needed to add support for crash hotplug support for kexec_load system calls are similar to kexec_file_load (which has already been implemented in earlier patches). Since kexec segment array is prepared by kexec tool in the userspace, the kernel does aware of which index FDT

[RFC v3 PATCH 3/5] powrepc/crash hp: update kimage struct

2022-03-21 Thread Sourabh Jain
Two new members fdt_index and fdt_index_valid are added in kimage_arch struct to track the FDT kexec segment. These new members of kimage_arch struct will help the crash hotplug handler to easily access the FDT segment from the kexec segment array. Otherwise, we have to loop through all kexec

[RFC v3 PATCH 4/5] powerpc/crash hp: add crash hotplug support for kexec_file_load

2022-03-21 Thread Sourabh Jain
Two major changes are done to enable the crash CPU hotplug handler. Firstly, updated the kexec_load path to prepare kimage for hotplug changes and secondly, implemented the crash hotplug handler itself. On the kexec load path, memsz allocation of crash FDT segment is updated to ensure that it has

[RFC v3 PATCH 2/5] powerpc/crash hp: introduce a new config option CRASH_HOTPLUG

2022-03-21 Thread Sourabh Jain
The option CRASH_HOTPLUG enables, in kernel update to kexec segments on hotplug events. All the updates needed on the capture kernel load path in the kernel for both kexec_load and kexec_file_load system will be kept under this config. Signed-off-by: Sourabh Jain --- arch/powerpc/Kconfig | 11

[RFC v3 PATCH 1/5] powerpc/kexec: make update_cpus_node non-static

2022-03-21 Thread Sourabh Jain
Make the update_cpus_node function non-static and export it for usage in other kexec components. The update_cpus_node definition is moved to core_64.c so that it can be used with both kexec_load and kexec_file_load system calls. Signed-off-by: Sourabh Jain --- arch/powerpc/include/asm/kexec.h

[RFC v3 PATCH 0/5] In kernel handling of CPU hotplug events for crash kernel

2022-03-21 Thread Sourabh Jain
This patch series implements the crash hotplug handler on PowerPC introduced by https://lkml.org/lkml/2022/3/3/674 patch series. The Problem: Post hotplug/DLPAR events the capture kernel holds stale information about the system. Dump collection with stale capture kernel might end up

Re: [RFC PATCH 3/3] objtool/mcount: Add powerpc specific functions

2022-03-21 Thread Christophe Leroy
Le 21/03/2022 à 03:27, Michael Ellerman a écrit : > Christophe Leroy writes: >> Le 18/03/2022 à 13:26, Peter Zijlstra a écrit : >>> On Fri, Mar 18, 2022 at 04:21:40PM +0530, Sathvika Vasireddy wrote: This patch adds powerpc specific functions required for 'objtool mcount' to work, and

Re: [RFC PATCH 3/3] objtool/mcount: Add powerpc specific functions

2022-03-21 Thread Christophe Leroy
Le 21/03/2022 à 03:27, Michael Ellerman a écrit : > Christophe Leroy writes: >> Le 18/03/2022 à 13:26, Peter Zijlstra a écrit : >>> On Fri, Mar 18, 2022 at 04:21:40PM +0530, Sathvika Vasireddy wrote: This patch adds powerpc specific functions required for 'objtool mcount' to work, and

Re: [PATCH v2] ASoC: fsl-asoc-card: Fix jack_event() always return 0

2022-03-21 Thread Christophe Leroy
Le 21/03/2022 à 07:57, Meng Tang a écrit : > Today, hp_jack_event and mic_jack_event always return 0. However, > snd_soc_dapm_disable_pin and snd_soc_dapm_enable_pin may return a > non-zero value, this will cause the user who calling hp_jack_event > and mic_jack_event don't know whether the

[PATCH kernel] powerpc/boot: Stop using RELACOUNT

2022-03-21 Thread Alexey Kardashevskiy
So far the RELACOUNT tag from the ELF header was containing the exact number of R_PPC_RELATIVE/R_PPC64_RELATIVE relocations. However the LLVM's recent change [1] make it equal-or-less than the actual number which makes it useless. This replaces RELACOUNT in zImage loader with a pair of RELASZ and

Re: [RFC PATCH 2/3] objtool: Enable and implement 'mcount' subcommand

2022-03-21 Thread Christophe Leroy
Le 18/03/2022 à 11:51, Sathvika Vasireddy a écrit : > This patch adds 'mcount' as a subcommand to objtool, and enables > the same for x86. objtool is built if CONFIG_FTRACE_MCOUNT_USE_OBJTOOL > is selected. Additionally, architectures can select HAVE_NOP_MCOUNT > if they choose to nop out mcount

[PATCH v2] ASoC: fsl-asoc-card: Fix jack_event() always return 0

2022-03-21 Thread Meng Tang
Today, hp_jack_event and mic_jack_event always return 0. However, snd_soc_dapm_disable_pin and snd_soc_dapm_enable_pin may return a non-zero value, this will cause the user who calling hp_jack_event and mic_jack_event don't know whether the operation was really successfully. Signed-off-by: Meng

Re: [RFC PATCH 3/3] objtool/mcount: Add powerpc specific functions

2022-03-21 Thread Christophe Leroy
Le 21/03/2022 à 03:27, Michael Ellerman a écrit : > Christophe Leroy writes: >> Le 18/03/2022 à 13:26, Peter Zijlstra a écrit : >>> On Fri, Mar 18, 2022 at 04:21:40PM +0530, Sathvika Vasireddy wrote: This patch adds powerpc specific functions required for 'objtool mcount' to work, and

Re: [PATCH] ASoC: fsl-asoc-card: Fix jack_event() always return 0

2022-03-21 Thread Christophe Leroy
Le 18/03/2022 à 10:35, Meng Tang a écrit : > Today, hp_jack_event and mic_jack_event always return 0. However, > snd_soc_dapm_disable_pin and snd_soc_dapm_enable_pin may return a > non-zero value, this will cause the user who calling hp_jack_event > and mic_jack_event don't know whether the

Re: [PATCH] macintosh/via-pmu: Fix compiler warnings when CONFIG_PROC_FS is disabled

2022-03-21 Thread Christophe Leroy
Le 19/03/2022 à 08:20, Finn Thain a écrit : > drivers/macintosh/via-pmu.c:897:12: warning: 'pmu_battery_proc_show' defined > but not used [-Wunused-function] > static int pmu_battery_proc_show(struct seq_file *m, void *v) > ^ >

Re: [PATCH] macintosh/via-pmu: Fix build failure when CONFIG_INPUT is disabled

2022-03-21 Thread Christophe Leroy
Le 21/03/2022 à 05:30, Finn Thain a écrit : > drivers/macintosh/via-pmu-event.o: In function `via_pmu_event': > via-pmu-event.c:(.text+0x44): undefined reference to `input_event' > via-pmu-event.c:(.text+0x68): undefined reference to `input_event' > via-pmu-event.c:(.text+0x94): undefined

Re: [RFC PATCH 3/3] objtool/mcount: Add powerpc specific functions

2022-03-21 Thread Naveen N. Rao
Peter Zijlstra wrote: On Fri, Mar 18, 2022 at 04:21:40PM +0530, Sathvika Vasireddy wrote: This patch adds powerpc specific functions required for 'objtool mcount' to work, and enables mcount for ppc. I would love to see more objtool enablement for Power :-) diff --git