Re: [PATCH] powerpc: add missing MODULE_DESCRIPTION() macros

2024-06-28 Thread Jeff Johnson
On 6/15/2024 10:06 AM, Jeff Johnson wrote: > With ARCH=powerpc, make allmodconfig && make W=1 C=1 reports: > WARNING: modpost: missing MODULE_DESCRIPTION() in > arch/powerpc/kernel/rtas_flash.o > WARNING: modpost: missing MODULE_DESCRIPTION() in > arch/powerpc/sysdev/rtc_cmos_setup.o > WARNING: m

Re: [PATCH] KVM: PPC: add missing MODULE_DESCRIPTION() macros

2024-06-28 Thread Jeff Johnson
On 6/15/2024 8:18 AM, Jeff Johnson wrote: > With ARCH=powerpc, make allmodconfig && make W=1 C=1 reports: > WARNING: modpost: missing MODULE_DESCRIPTION() in > arch/powerpc/kvm/test-guest-state-buffer.o > WARNING: modpost: missing MODULE_DESCRIPTION() in arch/powerpc/kvm/kvm-pr.o > WARNING: modpos

Re: [PATCH] cpufreq: powerpc: add missing MODULE_DESCRIPTION() macros

2024-06-28 Thread Jeff Johnson
On 6/14/2024 11:08 PM, Jeff Johnson wrote: > With ARCH=powerpc, make allmodconfig && make W=1 C=1 reports: > WARNING: modpost: missing MODULE_DESCRIPTION() in > drivers/cpufreq/ppc-cbe-cpufreq.o > WARNING: modpost: missing MODULE_DESCRIPTION() in > drivers/cpufreq/powernv-cpufreq.o > > Add the m

Re: [PATCH 1/2] ASoC: dt-bindings: fsl_rpmsg: Add compatible string for i.MX95

2024-06-28 Thread Rob Herring (Arm)
On Wed, 26 Jun 2024 16:12:01 +0900, Chancel Liu wrote: > Add compatible string for i.MX95 platform which supports audio > function through rpmsg channel between Cortex-A and Cortex-M core. > > Signed-off-by: Chancel Liu > --- > Documentation/devicetree/bindings/sound/fsl,rpmsg.yaml | 1 + > 1

Re: [PATCH v2 1/1] dt-bindings: soc: fsl: Convert q(b)man-* to yaml format

2024-06-28 Thread Rob Herring (Arm)
On Wed, 26 Jun 2024 15:37:53 -0400, Frank Li wrote: > Convert qman, bman, qman-portals, bman-portals to yaml format. > > Additional Change for fsl,q(b)man-portal: > - Only keep one example. > - Add fsl,qman-channel-id property. > - Use interrupt type macro. > - Remove top level qman-portals@ff42

Re: [PATCH v3 1/2] pci/hotplug/pnv_php: Fix hotplug driver crash on Powernv

2024-06-28 Thread Shawn Anastasio
Hi Michael, On 6/27/24 11:48 PM, Michael Ellerman wrote: > Was the panic reported anywhere? So we can link to the report in the > commit. It was indeed -- here is the link to the thread from last December: https://lists.ozlabs.org/pipermail/linuxppc-dev/2023-December/267034.html > cheers Thanks

Re: [PATCH] perf report: Calling available function for stats printing

2024-06-28 Thread Ian Rogers
On Fri, Jun 28, 2024 at 11:32 AM Abhishek Dubey wrote: > > For printing dump_trace, just use existing stats_print() > function. > > Signed-off-by: Abhishek Dubey Reviewed-by: Ian Rogers Thanks, Ian > --- > tools/perf/builtin-report.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-)

[PATCH] perf report: Calling available function for stats printing

2024-06-28 Thread Abhishek Dubey
For printing dump_trace, just use existing stats_print() function. Signed-off-by: Abhishek Dubey --- tools/perf/builtin-report.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c index 9718770facb5..6edc0d4ce6fb 100644

Re: (subset) [Patch v5 00/12] Add audio support for LPC32XX CPUs

2024-06-28 Thread Mark Brown
On Thu, 27 Jun 2024 17:00:18 +0200, Piotr Wojtaszczyk wrote: > This pach set is to bring back audio to machines with a LPC32XX CPU. > The legacy LPC32XX SoC used to have audio spport in linux 2.6.27. > The support was dropped due to lack of interest from mainaeners. > > Piotr Wojtaszczyk (12): >

Re: [PATCH] tpm: ibmvtpm: Call tpm2_sessions_init() to initialize session support

2024-06-28 Thread Stefan Berger
On 6/28/24 12:39, James Bottomley wrote: On Fri, 2024-06-28 at 10:54 +1000, Michael Ellerman wrote: Stefan Berger writes: Fix the following type of error message caused by a missing call to tpm2_sessions_init() in the IBM vTPM driver: [    2.987131] tpm tpm0: tpm2_load_context: failed with

Re: [PATCH] printk: Add a short description string to kmsg_dump()

