[PATCH -next?] powerpc/fsl_uli1575: fix kconfig warnings and build errors

2023-04-28 Thread Randy Dunlap
Neither FSL_SOC_BOOKE nor PPC_86xx enables CONFIG_PCI by default, so it may be unset in some randconfigs. When that happens, FSL_ULI1575 may be set when it should not be since it is a PCI driver. When it is set, there are 3 kconfig warnings and a slew of build errors WARNING: unmet direct

[PATCH] powerpc: delete empty config entry for PPC_86xx

2023-04-28 Thread Randy Dunlap
Drop an unused and empty "config" entry for PPC_86xx. It has no keyword entries under it and the following line's "menuconfig" for the same Kconfig symbol is what kconfig uses. Fixes: d8267c1a3686 ("powerpc: Add 82xx/83xx/86xx to 6xx Multiplatform") Signed-off-by: Randy Dunlap Cc: Kumar Gala

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-6.4-1 tag

2023-04-28 Thread Michael Ellerman
Linus Torvalds writes: > On Fri, Apr 28, 2023 at 2:44 AM Michael Ellerman wrote: >> >> https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git >> tags/powerpc-6.4-1 > > Odd. Your shortlog has this: > >> Michael Ellerman (46): >> powerpc/configs: Make pseries_defconfig an alias

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-6.4-1 tag

2023-04-28 Thread pr-tracker-bot
The pull request you sent on Fri, 28 Apr 2023 19:44:02 +1000: > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git > tags/powerpc-6.4-1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/70cc1b5307e8ee3076fdf2ecbeb89eb973aa0ff7 Thank you! --

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-6.4-1 tag

2023-04-28 Thread Linus Torvalds
On Fri, Apr 28, 2023 at 2:44 AM Michael Ellerman wrote: > > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git > tags/powerpc-6.4-1 Odd. Your shortlog has this: > Michael Ellerman (46): > powerpc/configs: Make pseries_defconfig an alias for ppc64le_guest that removed

[PATCH] powerpc: remove unneeded if-checks

2023-04-28 Thread Tom Rix
For ppc64, gcc with W=1 reports arch/powerpc/platforms/cell/spu_base.c:330:17: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body] 330 | ; | ^ arch/powerpc/platforms/cell/spu_base.c:333:17: error: suggest braces around empty

Re: [PATCH 1/1] PCI: layerscape: Add the endpoint linkup notifier support

2023-04-28 Thread Bjorn Helgaas
On Thu, Apr 20, 2023 at 06:11:17PM -0400, Frank Li wrote: > Layerscape has PME interrupt, which can be use as linkup notifer. > Set CFG_READY bit when linkup detected. s/use/used/ s/notifer/notifier/ > +/* PEX PFa PCIE pme and message interrupt registers*/ s/pme/PME/ to match other usage and

Re: [PATCH] selftests/powerpc: Replace obsolete memalign() with posix_memalign()

2023-04-28 Thread Muhammad Usama Anjum
On 4/13/23 6:02 AM, Deming Wang wrote: > memalign() is obsolete according to its manpage. > > Replace memalign() with posix_memalign() and remove malloc.h include > that was there for memalign(). Thanks for the patch. > > As a pointer is passed into posix_memalign(), initialize *s to NULL I'm

[PATCH 6/7] powerpc: asm/io.h: Expect immutable pointer in virt_to_phys prototype

2023-04-28 Thread Stanislav Kinsburskii
From: Stanislav Kinsburskii These helper function - virt_to_phys - doesn't need the address pointer to be mutable. In the same time expecting it to be mutable leads to the following build warning for constant pointers: warning: passing argument 1 of ‘virt_to_phys’ discards ‘const’ qualifier

[PATCH 0/7] Expect immutable pointer in virt_to_phys/isa_virt_to_bus prototypes

2023-04-28 Thread Stanislav Kinsburskii
This series is aimed to address compilation warnings when a constant pointer is passed to virt_to_phys and isa_virt_to_bus functions: warning: passing argument 1 of ‘virt_to_phys’ discards ‘const’ qualifier from pointer target type warning: passing argument 1 of ‘isa_virt_to_bus’ discards

Re: BUG : PowerPC RCU: torture test failed with __stack_chk_fail

2023-04-28 Thread Christophe Leroy
Le 26/04/2023 à 14:29, Michael Ellerman a écrit : > Joel Fernandes writes: >> On Tue, Apr 25, 2023 at 6:58 AM Zhouyi Zhou wrote: > ... >> >> Out of curiosity for PPC folks, why cannot 64-bit PPC use per-task >> canary? Michael, is this an optimization? Adding Christophe as well >> since it

[GIT PULL] Please pull powerpc/linux.git powerpc-6.4-1 tag

2023-04-28 Thread Michael Ellerman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Linus, Please pull powerpc updates for 6.4. A pretty small batch, but a couple of conflicts. The first is in drivers/gpu/drm/amd/display/Kconfig. The correct resolution is: select DRM_AMD_DC_FP if (X86 || (PPC64 && ALTIVEC) || (ARM64

Re: [PATCH 0/7] Expect immutable pointer in virt_to_phys/isa_virt_to_bus prototypes

2023-04-28 Thread Arnd Bergmann
On Sat, Apr 15, 2023, at 12:17, Stanislav Kinsburskii wrote: > This series is aimed to address compilation warnings when a constant pointer > is passed to virt_to_phys and isa_virt_to_bus functions: > > warning: passing argument 1 of ‘virt_to_phys’ discards ‘const’ > qualifier from pointer