Re: [PATCH v3 1/1] scripts: Add add-maintainer.py

2023-09-26 Thread Pavan Kondeti
On Tue, Sep 26, 2023 at 05:32:10PM +0530, Pavan Kondeti wrote: > On Sat, Aug 26, 2023 at 01:07:42AM -0700, Guru Das Srinagesh wrote: > > +def gather_maintainers_of_file(patch_file): > > +all_entities_of_patch = dict() > > + > > +# Run get_maintainer.pl on patch file > > +

Re: [PATCH v3 1/1] scripts: Add add-maintainer.py

2023-09-26 Thread Pavan Kondeti
On Mon, Aug 28, 2023 at 10:21:32AM +0200, Krzysztof Kozlowski wrote: > On 26/08/2023 10:07, Guru Das Srinagesh wrote: > > This script runs get_maintainer.py on a given patch file (or multiple > > patch files) and adds its output to the patch file in place with the > > appropriate email headers

Re: [PATCH 2/3] get_maintainer: run perltidy

2023-09-26 Thread Joe Perches
On Wed, 2023-09-27 at 03:19 +, Justin Stitt wrote: > I'm a first time contributor to get_maintainer.pl and the formatting is > suspicious. I am not sure if there is a particular reason it is the way > it is but I let my editor format it and submitted the diff here in this > patch. Capital

[PATCH 3/3] get_maintainer: add patch-only pattern matching type

2023-09-26 Thread Justin Stitt
Add the "D:" type which behaves the same as "K:" but will only match content present in a patch file. To illustrate: Imagine this entry in MAINTAINERS: NEW REPUBLIC M: Han Solo W: https://www.jointheresistance.org D: \bstrncpy\b Our maintainer, Han, will only be added to the recipients if a

Re: [PATCH 1/3] MAINTAINERS: add documentation for D:

2023-09-26 Thread Joe Perches
On Wed, 2023-09-27 at 03:19 +, Justin Stitt wrote: > Document what "D:" does. > > This is more or less the same as what "K:" does but only works for patch > files. Nack. I'd rather just add a !$file test to K: patterns.

[PATCH 1/3] MAINTAINERS: add documentation for D:

2023-09-26 Thread Justin Stitt
Document what "D:" does. This is more or less the same as what "K:" does but only works for patch files. See [3/3] for more info and an illustrative example. --- MAINTAINERS | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index b19995690904..de68d2c0cf29 100644

Re: [PATCH 1/3] MAINTAINERS: add documentation for D:

2023-09-26 Thread Justin Stitt
On Wed, Sep 27, 2023 at 12:27 PM Joe Perches wrote: > > On Wed, 2023-09-27 at 03:19 +, Justin Stitt wrote: > > Document what "D:" does. > > > > This is more or less the same as what "K:" does but only works for patch > > files. > > Nack. I'd rather just add a !$file test to K: patterns. Are

[PATCH 0/3] get_maintainer: add patch-only keyword matching

2023-09-26 Thread Justin Stitt
get_maintainer: add patch-only pattern matching type MAINTAINERS |3 + scripts/get_maintainer.pl | 3334 +++-- 2 files changed, 1718 insertions(+), 1619 deletions(-) --- base-commit: 6465e260f48790807eef06b583b38ca9789b6072 change-id: 20230926

Re: [PATCH v5 01/18] cgroup/misc: Add per resource callbacks for CSS events

