[PATCH] powerpc/603: Really copy kernel PGD entries into all PGDIRs

2025-08-20 Thread Christophe Leroy
Commit 82ef440f9a38 ("powerpc/603: Copy kernel PGD entries into all PGDIRs and preallocate execmem page tables") was supposed to extend to powerpc 603 the copy of kernel PGD entries into all PGDIRs implemented in a previous patch on the 8xx. But 603 is book3s/32 and uses a duplicate of pgd_alloc()

[PATCH] selftests/powerpc/tm: fix typo on a comment

2025-08-20 Thread Albin Babu Varghese
Fix typo 'sucess' -> 'success' in comment. Signed-off-by: Albin Babu Varghese --- tools/testing/selftests/powerpc/tm/tm-tar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/powerpc/tm/tm-tar.c b/tools/testing/selftests/powerpc/tm/tm-tar.c index f2a91

Re: [PATCH 18/19] perf: Introduce positive capability for raw events

2025-08-20 Thread kernel test robot
Hello, kernel test robot noticed "perf-sanity-tests.Event_groups.fail" on: commit: a704f7a13544a408baee6fa78f0f24fa05bfa406 ("[PATCH 18/19] perf: Introduce positive capability for raw events") url: https://github.com/intel-lab-lkp/linux/commits/Robin-Murphy/perf-arm-cmn-Fix-event-validation/

[powerpc:fixes-test] BUILD SUCCESS 8763d2257f5231cfdfd8a53594647927dbf8bb06

2025-08-20 Thread kernel test robot
powerpcmvme5100_defconfiggcc-15.1.0 powerpc ps3_defconfiggcc-15.1.0 powerpc randconfig-001-20250820gcc-12.5.0 powerpc randconfig-001-20250821clang-22 powerpc randconfig-002-20250820gcc-8.5.0

Re: [PATCH 0/3] ASoC: Use kcalloc() instead of kzalloc()

2025-08-20 Thread Mark Brown
On Wed, 20 Aug 2025 20:34:17 +0800, Qianfeng Rong wrote: > Replace devm_kzalloc() with devm_kcalloc() in sound/soc. As noted in the > kernel documentation [1], open-coded multiplication in allocator arguments > is discouraged because it can lead to integer overflow. > > Using devm_kcalloc() provi

[PATCH] selftests/powerpc/pmu/tm: fix typos in tm-trap

2025-08-20 Thread Moktar SELLAMI
Fix spelling mistakes: tmp_trap.c:94 te -> the tmp_trap.c:96 tread -> treated reported by: codespell Signed-off-by: Moktar SELLAMI --- tools/testing/selftests/powerpc/tm/tm-trap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/powerpc/tm/tm-trap.

Re: (subset) [PATCH 00/21] treewide: remove unneeded 'fast_io' parameter in regmap_config

2025-08-20 Thread Vinod Koul
On Wed, 13 Aug 2025 18:14:46 +0200, Wolfram Sang wrote: > While working on a driver using regmap with MMIO, I wondered if I need > to set 'fast_io' in the config. Turned out I don't need to, so I added > documentation for it with commit ffc72771ff6e ("regmap: Annotate that > MMIO implies fast IO"

Re: [PATCH v2 1/1] powerpc/8xx: Drop legacy-of-mm-gpiochip.h header

2025-08-20 Thread Andy Shevchenko
On Thu, Aug 14, 2025 at 10:33:52AM +0200, Christophe Leroy wrote: > Le 18/11/2024 à 13:31, Andy Shevchenko a écrit : > > Remove legacy-of-mm-gpiochip.h header file. The above mentioned > > file provides an OF API that's deprecated. There is no agnostic > > alternatives to it and we have to open cod

[PATCH 0/3] ASoC: Use kcalloc() instead of kzalloc()

2025-08-20 Thread Qianfeng Rong
Replace devm_kzalloc() with devm_kcalloc() in sound/soc. As noted in the kernel documentation [1], open-coded multiplication in allocator arguments is discouraged because it can lead to integer overflow. Using devm_kcalloc() provides built-in overflow protection, making the memory allocation safe

[PATCH 2/3] ASoC: fsl: Use kcalloc() instead of kzalloc()

2025-08-20 Thread Qianfeng Rong
Use devm_kcalloc() in fsl_sai_read_dlcfg() and imx_audmux_probe() to gain built-in overflow protection, making memory allocation safer when calculating allocation size compared to explicit multiplication. Signed-off-by: Qianfeng Rong --- sound/soc/fsl/fsl_sai.c| 2 +- sound/soc/fsl/imx-audmu

Re: [PATCH 02/14] powerpc/vpa_dtl: Add interface to expose vpa dtl counters via perf

2025-08-20 Thread Shrikanth Hegde
On 8/15/25 14:03, Athira Rajeev wrote: From: Kajol Jain The pseries Shared Processor Logical Partition(SPLPAR) machines can retrieve a log of dispatch and preempt events from the hypervisor using data from Disptach Trace Log(DTL) buffer. With this information, user can retrieve when and why

Re: [PATCH 18/19] perf: Introduce positive capability for raw events

2025-08-20 Thread Robin Murphy
Hi Thomas, On 2025-08-20 9:09 am, Thomas Richter wrote: On 8/19/25 15:15, Robin Murphy wrote: On 13/08/2025 6:01 pm, Robin Murphy wrote: Only a handful of CPU PMUs accept PERF_TYPE_{RAW,HARDWARE,HW_CACHE} events without registering themselves as PERF_TYPE_RAW in the first place. Add an explici

Re: [PATCH 18/19] perf: Introduce positive capability for raw events

2025-08-20 Thread Thomas Richter
On 8/19/25 15:15, Robin Murphy wrote: > On 13/08/2025 6:01 pm, Robin Murphy wrote: >> Only a handful of CPU PMUs accept PERF_TYPE_{RAW,HARDWARE,HW_CACHE} >> events without registering themselves as PERF_TYPE_RAW in the first >> place. Add an explicit opt-in for these special cases, so that we can >