[PATCH] ASoC: imx-audmix: release cpu_mclk clock at failure

2025-02-12 Thread Shengjiu Wang
When defer probe happens, there may be below error: platform 5982.sai: Resources present before probing The cpu_mclk clock is from the cpu dai device, if it is not released, then the cpu dai device probe will fail for the second time. Fixes: b86ef5367761 ("ASoC: fsl: Add Audio Mixer machine

Re: [PATCH 0/9] Extend automarkup support for ABI symbols

2025-02-12 Thread Mauro Carvalho Chehab
Em Wed, 12 Feb 2025 18:25:15 +0700 Bagas Sanjaya escreveu: > On Tue, Feb 11, 2025 at 07:22:54AM +0100, Mauro Carvalho Chehab wrote: > > Now that ABI creates a python dictionary, use automarkup to create cross > > references for ABI symbols as well. > > I get three new warnings: > > WARNING:

Re: [PATCH 2/2] ASoC: imx-card: Add playback_only or capture_only support

2025-02-12 Thread Mark Brown
On Wed, Feb 12, 2025 at 11:48:43AM +0800, Shengjiu Wang wrote: > On Tue, Feb 11, 2025 at 11:34 PM Frank Li wrote: > > On Tue, Feb 11, 2025 at 11:57:37AM +0800, Shengjiu Wang wrote: > > > With the DPCM case, the backend only support capture or > > > playback, then the linked frontend can only supp

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

2025-02-12 Thread Athira Rajeev
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. While running with verbose, its observed that segfault happens at: synthe

[PATCH v3 5/9] powerpc: Rely on generic printing of preemption model.

2025-02-12 Thread Sebastian Andrzej Siewior
After the first printk in __die() there is show_regs() -> show_regs_print_info() which prints the current preemption model. Remove the preempion model from the arch code. Cc: Madhavan Srinivasan Cc: Michael Ellerman Cc: Nicholas Piggin Cc: Christophe Leroy Cc: Naveen N Rao Cc: linuxppc-dev@l

Re: [PATCH] ASoC: imx-audmix: release cpu_mclk clock at failure

2025-02-12 Thread Mark Brown
On Wed, Feb 12, 2025 at 05:38:16PM +0800, Shengjiu Wang wrote: > When defer probe happens, there may be below error: > > platform 5982.sai: Resources present before probing > > The cpu_mclk clock is from the cpu dai device, if it is > not released, then the cpu dai device probe will fail > fo

Re: [kvm-unit-tests PATCH v2 04/18] run_tests: Introduce unittest parameter 'qemu_params'

2025-02-12 Thread Alexandru Elisei
Hi Drew, On Tue, Jan 21, 2025 at 04:46:24PM +0100, Andrew Jones wrote: > On Mon, Jan 20, 2025 at 04:43:02PM +, Alexandru Elisei wrote: > > Tests for the arm and arm64 architectures can also be run with kvmtool, and > > work is under way to have it supported by the run_tests.sh test runner. Not

Re: [PATCH 0/9] Extend automarkup support for ABI symbols

2025-02-12 Thread Bagas Sanjaya
On Tue, Feb 11, 2025 at 07:22:54AM +0100, Mauro Carvalho Chehab wrote: > Now that ABI creates a python dictionary, use automarkup to create cross > references for ABI symbols as well. I get three new warnings: WARNING: /sys/devices/system/cpu/cpuX/topology/physical_package_id is defined 2 times

Re: [PATCH 2/2] ASoC: imx-card: Add playback_only or capture_only support

2025-02-12 Thread Frank Li
On Wed, Feb 12, 2025 at 11:48:43AM +0800, Shengjiu Wang wrote: > On Tue, Feb 11, 2025 at 11:34 PM Frank Li wrote: > > > > On Tue, Feb 11, 2025 at 11:57:37AM +0800, Shengjiu Wang wrote: > > > With the DPCM case, the backend only support capture or > > > playback, then the linked frontend can only s

Re: [kvm-unit-tests PATCH v2 04/18] run_tests: Introduce unittest parameter 'qemu_params'

2025-02-12 Thread Andrew Jones
On Wed, Feb 12, 2025 at 01:40:51PM +, Alexandru Elisei wrote: ... > > > @@ -80,7 +80,7 @@ function run() > > > local groups="$2" > > > local smp="$3" > > > local kernel="$4" > > > -local opts="$5" > > > +local qemu_opts="$5" > > > local arch="$6" > > > local mac

Re: [kvm-unit-tests PATCH v2 15/18] Add kvmtool_params to test specification

2025-02-12 Thread Andrew Jones
On Tue, Feb 11, 2025 at 03:03:09PM +, Alexandru Elisei wrote: > Hi Drew, > > On Thu, Jan 23, 2025 at 04:53:29PM +0100, Andrew Jones wrote: > > On Mon, Jan 20, 2025 at 04:43:13PM +, Alexandru Elisei wrote: > > > arm/arm64 supports running tests under kvmtool, but kvmtool's syntax for > > >

[PATCH 4/4] mm: Rename GENERIC_PTDUMP and PTDUMP_CORE

2025-02-12 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

Re: [next-20250212] FStests generic/451 on EXT4 FS resulting in kernel OOPs

2025-02-12 Thread Sourabh Jain
on EXT4 with linux-next kernel(next-20250212) on IBM Power Servers. Issue is seen on: next-20250212 Issue not seen on: next-20250210 Traces: [ 2977.768678] run fstests generic/451 at 2025-02-12 16:42:14 [ 3001.242006] list_add double add: new=ce2398c8, prev=ce2398c8, next

Re: [PATCH] tools/perf: Add check to tool pmu tests to ensure if the event is valid

2025-02-12 Thread Namhyung Kim
On Thu, Feb 13, 2025 at 12:24:38AM +0530, Athira Rajeev wrote: > "Tool PMU" tests fails on powerpc as below: > >12.1: Parsing without PMU name: >--- start --- >test child forked, pid 48492 >Using CPUID 0x00800200 >Attempt to add: tool/duration_time/ >..after resolving event

[PATCH 0/4] mm: Rework generic PTDUMP configs

2025-02-12 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-rc2 and has be

[PATCH v2] ASoC: imx-audmix: remove cpu_mclk which is from cpu dai device

2025-02-12 Thread Shengjiu Wang
When defer probe happens, there may be below error: platform 5982.sai: Resources present before probing The cpu_mclk clock is from the cpu dai device, if it is not released, then the cpu dai device probe will fail for the second time. The cpu_mclk is used to get rate for rate constraint, rat

Re: [PATCH 4/4] mm: Rename GENERIC_PTDUMP and PTDUMP_CORE

2025-02-12 Thread Christophe Leroy
Le 13/02/2025 à 05:09, 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

[next-20250212] FStests generic/451 on EXT4 FS resulting in kernel OOPs

2025-02-12 Thread Venkat Rao Bagalkote
Greetings!!! I am observing kernel OOPs, while running FStests generic/451 on EXT4 with linux-next kernel(next-20250212) on IBM Power Servers. Issue is seen on: next-20250212 Issue not seen on: next-20250210 Traces: [ 2977.768678] run fstests generic/451 at 2025-02-12 16:42:14

Re: [RESEND v4 0/3] mm/pkey: Add PKEY_UNRESTRICTED macro

2025-02-12 Thread Catalin Marinas
On Mon, Jan 13, 2025 at 05:06:16PM +, Yury Khrustalev wrote: > Add PKEY_UNRESTRICTED macro to mman.h and use it in selftests. > > For context, this change will also allow for more consistent update of the > Glibc manual which in turn will help with introducing memory protection > keys on AArch

Re: [PATCH v13 5/5] arm64: introduce copy_mc_to_kernel() implementation

2025-02-12 Thread Catalin Marinas
On Mon, Dec 09, 2024 at 10:42:57AM +0800, Tong Tiangen wrote: > The copy_mc_to_kernel() helper is memory copy implementation that handles > source exceptions. It can be used in memory copy scenarios that tolerate > hardware memory errors(e.g: pmem_read/dax_copy_to_iter). > > Currently, only x86 an

Re: [PATCH v2 05/12] dt-bindings: dma: Convert fsl,elo*-dma to YAML

2025-02-12 Thread Rob Herring
On Fri, Feb 07, 2025 at 10:30:22PM +0100, J. Neuschäfer wrote: > 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. Neu

Re: [kvm-unit-tests PATCH v2 15/18] Add kvmtool_params to test specification

2025-02-12 Thread Alexandru Elisei
Hi Drew, On Wed, Feb 12, 2025 at 04:56:42PM +0100, Andrew Jones wrote: > On Tue, Feb 11, 2025 at 03:03:09PM +, Alexandru Elisei wrote: > > Hi Drew, > > > > On Thu, Jan 23, 2025 at 04:53:29PM +0100, Andrew Jones wrote: > > > On Mon, Jan 20, 2025 at 04:43:13PM +, Alexandru Elisei wrote: > >

Re: [PATCH v13 4/5] arm64: support copy_mc_[user]_highpage()

2025-02-12 Thread Catalin Marinas
On Mon, Dec 09, 2024 at 10:42:56AM +0800, Tong Tiangen wrote: > Currently, many scenarios that can tolerate memory errors when copying page > have been supported in the kernel[1~5], all of which are implemented by > copy_mc_[user]_highpage(). arm64 should also support this mechanism. > > Due to mt

Re: [RESEND v4 0/3] mm/pkey: Add PKEY_UNRESTRICTED macro

2025-02-12 Thread Andrew Morton
On Wed, 12 Feb 2025 17:24:58 + Catalin Marinas wrote: > On Mon, Jan 13, 2025 at 05:06:16PM +, Yury Khrustalev wrote: > > Add PKEY_UNRESTRICTED macro to mman.h and use it in selftests. > > > > For context, this change will also allow for more consistent update of the > > Glibc manual whi

Re: [PATCH v13 2/5] arm64: add support for ARCH_HAS_COPY_MC

2025-02-12 Thread Catalin Marinas
(catching up with old threads) On Mon, Dec 09, 2024 at 10:42:54AM +0800, Tong Tiangen wrote: > For the arm64 kernel, when it processes hardware memory errors for > synchronize notifications(do_sea()), if the errors is consumed within the > kernel, the current processing is panic. However, it is no

Re: [PATCH v2 03/12] dt-bindings: crypto: Convert fsl,sec-2.0 to YAML

2025-02-12 Thread Rob Herring
On Fri, Feb 07, 2025 at 10:30:20PM +0100, J. Neuschäfer wrote: > Convert the Freescale security engine (crypto accelerator) binding from > text form to YAML. The list of compatible strings reflects what was > previously described in prose; not all combinations occur in existing > devicetrees. > >

Re: [PATCH v2 08/12] dt-bindings: spi: Convert Freescale SPI bindings to YAML

2025-02-12 Thread Rob Herring
On Fri, Feb 07, 2025 at 10:30:25PM +0100, J. Neuschäfer wrote: > fsl-spi.txt contains the bindings for the fsl,spi and fsl,espi > contollers. Convert them to YAML. > > Signed-off-by: J. Neuschäfer > --- > > V2: > - add missing end-of-document ("...") markers > - add missing constraints to interr

Re: [PATCH v2 10/12] dt-bindings: memory-controllers: Add fsl,elbc-gpcm-uio

2025-02-12 Thread Rob Herring (Arm)
On Fri, 07 Feb 2025 22:30:27 +0100, J. Neuschäfer wrote: > Formalize the binding already supported by the uio_fsl_elbc_gpcm.c > driver. > > Signed-off-by: J. Neuschäfer > --- > > V2: > - split out from fsl,elbc patch > - add description > - remove "device_type" property > - move to bindings/me

[PATCH] tools/perf: Add check to tool pmu tests to ensure if the event is valid

2025-02-12 Thread Athira Rajeev
"Tool PMU" tests fails on powerpc as below: 12.1: Parsing without PMU name: --- start --- test child forked, pid 48492 Using CPUID 0x00800200 Attempt to add: tool/duration_time/ ..after resolving event: tool/config=0x1/ duration_time -> tool/duration_time/ Attempt to add: t

Re: [PATCH 0/9] Extend automarkup support for ABI symbols

2025-02-12 Thread Andrew Donnellan
On Wed, 2025-02-12 at 13:58 +0100, Mauro Carvalho Chehab wrote: > > WARNING: Documentation/ABI/testing/sysfs-class-cxl not found > > I need to double-check verify this one, as it didn't appear on > my tests. Are you getting it against docs-next or linux-next? > This is moved to obsolete/ by 5731