Re: [PATCH treewide 05/11] arm64: dts: renesas: beacon-renesom: Switch to mic-det-gpios

2024-09-27 Thread Adam Ford
On Fri, Sep 27, 2024 at 7:56 AM Krzysztof Kozlowski wrote: > > On 27/09/2024 14:42, Geert Uytterhoeven wrote: > > Replace the deprecated "mic-det-gpio" property by "mic-det-gpios" in > > Audio Graph Card device nodes. Thanks! > > > > Signed-off-by: Geert Uytterhoeven > > --- > > arch/arm64/boo

[PATCH treewide 08/11] arm64: dts: uniphier: Switch to hp-det-gpios

2024-09-27 Thread Geert Uytterhoeven
Replace the deprecated "hp-det-gpio" property by "hp-det-gpios" in Audio Graph Card device nodes. Signed-off-by: Geert Uytterhoeven --- arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts | 2 +- arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts | 2 +- 2 files changed, 2 insertions(+),

[PATCH treewide 04/11] arm64: dts: freescale: imx: Switch to simple-audio-card,hp-det-gpios

2024-09-27 Thread Geert Uytterhoeven
Replace the deprecated "simple-audio-card,hp-det-gpio" property by "simple-audio-card,hp-det-gpios" in Simple Audio Card device nodes. Signed-off-by: Geert Uytterhoeven --- arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts | 2 +- arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 2

Re: [PATCH treewide 10/11] ARM: dts: nxp: imx: Switch to {hp,mic}-det-gpios

2024-09-27 Thread Krzysztof Kozlowski
On 27/09/2024 14:42, Geert Uytterhoeven wrote: > Replace the deprecated "hp-det-gpio" and "mic-det-gpio" properties by > "hp-det-gpios" resp. "mic-det-gpios" in Freescale Generic ASoC Sound > Card device nodes. > > Signed-off-by: Geert Uytterhoeven > --- > This has a run-time dependency on "ASoC:

Re: [PATCH treewide 01/11] ASoC: fsl-asoc-card: Add missing handling of {hp,mic}-dt-gpios

2024-09-27 Thread Krzysztof Kozlowski
On 27/09/2024 14:42, Geert Uytterhoeven wrote: > The DT bindings deprecated the "hp-det-gpio" and "mic-det-gpio" > properties in favor of "hp-det-gpios" and "mic-det-gpios", but the > driver was never updated to support the latter. > > Even before, there existed users of "hp-det-gpios" and "mic-de

Re: [PATCH 11/12] mm: Remove pXX_devmap callers

2024-09-27 Thread Alexander Gordeev
On Tue, Sep 10, 2024 at 02:14:36PM +1000, Alistair Popple wrote: Hi Alistair, > diff --git a/arch/powerpc/mm/book3s64/pgtable.c > b/arch/powerpc/mm/book3s64/pgtable.c > index 5a4a753..4537a29 100644 > --- a/arch/powerpc/mm/book3s64/pgtable.c > +++ b/arch/powerpc/mm/book3s64/pgtable.c > @@ -193,7

Re: [PATCH treewide 09/11] mips: dts: ingenic: Switch to simple-audio-card,hp-det-gpios

2024-09-27 Thread Krzysztof Kozlowski
On 27/09/2024 14:42, Geert Uytterhoeven wrote: > Replace the deprecated "simple-audio-card,hp-det-gpio" property by > "simple-audio-card,hp-det-gpios" in Simple Audio Card device nodes. > > Signed-off-by: Geert Uytterhoeven > --- Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof

Re: [PATCH treewide 00/11] ASoC: Clean up {hp,mic}-det-gpio handling

2024-09-27 Thread Geert Uytterhoeven
Hi Heiko, On Fri, Sep 27, 2024 at 4:45 PM Heiko Stuebner wrote: > Am Freitag, 27. September 2024, 14:42:15 CEST schrieb Geert Uytterhoeven: > > - The second patch updates the Audio Graph and Simple Audio Card DT > > bindings, > > - Patches 3-9 converts various DTS files to use the new pro

Re: [PATCH v2] powerpc/xive: Use cpumask_intersects()

2024-09-27 Thread IBM
Costa Shulyupin writes: > Replace `cpumask_any_and(a, b) >= nr_cpu_ids` > with the more readable `!cpumask_intersects(a, b)`. > > Comparison between cpumask_any_and() and cpumask_intersects() > > The cpumask_any_and() function expands using FIND_FIRST_BIT(), > resulting in a loop that iterates th

Re: [PATCH] powerpc: remove dead config options for MPC85xx platform support

