[PATCH v3] macintosh: via-pmu-led: fix Kconfig for ADB_PMU_LED_DISK

2023-02-23 Thread Randy Dunlap
if ADB_PMU_LED_DISK is selected") Signed-off-by: Randy Dunlap Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Elimar Riesebieter Cc: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org --- v2: add a complete Subject: line v3: change select to depends on (Michael) drivers/macintosh/Kco

Re: [PATCH] macintosh: via-pmu-led: *********************************

2023-02-23 Thread Randy Dunlap
On 2/23/23 00:56, Michael Ellerman wrote: > Randy Dunlap writes: >> LEDS_TRIGGER_DISK depends on ATA, so selecting LEDS_TRIGGER_DISK >> when ATA is not set/enabled causes a Kconfig warning: >> >> WARNING: unmet direct dependencies detected for LEDS_TRIGGER_DISK &g

[PATCH] POWERPC: several build fixes

2023-02-22 Thread Randy Dunlap
Fix multiple build errors or warnings for POWERPC. These are mostly fixes for resource_size_t printk format warnings. One patch is for RTAS, which requires GENERIC_ALLOCATOR. Subject: [PATCH 1/4] clk: mpc512x: fix resource printk format warning Subject: [PATCH 2/4] powerpc: wii: fix resource

[PATCH 4/4] POWERPC: sysdev/tsi108: fix resource printk format warnings

2023-02-22 Thread Randy Dunlap
rce_size_t' {aka 'long long unsigned int'} [-Werror=format=] Fixes: c4342ff92bed ("[POWERPC] Update mpc7448hpc2 board irq support using device tree") Fixes: 2b9d7467a6db ("[POWERPC] Add tsi108 pci and platform device data register function") Signed-off-by: Randy Dunlap Cc

[PATCH 3/4] powerpc/pseries: RTAS work area requires GENERIC_ALLOCATOR

2023-02-22 Thread Randy Dunlap
`.rtas_work_area_free': rtas-work-area.c:(.ref.text+0x44c): undefined reference to `.gen_pool_free_owner' Fixes: 43033bc62d34 ("powerpc/pseries: add RTAS work area allocator") Signed-off-by: Randy Dunlap Cc: Nathan Lynch Cc: Michael Ellerman Cc: Nicholas Piggin Cc: Christophe

[PATCH 2/4] powerpc: wii: fix resource printk format warnings

2023-02-22 Thread Randy Dunlap
s at 0x%08x mapped to 0x%p\n", name, | ^~~ Fixes: 028ee972f032 ("powerpc: gamecube/wii: flipper interrupt controller support") Fixes: 9c21025c7845 ("powerpc: wii: hollywood interrupt controller support") Fixes: 5a7ee3198dfa ("powerpc: wii: platform supp

[PATCH 1/4] clk: mpc512x: fix resource printk format warning

2023-02-22 Thread Randy Dunlap
res.start, np->name); \ |^ ~ | | | resource_size_t {aka long long unsigned int} Prevents 24 such warnings. Fixes: 01f25c371658 ("clk: mpc512x: add backwards compat to the CCF code") Signed-off-by: Ran

[PATCH v2] macintosh: via-pmu-led: requires ATA to be set

