Re: [PATCH V2] tools/perf: Pick the correct dwarf die while adding probe point for a function

2025-02-26 Thread Athira Rajeev
> On 26 Feb 2025, at 6:35 PM, Masami Hiramatsu (Google) > wrote: > > On Tue, 25 Feb 2025 18:00:42 +0530 > Athira Rajeev wrote: > >> Perf probe on vfs_fstatat fails as below on a powerpc system >> >> ./perf probe -nf --max-probes=512 -a 'vfs_fstatat $params' >> Segmentation fault (core dump

Re: [PATCH] tools/perf: Use perf_tool__init() to initialize default values in builtin trace

2025-02-26 Thread Athira Rajeev
> On 27 Feb 2025, at 6:08 AM, Namhyung Kim wrote: > > On Tue, Feb 25, 2025 at 05:01:57PM +0530, Athira Rajeev wrote: >> Perf trace on perf.data fails as below: >> >> ./perf trace record -- sleep 1 >> ./perf trace -i perf.data >> perf: Segmentation fault >> Segmentation fault (core dumped) >>

[powerpc:merge] BUILD SUCCESS 09a81ff40389097f77adca9788309080ba91178e

2025-02-26 Thread kernel test robot
lmodconfiggcc-13.2.0 arc allnoconfiggcc-13.2.0 arc allyesconfiggcc-13.2.0 arc randconfig-001-20250226gcc-13.2.0 arc randconfig-002-20250226gcc-13.2.0 arm allmodcon

Re: vmalloc_node_range for size 4198400 failed: Address range restricted to 0xf1000000 - 0xf5110000 (kernel 6.14-rc4, ppc32)

2025-02-26 Thread IBM
Erhard Furtner writes: > Greetings! > > At boot with a KASAN-enabled v6.14-rc4 kernel on my PowerMac G4 DP I get: > > [...] > vmalloc_node_range for size 4198400 failed: Address range restricted to > 0xf100 - 0xf511 > swapon: vmalloc error: size 4194304, vm_struct allocation failed, > m

Re: Missing '#size-cells' in /ht@0,f2000000/pci@8/mac-io@7/i2s@0 on G5/G4 (kernel 6.13-rc3)

2025-02-26 Thread Madhavan Srinivasan
On 2/27/25 3:44 AM, Erhard Furtner wrote: > On Mon, 23 Dec 2024 23:58:26 +1100 > Michael Ellerman wrote: > >> Erhard Furtner writes: >>> Greetings! >>> >>> I am aware there is commit cf89c9434af122f28a3552e6f9cc5158c33ce50a >>> (already merged in v6.13-rc3) which fixes some of the "Missing >>

Re: [next-20250226]Build Failure

2025-02-26 Thread Stephen Rothwell
ot;. On Thu, 27 Feb 2025 06:30:12 +0530 Venkat Rao Bagalkote wrote: > > I am seeing build failures with kernel next-20250226, on IBM Power8 systems. > > Failures: > > In file included from ./include/asm-generic/div64.h:27, > from ./arc

[next-20250226]Build Failure

2025-02-26 Thread Venkat Rao Bagalkote
Greetings!!! I am seeing build failures with kernel next-20250226, on IBM Power8 systems. Failures: In file included from ./include/asm-generic/div64.h:27, from ./arch/powerpc/include/generated/asm/div64.h:1, from ./include/linux/math.h:6

Re: [PATCH] tools/perf: Use perf_tool__init() to initialize default values in builtin trace

2025-02-26 Thread Namhyung Kim
On Tue, Feb 25, 2025 at 05:01:57PM +0530, Athira Rajeev wrote: > Perf trace on perf.data fails as below: > > ./perf trace record -- sleep 1 > ./perf trace -i perf.data > perf: Segmentation fault > Segmentation fault (core dumped) > > Backtrace pointed to : > ?? () >

Re: [PATCH V3 5/5] mm: Rename GENERIC_PTDUMP and PTDUMP_CORE

2025-02-26 Thread Anshuman Khandual
On 2/27/25 01:23, Catalin Marinas wrote: > On Wed, Feb 26, 2025 at 05:54:04PM +0530, Anshuman Khandual wrote: >> diff --git a/arch/arm64/include/asm/ptdump.h >> b/arch/arm64/include/asm/ptdump.h >> index 6cf4aae05219..b2931d1ae0fb 100644 >> --- a/arch/arm64/include/asm/ptdump.h >> +++ b/arch/ar

Re: Missing '#size-cells' in /ht@0,f2000000/pci@8/mac-io@7/i2s@0 on G5/G4 (kernel 6.13-rc3)

2025-02-26 Thread Erhard Furtner
On Mon, 23 Dec 2024 23:58:26 +1100 Michael Ellerman wrote: > Erhard Furtner writes: > > Greetings! > > > > I am aware there is commit cf89c9434af122f28a3552e6f9cc5158c33ce50a > > (already merged in v6.13-rc3) which fixes some of the "Missing > > '#size-cells' errors" but there is more: > > > > -

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-6.14-4 tag

2025-02-26 Thread pr-tracker-bot
The pull request you sent on Wed, 26 Feb 2025 09:28:52 +0530: > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git > tags/powerpc-6.14-4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/5c76a2e4baae7a3f76ad2cdaef5c59871bcfb2b6 Thank you! -- Deet-doot-d

Re: [PATCH V3 5/5] mm: Rename GENERIC_PTDUMP and PTDUMP_CORE

2025-02-26 Thread Catalin Marinas
On Wed, Feb 26, 2025 at 05:54:04PM +0530, Anshuman Khandual wrote: > diff --git a/arch/arm64/include/asm/ptdump.h b/arch/arm64/include/asm/ptdump.h > index 6cf4aae05219..b2931d1ae0fb 100644 > --- a/arch/arm64/include/asm/ptdump.h > +++ b/arch/arm64/include/asm/ptdump.h > @@ -7,7 +7,7 @@ > > #inc

Re: [PATCH V3 3/5] docs: arm64: Drop PTDUMP config options from ptdump.rst

2025-02-26 Thread Catalin Marinas
On Wed, Feb 26, 2025 at 05:54:02PM +0530, Anshuman Khandual wrote: > Both GENERIC_PTDUMP and PTDUMP_CORE are not user selectable config options. > Just drop these from documentation. > > Cc: Catalin Marinas > Cc: Will Deacon > Cc: Jonathan Corbet > Cc: linux-arm-ker...@lists.infradead.org > Cc:

Re: [PATCH v3 3/3] dt-bindings: memory-controllers: Convert fsl,elbc to YAML

2025-02-26 Thread Rob Herring (Arm)
#x27; from schema $id: http://devicetree.org/schemas/mtd/fsl,elbc-fcm-nand.yaml# doc reference errors (make refcheckdocs): Warning: Documentation/devicetree/bindings/display/ssd1289fb.txt references a file that doesn't exist: Documentation/devicetree/bindings/powerpc/fsl/lbc.txt Doc

Re: [PATCH v3 2/3] dt-bindings: nand: Add fsl,elbc-fcm-nand

2025-02-26 Thread Rob Herring (Arm)
,elbc-fcm-nand.example.dtb: nand@1,0: $nodename:0: 'nand@1,0' does not match '^nand@[a-f0-9]$' from schema $id: http://devicetree.org/schemas/mtd/fsl,elbc-fcm-nand.yaml# doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bin

Re: [PATCH 0/7] KVM: x86: nVMX IRQ fix and VM teardown cleanups

2025-02-26 Thread Paolo Bonzini
On 2/25/25 00:55, Sean Christopherson wrote: This was _supposed_ to be a tiny one-off patch to fix a nVMX bug where KVM fails to detect that, after nested VM-Exit, L1 has a pending IRQ (or NMI). But because x86's nested teardown flows are garbage (KVM simply forces a nested VM-Exit to put the vCP

Re: [PATCH v3] dt-bindings: dma: Convert fsl,elo*-dma to YAML

2025-02-26 Thread Rob Herring (Arm)
d: http://devicetree.org/schemas/dma/dma-controller.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/dma/fsl,elo3-dma.example.dtb: dma-controller@100300: '#dma-cells' is a required property from schema $id: http://devicetree.org/schemas/dma/dma-controlle

[PATCH v3 0/3] Freescale Enhanced Local Bus Controller (eLBC) binding YAML conversion

2025-02-26 Thread J . Neuschäfer via B4 Relay
This series converts the fsl,elbc binding to YAML and adds new bindings for related devices (particular kinds of chip on the eLBC). For readability, the existing unit address syntax of , (e.g. nand@1,0) is kept. This results in a few dtc validation warnings, when combined with other choices in thi

[PATCH v3 3/3] dt-bindings: memory-controllers: Convert fsl,elbc to YAML

2025-02-26 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" Convert the Freescale localbus controller bindings from text form to YAML. Compared to the .txt version, the YAML binding contains a new usage example with FCM NAND flash, and a full list of compatible strings based on current usage in arch/powerpc/boot/dts/. Note that the

[PATCH v3 2/3] dt-bindings: nand: Add fsl,elbc-fcm-nand

2025-02-26 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" Formalize the binding already supported by the fsl_elbc_nand.c driver and used in several device trees in arch/powerpc/boot/dts/. raw-nand-chip.yaml is referenced in order to accommodate situations in which the ECC parameters settings are set in the device tree. One such ex

[PATCH v3 1/3] dt-bindings: memory-controllers: Add fsl,elbc-gpcm-uio

2025-02-26 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" Formalize the binding already supported by the uio_fsl_elbc_gpcm.c driver. Reviewed-by: Frank Li Reviewed-by: Rob Herring (Arm) Signed-off-by: J. Neuschäfer --- V3: - add review tags V2: - split out from fsl,elbc patch - add description - remove "device_type" property

[PATCH v3] dt-bindings: dma: Convert fsl,elo*-dma to YAML

2025-02-26 Thread J . Neuschäfer via B4 Relay
From: "J. Neuschäfer" The devicetree bindings for Freescale DMA engines have so far existed as a text file. This patch converts them to YAML, and specifies all the compatible strings currently in use in arch/powerpc/boot/dts. Signed-off-by: J. Neuschäfer --- I considered referencing dma-control

Re: [PATCH V2] tools/perf: Pick the correct dwarf die while adding probe point for a function

2025-02-26 Thread Google
On Tue, 25 Feb 2025 18:00:42 +0530 Athira Rajeev wrote: > Perf probe on vfs_fstatat fails as below on a powerpc system > > ./perf probe -nf --max-probes=512 -a 'vfs_fstatat $params' > Segmentation fault (core dumped) > > This is observed while running perftool-testsuite_probe testcase. > > Whi

Re: [PATCH V3 2/5] arch/powerpc: Drop GENERIC_PTDUMP from mpc885_ads_defconfig

2025-02-26 Thread Christophe Leroy
Le 26/02/2025 à 13:24, Anshuman Khandual a écrit : GENERIC_PTDUMP gets selected on powerpc explicitly and hence can be dropped off from mpc885_ads_defconfig. Replace with CONFIG_PTDUMP_DEBUGFS instead. Cc: Madhavan Srinivasan Cc: Michael Ellerman Cc: Nicholas Piggin Cc: Christophe Leroy C

Re: [PATCH V3 4/5] mm: Make DEBUG_WX depdendent on GENERIC_PTDUMP

2025-02-26 Thread Christophe Leroy
Le 26/02/2025 à 13:24, Anshuman Khandual a écrit : DEBUG_WX selects PTDUMP_CORE without even ensuring that the given platform implements GENERIC_PTDUMP. This problem has been latent until now, as all the platforms subscribing ARCH_HAS_DEBUG_WX also subscribe GENERIC_PTDUMP. Cc: Andrew Morton

Re: [PATCH V3 5/5] mm: Rename GENERIC_PTDUMP and PTDUMP_CORE

2025-02-26 Thread Christophe Leroy
Le 26/02/2025 à 13:24, Anshuman Khandual a écrit : Platforms subscribe into generic ptdump implementation via GENERIC_PTDUMP. But generic ptdump gets enabled via PTDUMP_CORE. These configs combination is confusing as they sound very similar and does not differentiate between platform's feature

[PATCH V3 5/5] mm: Rename GENERIC_PTDUMP and PTDUMP_CORE

2025-02-26 Thread Anshuman Khandual
Platforms subscribe into generic ptdump implementation via GENERIC_PTDUMP. But generic ptdump gets enabled via PTDUMP_CORE. These configs combination is confusing as they sound very similar and does not differentiate between platform's feature subscription and feature enablement for ptdump. Rename

[PATCH V3 3/5] docs: arm64: Drop PTDUMP config options from ptdump.rst

2025-02-26 Thread Anshuman Khandual
Both GENERIC_PTDUMP and PTDUMP_CORE are not user selectable config options. Just drop these from documentation. Cc: Catalin Marinas Cc: Will Deacon Cc: Jonathan Corbet Cc: linux-arm-ker...@lists.infradead.org Cc: linux-...@vger.kernel.org Cc: linux-ker...@vger.kernel.org Suggested-by: Steven Pr

[PATCH V3 4/5] mm: Make DEBUG_WX depdendent on GENERIC_PTDUMP

2025-02-26 Thread Anshuman Khandual
DEBUG_WX selects PTDUMP_CORE without even ensuring that the given platform implements GENERIC_PTDUMP. This problem has been latent until now, as all the platforms subscribing ARCH_HAS_DEBUG_WX also subscribe GENERIC_PTDUMP. Cc: Andrew Morton Cc: linux...@kvack.org Cc: linux-ker...@vger.kernel.org

[PATCH V3 2/5] arch/powerpc: Drop GENERIC_PTDUMP from mpc885_ads_defconfig

2025-02-26 Thread Anshuman Khandual
GENERIC_PTDUMP gets selected on powerpc explicitly and hence can be dropped off from mpc885_ads_defconfig. Replace with CONFIG_PTDUMP_DEBUGFS instead. Cc: Madhavan Srinivasan Cc: Michael Ellerman Cc: Nicholas Piggin Cc: Christophe Leroy Cc: linuxppc-dev@lists.ozlabs.org Cc: linux-ker...@vger.k

[PATCH V3 1/5] configs: Drop GENERIC_PTDUMP from debug.config

2025-02-26 Thread Anshuman Khandual
The platforms that support GENERIC_PTDUMP select the config explicitly. But enabling this feature on platforms that don't really support - does nothing or might cause a build failure. Hence just drop GENERIC_PTDUMP from generic debug.config Cc: Andrew Morton Cc: linux...@kvack.org Cc: linux-ker..

[PATCH V3 0/5] mm: Rework generic PTDUMP configs

2025-02-26 Thread Anshuman Khandual
The series reworks generic PTDUMP configs before eventually renaming them after some basic clean ups first. This is derived after splitting changes from the following patch. https://lore.kernel.org/all/20250205050039.1506377-1-anshuman.khand...@arm.com/ This series applies on v6.14-rc3 and has be

Re: [PATCH V2] tools/perf: Pick the correct dwarf die while adding probe point for a function

2025-02-26 Thread Athira Rajeev
> On 25 Feb 2025, at 6:00 PM, Athira Rajeev wrote: > > Perf probe on vfs_fstatat fails as below on a powerpc system > > ./perf probe -nf --max-probes=512 -a 'vfs_fstatat $params' > Segmentation fault (core dumped) > > This is observed while running perftool-testsuite_probe testcase. > > Whi

[PATCH 4/4] ASoC: fsl_audmix: register card device depends on 'dais' property

2025-02-26 Thread Shengjiu Wang
In order to make the audmix device linked by audio graph card, make 'dais' property to be optional. If 'dais' property exists, then register the imx-audmix card driver. otherwise, it should be linked by audio graph card. Signed-off-by: Shengjiu Wang --- sound/soc/fsl/fsl_audmix.c | 16 +

[PATCH 3/4] ASoC: dt-bindings: fsl,audmix: make 'dais' property to be optional

2025-02-26 Thread Shengjiu Wang
Make 'dais' property to be optional. When there is no 'dais' property, driver won't register the card, dts should have audio graph card node for linking this device. Signed-off-by: Shengjiu Wang --- Documentation/devicetree/bindings/sound/fsl,audmix.yaml | 1 - 1 file changed, 1 deletion(-) dif

[PATCH 2/4] ASoC: dt-bindings: fsl,audmix: Document audio graph port

2025-02-26 Thread Shengjiu Wang
This device can be used in conjunction with audio-graph-card to provide an endpoint for binding with the other side of the audio link. Signed-off-by: Shengjiu Wang --- .../devicetree/bindings/sound/fsl,audmix.yaml | 60 +++ 1 file changed, 60 insertions(+) diff --git a/Documenta

[PATCH 1/4] ASoC: dt-bindings: fsl,sai: Document audio graph port

2025-02-26 Thread Shengjiu Wang
This device can be used in conjunction with audio-graph-card to provide an endpoint for binding with the other side of the audio link. Signed-off-by: Shengjiu Wang --- .../devicetree/bindings/sound/fsl,sai.yaml| 51 +++ 1 file changed, 51 insertions(+) diff --git a/Documenta

[PATCH 0/4] ASoC: fsl_audmix: support audio graph card for audmix

2025-02-26 Thread Shengjiu Wang
Change 'dais' property to be optional, that fsl_audmix device can be linked with SAI device by audio graph card. Shengjiu Wang (4): ASoC: dt-bindings: fsl,sai: Document audio graph port ASoC: dt-bindings: fsl,audmix: Document audio graph port ASoC: dt-bindings: fsl,audmix: make 'dais' proper

Re: [PATCH 1/7] KVM: x86: Free vCPUs before freeing VM state

2025-02-26 Thread Paolo Bonzini
On Wed, Feb 26, 2025 at 1:27 AM Sean Christopherson wrote: > > On Wed, Feb 26, 2025, Paolo Bonzini wrote: > > On 2/25/25 00:55, Sean Christopherson wrote: > > > Free vCPUs before freeing any VM state, as both SVM and VMX may access > > > VM state when "freeing" a vCPU that is currently "in" L2, i.