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

2023-09-23 Thread Song Liu
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 a/arch/s390/kernel/module.c b/arch/s390/kernel/module.c > > > index

Re: [PATCH] ARM: dts: qcom: sdx65-mtp: Specify PM7250B SID to use

2023-09-23 Thread Bjorn Andersson
On Thu, 21 Sep 2023 08:34:02 +0200, Luca Weiss wrote: > Now that the pm7250b.dtsi can be configured to be on a different SID, we > also need to specify it for this dts file. Set it to the SID 2/3 like it > was before commit 8e2d56f64572 ("arm64: dts: qcom: pm7250b: make SID > configurable"). >

Re: [PATCH] ARM: dts: qcom: msm8226: provide dsi phy clocks to mmcc

2023-09-23 Thread Dmitry Baryshkov
On Wed, 12 Jul 2023 at 10:53, Luca Weiss wrote: > > Some mmcc clocks have dsi0pll & dsi0pllbyte as clock parents so we > should provide them in the dt, which I missed in the commit adding the > mdss nodes. > > Fixes: d5fb01ad5eb4 ("ARM: dts: qcom: msm8226: Add mdss nodes") > Signed-off-by: Luca

Re: [PATCH v2] ARM: dts: qcom: msm8974: correct qfprom node size

2023-09-23 Thread Dmitry Baryshkov
On Fri, 22 Sept 2023 at 19:57, Luca Weiss wrote: > > On Sonntag, 6. August 2023 12:47:51 CEST Luca Weiss wrote: > > Hi Bjorn, > > > > On Montag, 31. Juli 2023 23:45:21 CEST Bjorn Andersson wrote: > > > On Thu, Jun 15, 2023 at 08:20:41PM +0200, Konrad Dybcio wrote: > > > > On 15.06.2023 20:17,

Re: [PATCH v2 3/3] ARM: dts: qcom: msm8226: Add blsp1_i2c6 and blsp1_uart2

2023-09-23 Thread Dmitry Baryshkov
On Fri, 22 Sept 2023 at 19:56, Luca Weiss wrote: > > Add more busses found on msm8226 SoC. > > Signed-off-by: Luca Weiss > --- > arch/arm/boot/dts/qcom/qcom-msm8226.dtsi | 33 > > 1 file changed, 33 insertions(+) > Reviewed-by: Dmitry Baryshkov -- With best

Re: [PATCH v2 2/3] pinctrl: qcom: msm8226: Add blsp_i2c6 function

2023-09-23 Thread Dmitry Baryshkov
On Fri, 22 Sept 2023 at 19:56, Luca Weiss wrote: > > On GPIO22 and GPIO23 there is another I2C bus. Add the function for it. > > Signed-off-by: Luca Weiss > --- > drivers/pinctrl/qcom/pinctrl-msm8226.c | 8 ++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > Reviewed-by: Dmitry

Re: [PATCH v1] samples: kprobes: Fixes a typo

2023-09-23 Thread Atul Kumar Pant
On Thu, Aug 17, 2023 at 10:38:19PM +0530, Atul Kumar Pant wrote: > Fixes typo in a function name. > > Signed-off-by: Atul Kumar Pant > --- > samples/kprobes/kretprobe_example.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/samples/kprobes/kretprobe_example.c >

Re: [PATCH v3 09/13] powerpc: extend execmem_params for kprobes allocations

2023-09-23 Thread Mike Rapoport
Hi Christophe, On Fri, Sep 22, 2023 at 10:32:46AM +, Christophe Leroy wrote: > Hi Mike, > > Le 18/09/2023 à 09:29, Mike Rapoport a écrit : > > From: "Mike Rapoport (IBM)" > > > > powerpc overrides kprobes::alloc_insn_page() to remove writable > > permissions when STRICT_MODULE_RWX is on. >

Re: [PATCH v3 09/13] powerpc: extend execmem_params for kprobes allocations

2023-09-23 Thread Mike Rapoport
On Thu, Sep 21, 2023 at 03:30:46PM -0700, Song Liu wrote: > On Mon, Sep 18, 2023 at 12:31 AM Mike Rapoport wrote: > > > [...] > > @@ -135,5 +138,13 @@ struct execmem_params __init *execmem_arch_params(void) > > > > range->pgprot = prot; > > > > +

