[PATCH] parisc/kprobes: always include asm-generic/kprobes.h

2024-02-11 Thread Max Kellermann
The NOKPROBE_SYMBOL macro (and others) were moved to asm-generic/kprobes.h in 2017 by commit 7d134b2ce639 ("kprobes: move kprobe declarations to asm-generic/kprobes.h"), and this new header was included by asm/kprobes.h unconditionally on all architectures. When kprobe support was added to parisc

[PATCH] parisc/ftrace: add missing CONFIG_DYNAMIC_FTRACE check

2024-02-11 Thread Max Kellermann
Fixes a bug revealed by -Wmissing-prototypes when CONFIG_FUNCTION_GRAPH_TRACER is enabled but not CONFIG_DYNAMIC_FTRACE: arch/parisc/kernel/ftrace.c:82:5: error: no previous prototype for 'ftrace_enable_ftrace_graph_caller' [-Werror=missing-prototypes] 82 | int ftrace_enable_ftrace_graph_cal

Re: [PATCH v16 5/6] Documentation: tracing: Add ring-buffer mapping

2024-02-11 Thread Steven Rostedt
On Fri, 9 Feb 2024 16:34:47 + Vincent Donnefort wrote: > It is now possible to mmap() a ring-buffer to stream its content. Add > some documentation and a code example. > > Signed-off-by: Vincent Donnefort > > diff --git a/Documentation/trace/index.rst b/Documentation/trace/index.rst > ind

Re: [PATCH v16 4/6] tracing: Allow user-space mapping of the ring-buffer

