RE: bug: usb: gadget: FSL_UDC_CORE Corrupted request list leads to unrecoverable loop.

2021-12-03 Thread Leo Li
> -Original Message- > From: Joakim Tjernlund > Sent: Thursday, December 2, 2021 4:45 PM > To: regressi...@leemhuis.info; Leo Li ; > eugene_bordenkirc...@selinc.com; linux-...@vger.kernel.org; linuxppc- > d...@lists.ozlabs.org > Cc: gre...@linuxfoundation.org; ba...@kernel.org > Subject:

Re: [PATCH RFC 1/4] mm: percpu: Generalize percpu related config

2021-12-03 Thread Catalin Marinas
On Sun, Nov 21, 2021 at 05:35:54PM +0800, Kefeng Wang wrote: > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig > index c4207cf9bb17..4ff73299f8a9 100644 > --- a/arch/arm64/Kconfig > +++ b/arch/arm64/Kconfig > @@ -1135,6 +1135,10 @@ config NUMA > select GENERIC_ARCH_NUMA > select AC

Re: [PATCH 1/1] ASoC: fsl-asoc-card: Add missing Kconfig option for tlv320aic31xx

2021-12-03 Thread Mark Brown
On Fri, Dec 03, 2021 at 02:50:17PM -0300, Ariel D'Alessandro wrote: > This is a follow up of patchsets: > > [RFC patch 0/5] Support BCLK input clock in tlv320aic31xx > [PATCH 0/4] fsl-asoc-card: Add optional dt property for setting mclk-id Please don't send cover letters for single patches, i

[PATCH 1/1] ASoC: fsl-asoc-card: Add missing Kconfig option for tlv320aic31xx

2021-12-03 Thread Ariel D'Alessandro
The following commit added support for tlv320aic31xx codec to fsl-asoc-card, but missed the related Kconfig option. Fix this. commit 8c9b9cfb7724685ce705f511b882f30597596536 Author: Ariel D'Alessandro Date: Fri Nov 19 12:32:48 2021 -0300 ASoC: fsl-asoc-card: Support fsl,imx-audio-t

[PATCH 1/1] ASoC: fsl-asoc-card: Add missing Kconfig option for tlv320aic31xx

2021-12-03 Thread Ariel D'Alessandro
This is a follow up of patchsets: [RFC patch 0/5] Support BCLK input clock in tlv320aic31xx [PATCH 0/4] fsl-asoc-card: Add optional dt property for setting mclk-id Patch "ASoC: fsl-asoc-card: Support fsl,imx-audio-tlv320aic31xx codec" in "[RFC patch 0/5] Support BCLK input clock in tlv320aic3

Re: [RFC patch 0/5] Support BCLK input clock in tlv320aic31xx

2021-12-03 Thread Ariel D'Alessandro
Hi Mark, On 12/3/21 2:34 PM, Mark Brown wrote: > On Fri, Dec 03, 2021 at 02:25:17PM -0300, Ariel D'Alessandro wrote: >> On 11/22/21 9:00 PM, Mark Brown wrote: > >>> If any updates are required or you are submitting further changes they >>> should be sent as incremental updates against current git

Re: [RFC patch 0/5] Support BCLK input clock in tlv320aic31xx

2021-12-03 Thread Mark Brown
On Fri, Dec 03, 2021 at 02:25:17PM -0300, Ariel D'Alessandro wrote: > On 11/22/21 9:00 PM, Mark Brown wrote: > > If any updates are required or you are submitting further changes they > > should be sent as incremental updates against current git, existing > > patches will not be replaced. > I got

Re: [RFC patch 5/5] ASoC: fsl-asoc-card: Support fsl,imx-audio-tlv320aic31xx codec

2021-12-03 Thread Ariel D'Alessandro
On 11/19/21 12:32 PM, Ariel D'Alessandro wrote: > Add entry for fsl,imx-audio-tlv320aic31xx audio codec. This codec is > configured to use BCLK as clock input. > > Signed-off-by: Michael Trimarchi > Signed-off-by: Ariel D'Alessandro > --- > sound/soc/fsl/fsl-asoc-card.c | 12 > 1

Re: [RFC patch 0/5] Support BCLK input clock in tlv320aic31xx

