Re: [PATCH] UAPI: fix a spelling mistake

2022-06-29 Thread Randy Dunlap
Hi-- On 6/28/22 23:27, Zhang Jiaming wrote: > Change 'informations' to 'information'. > > Signed-off-by: Zhang Jiaming > --- > arch/powerpc/include/uapi/asm/bootx.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/powerpc/include/uapi/asm/bootx.h >

Re: [RFC PATCH v2 3/3] powerpc/pseries: expose authenticated variables stored in LPAR PKS

2022-06-22 Thread Randy Dunlap
On 6/22/22 14:56, Nayna Jain wrote: > diff --git a/arch/powerpc/platforms/pseries/Kconfig > b/arch/powerpc/platforms/pseries/Kconfig > index 6c1ca487103f..9c52095e20c4 100644 > --- a/arch/powerpc/platforms/pseries/Kconfig > +++ b/arch/powerpc/platforms/pseries/Kconfig > @@ -152,6 +152,23 @@

Re: [PATCH] powerpc/interrupt: Put braces around empty body in an 'if' statement

2022-06-18 Thread Randy Dunlap
On 6/18/22 20:11, Souptick Joarder wrote: > From: "Souptick Joarder (HPE)" > > Kernel test robot throws warning -> > > arch/powerpc/kernel/interrupt.c: > In function 'interrupt_exit_kernel_prepare': > >>> arch/powerpc/kernel/interrupt.c:542:55: warning: suggest > braces around empty body in

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

2022-05-02 Thread Randy Dunlap
codes don't mean anything to obsolete_checksetup() -- only non-zero (usually 1) or zero. So return 1 from cpm_powersave_off(). Fixes: d164f6d4f910 ("powerpc/4xx: Add suspend and idle support") Signed-off-by: Randy Dunlap Reported-by: Igor Zhbanov Link: lore.kernel.org/r/64644a2f-4a20

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

2022-05-02 Thread Randy Dunlap
codes don't mean anything to obsolete_checksetup() -- only non-zero (usually 1) or zero. So return 1 from powersave_off(). Fixes: 302eca184fb8 ("[POWERPC] cell: use ppc_md->power_save instead of cbe_idle_loop") Signed-off-by: Randy Dunlap Reported-by: Igor Zhbanov Link: lore.kernel.o

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 >&

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 Unknow

Re: [PATCH 24/30] panic: Refactor the panic path

2022-04-27 Thread Randy Dunlap
On 4/27/22 15:49, Guilherme G. Piccoli wrote: > + crash_kexec_post_notifiers > + This was DEPRECATED - users should always prefer the This is DEPRECATED - users should always prefer the > + parameter "panic_notifiers_level" -

[PATCH v2] macintosh: via-pmu and via-cuda need RTC_LIB

2022-04-10 Thread Randy Dunlap
`cuda_set_rtc_time': drivers/macintosh/via-cuda.c:797: undefined reference to `rtc_tm_to_time64' Fixes: 0792a2c8e0bb ("macintosh: Use common code to access RTC") Signed-off-by: Randy Dunlap Reported-by: kernel test robot Suggested-by: Christophe Leroy Cc: Benjamin Herrenschmidt Cc: Michael Ellerman

Re: [PATCH] macintosh: fix via-pmu and via-cuda build without RTC_CLASS

2022-04-10 Thread Randy Dunlap
Hi-- On 4/10/22 00:03, Christophe Leroy wrote: > > > Le 09/04/2022 à 04:08, Randy Dunlap a écrit : >> Fix build when RTC_CLASS is not set/enabled. >> Eliminates these build errors: >> >> m68k-linux-ld: drivers/macintosh/via-pmu.o: in function `pmu_set_rtc_time

[PATCH] macintosh: fix via-pmu and via-cuda build without RTC_CLASS

2022-04-08 Thread Randy Dunlap
`cuda_set_rtc_time': drivers/macintosh/via-cuda.c:797: undefined reference to `rtc_tm_to_time64' Fixes: 0792a2c8e0bb ("macintosh: Use common code to access RTC") Signed-off-by: Randy Dunlap Reported-by: kernel test robot Cc: Benjamin Herrenschmidt Cc: Michael Ellerman Cc: Christophe Leroy Cc:

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

2022-04-07 Thread Randy Dunlap
stem unless CONFIG_INPUT is built-in. > > Cc: Christophe Leroy > Cc: Randy Dunlap > Cc: Geert Uytterhoeven > Reported-by: kernel test robot > Signed-off-by: Finn Thain Acked-by: Randy Dunlap Tested-by: Randy Dunlap Thanks. > --- > Changed since v1: > - Ado

Re: [PATCH] macintosh: fix via-pmu and via-cuda build errors

2022-04-06 Thread Randy Dunlap
On 4/6/22 19:37, Randy Dunlap wrote: > When CONFIG_INPUT=m, the input_*() family of functions is not > available to builtin drivers. > > When CONFIG_RTC_CLASS is not set, rtc_tm_to_time64() is not defined. > > Fix multiple build errors by making these Kconfig symbols requ

