[PATCH v2] powerpc/papr_scm: Update the NUMA distance table for the target node

2023-04-03 Thread Aneesh Kumar K.V
platform device helper routines won't update the NUMA distance table while creating a platform device, even if the device is present on a NUMA node that doesn't have memory or CPU. This is especially true for pmem devices. If the target node of the pmem device is not online, we find the nearest

[linux-next:master] BUILD REGRESSION 31bd35b66249699343d2416658f57e97314a433a

2023-04-03 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: 31bd35b66249699343d2416658f57e97314a433a Add linux-next specific files for 20230403 Error/Warning reports: https://lore.kernel.org/oe-kbuild-all/202303082135.njdx1bij-...@intel.com https

[PATCH 2/2] ASoC: fsl_mqs: call pm_runtime_disable() on error path

2023-04-03 Thread Liliang Ye
pm_runtime_disable was missed in cleanup operation, which corresponds to the earlier call to pm_runtime_enable. To fix this, add pm_runtime_disable() on error path. Fixes: 9e28f6532c61 ("ASoC: fsl_mqs: Add MQS component driver") Signed-off-by: Liliang Ye Reviewed-by: Dan Carpenter ---

[PATCH 1/2] ASoC: fsl_mqs: move of_node_put() to the correct location

2023-04-03 Thread Liliang Ye
of_node_put() should have been done directly after mqs_priv->regmap = syscon_node_to_regmap(gpr_np); otherwise it creates a reference leak on the success path. To fix this, of_node_put() is moved to the correct location, and change all the gotos to direct returns. Fixes: a9d273671440 ("ASoC:

Re: [PATCH v1] dt-bindings: move cache controller bindings to a cache directory

2023-04-03 Thread Rob Herring
On Thu, 30 Mar 2023 18:32:56 +0100, Conor Dooley wrote: > From: Conor Dooley > > There's a bunch of bindings for (mostly l2) cache controllers > scattered to the four winds, move them to a common directory. > I renamed the freescale l2cache.txt file, as while that might make sense > when the

Re: [PATCH v3 26/35] mm: fall back to mmap_lock if vma->anon_vma is not yet set

2023-04-03 Thread Matthew Wilcox
On Fri, Feb 17, 2023 at 08:10:35AM -0800, Suren Baghdasaryan wrote: > On Fri, Feb 17, 2023 at 8:05 AM Matthew Wilcox wrote: > > > > On Thu, Feb 16, 2023 at 06:14:59PM -0800, Suren Baghdasaryan wrote: > > > On Thu, Feb 16, 2023 at 11:43 AM Suren Baghdasaryan > > > wrote: > > > > > > > > On Thu,

Re: [PATCH 1/2] ASoC: fsl_mqs: move of_node_put() to the correct location

2023-04-03 Thread Dan Carpenter
On Mon, Apr 03, 2023 at 11:26:47PM +0800, Liliang Ye wrote: > of_node_put() should have been done directly after > mqs_priv->regmap = syscon_node_to_regmap(gpr_np); > otherwise it creates a reference leak on the success path. > > To fix this, of_node_put() is moved to the correct location, and

Re: [PATCH v2 1/2] soc: fsl: qbman: Always disable interrupts when taking cgr_lock

2023-04-03 Thread Sean Anderson
On 4/3/23 10:02, Vladimir Oltean wrote: > On Fri, Mar 31, 2023 at 11:14:12AM -0400, Sean Anderson wrote: >> smp_call_function_single disables IRQs when executing the callback. To >> prevent deadlocks, we must disable IRQs when taking cgr_lock elsewhere. >> This is already done by qman_update_cgr

Re: [PATCH v2 2/2] soc: fsl: qbman: Use raw spinlock for cgr_lock

2023-04-03 Thread Vladimir Oltean
On Fri, Mar 31, 2023 at 11:14:13AM -0400, Sean Anderson wrote: > cgr_lock may be locked with interrupts already disabled by > smp_call_function_single. As such, we must use a raw spinlock to avoid > problems on PREEMPT_RT kernels. Although this bug has existed for a > while, it was not apparent

Re: [PATCH v2 1/2] soc: fsl: qbman: Always disable interrupts when taking cgr_lock

2023-04-03 Thread Vladimir Oltean
On Fri, Mar 31, 2023 at 11:14:12AM -0400, Sean Anderson wrote: > smp_call_function_single disables IRQs when executing the callback. To > prevent deadlocks, we must disable IRQs when taking cgr_lock elsewhere. > This is already done by qman_update_cgr and qman_delete_cgr; fix the > other lockers.

Re: [PATCH 01/10] locking/atomic: Add missing cast to try_cmpxchg() fallbacks

2023-04-03 Thread Mark Rutland
On Sun, Mar 26, 2023 at 09:28:38PM +0200, Uros Bizjak wrote: > On Fri, Mar 24, 2023 at 5:33 PM Mark Rutland wrote: > > > > On Fri, Mar 24, 2023 at 04:14:22PM +, Mark Rutland wrote: > > > On Fri, Mar 24, 2023 at 04:43:32PM +0100, Uros Bizjak wrote: > > > > On Fri, Mar 24, 2023 at 3:13 PM Mark

Re: [PATCH 1/2] pseries/smp: export the smt level in the SYS FS.

2023-04-03 Thread Laurent Dufour
On 31/03/2023 18:05:27, Michal Suchánek wrote: > Hello, > > On Fri, Mar 31, 2023 at 05:39:04PM +0200, Laurent Dufour wrote: >> There is no SMT level recorded in the kernel neither in user space. >> Indeed there is no real constraint about that and mixed SMT levels are >> allowed and system is

Re: [PATCH] ASoC: fsl_sai: Use physical format width

2023-04-03 Thread Emil Abildgaard Svendsen
On 3/31/23 16:34, Mark Brown wrote: > On Fri, Mar 31, 2023 at 02:26:33PM +, Emil Abildgaard Svendsen wrote: >> On 3/31/23 04:55, Shengjiu Wang wrote: > >>> There are different requirements for this slot width. Some need physical >>> width, >>> Some need format width. We need to be careful