2021-12-03 Thread Ariel D'Alessandro
Hi Mark, On 11/22/21 9:00 PM, Mark Brown wrote: > On Fri, 19 Nov 2021 12:32:43 -0300, Ariel D'Alessandro wrote: >> The tlv320aic31xx codec allows using BCLK as the input clock for PLL, >> deriving all the frequencies through a set of divisors. >> >> In this case, codec sysclk is determined by the

[PATCH v3] powerpc/pseries: read the lpar name from the firmware

2021-12-03 Thread Laurent Dufour
The LPAR name may be changed after the LPAR has been started in the HMC. In that case lparstat command is not reporting the updated value because it reads it from the device tree which is read at boot time. However this value could be read from RTAS. Adding this value in the /proc/powerpc/lparcfg

Re: [PATCH v2] powerpc/pseries: read the lpar name from the firmware

2021-12-03 Thread Laurent Dufour
On 03/12/2021, 13:28:10, Michael Ellerman wrote: > Hi Laurent, > > Just a few minor comments below ... Thanks, Michael, for your _major_ comments. I'll send a version 3 soon. Laurent. > > Laurent Dufour writes: >> The LPAR name may be changed after the LPAR has been started in the HMC. >> In

[PATCH 4/4] ASoC: fsl-asoc-card: Remove BCLK default value for tlv320aic31xx card

2021-12-03 Thread Ariel D'Alessandro
Now that fsl-asoc-card support setting mclk-id through the device-tree mclk-id property, let's remove the default BCLK configuration for this card. Signed-off-by: Ariel D'Alessandro --- sound/soc/fsl/fsl-asoc-card.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/fsl/fsl-asoc-card.c

[PATCH 3/4] ASoC: fsl-asoc-card: Add optional dt property for setting mclk-id

2021-12-03 Thread Ariel D'Alessandro
Sound cards may allow using different main clock inputs. In the generic fsl-asoc-card driver, these values are hardcoded for each specific card configuration. Let's make it more flexible, allowing setting mclk-id from the device-tree node. Otherwise, the default value for each card configuration i

[PATCH 2/4] dt-bindings: tlv320aic31xx: Define PLL clock inputs

2021-12-03 Thread Ariel D'Alessandro
Add constants for the different PLL clock inputs in tlv320aic31xx. Signed-off-by: Ariel D'Alessandro --- include/dt-bindings/sound/tlv320aic31xx.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/dt-bindings/sound/tlv320aic31xx.h b/include/dt-bindings/sound/tlv320aic31xx.h index

[PATCH 1/4] dt-bindings: sound: Rename tlv320aic31xx-micbias as tlv320aic31xx

2021-12-03 Thread Ariel D'Alessandro
Let's use a more generic name, so other definitions for tlv320aic31xx can be included. Signed-off-by: Ariel D'Alessandro --- .../devicetree/bindings/sound/tlv320aic31xx.txt | 2 +- arch/arm/boot/dts/am43x-epos-evm.dts | 2 +- include/dt-bindings/sound/tlv320aic31xx-m

[PATCH 0/4] fsl-asoc-card: Add optional dt property for setting mclk-id

2021-12-03 Thread Ariel D'Alessandro
This is a follow up of patchset: [RFC patch 0/5] Support BCLK input clock in tlv320aic31xx Sound cards may allow using different main clock inputs. In the generic fsl-asoc-card driver, these values are hardcoded for each specific card configuration. Let's make it more flexible, allowing sett

Re: [PATCH] powerpc/rtas: Introduce rtas_get_sensor_nonblocking() for pci hotplug driver.

2021-12-03 Thread Mahesh J Salgaonkar
On 2021-11-29 22:53:41 Mon, Nathan Lynch wrote: > Mahesh Salgaonkar writes: > > When certain PHB HW failure causes phyp to recover PHB, it marks the PE > > state as temporarily unavailable until recovery is complete. This also > > triggers an EEH handler in Linux which needs to notify drivers, and

Re: Fail to boot 5.15 on mpc8347 with either debug_pagealloc or nobats