Re: [PATCH v3 08/13] riscv: extend execmem_params for generated code allocations

2023-09-23 Thread Mike Rapoport
On Fri, Sep 22, 2023 at 12:37:07PM +0200, Alexandre Ghiti wrote: > Hi Mike, > > On 18/09/2023 09:29, Mike Rapoport wrote: > > From: "Mike Rapoport (IBM)" > > > > The memory allocations for kprobes and BPF on RISC-V are not placed in > > the modules area and these custom allocations are

Re: [PATCH v3 06/13] mm/execmem: introduce execmem_data_alloc()

2023-09-23 Thread Mike Rapoport
On Thu, Sep 21, 2023 at 03:52:21PM -0700, Song Liu wrote: > On Mon, Sep 18, 2023 at 12:31 AM Mike Rapoport wrote: > > > [...] > > diff --git a/include/linux/execmem.h b/include/linux/execmem.h > > index 519bdfdca595..09d45ac786e9 100644 > > --- a/include/linux/execmem.h > > +++

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

2023-09-23 Thread Mike Rapoport
On Thu, Sep 21, 2023 at 03:10:26PM -0700, Song Liu wrote: > On Mon, Sep 18, 2023 at 12:30 AM Mike Rapoport wrote: > > > [...] > > + > > +#include > > +#include > > +#include > > +#include > > + > > +static void *execmem_alloc(size_t size) > > +{ > > + return module_alloc(size); > > +} >

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