2024-06-28 Thread Kees Cook
On Fri, Jun 28, 2024 at 09:13:11AM +0200, Jocelyn Falempe wrote: > It is present in the kdump log, but before all the register dumps. > So to retrieve it you need to parse the last 30~40 lines of logs, and search > for a line starting with "Kernel panic - not syncing". > https://elixir.bootlin.com/

[powerpc:next] BUILD SUCCESS 932bed41217059638c78a75411b7893b121d2162

2024-06-28 Thread kernel test robot
-13.2.0 arc defconfig gcc-13.2.0 arc randconfig-001-20240620 gcc-13.2.0 arc randconfig-001-20240628 gcc-13.2.0 arc randconfig-002-20240620 gcc-13.2.0 arc randconfig-002-20240628 gcc

Re: [PATCH] tpm: ibmvtpm: Call tpm2_sessions_init() to initialize session support

2024-06-28 Thread James Bottomley
On Fri, 2024-06-28 at 10:54 +1000, Michael Ellerman wrote: > Stefan Berger writes: > > Fix the following type of error message caused by a missing call to > > tpm2_sessions_init() in the IBM vTPM driver: > > > > [    2.987131] tpm tpm0: tpm2_load_context: failed with a TPM error > > 0x01C4 > > [ 

Re: [PATCH 3/4] crypto: caam: Unembed net_dev structure from qi

2024-06-28 Thread Simon Horman
On Mon, Jun 24, 2024 at 09:21:21AM -0700, Breno Leitao wrote: > Embedding net_device into structures prohibits the usage of flexible > arrays in the net_device structure. For more details, see the discussion > at [1]. > > Un-embed the net_devices from struct caam_qi_pcpu_priv by converting them >

[powerpc:fixes-test] BUILD SUCCESS a1216e62d039bf63a539bbe718536ec789a853dd

2024-06-28 Thread kernel test robot
m64 defconfig gcc-13.2.0 csky allnoconfig gcc-13.2.0 cskydefconfig gcc-13.2.0 i386 buildonly-randconfig-001-20240628 gcc-10 i386 buildonly-randconfig-002-20240628 gcc-10 i386 buildonly-randconfig-003-20240628

[Patch v6] dmaengine: Add dma router for pl08x in LPC32XX SoC

2024-06-28 Thread Piotr Wojtaszczyk
LPC32XX connects few of its peripherals to pl08x DMA thru a multiplexer, this driver allows to route a signal request line thru the multiplexer for given peripheral. Signed-off-by: Piotr Wojtaszczyk --- Changes for v6: - Select LPC32XX_DMAMUX config when AMBA_PL08X is selected Changes for v5: -

[Patch v6] i2c: pnx: Fix potential deadlock warning from del_timer_sync() call in isr

2024-06-28 Thread Piotr Wojtaszczyk
When del_timer_sync() is called in an interrupt context it throws a warning because of potential deadlock. The timer is used only to exit from wait_for_completion() after a timeout so replacing the call with wait_for_completion_timeout() allows to remove the problematic timer and its related functi

Re: [PATCH] tpm: ibmvtpm: Call tpm2_sessions_init() to initialize session support

2024-06-28 Thread Linux regression tracking (Thorsten Leemhuis)
[CCing the regression list] On 20.06.24 00:34, Stefan Berger wrote: > Jarkko, >   are you ok with this patch? Hmmm, hope I did not miss anythng, but looks like nothing happened for about 10 days here. Hence: Jarkko, looks like some feedback from your side really would help to find a path to get

Re: [PATCH v2] radix/kfence: map __kfence_pool at page granularity

2024-06-28 Thread Michael Ellerman
Hi Hari, Just a few little things ... Hari Bathini writes: > When KFENCE is enabled, total system memory is mapped at page level > granularity. But in radix MMU mode, ~3GB additional memory is needed > to map 100GB of system memory at page level granularity when compared > to using 2MB direct ma

[PATCH v3 1/7] powerpc/40x: Remove 40x platforms.

2024-06-28 Thread Michael Ellerman
From: Christophe Leroy 40x platforms have been orphaned for many years. Remove them. Signed-off-by: Christophe Leroy Signed-off-by: Michael Ellerman --- MAINTAINERS | 1 - arch/powerpc/configs/40x/acadia_defconfig | 61 arch/powerpc/configs

[PATCH v3 3/7] powerpc: Remove 40x from Kconfig and defconfig

2024-06-28 Thread Michael Ellerman
Remove 40x from Kconfig, making the code unreachable. Signed-off-by: Michael Ellerman --- arch/powerpc/Kconfig | 12 ++-- arch/powerpc/Kconfig.debug | 13 - arch/powerpc/Makefile | 5 - arch/powerpc/configs/40x.config

[PATCH v3 7/7] powerpc/platforms: Move files from 4xx to 44x

2024-06-28 Thread Michael Ellerman
From: Christophe Leroy Only 44x uses 4xx now, so only keep one directory. Signed-off-by: Christophe Leroy Signed-off-by: Michael Ellerman --- arch/powerpc/platforms/44x/Makefile | 6 - arch/powerpc/platforms/{4xx => 44x}/cpm.c | 0 arch/powerpc/platforms/{4xx => 44x}/gpio.

[PATCH v3 6/7] powerpc: Replace CONFIG_4xx with CONFIG_44x

2024-06-28 Thread Michael Ellerman
Replace 4xx usage with 44x, and replace 4xx_SOC with 44x. Also, as pointed out by Christophe, if 44x || BOOKE can be simplified to just test BOOKE, because 44x always selects BOOKE. Retain the CONFIG_4xx symbol, as there are drivers that use it to mean 4xx || 44x, those will need updating before

[PATCH v3 5/7] powerpc/4xx: Remove CONFIG_BOOKE_OR_40x

2024-06-28 Thread Michael Ellerman
Now that 40x is gone, replace CONFIG_BOOKE_OR_40x by CONFIG_BOOKE. Signed-off-by: Michael Ellerman --- arch/powerpc/include/asm/hw_irq.h | 8 arch/powerpc/include/asm/irq.h | 2 +- arch/powerpc/include/asm/kup.h | 2 +- arch/powerpc/include/asm/processor.h | 2 +-

[PATCH v3 2/7] powerpc/boot: Remove all 40x platforms from boot

2024-06-28 Thread Michael Ellerman
From: Christophe Leroy Remove 40x platforms from the boot directory. Signed-off-by: Christophe Leroy Signed-off-by: Michael Ellerman --- arch/powerpc/boot/4xx.c | 266 -- arch/powerpc/boot/4xx.h | 4 - arch/powerpc/boot/Makefile | 11 - arch

Re: [PATCH] powerpc/pseries: Fix scv instruction crash with kexec

2024-06-28 Thread Michael Ellerman
Sourabh Jain writes: > On 26/06/24 14:57, Michael Ellerman wrote: >> Nicholas Piggin writes: >>> kexec on pseries disables AIL (reloc_on_exc), required for scv >>> instruction support, before other CPUs have been shut down. This means >>> they can execute scv instructions after AIL is disabled, w

Re: [Patch v4 08/10] mtd: rawnand: lpx32xx: Request DMA channels using DT entries

2024-06-28 Thread Piotr Wojtaszczyk
On Mon, Jun 24, 2024 at 8:39 AM Miquel Raynal wrote: > > > I don't see any change regarding the NAND controller node in the device > > > tree, is there any dependency with other patches from the same patchset > > > or may I apply this directly to nand/next? > > > > > > Thanks, > > > Miquèl > > > >

[PATCH] ASoC: fsl_xcvr: Improve suspend/resume flow in fsl_xcvr_trigger()

2024-06-28 Thread Chancel Liu
In the current flow all interrupts are disabled in runtime suspend phase. However interrupts enablement only exists in fsl_xcvr_prepare(). After resume fsl_xcvr_prepare() may not be called so it will cause all interrupts still disabled even if resume from suspend. Interrupts should be explictily en

Re: [PATCH v1 1/2] powerpc/mmiotrace: Add MMIO Tracing tool for PowerPC

2024-06-28 Thread Yang Jialong 杨佳龙
在 2024/6/28 15:02, Michael Ellerman 写道: Jialong Yang writes: mmiotrace is a useful tool to trace MMIO accesses. Nowadays, it only supported on x86 and x86_64 platforms. I've never used mmiotrace, and don't know it well. I'm not necessarily opposed to merging it, but AFAIK it was mostly used

Re: [Patch v5 12/12] i2x: pnx: Fix potential deadlock warning from del_timer_sync() call in isr

2024-06-28 Thread Krzysztof Kozlowski
On 27/06/2024 17:00, Piotr Wojtaszczyk wrote: > When del_timer_sync() is called in an interrupt context it throws a warning > because of potential deadlock. The timer is used only to exit from > wait_for_completion() after a timeout so replacing the call with > wait_for_completion_timeout() allows

Re: [Patch v5 02/12] dt-bindings: dma: Add lpc32xx DMA mux binding

2024-06-28 Thread Krzysztof Kozlowski
On 27/06/2024 17:00, Piotr Wojtaszczyk wrote: > LPC32XX SoCs use pl080 dma controller which have few request signals > multiplexed between peripherals. This binding describes how devices can > use the multiplexed request signals. > > Signed-off-by: Piotr Wojtaszczyk Reviewed-by: Krzysztof Kozlow

Re: [PATCH] printk: Add a short description string to kmsg_dump()

2024-06-28 Thread Jocelyn Falempe
On 26/06/2024 18:26, Kees Cook wrote: On Tue, Jun 25, 2024 at 02:39:29PM +0200, Jocelyn Falempe wrote: kmsg_dump doesn't forward the panic reason string to the kmsg_dumper callback. This patch adds a new parameter "const char *desc" to the kmsg_dumper dump() callback, and update all drivers t

Re: [PATCH v1 1/2] powerpc/mmiotrace: Add MMIO Tracing tool for PowerPC

2024-06-28 Thread Michael Ellerman
Jialong Yang writes: > mmiotrace is a useful tool to trace MMIO accesses. Nowadays, it only > supported on x86 and x86_64 platforms. I've never used mmiotrace, and don't know it well. I'm not necessarily opposed to merging it, but AFAIK it was mostly used for reverse engineering proprietary driv