2021-12-03 Thread Christophe Leroy
Hi Maxime, Le 03/12/2021 à 01:44, Maxime Bizon a écrit : > > Hello Christophe, > > I have a mpc8347 board booting 5.15 fine, but it does not boot with > CONFIG_DEBUG_PAGEALLOC=y (and enabled) or "nobats". > > Those two options worked fine on my previous kernel (5.4) > > > Nothing is output o

[PATCH v3] PCI hotplug: rpaphp: Error out on busy status from get-sensor-state

2021-12-03 Thread Mahesh Salgaonkar
When certain PHB HW failure causes phyp to recover PHB, it marks the PE state as temporarily unavailable until recovery is complete. This also triggers an EEH handler in Linux which needs to notify drivers, and perform recovery. But before notifying the driver about the pci error it uses get_adapte

Re: [PATCH] powerpc/ptdump: Fix DEBUG_WX since generic ptdump conversion

2021-12-03 Thread Christophe Leroy
Le 03/12/2021 à 13:41, Michael Ellerman a écrit : > In note_prot_wx() we bail out without reporting anything if > CONFIG_PPC_DEBUG_WX is disabled. > > But CONFIG_PPC_DEBUG_WX was removed in the conversion to generic ptdump, > we now need to use CONFIG_DEBUG_WX instead. > > Fixes: e084728393a5 (

[PATCH] powerpc/ptdump: Fix DEBUG_WX since generic ptdump conversion

2021-12-03 Thread Michael Ellerman
In note_prot_wx() we bail out without reporting anything if CONFIG_PPC_DEBUG_WX is disabled. But CONFIG_PPC_DEBUG_WX was removed in the conversion to generic ptdump, we now need to use CONFIG_DEBUG_WX instead. Fixes: e084728393a5 ("powerpc/ptdump: Convert powerpc to GENERIC_PTDUMP") Cc: sta...@vg

Re: [PATCH v6 17/18] powerpc/64s: Move hash MMU support code under CONFIG_PPC_64S_HASH_MMU

2021-12-03 Thread Michael Ellerman
Nicholas Piggin writes: > diff --git a/arch/powerpc/mm/book3s64/pgtable.c > b/arch/powerpc/mm/book3s64/pgtable.c > index 4d97d1525d49..d765d972566b 100644 > --- a/arch/powerpc/mm/book3s64/pgtable.c > +++ b/arch/powerpc/mm/book3s64/pgtable.c > @@ -534,7 +534,7 @@ static int __init pgtable_debugfs_

Re: [PATCH v2] powerpc/pseries: read the lpar name from the firmware

2021-12-03 Thread Michael Ellerman
Hi Laurent, Just a few minor comments below ... Laurent Dufour writes: > The LPAR name may be changed after the LPAR has been started in the HMC. > In that case lparstat command is not reporting the updated value because it > reads it from the device tree which is read at boot time. > > However

[PATCH] powerpc: Drop unused CONFIG_PPC_HAS_FEATURE_CALLS

2021-12-03 Thread Michael Ellerman
Since ~2002 we have had CONFIG_PPC_HAS_FEATURE_CALLS defined as a faux CONFIG symbol, firstly in include/asm-ppc/machdep.h, and then later copied over to powerpc when ppc and ppc64 were merged. The last in-tree usage was removed in 2005 in commit 7bbd827750e6 ("[PATCH] ppc64: very basic desktop g5

Re: [PATCH] powerpc/85xx: fix oops when CONFIG_FSL_PMC=n

2021-12-03 Thread Michael Ellerman
On Fri, 26 Nov 2021 12:11:53 +0800, Xiaoming Ni wrote: > When CONFIG_FSL_PMC is set to n, no value is assigned to cpu_up_prepare > in the mpc85xx_pm_ops structure. As a result, oops is triggered in > smp_85xx_start_cpu(). > > [0.627233] smp: Bringing up secondary CPUs ... > [

[RFC PATCH 11/14] powerpc/crash_dump: Use the new interface copy_oldmem_page_buf

2021-12-03 Thread Amit Daniel Kachhap
The current interface copy_oldmem_page() passes user pointer without __user annotation and hence does unnecessary user/kernel pointer conversions during its implementation. Use the interface copy_oldmem_page_buf() to avoid this issue. Cc: Michael Ellerman CC: Benjamin Herrenschmidt Cc: Paul Mac