[PATCH] macintosh: fix via-pmu and via-cuda build errors

2022-04-06 Thread Randy Dunlap
/macintosh/via-cuda.c:797: undefined reference to `rtc_tm_to_time64' Fixes: 0792a2c8e0bb ("macintosh: Use common code to access RTC") Signed-off-by: Randy Dunlap Reported-by: kernel test robot Cc: Kees Cook Cc: Arnd Bergmann Cc: Michael Ellerman Cc: Finn Thain Cc: Geert Uytterhoeven

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

2022-03-22 Thread Randy Dunlap
On 3/22/22 10:41, Rafael J. Wysocki wrote: > On Mon, Mar 21, 2022 at 2:22 AM Randy Dunlap wrote: >> Clean up some of admin-guide/kernel-parameters.txt: >> >> a. "smt" should be "smt=" (S390) >> b. add "smt-enabled" for POWERPC >> c

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'

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

2022-03-21 Thread Randy Dunlap
[-Wunused-function] > static int pmu_info_proc_show(struct seq_file *m, void *v) > ^~ > > Add some #ifdefs to avoid unused code warnings when CONFIG_PROC_FS is > disabled. > > Cc: Randy Dunlap > Cc: Christophe Leroy > Reported-by: Ran

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

2022-03-20 Thread Randy Dunlap
quot;trace_clock=" with a reference to Documentation/trace/ftrace.rst f. use [IA-64] as documented instead of [ia64] g. fix formatting and text for test_suspend= h. fix formatting for swapaccount= i. fix formatting and grammar for video.brightness_switch_enabled= Signed-off-by: Randy Dunlap C

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

2022-03-19 Thread Randy Dunlap
[-Wunused-function] > static int pmu_info_proc_show(struct seq_file *m, void *v) > ^~ > > Rearrange some code and add some #ifdefs to avoid unused code warnings > when CONFIG_PROC_FS is disabled. > > Reported-by: Randy Dunlap > Cc: Randy Dunlap

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

2022-03-18 Thread Randy Dunlap
On 3/18/22 21:18, Finn Thain wrote: > 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 reference to

[PATCH] powerpc/xive: fix return value of __setup handler

2022-03-12 Thread Randy Dunlap
ernel parameter for StoreEOI") Signed-off-by: Randy Dunlap From: Igor Zhbanov Link: lore.kernel.org/r/64644a2f-4a20-bab3-1e15-3b2cdd0de...@omprussia.ru Cc: Benjamin Herrenschmidt Cc: Michael Ellerman Cc: Cédric Le Goater Cc: Paul Mackerras --- arch/powerpc/sysdev/xive/common.c |6 +++--

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

2022-03-12 Thread Randy Dunlap
codes don't mean anything to obsolete_checksetup() -- only non-zero (usually 1) or zero. So return 1 from cpm_powersave_off(). Fixes: d164f6d4f910 ("powerpc/4xx: Add suspend and idle support") Signed-off-by: Randy Dunlap From: Igor Zhbanov Link: lore.kernel.org/r/64644a2f-4a20-bab3-1e15

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

2022-03-12 Thread Randy Dunlap
codes don't mean anything to obsolete_checksetup() -- only non-zero (usually 1) or zero. So return 1 from powersave_off(). Fixes: 302eca184fb8 ("[POWERPC] cell: use ppc_md->power_save instead of cbe_idle_loop") Signed-off-by: Randy Dunlap From: Igor Zhbanov Link: lore.kernel.org/r/

[PATCH] tty: hvc: fix return value of __setup handler

2022-03-07 Thread Randy Dunlap
Signed-off-by: Randy Dunlap Reported-by: Igor Zhbanov Link: lore.kernel.org/r/64644a2f-4a20-bab3-1e15-3b2cdd0de...@omprussia.ru Cc: Jingoo Han Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: Michael Ellerman Cc: Julian Wiedmann Cc: Vasily Gorbik Cc: linuxppc-dev@lists.ozlabs.org --- drivers/tty/hvc/

Re: Build regressions/improvements in v5.17-rc1

2022-01-24 Thread Randy Dunlap
On 1/24/22 17:23, Felix Kuehling wrote: > > Am 2022-01-24 um 14:11 schrieb Randy Dunlap: >> On 1/24/22 10:55, Geert Uytterhoeven wrote: >>> Hi Alex, >>> >>> On Mon, Jan 24, 2022 at 7:52 PM Alex Deucher wrote: >>>> On Mon, Jan 24, 2022 at 5:

Re: Build regressions/improvements in v5.17-rc1

2022-01-24 Thread Randy Dunlap
fd_topology.c:1560:1: > error: control reaches end of non-void function [-Werror=return-type] > } > ^ ah yes, UML. I have a bunch of UML fixes that I have been hesitant to post. This is one of them. What do people think about this? thanks. --- From: Randy Dunlap ../drivers/gpu/drm/a

[PATCH] powerpc: fix spelling of "its"

2021-12-22 Thread Randy Dunlap
Use the possessive "its" instead of the contraction of "it is" (it's). Signed-off-by: Randy Dunlap Cc: Michael Ellerman --- arch/powerpc/perf/hv-24x7.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20211222.orig/arch/powerpc/perf/hv-24x7.c +++

Re: Build regressions/improvements in v5.16-rc1

2021-11-16 Thread Randy Dunlap
On 11/16/21 5:59 PM, Nick Terrell wrote: On Nov 15, 2021, at 8:44 AM, Helge Deller wrote: On 11/15/21 17:12, Geert Uytterhoeven wrote: On Mon, Nov 15, 2021 at 4:54 PM Geert Uytterhoeven wrote: Below is the list of build error/warning regressions/improvements in v5.16-rc1[1] compared to

[PATCH] powerpc: fadump: correct two typos in a comment

2021-10-29 Thread Randy Dunlap
Fix typos of 'remaining' and 'those'. Signed-off-by: Randy Dunlap Suggested-by: Matthew Wilcox # 'remaining' Cc: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/kernel/fadump.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- linux-next-20211029.orig/arch

Re: [PATCH 2/3] fbdev: rework backlight dependencies

2021-10-27 Thread Randy Dunlap
+++--- 5 files changed, 15 insertions(+), 4 deletions(-) Acked-by: Randy Dunlap Thanks. -- ~Randy

[PATCH] powerpc/head_check: use stdout for error messages

2021-08-15 Thread Randy Dunlap
Prefer stderr instead of stdout for error messages. This is a good practice and can help CI error detecting and reporting (0day in this case). Signed-off-by: Randy Dunlap Cc: "Chen, Rong A" Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.

Re: undefined reference to `.radix__create_section_mapping'