2023-09-23 Thread Mike Rapoport
On Thu, Sep 21, 2023 at 03:14:54PM -0700, Song Liu wrote: > On Mon, Sep 18, 2023 at 12:30 AM Mike Rapoport wrote: > > > [...] > > + > > +/** > > + * enum execmem_type - types of executable memory ranges > > + * > > + * There are several subsystems that allocate executable memory. > > + *

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

2023-09-23 Thread Mike Rapoport
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 a/arch/s390/kernel/module.c b/arch/s390/kernel/module.c > > index 42215f9404af..db5561d0c233 100644 > > --- a/arch/s390/kernel/module.c > > +++

Re: [PATCH v2] vmscan: add trace events for lru_gen

2023-09-23 Thread T.J. Mercier
On Thu, Sep 21, 2023 at 7:27 PM 김재원 wrote: > > >On Thu, 21 Sep 2023 09:12:30 -0700 > >"T.J. Mercier" wrote: > > > >> > + TP_fast_assign( > >> > + __entry->nid = nid; > >> > + __entry->nr_reclaimed = nr_reclaimed; > >> > + __entry->nr_dirty =

[PATCH v4 2/2] leds: add ktd202x driver

2023-09-23 Thread André Apitzsch
This commit adds support for Kinetic KTD2026/7 RGB/White LED driver. Signed-off-by: André Apitzsch --- drivers/leds/rgb/Kconfig| 13 + drivers/leds/rgb/Makefile | 1 + drivers/leds/rgb/leds-ktd202x.c | 625 3 files changed, 639

[PATCH v2 0/2] MPM pin mappings for MSM8226 and MSM8974

2023-09-23 Thread Matti Lehtimäki
This series adds the MPM wakeirq mappings for MSM8226 and MSM8974. Changes in v2: - Add missing entry to MSM8226 mapping - Add Reviewed-by tag to MSM8974 patch Matti Lehtimäki (2): pinctrl: qcom: msm8226: Add MPM pin mappings pinctrl: qcom: msm8974: Add MPM pin mappings

[PATCH v2 1/2] pinctrl: qcom: msm8226: Add MPM pin mappings

2023-09-23 Thread Matti Lehtimäki
Add pin <-> wakeirq mappings to allow for waking up the AP from sleep through MPM-connected pins. Signed-off-by: Matti Lehtimäki --- Changes in v2: - Add missing entry to mapping --- drivers/pinctrl/qcom/pinctrl-msm8226.c | 12 1 file changed, 12 insertions(+) diff --git

[PATCH v4 1/2] dt-bindings: leds: Add Kinetic KTD2026/2027 LED

2023-09-23 Thread André Apitzsch
Document Kinetic KTD2026/2027 LED driver devicetree bindings. Reviewed-by: Krzysztof Kozlowski Signed-off-by: André Apitzsch --- .../devicetree/bindings/leds/kinetic,ktd202x.yaml | 171 + 1 file changed, 171 insertions(+) diff --git

[PATCH v4 0/2] leds: Add a driver for KTD202x

2023-09-23 Thread André Apitzsch
Add the binding description and the corresponding driver for the Kinetic KTD2026 and KTD2027. Signed-off-by: André Apitzsch --- Changes in v4: - Annotate struct ktd202x with __counted_by - Link to v3: https://lore.kernel.org/r/20230906-ktd202x-v3-0-7fcb91c65...@apitzsch.eu Changes in v3: - Add

Re: [PATCH 1/2] pinctrl: qcom: msm8226: Add MPM pin mappings

2023-09-23 Thread Luca Weiss
On Samstag, 23. September 2023 13:35:25 CEST Stephan Gerhold wrote: > On Sat, Sep 23, 2023 at 01:19:46PM +0200, Luca Weiss wrote: > > On Samstag, 23. September 2023 12:00:52 CEST Stephan Gerhold wrote: > > > On Sat, Sep 23, 2023 at 11:32:47AM +0200, Luca Weiss wrote: > > > > Hi Matti, > > > > > >

Re: [PATCH 1/2] pinctrl: qcom: msm8226: Add MPM pin mappings

2023-09-23 Thread Stephan Gerhold
On Sat, Sep 23, 2023 at 01:19:46PM +0200, Luca Weiss wrote: > On Samstag, 23. September 2023 12:00:52 CEST Stephan Gerhold wrote: > > On Sat, Sep 23, 2023 at 11:32:47AM +0200, Luca Weiss wrote: > > > Hi Matti, > > > > > > On Samstag, 23. September 2023 00:40:26 CEST Matti Lehtimäki wrote: > > > >

Re: [PATCH 1/2] pinctrl: qcom: msm8226: Add MPM pin mappings

2023-09-23 Thread Luca Weiss
On Samstag, 23. September 2023 12:00:52 CEST Stephan Gerhold wrote: > On Sat, Sep 23, 2023 at 11:32:47AM +0200, Luca Weiss wrote: > > Hi Matti, > > > > On Samstag, 23. September 2023 00:40:26 CEST Matti Lehtimäki wrote: > > > Add pin <-> wakeirq mappings to allow for waking up the AP from sleep >

Re: [PATCH 1/2] pinctrl: qcom: msm8226: Add MPM pin mappings

2023-09-23 Thread Stephan Gerhold
On Sat, Sep 23, 2023 at 11:32:47AM +0200, Luca Weiss wrote: > Hi Matti, > > On Samstag, 23. September 2023 00:40:26 CEST Matti Lehtimäki wrote: > > Add pin <-> wakeirq mappings to allow for waking up the AP from sleep > > through MPM-connected pins. > > > > Signed-off-by: Matti Lehtimäki > >

Re: [PATCH v9 1/5] lib: objpool added: ring-array based lockless MPMC

2023-09-23 Thread Google
Hi Wuqiang, Sorry for replying later. On Tue, 5 Sep 2023 09:52:51 +0800 "wuqiang.matt" wrote: > The object pool is a scalable implementaion of high performance queue > for object allocation and reclamation, such as kretprobe instances. > > With leveraging percpu ring-array to mitigate the

Re: [PATCH 1/2] pinctrl: qcom: msm8226: Add MPM pin mappings

2023-09-23 Thread Luca Weiss
Hi Matti, On Samstag, 23. September 2023 00:40:26 CEST Matti Lehtimäki wrote: > Add pin <-> wakeirq mappings to allow for waking up the AP from sleep > through MPM-connected pins. > > Signed-off-by: Matti Lehtimäki > --- > drivers/pinctrl/qcom/pinctrl-msm8226.c | 12 > 1 file

Re: [PATCH v9 0/5] lib,kprobes: kretprobe scalability improvement

2023-09-23 Thread Google
Hi Wuqiang, I dug my mail box and found this. Sorry for replying late. On Tue, 5 Sep 2023 09:52:50 +0800 "wuqiang.matt" wrote: > This patch series introduces a scalable and lockless ring-array based > object pool and replaces the original freelist (a LIFO queue based on > singly linked list)