2024-02-11 Thread Steven Rostedt
On Fri, 9 Feb 2024 16:34:46 + Vincent Donnefort wrote: > +static void tracing_buffers_mmap_close(struct vm_area_struct *vma) > +{ > + struct ftrace_buffer_info *info = vma->vm_file->private_data; > + struct trace_iterator *iter = &info->iter; > + struct trace_array __maybe_unused

Re: [PATCH v16 2/6] ring-buffer: Introducing ring-buffer mapping functions

2024-02-11 Thread Steven Rostedt
On Fri, 9 Feb 2024 16:34:44 + Vincent Donnefort wrote: I have some comment updates, but I also notice a need to change the code slightly. Nothing major, but enough to perhaps have a v17. > > diff --git a/include/linux/ring_buffer.h b/include/linux/ring_buffer.h > index fa802db216f9..0841ba

Re: [PATCH] dt-bindings: usb: typec: anx7688: start a binding document

2024-02-11 Thread Krzysztof Kozlowski
On 09/02/2024 20:51, Pavel Machek wrote: > Add binding for anx7688 usb type-c bridge. I don't have a datasheet, > but I did best I could. > > Signed-off-by: Pavel Machek > You miss proper diffstat which makes reviewing difficult. Actually entire patch is corrupted and impossible to apply. Any

Re: [PATCH v2 1/3] dt-bindings: soc: qcom: qcom,saw2: add msm8226 l2 compatible

2024-02-11 Thread Krzysztof Kozlowski
On 10/02/2024 17:28, Luca Weiss wrote: > Add the compatible for the SAW2 for L2 cache found on MSM8226. > > Signed-off-by: Luca Weiss > --- > Documentation/devicetree/bindings/soc/qcom/qcom,saw2.yaml | 1 + Acked-by: Krzysztof Kozlowski Best regards, Krzysztof

Re: [PATCH v2 1/3] dt-bindings: power: rpmpd: Add MSM8974 power domains

2024-02-11 Thread Krzysztof Kozlowski
On 10/02/2024 17:38, Luca Weiss wrote: > Add the compatibles and indexes for the rpmpd in MSM8974, both with the > standard PM8841+PM8941 PMICs but also devices found with PMA8084. > > Signed-off-by: Luca Weiss > --- Acked-by: Krzysztof Kozlowski Best regards, Krzysztof

Re: [PATCH v2 1/3] dt-bindings: power: rpmpd: Add MSM8974 power domains

2024-02-11 Thread Stephan Gerhold
On Sat, Feb 10, 2024 at 05:38:56PM +0100, Luca Weiss wrote: > Add the compatibles and indexes for the rpmpd in MSM8974, both with the > standard PM8841+PM8941 PMICs but also devices found with PMA8084. > > Signed-off-by: Luca Weiss > --- > Documentation/devicetree/bindings/power/qcom,rpmpd.yaml

Re: [PATCH v2 1/3] dt-bindings: power: rpmpd: Add MSM8974 power domains

2024-02-11 Thread Luca Weiss
On Sonntag, 11. Februar 2024 12:03:15 CET Stephan Gerhold wrote: > On Sat, Feb 10, 2024 at 05:38:56PM +0100, Luca Weiss wrote: > > Add the compatibles and indexes for the rpmpd in MSM8974, both with the > > standard PM8841+PM8941 PMICs but also devices found with PMA8084. > > > > Signed-off-by: Lu

[RFC PATCH v2 6/6] MAINTAINERS: add myself for Marvell 88PM886 PMIC

2024-02-11 Thread Karel Balej
From: Karel Balej Add an entry to MAINTAINERS for the Marvell 88PM886 PMIC MFD, onkey and regulator drivers. Signed-off-by: Karel Balej --- Notes: RFC v2: - Only mention 88PM886 in the commit message. - Add regulator driver. - Rename the entry. MAINTAINERS | 11 +++ 1

[RFC PATCH v2 5/6] input: add onkey driver for Marvell 88PM88X PMICs

2024-02-11 Thread Karel Balej
From: Karel Balej Marvell 88PM88X PMICs provide onkey among other things. Add client driver to handle it. The driver currently only provides a basic support omitting additional functions found in the vendor version, such as long onkey and GPIO integration. Signed-off-by: Karel Balej --- Notes:

[RFC PATCH v2 4/6] dt-bindings: input: add entry for Marvell 88PM88X PMICs onkey

2024-02-11 Thread Karel Balej
From: Karel Balej Marvell 88PM88X PMICs provide onkey functionality -- add the bindings. Signed-off-by: Karel Balej --- Notes: RFC v2: - Add wakeup-source property and reference onkey schema from MFD. - Reword commit message. .../bindings/input/marvell,88pm88x-onkey.yaml | 32 +++

[RFC PATCH v2 3/6] regulator: add regulators driver for Marvell 88PM886 PMIC

2024-02-11 Thread Karel Balej
From: Karel Balej Support the LDO and buck regulators of the Marvell 88PM886 PMIC. 88PM886 LDOs match those of 88PM880 which also has several more of them. 88PM880 buck regulators descriptions do not match and they sit on a different register page and thus need a separate I2C client and regmap.

[RFC PATCH v2 1/6] dt-bindings: mfd: add entry for Marvell 88PM886 PMIC

2024-02-11 Thread Karel Balej
From: Karel Balej Marvell 88PM886 is a PMIC with several subdevices such as onkey, regulators or battery and charger. It comes in at least two revisions, A0 and A1 -- only A1 is described here at the moment. Signed-off-by: Karel Balej --- Notes: RFC v2: - Address Rob's feedback:

[RFC PATCH v2 0/6] support for Marvell 88PM886 PMIC

2024-02-11 Thread Karel Balej
From: Karel Balej Hello, the following implements basic support for Marvell's 88PM886 PMIC which is found for instance as a component of the samsung,coreprimevelte smartphone which inspired this and also serves as a testing platform. The code for the MFD is based primarily on this old series [1

[RFC PATCH v2 2/6] mfd: add driver for Marvell 88PM886 PMIC

2024-02-11 Thread Karel Balej
From: Karel Balej Marvell 88PM886 is a PMIC which provides various functions such as onkey, battery, charger and regulators. It is found for instance in the samsung,coreprimevelte smartphone with which this was tested. Only implement basic support to allow for the use of regulators and onkey omi