2021-08-03 Thread Randy Dunlap
On 8/3/21 10:31 PM, Christophe Leroy wrote: Hi Randy, Le 04/08/2021 à 04:40, Randy Dunlap a écrit : On 7/31/21 11:22 AM, kernel test robot wrote: tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head:   c7d102232649226a6958a4942cf13cff4f7c commit

Re: [PATCH] arch: Kconfig: clean up obsolete use of HAVE_IDE

2021-07-28 Thread Randy Dunlap
n > HAVE_IDE in all those arch-specific Kconfig files. > > The issue was identified with ./scripts/checkkconfigsymbols.py. > > Fixes: b7fb14d3ac63 ("ide: remove the legacy ide driver") > Suggested-by: Randy Dunlap > Signed-off-by: Lukas Bulwahn Acked-by: Randy Dunl

Re: [PATCH] x86: Define only {pud/pmd}_{set/clear}_huge when usefull

2021-05-13 Thread Randy Dunlap
On 5/13/21 11:27 AM, Christophe Leroy wrote: > When PUD and/or PMD are folded, those functions are useless > and we have a stub in linux/pgtable.h > > Reported-by: Randy Dunlap > Signed-off-by: Christophe Leroy > --- > arch/x86/mm/pgtable.c | 34 +++

[PATCH] powerpc: mpc52xx: fix some pr_debug() issues