2023-09-26 Thread Haitao Huang
On Tue, 26 Sep 2023 08:13:18 -0500, Jarkko Sakkinen wrote: ... > >> /** > >> @@ -410,7 +429,14 @@ misc_cg_alloc(struct cgroup_subsys_state > >> *parent_css) > >> */ > >> static void misc_cg_free(struct cgroup_subsys_state *css) > >> { > >> - kfree(css_misc(css)); > >> + struct misc_cg

Re: [PATCH 04/13] arm64: dts: qcom: msm8916-samsung-a2015: Add sound and modem

2023-09-26 Thread Stephan Gerhold
On Tue, Sep 26, 2023 at 10:29:29PM +0200, Konrad Dybcio wrote: > On 26.09.2023 22:27, Stephan Gerhold wrote: > > On Tue, Sep 26, 2023 at 10:18:22PM +0200, Konrad Dybcio wrote: > >> On 26.09.2023 22:09, Stephan Gerhold wrote: > >>> On Tue, Sep 26, 2023 at 09:56:12PM +0200, Konrad Dybcio wrote: >

Re: [PATCH 04/13] arm64: dts: qcom: msm8916-samsung-a2015: Add sound and modem

2023-09-26 Thread Konrad Dybcio
On 26.09.2023 22:27, Stephan Gerhold wrote: > On Tue, Sep 26, 2023 at 10:18:22PM +0200, Konrad Dybcio wrote: >> On 26.09.2023 22:09, Stephan Gerhold wrote: >>> On Tue, Sep 26, 2023 at 09:56:12PM +0200, Konrad Dybcio wrote: [...] >>> + >>> _i2c2 { >>> status = "okay";

Re: [PATCH 04/13] arm64: dts: qcom: msm8916-samsung-a2015: Add sound and modem

2023-09-26 Thread Stephan Gerhold
On Tue, Sep 26, 2023 at 10:18:22PM +0200, Konrad Dybcio wrote: > On 26.09.2023 22:09, Stephan Gerhold wrote: > > On Tue, Sep 26, 2023 at 09:56:12PM +0200, Konrad Dybcio wrote: > >> [...] > >> > > + > > _i2c2 { > > status = "okay"; > > > > @@ -243,6 +258,13 @@ { >

Re: [PATCH 04/13] arm64: dts: qcom: msm8916-samsung-a2015: Add sound and modem

2023-09-26 Thread Konrad Dybcio
On 26.09.2023 22:09, Stephan Gerhold wrote: > On Tue, Sep 26, 2023 at 09:56:12PM +0200, Konrad Dybcio wrote: >> [...] >> > + > _i2c2 { > status = "okay"; > > @@ -243,6 +258,13 @@ { > status = "okay"; > }; > > + { > + dai-link@3 { > +

Re: [PATCH 03/13] arm64: dts: qcom: msm8916: Add common msm8916-modem-qdsp6.dtsi

2023-09-26 Thread Stephan Gerhold
On Tue, Sep 26, 2023 at 10:01:21PM +0200, Konrad Dybcio wrote: > On 26.09.2023 21:06, Stephan Gerhold wrote: > > On Tue, Sep 26, 2023 at 08:49:24PM +0200, Konrad Dybcio wrote: > >> On 26.09.2023 18:51, Stephan Gerhold wrote: > >>> Most MSM8916/MSM8939 devices use very similar setups for the modem,

Re: [PATCH 04/13] arm64: dts: qcom: msm8916-samsung-a2015: Add sound and modem

2023-09-26 Thread Stephan Gerhold
On Tue, Sep 26, 2023 at 09:56:12PM +0200, Konrad Dybcio wrote: > [...] > > >>> + > >>> _i2c2 { > >>> status = "okay"; > >>> > >>> @@ -243,6 +258,13 @@ { > >>> status = "okay"; > >>> }; > >>> > >>> + { > >>> + dai-link@3 { > >>> + reg = ; > >>> + qcom,playback-sd-lines =

Re: [PATCH 05/13] arm64: dts: qcom: msm8916-samsung-serranove: Add sound and modem

2023-09-26 Thread Stephan Gerhold
On Tue, Sep 26, 2023 at 09:57:51PM +0200, Konrad Dybcio wrote: > [...] > > >>> > >>> + { > >>> + status = "okay"; > >>> + audio-routing = > >>> + "AMIC1", "MIC BIAS External1", > >>> + "AMIC2", "MIC BIAS Internal2", > >>> + "AMIC3", "MIC BIAS External1"; > >>> +}; > >> I

Re: [PATCH 03/13] arm64: dts: qcom: msm8916: Add common msm8916-modem-qdsp6.dtsi

2023-09-26 Thread Konrad Dybcio
On 26.09.2023 21:06, Stephan Gerhold wrote: > On Tue, Sep 26, 2023 at 08:49:24PM +0200, Konrad Dybcio wrote: >> On 26.09.2023 18:51, Stephan Gerhold wrote: >>> Most MSM8916/MSM8939 devices use very similar setups for the modem, >>> because most of the device-specific details are abstracted by the

Re: [PATCH 05/13] arm64: dts: qcom: msm8916-samsung-serranove: Add sound and modem

2023-09-26 Thread Konrad Dybcio
[...] >>> >>> + { >>> + status = "okay"; >>> + audio-routing = >>> + "AMIC1", "MIC BIAS External1", >>> + "AMIC2", "MIC BIAS Internal2", >>> + "AMIC3", "MIC BIAS External1"; >>> +}; >> I *think* we should be able to harmlessly enable globally? >> > > What

Re: [PATCH 04/13] arm64: dts: qcom: msm8916-samsung-a2015: Add sound and modem

2023-09-26 Thread Konrad Dybcio
[...] >>> + >>> _i2c2 { >>> status = "okay"; >>> >>> @@ -243,6 +258,13 @@ { >>> status = "okay"; >>> }; >>> >>> + { >>> + dai-link@3 { >>> + reg = ; >>> + qcom,playback-sd-lines = <1>; >>> + }; >>> +}; >> Is that not status = reserved? >> > > Correct. This

Re: [PATCH 13/13] arm64: dts: qcom: msm8939-samsung-a7: Add sound and modem

2023-09-26 Thread Stephan Gerhold
On Tue, Sep 26, 2023 at 09:04:47PM +0200, Konrad Dybcio wrote: > On 26.09.2023 18:51, Stephan Gerhold wrote: > > From: "Lin, Meng-Bo" > > > > Enable sound and modem for the Samsung A7. The setup is similar to most > > MSM8916 devices, i.e.: > > > > - QDSP6 audio > > -

Re: [PATCH 12/13] arm64: dts: qcom: msm8916-samsung-j5: Add sound and modem

2023-09-26 Thread Stephan Gerhold
On Tue, Sep 26, 2023 at 09:04:22PM +0200, Konrad Dybcio wrote: > On 26.09.2023 18:51, Stephan Gerhold wrote: > > From: "Lin, Meng-Bo" > > > > Enable sound and modem for the Samsung J5 smartphones. The setup is > > similar to most MSM8916 devices, i.e.: > > > > - QDSP6 audio > > -

Re: [PATCH 09/13] arm64: dts: qcom: msm8916-longcheer-l8150: Add sound and modem

2023-09-26 Thread Stephan Gerhold
On Tue, Sep 26, 2023 at 08:59:52PM +0200, Konrad Dybcio wrote: > On 26.09.2023 18:51, Stephan Gerhold wrote: > > From: Nikita Travkin > > > > Enable sound and modem for the Longcheer L8150 (e.g. Wileyfox Swift). > e.g. -> i.e., or is that thing sold under many labels? > > [...] > > >

Re: [PATCH 11/13] arm64: dts: qcom: msm8916-samsung-gt5: Add sound and modem

2023-09-26 Thread Stephan Gerhold
On Tue, Sep 26, 2023 at 09:03:14PM +0200, Konrad Dybcio wrote: > On 26.09.2023 18:51, Stephan Gerhold wrote: > > From: Jasper Korten > > > > Enable sound and modem for the Samsung Galaxy Tab A 2015 tablets. > > The setup is similar to most MSM8916 devices, i.e.: > > > > - QDSP6 audio > > -

Re: [PATCH 07/13] arm64: dts: qcom: msm8916-alcatel-idol347: Add sound and modem

2023-09-26 Thread Stephan Gerhold
On Tue, Sep 26, 2023 at 08:58:12PM +0200, Konrad Dybcio wrote: > On 26.09.2023 18:51, Stephan Gerhold wrote: > > From: Vincent Knecht > > > > Enable sound and modem for the Alcatel Idol 3 (4.7"). The setup is > > similar to most MSM8916 devices, i.e.: > > > > - QDSP6 audio > > - Microphones

Re: [PATCH 05/13] arm64: dts: qcom: msm8916-samsung-serranove: Add sound and modem

2023-09-26 Thread Stephan Gerhold
On Tue, Sep 26, 2023 at 08:55:14PM +0200, Konrad Dybcio wrote: > On 26.09.2023 18:51, Stephan Gerhold wrote: > > Enable sound and modem for the Samsung S4 Mini Value Edition. The setup > > is similar to most MSM8916 devices, i.e.: > > > > - QDSP6 audio > > -

Re: [PATCH 04/13] arm64: dts: qcom: msm8916-samsung-a2015: Add sound and modem

2023-09-26 Thread Stephan Gerhold
On Tue, Sep 26, 2023 at 08:54:29PM +0200, Konrad Dybcio wrote: > On 26.09.2023 18:51, Stephan Gerhold wrote: > > Enable sound and modem for the Samsung A2015 based devices (A3, A5, E5, > > E7, Grand Max). The setup is similar to most MSM8916 devices, i.e.: > > > > - QDSP6 audio > > -

Re: [PATCH 02/13] arm64: dts: qcom: msm8916/39: Add QDSP6

2023-09-26 Thread Stephan Gerhold
On Tue, Sep 26, 2023 at 09:05:24PM +0200, Konrad Dybcio wrote: > On 26.09.2023 20:54, Stephan Gerhold wrote: > > On Tue, Sep 26, 2023 at 08:46:36PM +0200, Konrad Dybcio wrote: > >> On 26.09.2023 18:51, Stephan Gerhold wrote: > >>> MSM8916 and MSM8939 do not have a dedicated ADSP. Instead, the

Re: [PATCH v2 5/7] dt-bindings: pinctrl: qcom,sc7280: Allow gpio-reserved-ranges

2023-09-26 Thread Luca Weiss
On Tue Sep 19, 2023 at 2:45 PM CEST, Luca Weiss wrote: > Allow the gpio-reserved-ranges property on SC7280 TLMM. > > Acked-by: Linus Walleij > Acked-by: Krzysztof Kozlowski > Signed-off-by: Luca Weiss Hi Linus, the rest of this series is merged so would be great if you could pick up this

Re: [PATCH 03/13] arm64: dts: qcom: msm8916: Add common msm8916-modem-qdsp6.dtsi

2023-09-26 Thread Stephan Gerhold
On Tue, Sep 26, 2023 at 08:49:24PM +0200, Konrad Dybcio wrote: > On 26.09.2023 18:51, Stephan Gerhold wrote: > > Most MSM8916/MSM8939 devices use very similar setups for the modem, > > because most of the device-specific details are abstracted by the modem > > firmware. There are several

Re: [PATCH 02/13] arm64: dts: qcom: msm8916/39: Add QDSP6

2023-09-26 Thread Konrad Dybcio
On 26.09.2023 20:54, Stephan Gerhold wrote: > On Tue, Sep 26, 2023 at 08:46:36PM +0200, Konrad Dybcio wrote: >> On 26.09.2023 18:51, Stephan Gerhold wrote: >>> MSM8916 and MSM8939 do not have a dedicated ADSP. Instead, the audio >>> services via APR are also implemented by the modem DSP. Audio can

Re: [PATCH 13/13] arm64: dts: qcom: msm8939-samsung-a7: Add sound and modem

2023-09-26 Thread Konrad Dybcio
On 26.09.2023 18:51, Stephan Gerhold wrote: > From: "Lin, Meng-Bo" > > Enable sound and modem for the Samsung A7. The setup is similar to most > MSM8916 devices, i.e.: > > - QDSP6 audio > - Earpiece/headphones/microphones via digital/analog codec in >MSM8916/PM8916 > - WWAN Internet via

Re: [PATCH 12/13] arm64: dts: qcom: msm8916-samsung-j5: Add sound and modem

2023-09-26 Thread Konrad Dybcio
On 26.09.2023 18:51, Stephan Gerhold wrote: > From: "Lin, Meng-Bo" > > Enable sound and modem for the Samsung J5 smartphones. The setup is > similar to most MSM8916 devices, i.e.: > > - QDSP6 audio > - Speaker/earpiece/headphones/microphones via digital/analog codec >in MSM8916/PM8916 >

Re: [PATCH 11/13] arm64: dts: qcom: msm8916-samsung-gt5: Add sound and modem

2023-09-26 Thread Konrad Dybcio
On 26.09.2023 18:51, Stephan Gerhold wrote: > From: Jasper Korten > > Enable sound and modem for the Samsung Galaxy Tab A 2015 tablets. > The setup is similar to most MSM8916 devices, i.e.: > > - QDSP6 audio > - Headphones/microphones via digital/analog codec in >MSM8916/PM8916. Earpiece

Re: [PATCH 10/13] arm64: dts: qcom: msm8916-longcheer-l8910: Add sound and modem

2023-09-26 Thread Konrad Dybcio
On 26.09.2023 18:51, Stephan Gerhold wrote: > From: Jonathan Albrieux > > Enable sound and modem for the Longcheer L8910 (BQ Aquaris X5). > The setup is similar to most MSM8916 devices, i.e.: > > - QDSP6 audio > - Earpiece/headphones/microphones via digital/analog codec in >MSM8916/PM8916

Re: [PATCH 09/13] arm64: dts: qcom: msm8916-longcheer-l8150: Add sound and modem

2023-09-26 Thread Konrad Dybcio
On 26.09.2023 18:51, Stephan Gerhold wrote: > From: Nikita Travkin > > Enable sound and modem for the Longcheer L8150 (e.g. Wileyfox Swift). e.g. -> i.e., or is that thing sold under many labels? [...] > reserved-memory { > + /delete-node/ mpss@8680; >

Re: [PATCH 08/13] arm64: dts: qcom: msm8916-asus-z00l: Add sound and modem

2023-09-26 Thread Konrad Dybcio
On 26.09.2023 18:51, Stephan Gerhold wrote: > From: "J.R. Divya Antony" > > Enable sound and modem for the ASUS Zenfone 2 Laser. The setup is > similar to most MSM8916 devices, i.e.: > > - QDSP6 audio > - Speakear/earpiece/headphones/microphones via digital/analog codec >in MSM8916/PM8916

Re: [PATCH 07/13] arm64: dts: qcom: msm8916-alcatel-idol347: Add sound and modem

2023-09-26 Thread Konrad Dybcio
On 26.09.2023 18:51, Stephan Gerhold wrote: > From: Vincent Knecht > > Enable sound and modem for the Alcatel Idol 3 (4.7"). The setup is > similar to most MSM8916 devices, i.e.: > > - QDSP6 audio > - Microphones via digital/analog codec in MSM8916/PM8916 > - WWAN Internet via BAM-DMUX > >

Re: [PATCH 06/13] arm64: dts: qcom: msm8916-wingtech-wt88047: Add sound and modem

2023-09-26 Thread Konrad Dybcio
On 26.09.2023 18:51, Stephan Gerhold wrote: > Enable sound and modem for the Xiaomi Redmi 2. The setup > is similar to most MSM8916 devices, i.e.: > > - QDSP6 audio > - Earpiece/headphones/microphones via digital/analog codec in >MSM8916/PM8916 > - Audio jack detection via analog codec in

Re: [PATCH 02/13] arm64: dts: qcom: msm8916/39: Add QDSP6

2023-09-26 Thread Stephan Gerhold
On Tue, Sep 26, 2023 at 08:46:36PM +0200, Konrad Dybcio wrote: > On 26.09.2023 18:51, Stephan Gerhold wrote: > > MSM8916 and MSM8939 do not have a dedicated ADSP. Instead, the audio > > services via APR are also implemented by the modem DSP. Audio can be > > either routed via the modem DSP

Re: [PATCH 05/13] arm64: dts: qcom: msm8916-samsung-serranove: Add sound and modem

2023-09-26 Thread Konrad Dybcio
On 26.09.2023 18:51, Stephan Gerhold wrote: > Enable sound and modem for the Samsung S4 Mini Value Edition. The setup > is similar to most MSM8916 devices, i.e.: > > - QDSP6 audio > - Speaker/earpiece/headphones/microphones via digital/analog codec in >MSM8916/PM8916 > - WWAN Internet via

Re: [PATCH 04/13] arm64: dts: qcom: msm8916-samsung-a2015: Add sound and modem

2023-09-26 Thread Konrad Dybcio
On 26.09.2023 18:51, Stephan Gerhold wrote: > Enable sound and modem for the Samsung A2015 based devices (A3, A5, E5, > E7, Grand Max). The setup is similar to most MSM8916 devices, i.e.: > > - QDSP6 audio > - Earpiece/headphones/microphones via digital/analog codec in >MSM8916/PM8916 > -

Re: [PATCH v1 1/2] ACPI: NFIT: Fix memory leak, and local use of devm_*()

2023-09-26 Thread Dave Jiang
On 9/26/23 11:45, Michal Wilczynski wrote: > devm_*() family of functions purpose is managing memory attached to a > device. So in general it should only be used for allocations that should > last for the whole lifecycle of the device. This is not the case for > acpi_nfit_init_interleave_set().

Re: [PATCH v1 2/2] ACPI: NFIT: Use modern scope based rollback

2023-09-26 Thread Dave Jiang
On 9/26/23 11:45, Michal Wilczynski wrote: > Change rollback in acpi_nfit_init_interleave_set() to use modern scope > based attribute __free(). This is similar to C++ RAII and is a preferred > way for handling local memory allocations. > > Suggested-by: Dave Jiang > Suggested-by: Andy

Re: [PATCH 03/13] arm64: dts: qcom: msm8916: Add common msm8916-modem-qdsp6.dtsi

2023-09-26 Thread Konrad Dybcio
On 26.09.2023 18:51, Stephan Gerhold wrote: > Most MSM8916/MSM8939 devices use very similar setups for the modem, > because most of the device-specific details are abstracted by the modem > firmware. There are several definitions (status switches, DAI links > etc) that will be exactly the same for

Re: [PATCH 02/13] arm64: dts: qcom: msm8916/39: Add QDSP6

2023-09-26 Thread Konrad Dybcio
On 26.09.2023 18:51, Stephan Gerhold wrote: > MSM8916 and MSM8939 do not have a dedicated ADSP. Instead, the audio > services via APR are also implemented by the modem DSP. Audio can be > either routed via the modem DSP (necessary for voice call audio etc) > or directly sent to the LPASS hardware

[PATCH v1 1/2] ACPI: NFIT: Fix memory leak, and local use of devm_*()

2023-09-26 Thread Michal Wilczynski
devm_*() family of functions purpose is managing memory attached to a device. So in general it should only be used for allocations that should last for the whole lifecycle of the device. This is not the case for acpi_nfit_init_interleave_set(). There are two allocations that are only used locally

[PATCH v1 2/2] ACPI: NFIT: Use modern scope based rollback

2023-09-26 Thread Michal Wilczynski
Change rollback in acpi_nfit_init_interleave_set() to use modern scope based attribute __free(). This is similar to C++ RAII and is a preferred way for handling local memory allocations. Suggested-by: Dave Jiang Suggested-by: Andy Shevchenko Signed-off-by: Michal Wilczynski ---

[PATCH v1 0/2] Fix memory leak and move to modern scope based rollback

2023-09-26 Thread Michal Wilczynski
In acpi_nfit_init_interleave_set() there is a memory leak + improper use of devm_*() family of functions for local memory allocations. This patch series provides two commits - one is meant as a bug fix, and could potentially be backported, and the other one improves old style rollback with scope

Re: [PATCH 01/13] arm64: dts: qcom: msm8939: Add BAM-DMUX WWAN

2023-09-26 Thread Konrad Dybcio
On 26.09.2023 18:51, Stephan Gerhold wrote: > From: Vincent Knecht > > BAM DMUX is used as the network interface to the modem. This is copied > as-is from msm8916.dtsi. > > Signed-off-by: Vincent Knecht > Signed-off-by: Stephan Gerhold > --- Reviewed-by: Konrad Dybcio Konrad

Re: SPDX: Appletalk FW license in the kernel

2023-09-26 Thread J Lovejoy
On 9/26/23 1:34 AM, Christoph Hellwig wrote: On Fri, Sep 15, 2023 at 09:39:05AM -0400, Prarit Bhargava wrote: Is there anyone you know of that we could approach to determine a proper SPDX License for these files? Answering this question generally, even though it sounds like it wasn't

[PATCH 02/13] arm64: dts: qcom: msm8916/39: Add QDSP6

2023-09-26 Thread Stephan Gerhold
MSM8916 and MSM8939 do not have a dedicated ADSP. Instead, the audio services via APR are also implemented by the modem DSP. Audio can be either routed via the modem DSP (necessary for voice call audio etc) or directly sent to the LPASS hardware (currently used by DB410c). Bypassing QDSP6 audio is

[PATCH 13/13] arm64: dts: qcom: msm8939-samsung-a7: Add sound and modem

2023-09-26 Thread Stephan Gerhold
From: "Lin, Meng-Bo" Enable sound and modem for the Samsung A7. The setup is similar to most MSM8916 devices, i.e.: - QDSP6 audio - Earpiece/headphones/microphones via digital/analog codec in MSM8916/PM8916 - WWAN Internet via BAM-DMUX except for the same differences as the MSM8916-based

[PATCH 09/13] arm64: dts: qcom: msm8916-longcheer-l8150: Add sound and modem

2023-09-26 Thread Stephan Gerhold
From: Nikita Travkin Enable sound and modem for the Longcheer L8150 (e.g. Wileyfox Swift). The setup is similar to most MSM8916 devices, i.e.: - QDSP6 audio - Speaker/earpiece/headphones/microphones via digital/analog codec in MSM8916/PM8916 - Audio jack detection via analog codec in

[PATCH 04/13] arm64: dts: qcom: msm8916-samsung-a2015: Add sound and modem

2023-09-26 Thread Stephan Gerhold
Enable sound and modem for the Samsung A2015 based devices (A3, A5, E5, E7, Grand Max). The setup is similar to most MSM8916 devices, i.e.: - QDSP6 audio - Earpiece/headphones/microphones via digital/analog codec in MSM8916/PM8916 - WWAN Internet via BAM-DMUX except: - NXP TFA9895 codec

[PATCH 10/13] arm64: dts: qcom: msm8916-longcheer-l8910: Add sound and modem

2023-09-26 Thread Stephan Gerhold
From: Jonathan Albrieux Enable sound and modem for the Longcheer L8910 (BQ Aquaris X5). The setup is similar to most MSM8916 devices, i.e.: - QDSP6 audio - Earpiece/headphones/microphones via digital/analog codec in MSM8916/PM8916 - Audio jack detection via analog codec in PM8916 - WWAN

[PATCH 07/13] arm64: dts: qcom: msm8916-alcatel-idol347: Add sound and modem

2023-09-26 Thread Stephan Gerhold
From: Vincent Knecht Enable sound and modem for the Alcatel Idol 3 (4.7"). The setup is similar to most MSM8916 devices, i.e.: - QDSP6 audio - Microphones via digital/analog codec in MSM8916/PM8916 - WWAN Internet via BAM-DMUX except: - Stereo NXP TFA9890 codecs for speakers on Quaternary

[PATCH 03/13] arm64: dts: qcom: msm8916: Add common msm8916-modem-qdsp6.dtsi

2023-09-26 Thread Stephan Gerhold
Most MSM8916/MSM8939 devices use very similar setups for the modem, because most of the device-specific details are abstracted by the modem firmware. There are several definitions (status switches, DAI links etc) that will be exactly the same for every board. Introduce a common

[PATCH 05/13] arm64: dts: qcom: msm8916-samsung-serranove: Add sound and modem

2023-09-26 Thread Stephan Gerhold
Enable sound and modem for the Samsung S4 Mini Value Edition. The setup is similar to most MSM8916 devices, i.e.: - QDSP6 audio - Speaker/earpiece/headphones/microphones via digital/analog codec in MSM8916/PM8916 - WWAN Internet via BAM-DMUX except: - Samsung-specific audio jack

[PATCH 11/13] arm64: dts: qcom: msm8916-samsung-gt5: Add sound and modem

2023-09-26 Thread Stephan Gerhold
From: Jasper Korten Enable sound and modem for the Samsung Galaxy Tab A 2015 tablets. The setup is similar to most MSM8916 devices, i.e.: - QDSP6 audio - Headphones/microphones via digital/analog codec in MSM8916/PM8916. Earpiece exists on samsung-gt58 only. - WWAN Internet via BAM-DMUX

[PATCH 12/13] arm64: dts: qcom: msm8916-samsung-j5: Add sound and modem

2023-09-26 Thread Stephan Gerhold
From: "Lin, Meng-Bo" Enable sound and modem for the Samsung J5 smartphones. The setup is similar to most MSM8916 devices, i.e.: - QDSP6 audio - Speaker/earpiece/headphones/microphones via digital/analog codec in MSM8916/PM8916 - WWAN Internet via BAM-DMUX except: - There is no

[PATCH 01/13] arm64: dts: qcom: msm8939: Add BAM-DMUX WWAN

2023-09-26 Thread Stephan Gerhold
From: Vincent Knecht BAM DMUX is used as the network interface to the modem. This is copied as-is from msm8916.dtsi. Signed-off-by: Vincent Knecht Signed-off-by: Stephan Gerhold --- arch/arm64/boot/dts/qcom/msm8939.dtsi | 30 ++ 1 file changed, 30 insertions(+)

[PATCH 08/13] arm64: dts: qcom: msm8916-asus-z00l: Add sound and modem

2023-09-26 Thread Stephan Gerhold
From: "J.R. Divya Antony" Enable sound and modem for the ASUS Zenfone 2 Laser. The setup is similar to most MSM8916 devices, i.e.: - QDSP6 audio - Speakear/earpiece/headphones/microphones via digital/analog codec in MSM8916/PM8916 - Audio jack detection via analog codec in PM8916 - WWAN

[PATCH 06/13] arm64: dts: qcom: msm8916-wingtech-wt88047: Add sound and modem

2023-09-26 Thread Stephan Gerhold
Enable sound and modem for the Xiaomi Redmi 2. The setup is similar to most MSM8916 devices, i.e.: - QDSP6 audio - Earpiece/headphones/microphones via digital/analog codec in MSM8916/PM8916 - Audio jack detection via analog codec in PM8916 - WWAN Internet via BAM-DMUX except: - Speaker

[PATCH 00/13] arm64: dts: qcom: msm8916/39: Enable sound and modem with QDSP6

2023-09-26 Thread Stephan Gerhold
Enable sound and modem on most of the MSM8916/MSM8939 smartphones/tablets supported upstream by: - Adding the BAM-DMUX DT nodes to msm8939.dtsi for WWAN Internet - Adding the QDSP6 DT nodes to both msm8916.dtsi and msm8939.dtsi. This is needed because audio must be routed through the QDSP6

[PATCH] dt-bindings: remoteproc: mtk,scp: Add missing additionalProperties on child node schemas

2023-09-26 Thread Rob Herring
Just as unevaluatedProperties or additionalProperties are required at the top level of schemas, they should (and will) also be required for child node schemas. That ensures only documented properties are present for any node. Signed-off-by: Rob Herring ---

Re: [PATCH] [v2] ieee802154: ca8210: Fix a potential UAF in ca8210_probe

2023-09-26 Thread Alexander Aring
Hi, On Tue, Sep 26, 2023 at 4:29 AM Stefan Schmidt wrote: > > Hello. > > On 26.09.23 10:02, Miquel Raynal wrote: > > Hi Dinghao, > > > > dinghao@zju.edu.cn wrote on Tue, 26 Sep 2023 11:22:44 +0800: > > > >> If of_clk_add_provider() fails in ca8210_register_ext_clock(), > >> it calls

[PATCH] trace: tracing_event_filter: fast path when no subsystem filters

2023-09-26 Thread Nicholas Lowell
From: Nicholas Lowell If there are no filters in the event subsystem, then there's no reason to continue and hit the potentially time consuming tracepoint_synchronize_unregister function. This should give a speed up for initial disabling/configuring Signed-off-by: Nicholas Lowell ---

RE: [PATCH v4] vmscan: add trace events for lru_gen

2023-09-26 Thread 김재원
>>>On Mon, Sep 25, 2023 at 10:20?PM Jaewon Kim wrote: As the legacy lru provides, the lru_gen needs some trace events for debugging. This commit introduces 2 trace events. trace_mm_vmscan_lru_gen_scan trace_mm_vmscan_lru_gen_evict Each event is

Re: SPDX: Appletalk FW license in the kernel

2023-09-26 Thread Prarit Bhargava
On 9/26/23 04:02, Greg KH wrote: On Tue, Sep 26, 2023 at 12:34:03AM -0700, Christoph Hellwig wrote: On Fri, Sep 15, 2023 at 09:39:05AM -0400, Prarit Bhargava wrote: To be clear, I am not asking for their removal, however, I do think a better license should be issued for these files. The files

Re: [PATCH v5 01/18] cgroup/misc: Add per resource callbacks for CSS events

2023-09-26 Thread Jarkko Sakkinen
On Tue Sep 26, 2023 at 4:10 PM EEST, Jarkko Sakkinen wrote: > On Tue Sep 26, 2023 at 6:04 AM EEST, Haitao Huang wrote: > > Hi Jarkko > > > > On Mon, 25 Sep 2023 12:09:21 -0500, Jarkko Sakkinen > > wrote: > > > > > On Sat Sep 23, 2023 at 6:06 AM EEST, Haitao Huang wrote: > > >> From: Kristen

Re: [PATCH v5 01/18] cgroup/misc: Add per resource callbacks for CSS events

2023-09-26 Thread Jarkko Sakkinen
On Tue Sep 26, 2023 at 6:04 AM EEST, Haitao Huang wrote: > Hi Jarkko > > On Mon, 25 Sep 2023 12:09:21 -0500, Jarkko Sakkinen > wrote: > > > On Sat Sep 23, 2023 at 6:06 AM EEST, Haitao Huang wrote: > >> From: Kristen Carlson Accardi > >> > >> The misc cgroup controller (subsystem) currently

Re: [PATCH] [v2] ieee802154: ca8210: Fix a potential UAF in ca8210_probe

2023-09-26 Thread dinghao . liu
> Missing Cc stable, this needs to be backported. I will cc stable (sta...@vger.kernel.org) for the next version, thanks! > > diff --git a/drivers/net/ieee802154/ca8210.c > > b/drivers/net/ieee802154/ca8210.c > > index aebb19f1b3a4..b35c6f59bd1a 100644 > > --- a/drivers/net/ieee802154/ca8210.c >

Re: [PATCH v3 1/1] scripts: Add add-maintainer.py

2023-09-26 Thread Pavan Kondeti
On Sat, Aug 26, 2023 at 01:07:42AM -0700, Guru Das Srinagesh wrote: > +def gather_maintainers_of_file(patch_file): > +all_entities_of_patch = dict() > + > +# Run get_maintainer.pl on patch file > +logging.info("GET: Patch: {}".format(os.path.basename(patch_file))) > +cmd =

Re: [PATCH v3 10/13] arch: make execmem setup available regardless of CONFIG_MODULES

2023-09-26 Thread Mike Rapoport
Hi Arnd, On Tue, Sep 26, 2023 at 09:33:48AM +0200, Arnd Bergmann wrote: > On Mon, Sep 18, 2023, at 09:29, Mike Rapoport wrote: > > index a42e4cd11db2..c0b536e398b4 100644 > > --- a/arch/arm/mm/init.c > > +++ b/arch/arm/mm/init.c > > +#ifdef CONFIG_XIP_KERNEL > > +/* > > + * The XIP kernel text is

Re: [PATCH] [v2] ieee802154: ca8210: Fix a potential UAF in ca8210_probe

2023-09-26 Thread Stefan Schmidt
Hello. On 26.09.23 10:02, Miquel Raynal wrote: Hi Dinghao, dinghao@zju.edu.cn wrote on Tue, 26 Sep 2023 11:22:44 +0800: If of_clk_add_provider() fails in ca8210_register_ext_clock(), it calls clk_unregister() to release priv->clk and returns an error. However, the caller ca8210_probe()

Re: [PATCH v3 02/13] mm: introduce execmem_text_alloc() and execmem_free()

2023-09-26 Thread Mike Rapoport
On Sat, Sep 23, 2023 at 03:36:01PM -0700, Song Liu wrote: > On Sat, Sep 23, 2023 at 8:39 AM Mike Rapoport wrote: > > > > On Thu, Sep 21, 2023 at 03:34:18PM -0700, Song Liu wrote: > > > On Mon, Sep 18, 2023 at 12:30 AM Mike Rapoport wrote: > > > > > > > > > > [...] > > > > > > > diff --git

Re: SPDX: Appletalk FW license in the kernel

2023-09-26 Thread Greg KH
On Tue, Sep 26, 2023 at 12:34:03AM -0700, Christoph Hellwig wrote: > On Fri, Sep 15, 2023 at 09:39:05AM -0400, Prarit Bhargava wrote: > > To be clear, I am not asking for their removal, however, I do think a better > > license should be issued for these files. The files were trivially modified >

Re: [PATCH] [v2] ieee802154: ca8210: Fix a potential UAF in ca8210_probe

2023-09-26 Thread Miquel Raynal
Hi Dinghao, dinghao@zju.edu.cn wrote on Tue, 26 Sep 2023 11:22:44 +0800: > If of_clk_add_provider() fails in ca8210_register_ext_clock(), > it calls clk_unregister() to release priv->clk and returns an > error. However, the caller ca8210_probe() then calls ca8210_remove(), > where priv->clk

Re: [PATCH v3 10/13] arch: make execmem setup available regardless of CONFIG_MODULES

2023-09-26 Thread Arnd Bergmann
On Mon, Sep 18, 2023, at 09:29, Mike Rapoport wrote: > index a42e4cd11db2..c0b536e398b4 100644 > --- a/arch/arm/mm/init.c > +++ b/arch/arm/mm/init.c > +#ifdef CONFIG_XIP_KERNEL > +/* > + * The XIP kernel text is mapped in the module area for modules and > + * some other stuff to work without any

Re: SPDX: Appletalk FW license in the kernel

2023-09-26 Thread Christoph Hellwig
On Fri, Sep 15, 2023 at 09:39:05AM -0400, Prarit Bhargava wrote: > To be clear, I am not asking for their removal, however, I do think a better > license should be issued for these files. The files were trivially modified > in 2006. It could be that the code in question is now unused and it is

RE: [PATCH v4] vmscan: add trace events for lru_gen

2023-09-26 Thread 김재원
>>On Mon, Sep 25, 2023 at 10:20?PM Jaewon Kim wrote: >>> >>> As the legacy lru provides, the lru_gen needs some trace events for >>> debugging. >>> >>> This commit introduces 2 trace events. >>> trace_mm_vmscan_lru_gen_scan >>> trace_mm_vmscan_lru_gen_evict >>> >>> Each event is similar to

Re: droid4 -- weird behaviour when attempting to use usb host

2023-09-26 Thread Tony Lindgren
* Pavel Machek [230925 14:36]: > Hi! > > I'm having some fun with usb host. Good news is it works with > externally powered hub... after a while. I get some error messages > about inability to go host mode, but with enough patience it > eventually does enter host mode and I see my