2024-09-27 Thread IBM
Lukas Bulwahn writes: > From: Lukas Bulwahn > > Commit 384e338a9187 ("powerpc: drop MPC8540_ADS and MPC8560_ADS platform > support") and commit b751ed04bc5e ("powerpc: drop MPC85xx_CDS platform > support") removes the platform support for MPC8540_ADS, MPC8560_ADS and > MPC85xx_CDS in the source

Re: [PATCH] selftests/powerpc: Rm the unnecessary remove function.

2024-09-27 Thread IBM
zhangjiao2 writes: > From: zhang jiao > > Path is not initialized before use, > remove the unnecessary remove function. > > Signed-off-by: zhang jiao > --- > tools/testing/selftests/powerpc/mm/tlbie_test.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/tools/testing/selftests/powerpc/

[PATCH treewide 07/11] arm64: dts: rockchip: Switch to hp-det-gpios

2024-09-27 Thread Geert Uytterhoeven
Replace the deprecated "hp-det-gpio" property by "hp-det-gpios" in Audio Graph Card and Realtek RT5651 Audio Codec device nodes. Signed-off-by: Geert Uytterhoeven --- arch/arm64/boot/dts/rockchip/rk3368-lba3368.dts| 2 +- arch/arm64/boot/dts/rockchip/rk3399-eaidk-610.dts | 2

Re: [PATCH treewide 00/11] ASoC: Clean up {hp,mic}-det-gpio handling

2024-09-27 Thread Heiko Stuebner
Hi Geert, Am Freitag, 27. September 2024, 14:42:15 CEST schrieb Geert Uytterhoeven: > - The second patch updates the Audio Graph and Simple Audio Card DT > bindings, > - Patches 3-9 converts various DTS files to use the new properties, > - The last 2 patches convert Freescale sound devic

Re: [PATCH treewide 10/11] ARM: dts: nxp: imx: Switch to {hp,mic}-det-gpios

2024-09-27 Thread Adam Ford
On Fri, Sep 27, 2024 at 8:00 AM Krzysztof Kozlowski wrote: > > On 27/09/2024 14:42, Geert Uytterhoeven wrote: > > Replace the deprecated "hp-det-gpio" and "mic-det-gpio" properties by > > "hp-det-gpios" resp. "mic-det-gpios" in Freescale Generic ASoC Sound > > Card device nodes. > > > > Signed-off

[PATCH treewide 05/11] arm64: dts: renesas: beacon-renesom: Switch to mic-det-gpios

2024-09-27 Thread Geert Uytterhoeven
Replace the deprecated "mic-det-gpio" property by "mic-det-gpios" in Audio Graph Card device nodes. Signed-off-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/renesas/beac

[PATCH treewide 02/11] ASoC: dt-bindings: Deprecate {hp,mic}-det-gpio

2024-09-27 Thread Geert Uytterhoeven
Commit 2071d0968e564b4b ("Documentation: gpio: guidelines for bindings") deprecated the "gpio" suffix for GPIO consumers in favor of the "gpios" suffix. Update the Audio Graph and Simple Audio Card DT bindings to reflect this. Signed-off-by: Geert Uytterhoeven --- No driver changes needed, as gp

[PATCH treewide 10/11] ARM: dts: nxp: imx: Switch to {hp,mic}-det-gpios

2024-09-27 Thread Geert Uytterhoeven
Replace the deprecated "hp-det-gpio" and "mic-det-gpio" properties by "hp-det-gpios" resp. "mic-det-gpios" in Freescale Generic ASoC Sound Card device nodes. Signed-off-by: Geert Uytterhoeven --- This has a run-time dependency on "ASoC: fsl-asoc-card: Add missing handling of {hp,mic}-dt-gpios". -

[PATCH treewide 03/11] ARM: dts: marvell: mmp2-olpc-xo-1-75: Switch to {hp,mic}-det-gpios

2024-09-27 Thread Geert Uytterhoeven
Replace the deprecated "hp-det-gpio" and "mic-det-gpio" properties by "hp-det-gpios" resp. "mic-det-gpios" in Audio Graph Card device nodes. Signed-off-by: Geert Uytterhoeven --- arch/arm/boot/dts/marvell/mmp2-olpc-xo-1-75.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH treewide 01/11] ASoC: fsl-asoc-card: Add missing handling of {hp,mic}-dt-gpios

2024-09-27 Thread Geert Uytterhoeven
The DT bindings deprecated the "hp-det-gpio" and "mic-det-gpio" properties in favor of "hp-det-gpios" and "mic-det-gpios", but the driver was never updated to support the latter. Even before, there existed users of "hp-det-gpios" and "mic-det-gpios". While this may have been handled fine by the AS

[PATCH treewide 09/11] mips: dts: ingenic: Switch to simple-audio-card,hp-det-gpios