2023-02-22 Thread Randy Dunlap
PMU_LED_DISK [=y] && MACINTOSH_DRIVERS [=y] && ADB_PMU_LED [=y] && LEDS_CLASS [=y] Fix this by making ADB_PMU_LED_DISK depend on ATA. Seen on both PPC32 and PPC64. Fixes: 0e865a80c135 ("macintosh: Remove dependency on IDE_GD_ATA if ADB_PMU_LED_DISK is selecte

[PATCH] macintosh: via-pmu-led: *********************************

2023-02-22 Thread Randy Dunlap
PMU_LED_DISK [=y] && MACINTOSH_DRIVERS [=y] && ADB_PMU_LED [=y] && LEDS_CLASS [=y] Fix this by making ADB_PMU_LED_DISK depend on ATA. Seen on both PPC32 and PPC64. Fixes: 0e865a80c135 ("macintosh: Remove dependency on IDE_GD_ATA if ADB_PMU_LED_DISK is selecte

Re: [PATCH v2] usb: fix some spelling mistakes in comment of gadget

2023-02-15 Thread Randy Dunlap
On 2/15/23 17:35, Zhou nan wrote: > usb: Fix spelling mistake in comments of gadget. > > Signed-off-by: Zhou nan Acked-by: Randy Dunlap Thanks. > --- > v2: > - Modify the title and description text. > --- > drivers/usb/gadget/udc/fsl_udc_core.c | 8 -

[PATCH 00/24 v2] Documentation: correct lots of spelling errors (series 1)

2023-02-09 Thread Randy Dunlap
Correct many spelling errors in Documentation/ as reported by codespell. Maintainers of specific kernel subsystems are only Cc-ed on their respective patches, not the entire series. These patches are based on linux-next-20230209. [PATCH 01/24] Documentation: arm: correct spelling [PATCH

[PATCH 14/24] Documentation: powerpc: correct spelling

2023-02-08 Thread Randy Dunlap
Correct spelling problems for Documentation/powerpc/ as reported by codespell. Signed-off-by: Randy Dunlap Cc: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org --- Documentation/powerpc/kasan.txt |2 +- Documentation/powerpc

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 whi

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

[PATCH] powerpc/kexec_file: fix implicit decl error

2023-02-04 Thread Randy Dunlap
()) + | ^~ Fixes: fc546faa5595 ("powerpc/kexec_file: Count hot-pluggable memory in FDT estimate") Signed-off-by: Randy Dunlap Cc: Sourabh Jain Cc: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/kexec/file_load_64.c |1 + 1 file changed, 1 insertion(+) diff

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 [st

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 ob

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

[PATCH 00/35] Documentation: correct lots of spelling errors (series 1)

2023-01-26 Thread Randy Dunlap
Correct many spelling errors in Documentation/ as reported by codespell. Maintainers of specific kernel subsystems are only Cc-ed on their respective patches, not the entire series. [if all goes well] These patches are based on linux-next-20230125. [PATCH 01/35] Documentation: arm64: correct

[PATCH 21/35] Documentation: powerpc: correct spelling

2023-01-26 Thread Randy Dunlap
Correct spelling problems for Documentation/powerpc/ as reported by codespell. Signed-off-by: Randy Dunlap Cc: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org --- Documentation/powerpc/kasan.txt |2 +- Documentation/powerpc

[PATCH] soc/fsl/qe: fix usb.c build errors

2023-01-12 Thread Randy Dunlap
t;) Signed-off-by: Randy Dunlap Reported-by: kernel test robot Link: https://lore.kernel.org/all/202301101500.pillnv6r-...@intel.com/ Suggested-by: Michael Ellerman Cc: Christophe Leroy Cc: Leo Li Cc: Masahiro Yamada Cc: Nicolas Schier Cc: Qiang Zhao Cc: linuxppc-dev Cc:

Re: usb.c:undefined reference to `qe_immr'

2023-01-11 Thread Randy Dunlap
On 1/10/23 23:39, Michael Ellerman wrote: > Randy Dunlap writes: >> [adding Cc's] >> >> >> On 1/9/23 23:59, kernel test robot wrote: >>> Hi Masahiro, >>> >>> FYI, the error/warning still remains. >>> >>> tree: https:

Re: usb.c:undefined reference to `qe_immr'

2023-01-10 Thread Randy Dunlap
[adding Cc's] On 1/9/23 23:59, kernel test robot wrote: > Hi Masahiro, > > FYI, the error/warning still remains. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 5a41237ad1d4b62008f93163af1d9b1da90729d8 > commit:

[PATCH] fbdev: make offb driver tristate

2022-11-25 Thread Randy Dunlap
:(.data.rel.ro+0x60): undefined reference to `cfb_copyarea' powerpc64-linux-ld: drivers/video/fbdev/offb.o:(.data.rel.ro+0x68): undefined reference to `cfb_imageblit' Signed-off-by: Randy Dunlap Suggested-by: Arnd Bergmann Cc: Masahiro Yamada Cc: Thomas Zimmermann Cc: Michal Suchánek Cc

[PATCH] powerpc/mpc52xx_lpbfifo: fix all kernel-doc warnings

2022-11-23 Thread Randy Dunlap
-by: kernel test robot Signed-off-by: Randy Dunlap Cc: Mauro Carvalho Chehab Cc: John Bonesio Cc: Anatolij Gustschin Cc: linuxppc-dev@lists.ozlabs.org Cc: Michael Ellerman --- arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff

Re: [PATCH -next] fbdev: offb: allow build when DRM_OFDRM=m

2022-11-23 Thread Randy Dunlap
On 11/23/22 02:02, Randy Dunlap wrote: > Hi Arnd, > > On 11/23/22 01:08, Arnd Bergmann wrote: >> On Wed, Nov 23, 2022, at 04:16, Randy Dunlap wrote: >>> Fix build when CONFIG_FB_OF=y and CONFIG_DRM_OFDRM=m. >>> When the latter symbol is =m, kconfig downgrades

Re: [PATCH -next] fbdev: offb: allow build when DRM_OFDRM=m

2022-11-23 Thread Randy Dunlap
Hi Arnd, On 11/23/22 01:08, Arnd Bergmann wrote: > On Wed, Nov 23, 2022, at 04:16, Randy Dunlap wrote: >> Fix build when CONFIG_FB_OF=y and CONFIG_DRM_OFDRM=m. >> When the latter symbol is =m, kconfig downgrades (limits) the 'select's >> under FB_OF to modular (=m). This ca

[PATCH -next] fbdev: offb: allow build when DRM_OFDRM=m

2022-11-22 Thread Randy Dunlap
xes: c8a17756c425 ("drm/ofdrm: Add ofdrm for Open Firmware framebuffers") Signed-off-by: Randy Dunlap Suggested-by: Masahiro Yamada Cc: Thomas Zimmermann Cc: Michal Suchánek Cc: linuxppc-dev@lists.ozlabs.org Cc: Daniel Vetter Cc: Helge Deller Cc: linux-fb...@vger.kernel.o

Re: build failure in linux-next: offb missing fb helpers

2022-11-19 Thread Randy Dunlap
Hi, On 11/19/22 07:37, Michal Suchánek wrote: > Hello, > > On Sat, Nov 19, 2022 at 10:27:04PM +0900, Masahiro Yamada wrote: >> On Sat, Nov 19, 2022 at 3:20 PM Randy Dunlap wrote: >>> >>> Hi-- >>> >>> [adding Masahiro-san] >>>

Re: build failure in linux-next: offb missing fb helpers

2022-11-18 Thread Randy Dunlap
Hi-- [adding Masahiro-san] On 11/18/22 07:03, Michal Suchánek wrote: > Hello, > > I am seeing these errors: > > [ 3825s] AR built-in.a > [ 3827s] AR vmlinux.a > [ 3835s] LD vmlinux.o > [ 3835s] OBJCOPY modules.builtin.modinfo > [ 3835s] GEN modules.builtin > [

[PATCH] Documentation: spufs: correct a duplicate word typo

2022-08-29 Thread Randy Dunlap
Fix a typo of "or" which should be "of". Signed-off-by: Randy Dunlap Cc: Jeremy Kerr Cc: Arnd Bergmann Cc: linuxppc-dev@lists.ozlabs.org Cc: Jonathan Corbet --- Documentation/filesystems/spufs/spufs.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/Docum

Re: [PATCH] >>>>>>>>>>>>>>>>>>>>>>>>> BLURB <<<<<<<<<<<<<<<<<<

2022-08-29 Thread Randy Dunlap
Oops. I'll correct the Subject and resend. On 8/29/22 16:26, Randy Dunlap wrote: > Fix a typo of "or" which should be "of". > > Signed-off-by: Randy Dunlap > Cc: Jeremy Kerr > Cc: Arnd Bergmann > Cc: linuxppc-dev@lists.ozlabs.org > Cc: Jonathan C

[PATCH] >>>>>>>>>>>>>>>>>>>>>>>>> BLURB <<<<<<<<<<<<<<<<<<

2022-08-29 Thread Randy Dunlap
Fix a typo of "or" which should be "of". Signed-off-by: Randy Dunlap Cc: Jeremy Kerr Cc: Arnd Bergmann Cc: linuxppc-dev@lists.ozlabs.org Cc: Jonathan Corbet --- Documentation/filesystems/spufs/spufs.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/Docum

Re: [PATCH] powerpc: export cpu_smallcore_map for modules

2022-08-21 Thread Randy Dunlap
On 8/21/22 20:40, Michael Ellerman wrote: > Randy Dunlap writes: >> Fix build error when CONFIG_DRM_AMDGPU=m: >> >> ERROR: modpost: "cpu_smallcore_map" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] >> undefined! >> >> by exporting 'cpu_smallcore_m

Re: [PATCH] powerpc: Add support for early debugging via Serial 16550 console

2022-08-19 Thread Randy Dunlap
On 8/19/22 15:38, Pali Rohár wrote: > On Friday 19 August 2022 15:34:14 Randy Dunlap wrote: >> Hi-- >> >> On 8/19/22 14:12, Pali Rohár wrote: >>> Currently powerpc early debugging contains lot of platform specific >>> options, but does not suppo

Re: [PATCH] powerpc: Add support for early debugging via Serial 16550 console

2022-08-19 Thread Randy Dunlap
Hi-- On 8/19/22 14:12, Pali Rohár wrote: > Currently powerpc early debugging contains lot of platform specific > options, but does not support standard UART / serial 16550 console. > > Later legacy_serial.c code supports registering UART as early debug console > from device tree but it is not

[PATCH] powerpc: export cpu_smallcore_map for modules

2022-08-19 Thread Randy Dunlap
e function on powerpc which references cpu_smallcore_map. Fixes: 425752c63b6f ("powerpc: Detect the presence of big-cores via "ibm, thread-groups"") Fixes: 7bc913085765 ("drm/amdkfd: Try to schedule bottom half on same core") Signed-off-by: Randy Dunlap Cc: Gau

Re: [PATCH v5 4/4] pseries/mobility: set NMI watchdog factor during an LPM

2022-07-13 Thread Randy Dunlap
Hi Laurent, On 7/13/22 08:47, Laurent Dufour wrote: > diff --git a/Documentation/admin-guide/sysctl/kernel.rst > b/Documentation/admin-guide/sysctl/kernel.rst > index ddccd1077462..d73faa619c15 100644 > --- a/Documentation/admin-guide/sysctl/kernel.rst > +++

Re: [PATCH v4 4/4] pseries/mobility: set NMI watchdog factor during LPM

2022-07-13 Thread Randy Dunlap
Hi, On 7/13/22 03:56, Laurent Dufour wrote: > Le 12/07/2022 à 18:25, Randy Dunlap a écrit : >> Hi-- >> >> On 7/12/22 07:32, Laurent Dufour wrote: >>> >>> Reviewed-by: Nicholas Piggin >>> Signed-off-by: Laurent Dufour >>>

Re: [PATCH v4 4/4] pseries/mobility: set NMI watchdog factor during LPM

2022-07-12 Thread Randy Dunlap
Hi-- On 7/12/22 07:32, Laurent Dufour wrote: > During a LPM, while the memory transfer is in progress on the arrival side, > some latencies is generated when accessing not yet transferred pages on the are > arrival side. Thus, the NMI watchdog may be triggered too frequently,

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

<    1   2   3   4   >