Re: [PATCH V8 00/15] Add data type profiling support for powerpc

2024-07-24 Thread Athira Rajeev
> On 24 Jul 2024, at 1:37 AM, Arnaldo Carvalho de Melo wrote: > > On Thu, Jul 18, 2024 at 02:13:43PM +0530, Athira Rajeev wrote: >> The patchset from Namhyung added support for data type profiling >> in perf tool. This enabled support to associate PMU samples to data >> types they refer using

Re: [PATCH v2 17/16] xz: Remove XZ_EXTERN and extern from functions

2024-07-24 Thread Michael Ellerman
Lasse Collin writes: > XZ_EXTERN was used to make internal functions static in the preboot code. > However, in other decompressors this hasn't been done. On x86-64, this > makes no difference to the kernel image size. > > Omit XZ_EXTERN and let some of the internal functions be extern in the > pre

[PATCH v2 17/16] xz: Remove XZ_EXTERN and extern from functions

2024-07-24 Thread Lasse Collin
XZ_EXTERN was used to make internal functions static in the preboot code. However, in other decompressors this hasn't been done. On x86-64, this makes no difference to the kernel image size. Omit XZ_EXTERN and let some of the internal functions be extern in the preboot code. Omitting XZ_EXTERN fro

Re: [PATCH 00/14] replace call_rcu by kfree_rcu for simple kmem_cache_free callback

2024-07-24 Thread Paul E. McKenney
On Mon, Jul 15, 2024 at 10:39:38PM +0200, Vlastimil Babka wrote: > On 6/21/24 11:32 AM, Uladzislau Rezki wrote: > > On Wed, Jun 19, 2024 at 11:28:13AM +0200, Vlastimil Babka wrote: > > One question. Maybe it is already late but it is better to ask rather than > > not. > > > > What do you think if

Re: [PATCH 00/14] replace call_rcu by kfree_rcu for simple kmem_cache_free callback

2024-07-24 Thread Vlastimil Babka
On 7/24/24 3:53 PM, Paul E. McKenney wrote: > On Mon, Jul 15, 2024 at 10:39:38PM +0200, Vlastimil Babka wrote: >> On 6/21/24 11:32 AM, Uladzislau Rezki wrote: >> > On Wed, Jun 19, 2024 at 11:28:13AM +0200, Vlastimil Babka wrote: >> > One question. Maybe it is already late but it is better to ask ra

Re: [PATCH v3 0/8] mm/mprotect: Fix dax puds

2024-07-24 Thread Peter Xu
On Mon, Jul 15, 2024 at 03:21:34PM -0400, Peter Xu wrote: > [Based on mm-unstable, commit 31334cf98dbd, July 2nd] > > v3: > - Fix a build issue on i386 PAE config > - Moved one line from patch 8 to patch 3 > > v1: https://lore.kernel.org/r/20240621142504.1940209-1-pet...@redhat.com > v2: https://

[PATCH] powerpc/ftrace: restore r2 to caller's stack on livepatch sibling call

2024-07-24 Thread Ryan Sullivan
Currently, on PowerPC machines, sibling calls in livepatched functions cause the stack to be corrupted and are thus not supported by tools such as kpatch. Below is an example stack frame showing one such currupted stacks: RHEL-7.6: Linux 3.10.0 ppc64le Livepatch applied: diff --git a/net/sunrpc/

PCI: Work around PCIe link training failures

2024-07-24 Thread Matthew W Carlis
Sorry for belated response. I wasn't really sure when you first asked & I still only have a 'hand wavy' theory here. I think one thing that is getting us in trouble is when we turn the endpoint device on, then off, wait for a little while then turn it back on. It seems that the port here in this ca

Re: [PATCH V8 14/15] tools/perf: Add support to use libcapstone in powerpc

2024-07-24 Thread Arnaldo Carvalho de Melo
On Thu, Jul 18, 2024 at 02:13:57PM +0530, Athira Rajeev wrote: > Now perf uses the capstone library to disassemble the instructions in > x86. capstone is used (if available) for perf annotate to speed up. > Currently it only supports x86 architecture. Patch includes changes to > enable this in powe

[GIT PULL] sysctl constification changes for v6.11-rc1

2024-07-24 Thread Joel Granados
Linus Constifying ctl_table structs will prevent the modification of proc_handler function pointers as they would reside in .rodata. To get there, the proc_handler arguments must first be const qualified which requires this (fairly large) treewide PR. Sending it in the tail end of of the merge win

Re: [PATCH v2] of: remove internal arguments from of_property_for_each_u32()

2024-07-24 Thread Rob Herring
On Thu, Jul 18, 2024 at 1:57 AM Luca Ceresoli wrote: > > Hello Stephen, > > On Wed, 17 Jul 2024 16:33:34 -0700 > Stephen Boyd wrote: > > > > @@ -1191,20 +1191,24 @@ static int si5351_dt_parse(struct i2c_client > > > *client, > > > * property silabs,pll-source : , [<..>] > > > *

[PATCH v3] of: remove internal arguments from of_property_for_each_u32()

2024-07-24 Thread Luca Ceresoli
The of_property_for_each_u32() macro needs five parameters, two of which are primarily meant as internal variables for the macro itself (in the for() clause). Yet these two parameters are used by a few drivers, and this can be considered misuse or at least bad practice. Now that the kernel uses C1

Re: [PATCH v2 00/25] mm: introduce numa_memblks

2024-07-24 Thread Zi Yan
On 24 Jul 2024, at 18:44, Zi Yan wrote: > On 23 Jul 2024, at 2:41, Mike Rapoport wrote: > >> From: "Mike Rapoport (Microsoft)" >> >> Hi, >> >> Following the discussion about handling of CXL fixed memory windows on >> arm64 [1] I decided to bite the bullet and move numa_memblks from x86 to >> the

Re: [PATCH v2 00/25] mm: introduce numa_memblks

2024-07-24 Thread Zi Yan
On 24 Jul 2024, at 20:35, Zi Yan wrote: > On 24 Jul 2024, at 18:44, Zi Yan wrote: > >> On 23 Jul 2024, at 2:41, Mike Rapoport wrote: >> >>> From: "Mike Rapoport (Microsoft)" >>> >>> Hi, >>> >>> Following the discussion about handling of CXL fixed memory windows on >>> arm64 [1] I decided to bite

[PATCH] ASoC: fsl-asoc-card: Dynamically allocate memory for snd_soc_dai_link_components

2024-07-24 Thread Shengjiu Wang
The static snd_soc_dai_link_components cause conflict for multiple instances of this generic driver. For example, when there is wm8962 and SPDIF case enabled together, the contaminated snd_soc_dai_link_components will cause another device probe fail. Fixes: 6d174cc4f224 ("ASoC: fsl-asoc-card: merg