2024-09-27 Thread Geert Uytterhoeven
Replace the deprecated "simple-audio-card,hp-det-gpio" property by "simple-audio-card,hp-det-gpios" in Simple Audio Card device nodes. Signed-off-by: Geert Uytterhoeven --- arch/mips/boot/dts/ingenic/gcw0.dts | 2 +- arch/mips/boot/dts/ingenic/rs90.dts | 2 +- 2 files changed, 2 insertions(+), 2

[PATCH treewide 00/11] ASoC: Clean up {hp,mic}-det-gpio handling

2024-09-27 Thread Geert Uytterhoeven
Hi all, The "gpio" suffix for GPIO consumers was deprecated a while ago, in favor of the "gpios" suffix. However, there are still several users of the "hp-det-gpio" and "mic-det-gpio" properties, in DT bindings, drivers, and DT source files. Drivers that use gpiolib handle both the depre

[PATCH treewide 11/11] arm64: dts: freescale: imx: Switch to hp-det-gpios

2024-09-27 Thread Geert Uytterhoeven
Replace the deprecated "hp-det-gpio" property by "hp-det-gpios" in Freescale Generic ASoC Sound Card device nodes. Signed-off-by: Geert Uytterhoeven --- This has a run-time dependency on "ASoC: fsl-asoc-card: Add missing handling of {hp,mic}-dt-gpios". --- arch/arm64/boot/dts/freescale/imx8qm-me

[PATCH treewide 06/11] arm64: dts: rockchip: Switch to simple-audio-card,hp-det-gpios

2024-09-27 Thread Geert Uytterhoeven
Replace the deprecated "simple-audio-card,hp-det-gpio" property by "simple-audio-card,hp-det-gpios" in Simple Audio Card device nodes. Signed-off-by: Geert Uytterhoeven --- arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351m.dtsi| 2 +- arch/arm64/boot/dts/rockchip/rk3326-gameforce-chi.d

[PATCH] powerpc: remove dead config options for MPC85xx platform support

2024-09-27 Thread Lukas Bulwahn
From: Lukas Bulwahn Commit 384e338a9187 ("powerpc: drop MPC8540_ADS and MPC8560_ADS platform support") and commit b751ed04bc5e ("powerpc: drop MPC85xx_CDS platform support") removes the platform support for MPC8540_ADS, MPC8560_ADS and MPC85xx_CDS in the source tree, but misses to remove the conf

Re: [PATCH treewide 08/11] arm64: dts: uniphier: Switch to hp-det-gpios

2024-09-27 Thread Krzysztof Kozlowski
On 27/09/2024 14:42, Geert Uytterhoeven wrote: > Replace the deprecated "hp-det-gpio" property by "hp-det-gpios" in Audio > Graph Card device nodes. > > Signed-off-by: Geert Uytterhoeven > --- Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof

Re: [PATCH treewide 06/11] arm64: dts: rockchip: Switch to simple-audio-card,hp-det-gpios

2024-09-27 Thread Krzysztof Kozlowski
On 27/09/2024 14:42, Geert Uytterhoeven wrote: > Replace the deprecated "simple-audio-card,hp-det-gpio" property by > "simple-audio-card,hp-det-gpios" in Simple Audio Card device nodes. > > Signed-off-by: Geert Uytterhoeven Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof

Re: [PATCH treewide 03/11] ARM: dts: marvell: mmp2-olpc-xo-1-75: Switch to {hp,mic}-det-gpios

2024-09-27 Thread Krzysztof Kozlowski
On 27/09/2024 14:42, Geert Uytterhoeven wrote: > Replace the deprecated "hp-det-gpio" and "mic-det-gpio" properties by > "hp-det-gpios" resp. "mic-det-gpios" in Audio Graph Card device nodes. > > Signed-off-by: Geert Uytterhoeven > --- > arch/arm/boot/dts/marvell/mmp2-olpc-xo-1-75.dts | 4 ++-- >

Re: [PATCH treewide 07/11] arm64: dts: rockchip: Switch to hp-det-gpios

2024-09-27 Thread Krzysztof Kozlowski
On 27/09/2024 14:42, Geert Uytterhoeven wrote: > Replace the deprecated "hp-det-gpio" property by "hp-det-gpios" in Audio > Graph Card and Realtek RT5651 Audio Codec device nodes. > > Signed-off-by: Geert Uytterhoeven Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof

Re: [PATCH treewide 05/11] arm64: dts: renesas: beacon-renesom: Switch to mic-det-gpios

2024-09-27 Thread Krzysztof Kozlowski
On 27/09/2024 14:42, Geert Uytterhoeven wrote: > Replace the deprecated "mic-det-gpio" property by "mic-det-gpios" in > Audio Graph Card device nodes. > > Signed-off-by: Geert Uytterhoeven > --- > arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi | 2 +- > 1 file changed, 1 insertion(+),