2021-04-28 Thread Randy Dunlap
c52xx_pci.c:295:2: note: in expansion of macro 'pr_debug' 295 | pr_debug(".io_resource={.start=%llx,.end=%llx,.flags=%llx} " | ^~~~ The change to print mem_resource[0] is for consistency within this source file and to use the kernel API -- there were no warnings here. Signed-of

[RFC PATCH] usb: gadget: fsl_qe_udc: fix implicit-fallthrough warnings

2021-04-27 Thread Randy Dunlap
documents what is currently being done. If any of them need to do something else, just say so or even make the change. Signed-off-by: Randy Dunlap Cc: Li Yang Cc: linuxppc-dev@lists.ozlabs.org --- drivers/usb/gadget/udc/fsl_qe_udc.c |5 + 1 file changed, 5 insertions(+) --- linux-next

Re: powerpc{32,64} randconfigs

2021-04-27 Thread Randy Dunlap
On 4/20/21 11:45 PM, Randy Dunlap wrote: > On 4/20/21 11:37 PM, Christophe Leroy wrote: >> >> >> Le 21/04/2021 à 01:31, Randy Dunlap a écrit : >>> --- linux-next-20210420.orig/arch/powerpc/kernel/vdso64/Makefile >>> +++ linux-next-20210420/arch/powerpc/ke

Re: powerpc{32,64} randconfigs

2021-04-27 Thread Randy Dunlap
On 4/21/21 12:15 AM, Michael Ellerman wrote: > Randy Dunlap writes: >> Hi, >> >> Is there a way to do this? >> >> $ make ARCH=powerpc randconfig # and force PPC32 > > Sort of: > > $ KCONFIG_ALLCONFIG=arch/powerpc/configs/book3s_32.config mak

Re: mmu.c:undefined reference to `patch__hash_page_A0'

2021-04-21 Thread Randy Dunlap
On 4/21/21 1:43 AM, Christophe Leroy wrote: > > > Le 18/04/2021 à 19:15, Randy Dunlap a écrit : >> On 4/18/21 3:43 AM, Christophe Leroy wrote: >>> >>> >>> Le 18/04/2021 à 02:02, Randy Dunlap a écrit : >>>> HI-- >>>> >>>&

[PATCH v3] powerpc: make ALTIVEC select PPC_FPU

2021-04-21 Thread Randy Dunlap
-by: Randy Dunlap Reported-by: kernel test robot Cc: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org Cc: Christophe Leroy Cc: Segher Boessenkool Cc: l...@intel.com --- v2: change ALTIVEC depends on PPC_FPU to select (Christophe and Michael) v3: other platforms don't need to select PPC_FPU since

Re: [PATCH v2] powerpc: make ALTIVEC select PPC_FPU

2021-04-21 Thread Randy Dunlap
On 4/20/21 10:19 PM, Christophe Leroy wrote: > > > Le 21/04/2021 à 04:56, Randy Dunlap a écrit : >> On a kernel config with ALTIVEC=y and PPC_FPU not set/enabled, >> there are build errors: >> >> drivers/cpufreq/pmac32-cpufreq.c:262:2: error: imp

Re: powerpc{32,64} randconfigs

2021-04-21 Thread Randy Dunlap
On 4/20/21 11:37 PM, Christophe Leroy wrote: > > > Le 21/04/2021 à 01:31, Randy Dunlap a écrit : >> --- linux-next-20210420.orig/arch/powerpc/kernel/vdso64/Makefile >> +++ linux-next-20210420/arch/powerpc/kernel/vdso64/Makefile >> @@ -30,7 +30,7 @@ ccflags-y :=

[PATCH v2] powerpc: make ALTIVEC select PPC_FPU

2021-04-20 Thread Randy Dunlap
-by: Randy Dunlap Reported-by: kernel test robot Cc: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org Cc: Christophe Leroy Cc: Segher Boessenkool Cc: l...@intel.com --- v2: change ALTIVEC depends on PPC_FPU to select (Christophe and Michael) arch/powerpc/platforms/86xx/Kconfig|1 + arch

powerpc{32,64} randconfigs

2021-04-20 Thread Randy Dunlap
Hi, Is there a way to do this? $ make ARCH=powerpc randconfig # and force PPC32 and separately $ make ARCH=powerpc randconfig # and force PPC64 I suppose that I could do something like this (for PPC64): $ make ARCH=powerpc randconfig $ ./scripts/config -d PPC32 -e PPC64 $ make ARCH=powerpc

Re: PPC_FPU, ALTIVEC: enable_kernel_fp, put_vr, get_vr

2021-04-20 Thread Randy Dunlap
On 4/20/21 6:15 AM, Michael Ellerman wrote: > Christophe Leroy writes: >> Le 19/04/2021 à 23:39, Randy Dunlap a écrit : >>> On 4/19/21 6:16 AM, Michael Ellerman wrote: >>>> Randy Dunlap writes: >>> >>>>> Sure. I'll post them later today.

Re: PPC_FPU, ALTIVEC: enable_kernel_fp, put_vr, get_vr

2021-04-19 Thread Randy Dunlap
On 4/19/21 6:16 AM, Michael Ellerman wrote: > Randy Dunlap writes: >> Sure. I'll post them later today. >> They keep FPU and ALTIVEC as independent (build) features. > > Those patches look OK. > > But I don't think it makes sense to support that configuration, FPU=n

Re: PPC_FPU, ALTIVEC: enable_kernel_fp, put_vr, get_vr

2021-04-19 Thread Randy Dunlap
On 4/19/21 6:16 AM, Michael Ellerman wrote: > Randy Dunlap writes: >> On 4/18/21 10:46 AM, Segher Boessenkool wrote: >>> On Sun, Apr 18, 2021 at 06:24:29PM +0200, Christophe Leroy wrote: >>>> Le 17/04/2021 à 22:17, Randy Dunlap a écrit : >>>>> Should t

[PATCH 2/2] powerpc: add ALTIVEC support to lib/ when PPC_FPU not set

2021-04-18 Thread Randy Dunlap
, ); | ^~ Add ldstfp.o to the Makefile for CONFIG_ALTIVEC and add externs for get_vr() and put_vr() in lib/sstep.c to fix the build errors. This was seen in a kernel config from kernel test robot that reported a different build issue (for pmac32-cpufreq.c). Signed-off-by: Randy

[PATCH 1/2] powerpc: add enable_kernel_fp() stub for ALTIVEC without PPC_FPU

2021-04-18 Thread Randy Dunlap
PPC_FPU is not set. Signed-off-by: Randy Dunlap Reported-by: kernel test robot Cc: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org Cc: Christophe Leroy Cc: Segher Boessenkool Cc: l...@intel.com --- arch/powerpc/include/asm/switch_to.h |1 + 1 file changed, 1 insertion(+) --- linux

Re: PPC_FPU, ALTIVEC: enable_kernel_fp, put_vr, get_vr

2021-04-18 Thread Randy Dunlap
On 4/18/21 10:46 AM, Segher Boessenkool wrote: > On Sun, Apr 18, 2021 at 06:24:29PM +0200, Christophe Leroy wrote: >> Le 17/04/2021 à 22:17, Randy Dunlap a écrit : >>> Should the code + Kconfigs/Makefiles handle that kind of >>> kernel config or should ALTIVEC

Re: mmu.c:undefined reference to `patch__hash_page_A0'

2021-04-18 Thread Randy Dunlap
On 4/18/21 3:43 AM, Christophe Leroy wrote: > > > Le 18/04/2021 à 02:02, Randy Dunlap a écrit : >> HI-- >> >> I no longer see this build error. > > Fixed by > https://github.com/torvalds/linux/commit/acdad8fb4a1574323db88f98a38b630691574e16 > >> H

Re: mmu.c:undefined reference to `patch__hash_page_A0'

2021-04-17 Thread Randy Dunlap
HI-- I no longer see this build error. However: On 2/27/21 2:24 AM, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 3fb6d0e00efc958d01c2f109c8453033a2d96796 > commit: 259149cf7c3c6195e6199e045ca988c31d081cab powerpc/32s:

PPC_FPU, ALTIVEC: enable_kernel_fp, put_vr, get_vr

2021-04-17 Thread Randy Dunlap
Hi, kernel test robot reports: >> drivers/cpufreq/pmac32-cpufreq.c:262:2: error: implicit declaration of >> function 'enable_kernel_fp' [-Werror,-Wimplicit-function-declaration] enable_kernel_fp(); ^ when # CONFIG_PPC_FPU is not set CONFIG_ALTIVEC=y I see at least one

Re: [PATCH v2] powerpc: iommu: fix build when neither PCI or IBMVIO is set

2021-04-05 Thread Randy Dunlap
On 4/5/21 2:04 AM, Christophe Leroy wrote: > > > Le 04/04/2021 à 21:26, Randy Dunlap a écrit : >> When neither CONFIG_PCI nor CONFIG_IBMVIO is set/enabled, iommu.c has a >> build error. The fault injection code is not useful in that kernel config, >> so make the FAIL

[PATCH v2] powerpc: iommu: fix build when neither PCI or IBMVIO is set

2021-04-04 Thread Randy Dunlap
: error: 'fail_iommu_bus_notifier' defined but not used [-Werror=unused-variable] 178 | static struct notifier_block fail_iommu_bus_notifier = { Fixes: d6b9a81b2a45 ("powerpc: IOMMU fault injection") Signed-off-by: Randy Dunlap Reported-by: kernel test robot Suggested-by: Michael El

[PATCH] selftests: powerpc: unmark non-kernel-doc comments

2021-03-25 Thread Randy Dunlap
Drop the 'beginning of kernel-doc' notation markers (/**) in places that are not in kernel-doc format. Signed-off-by: Randy Dunlap Cc: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org --- tools/testing/selftests/powerpc/tm/tm-trap.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions

Re: [PATCH] macintosh: A typo fix

2021-03-23 Thread Randy Dunlap
On 3/23/21 1:46 PM, Bhaskar Chowdhury wrote: > > s/coment/comment/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > drivers/macintosh/windfarm_smu_controls.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > dif

Re: [PATCH] powerpc: kernel: Trivial spelling fixes throughout the file head_fsl_booke.S

2021-03-22 Thread Randy Dunlap
On 3/14/21 8:37 PM, Bhaskar Chowdhury wrote: > s/virutal/virtual/ > s/mismach/mismatch/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > As Randy pointed out I was changing the predefined macro name,so, reverted > or leave it alone. > Michael,

Re: [PATCH] docs: powerpc: Fix a typo

2021-03-22 Thread Randy Dunlap
On 3/21/21 11:22 PM, Bhaskar Chowdhury wrote: > > s/struture/structure/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > Documentation/powerpc/firmware-assisted-dump.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --

Re: [PATCH] powerpc/asm: Fix a typo

2021-03-22 Thread Randy Dunlap
On 3/22/21 4:32 AM, Bhaskar Chowdhury wrote: > > s/poiner/pointer/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap However, it would be a GOOD THING to collect multiple similar patches that are in e.g. arch/powerpc/ and send them as one patch instead of many li

Re: [PATCH] powerpc/8xx: Fix a typo

2021-03-22 Thread Randy Dunlap
On 3/22/21 5:03 AM, Bhaskar Chowdhury wrote: > > s/poiners/pointers/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > arch/powerpc/kernel/head_8xx.S | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/powerpc/kerne

Re: [PATCH] cxl: Fix couple of spellings

2021-03-21 Thread Randy Dunlap
On 3/21/21 7:33 PM, Bhaskar Chowdhury wrote: > > s/filesytem/filesystem/ > s/symantics/semantics/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > drivers/misc/cxl/context.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >

Re: [PATCH] crypto: nx: fix incorrect kernel-doc comment syntax in files

2021-03-21 Thread Randy Dunlap
Looks good. Thanks. Acked-by: Randy Dunlap

Re: [PATCH] powerpc: epapr: A typo fix

2021-03-20 Thread Randy Dunlap
On Sun, 21 Mar 2021, Bhaskar Chowdhury wrote: s/parmeters/parameters/ Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap --- arch/powerpc/include/asm/epapr_hcalls.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/include/asm/epapr_hcalls.h b

Re: [PATCH] powerpc: kernel: Trivial typo fix in the file kgdb.c

2021-03-17 Thread Randy Dunlap
On 3/17/21 2:04 AM, Bhaskar Chowdhury wrote: > > s/procesing/processing/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > arch/powerpc/kernel/kgdb.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/powerpc/kernel/k

Re: [PATCH] powerpc: kernel: Trivial spelling fixes throughout the file head_fsl_booke.S

2021-03-14 Thread Randy Dunlap
On 3/14/21 3:04 PM, Bhaskar Chowdhury wrote: > > Trivial spelling fixes throughout the file. > > Signed-off-by: Bhaskar Chowdhury > --- > arch/powerpc/kernel/head_fsl_booke.S | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/arch/powerpc/kernel/head_fsl_booke.S

Re: [PATCH] soc: fsl: guts: fix comment syntax in file

2021-03-14 Thread Randy Dunlap
: expecting prototype for Freecale 85xx and 86xx Global Utilties > register set(). Prototype was for __FSL_GUTS_H__() instead" > > Replace all such comment occurrences with general comment format, > i.e. '/*' to pervent kernel-doc from parsing these. > > Signed-off-by: Adi

Re: [PATCH] powerpc: mm: book3s64: Fix a typo in the file mmu_context.c

2021-03-12 Thread Randy Dunlap
On 3/12/21 3:25 AM, Bhaskar Chowdhury wrote: > > s/detalis/details/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > arch/powerpc/mm/book3s64/mmu_context.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/powerp

Re: [PATCH v2 0/7] Generic Command Line changes

2021-03-08 Thread Randy Dunlap
On 3/8/21 3:53 PM, Daniel Walker wrote: > This fixed some problem identified in my last release. I made updates > based on comments from Christophe Leroy. > > I added scripted updates to the defconfig file for mips and powerpc. > This is required in order to maintain the status quo for those

Re: [PATCH] powerpc: iommu: fix build when neither PCI or IBMVIO is set

2021-03-06 Thread Randy Dunlap
On March 2, 2021 3:08:43 AM PST, Michael Ellerman wrote: >Randy Dunlap writes: >> When neither CONFIG_PCI nor CONFIG_IBMVIO is enabled: >> >> ../arch/powerpc/kernel/iommu.c:178:30: error: >'fail_iommu_bus_notifier' defined but not used >[-Werror=unused-variabl

[PATCH] powerpc: iommu: fix build when neither PCI or IBMVIO is set

2021-03-02 Thread Randy Dunlap
oblem. Fixes: d6b9a81b2a45 ("powerpc: IOMMU fault injection") Reported-by: kernel test robot Signed-off-by: Randy Dunlap Cc: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org Cc: Anton Blanchard --- Found/seen in v5.12-rc1. arch/powerpc/kernel/iommu.c | 13 +++-- 1 file

Re: [PATCH] arch: powerpc: kernel: Change droping to dropping in the file traps.c

2021-02-24 Thread Randy Dunlap
On 2/23/21 11:55 PM, Bhaskar Chowdhury wrote: > > s/droping/dropping/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > arch/powerpc/kernel/traps.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/powerpc/kernel/tr

Re: [PATCH] arch: powerpc: kernel: Fix the spelling mismach to mismatch in head.44x.S

2021-02-02 Thread Randy Dunlap
On 2/2/21 1:37 AM, Bhaskar Chowdhury wrote: > > s/mismach/mismatch/ > > Signed-off-by: Bhaskar Chowdhury > --- > arch/powerpc/kernel/head_44x.S | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Acked-by: Randy Dunlap thanks. -- ~Randy

Re: [PATCH] powerpc/akebono: Fix unmet dependency errors

2021-01-31 Thread Randy Dunlap
ngs, and the result of make > 44x/akebono_defconfig is the same before and after the patch. > > Reported-by: Yury Norov > Reported-by: Randy Dunlap > Reported-by: Florian Fainelli > Signed-off-by: Michael Ellerman > --- > arch/powerpc/configs/44x/akebono_defconfig | 5 + >

Re: [PATCH] powerpc: fix AKEBONO build failures

2021-01-30 Thread Randy Dunlap
On 1/21/21 5:14 PM, Michael Ellerman wrote: Randy Dunlap writes: On 1/20/21 1:29 PM, Yury Norov wrote: Hi all, I found the power pc build broken on today's linux-next (647060f3b592). Darn, I was building linux-5.11-rc4. I'll try linux-next after I send this. --- From: Randy Dunlap

Re: [PATCH v10 11/12] mm/vmalloc: Hugepage vmalloc mappings

2021-01-24 Thread Randy Dunlap
On 1/24/21 7:07 AM, Christoph Hellwig wrote: >> +config HAVE_ARCH_HUGE_VMALLOC >> +depends on HAVE_ARCH_HUGE_VMAP >> +bool >> +help >> + Archs that select this would be capable of PMD-sized vmaps (i.e., >> + arch_vmap_pmd_supported() returns true), and they must make no >> +

Re: [PATCH] powerpc/8xx: export 'cpm_setbrg' for modules

2021-01-21 Thread Randy Dunlap
On 1/21/21 9:51 PM, Christophe Leroy wrote: > > > Le 22/01/2021 à 02:08, Randy Dunlap a écrit : >> Fix missing export for a loadable module build: >> >> ERROR: modpost: "cpm_setbrg" [drivers/tty/serial/cpm_uart/cpm_uart.ko] >> undefined! >>

Re: [PATCH] powerpc: fix AKEBONO build failures

2021-01-21 Thread Randy Dunlap
On January 21, 2021 5:14:23 PM PST, Michael Ellerman wrote: >Randy Dunlap writes: >> On 1/20/21 1:29 PM, Yury Norov wrote: >>> Hi all, >>> >>> I found the power pc build broken on today's >>> linux-next (647060f3b592). >> >> Darn, I was

[PATCH] powerpc/8xx: export 'cpm_setbrg' for modules

2021-01-21 Thread Randy Dunlap
Fix missing export for a loadable module build: ERROR: modpost: "cpm_setbrg" [drivers/tty/serial/cpm_uart/cpm_uart.ko] undefined! Fixes: 4128a89ac80d ("powerpc/8xx: move CPM1 related files from sysdev/ to platforms/8xx") Signed-off-by: Randy Dunlap Reported-by: kernel

[PATCH] powerpc: fix AKEBONO build failures

2021-01-20 Thread Randy Dunlap
On 1/20/21 1:29 PM, Yury Norov wrote: > Hi all, > > I found the power pc build broken on today's > linux-next (647060f3b592). Darn, I was building linux-5.11-rc4. I'll try linux-next after I send this. --- From: Randy Dunlap Fulfill AKEBONO Kconfig requirements. Fixes these Kcon

Re: [PATCH] arch: powerpc: mm: book3s64: Fixed spelling architectue -> architecture in line number 1061

2021-01-20 Thread Randy Dunlap
On 1/20/21 6:20 AM, Bhaskar Chowdhury wrote: > s/architectue/architecture/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap Thanks. Line number in $Subject is just too much. > --- > arch/powerpc/mm/book3s64/radix_pgtable.c | 2 +- > 1 file changed, 1 insert

Re: [PATCH v2 3/5] lazy tlb: shoot lazies, a non-refcounting lazy tlb option

2020-12-13 Thread Randy Dunlap
On 12/13/20 10:53 PM, Nicholas Piggin wrote: > diff --git a/arch/Kconfig b/arch/Kconfig > index 84faaba66364..e69c974369cc 100644 > --- a/arch/Kconfig > +++ b/arch/Kconfig > @@ -443,9 +443,22 @@ config MMU_LAZY_TLB > config MMU_LAZY_TLB_REFCOUNT > def_bool y > depends on MMU_LAZY_TLB

Re: [PATCH 3/3] powerpc: Update NUMA Kconfig description & help text

2020-11-24 Thread Randy Dunlap
On 11/24/20 4:05 AM, Michael Ellerman wrote: > Update the NUMA Kconfig description to match other architectures, and > add some help text. Shamelessly borrowed from x86/arm64. > > Signed-off-by: Michael Ellerman Reviewed-by: Randy Dunlap Thanks. > --- > arch/p

Re: [PATCH 1/3] powerpc: Make NUMA depend on SMP

2020-11-24 Thread Randy Dunlap
NUMA depend on SMP. > > Reported-by: kernel test robot > Reported-by: Randy Dunlap > Signed-off-by: Michael Ellerman Reviewed-by: Randy Dunlap Thanks. > --- > arch/powerpc/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch

Re: Duplicated ABI entries - Was: Re: [PATCH v2 20/39] docs: ABI: testing: make the files compatible with ReST output

2020-11-10 Thread Randy Dunlap
On 11/9/20 11:26 PM, Mauro Carvalho Chehab wrote: > Hi Jonathan, > > Let's view ABI from the PoV of a system admin that doesn't know > yet about a certain ABI symbol. > > He'll try to seek for the symbol, more likely using the HTML > documentation. Only very senior system admins might try to

Re: [PATCH V2] Doc: admin-guide: Add entry for kvm_cma_resv_ratio kernel param

2020-09-21 Thread Randy Dunlap
guests. > > Cc: linux-ker...@vger.kernel.org > Cc: kvm-...@vger.kernel.org > Cc: linuxppc-dev@lists.ozlabs.org > Cc: Paul Mackerras > Cc: Michael Ellerman > Cc: Jonathan Corbet > Reviewed-by: Randy Dunlap > Signed-off-by: Satheesh Rajendran Hi, > --- > > V

Re: [PATCH] Doc: admin-guide: Add entry for kvm_cma_resv_ratio kernel param

2020-09-16 Thread Randy Dunlap
On 9/15/20 11:11 PM, sathn...@linux.vnet.ibm.com wrote: > From: Satheesh Rajendran > > Add document entry for kvm_cma_resv_ratio kernel param which > is used to alter the KVM contiguous memory allocation percentage > for hash pagetable allocation used by hash mode PowerPC KVM guests. > > Cc:

[PATCH] Documentation/powerpc: fix malformed table in syscall64-abi

2020-08-23 Thread Randy Dunlap
From: Randy Dunlap Fix malformed table warning in powerpc/syscall64-abi.rst by making two tables and moving the headings. Documentation/powerpc/syscall64-abi.rst:53: WARNING: Malformed table. Text in column margin in table line 2

Re: [PATCH 0/9] powerpc: delete duplicated words

2020-07-26 Thread Randy Dunlap
On 7/26/20 10:49 AM, Joe Perches wrote: > On Sun, 2020-07-26 at 10:23 -0700, Randy Dunlap wrote: >> On 7/26/20 7:29 AM, Christophe Leroy wrote: >>> Randy Dunlap a écrit : >>> >>>> Drop duplicated words in arch/powerpc/ header files. >>> >&

Re: [PATCH 0/9] powerpc: delete duplicated words

2020-07-26 Thread Randy Dunlap
On 7/26/20 7:29 AM, Christophe Leroy wrote: > Randy Dunlap a écrit : > >> Drop duplicated words in arch/powerpc/ header files. > > How did you detect them ? Do you have some script for tgat, or you just read > all comments ? Yes, it's a script that finds lots of false

[PATCH 9/9] powerpc: powernv: pci.h: delete duplicated word

2020-07-25 Thread Randy Dunlap
Drop the repeated word "for". Signed-off-by: Randy Dunlap Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/platforms/powernv/pci.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200720

[PATCH 8/9] powerpc: smu.h: delete duplicated word

2020-07-25 Thread Randy Dunlap
Drop the repeated word "the". Signed-off-by: Randy Dunlap Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/include/asm/smu.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200720

[PATCH 7/9] powerpc: reg.h: delete duplicated word

2020-07-25 Thread Randy Dunlap
Drop the repeated word "a". Signed-off-by: Randy Dunlap Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/include/asm/reg.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200720.orig/ar

[PATCH 6/9] powerpc: ppc_asm.h: delete duplicated word

2020-07-25 Thread Randy Dunlap
Drop the repeated word "in". Signed-off-by: Randy Dunlap Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/include/asm/ppc_asm.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200720

[PATCH 2/9] powerpc: book3s: radix-4k.h: delete duplicated word

2020-07-25 Thread Randy Dunlap
Drop the repeated word "per". Signed-off-by: Randy Dunlap Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/include/asm/book3s/64/radix-4k.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-nex

[PATCH 1/9] powerpc: book3s: mmu-hash.h: delete duplicated word

2020-07-25 Thread Randy Dunlap
Drop the repeated word "below". Signed-off-by: Randy Dunlap Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/include/asm/book3s/64/mmu-hash.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-nex

[PATCH 0/9] powerpc: delete duplicated words

2020-07-25 Thread Randy Dunlap
Drop duplicated words in arch/powerpc/ header files. Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org arch/powerpc/include/asm/book3s/64/mmu-hash.h |2 +- arch/powerpc/include/asm/book3s/64/radix-4k.h |2 +-

[PATCH 4/9] powerpc: epapr_hcalls.h: delete duplicated words

2020-07-25 Thread Randy Dunlap
Drop the repeated words "file" and "the". Signed-off-by: Randy Dunlap Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/include/asm/epapr_hcalls.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletion

[PATCH 3/9] powerpc: cputime.h: delete duplicated word

2020-07-25 Thread Randy Dunlap
Drop the repeated word "use". Signed-off-by: Randy Dunlap Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/include/asm/cputime.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200720

[PATCH 5/9] powerpc: hw_breakpoint.h: delete duplicated word

2020-07-25 Thread Randy Dunlap
Drop the repeated word "the". Signed-off-by: Randy Dunlap Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/include/asm/hw_breakpoint.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-202

  1   2   3   >