Re: [PATCH treewide 04/11] arm64: dts: freescale: imx: Switch to simple-audio-card,hp-det-gpios

2024-09-27 Thread Krzysztof Kozlowski
On 27/09/2024 14:42, Geert Uytterhoeven wrote: > Replace the deprecated "simple-audio-card,hp-det-gpio" property by > "simple-audio-card,hp-det-gpios" in Simple Audio Card device nodes. > > Signed-off-by: Geert Uytterhoeven Subject: drop freescale prefix. Reviewed-by: Krzysztof Kozlowski Bes

Re: [PATCH treewide 02/11] ASoC: dt-bindings: Deprecate {hp,mic}-det-gpio

2024-09-27 Thread Krzysztof Kozlowski
On 27/09/2024 14:42, Geert Uytterhoeven wrote: > Commit 2071d0968e564b4b ("Documentation: gpio: guidelines for bindings") > deprecated the "gpio" suffix for GPIO consumers in favor of the "gpios" > suffix. Update the Audio Graph and Simple Audio Card DT bindings to > reflect this. > > Signed-off-

[PATCH] selftests/powerpc: Rm the unnecessary remove function.

2024-09-27 Thread zhangjiao2
From: zhang jiao Path is not initialized before use, remove the unnecessary remove function. Signed-off-by: zhang jiao --- tools/testing/selftests/powerpc/mm/tlbie_test.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/testing/selftests/powerpc/mm/tlbie_test.c b/tools/testing/selftes

Re: [PATCH 1/3] ASoC: fsl_micfil: fix regmap_write_bits usage

2024-09-27 Thread Daniel Baluta
On Fri, Sep 27, 2024 at 11:23 AM Shengjiu Wang wrote: > > The last parameter 1 means BIT(0), which should be the > correct BIT(X). > > Fixes: 47a70e6fc9a8 ("ASoC: Add MICFIL SoC Digital Audio Interface driver.") > Signed-off-by: Shengjiu Wang Reviewed-by: Daniel Baluta

[PATCH 3/3] ASoC: fsl_micfil: Enable micfil error interrupt

2024-09-27 Thread Shengjiu Wang
Enable micfil error interrupt, in the error handler, FIFO state and OUT state need to be cleared. Signed-off-by: Shengjiu Wang --- sound/soc/fsl/fsl_micfil.c | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/sound/soc/fsl/fsl_micfil.c b/sound/soc/fsl/fsl_micfi

[PATCH 1/3] ASoC: fsl_micfil: fix regmap_write_bits usage

2024-09-27 Thread Shengjiu Wang
The last parameter 1 means BIT(0), which should be the correct BIT(X). Fixes: 47a70e6fc9a8 ("ASoC: Add MICFIL SoC Digital Audio Interface driver.") Signed-off-by: Shengjiu Wang --- sound/soc/fsl/fsl_micfil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/fsl/fs

[PATCH 2/3] ASoC: fsl_micfil: Add mclk enable flag

2024-09-27 Thread Shengjiu Wang
Previously the mclk is enabled in probe() stage, which is not necessary. Move mclk enablement to hw_params() and mclk disablement to hw_free() will be more efficient. 'mclk_flag' is used for this case. Signed-off-by: Shengjiu Wang --- sound/soc/fsl/fsl_micfil.c | 29 +++--

[PATCH 0/3] ASoC: fsl_micfil: fix and improvement

2024-09-27 Thread Shengjiu Wang
Fix the usage of regmap_write_bits(). Move mclk clock enablement to late stage. Enable the micfil error interrupt. Shengjiu Wang (3): ASoC: fsl_micfil: fix regmap_write_bits usage ASoC: fsl_micfil: Add mclk enable flag ASoC: fsl_micfil: Enable micfil error interrupt sound/soc/fsl/fsl_micfi

Re: [PATCH 10/12] fs/dax: Properly refcount fs dax pages

2024-09-27 Thread Dan Williams
Alistair Popple wrote: > Currently fs dax pages are considered free when the refcount drops to > one and their refcounts are not increased when mapped via PTEs or > decreased when unmapped. This requires special logic in mm paths to > detect that these pages should not be properly refcounted, and t

Re: [PATCH 09/12] mm: Update vm_normal_page() callers to accept FS DAX pages

2024-09-27 Thread Dan Williams
Alistair Popple wrote: > Currently if a PTE points to a FS DAX page vm_normal_page() will > return NULL as these have their own special refcounting scheme. A > future change will allow FS DAX pages to be refcounted the same as any > other normal page. > > Therefore vm_normal_page() will start retu