Re: [PATCH v7] scripts/link-vmlinux.sh: Add alias to duplicate symbols for kallsyms

2023-12-21 Thread Francis Laniel
Hi! Le lundi 4 décembre 2023, 22:46:35 CET Alessandro Carminati (Red Hat) a écrit : > In the kernel environment, situations frequently arise where identical > names are shared among symbols within both the core image and modules. > While this doesn't pose issues for the kernel's binary itself,

Re: [PATCH for-next] tracing/kprobes: Add symbol counting check when module loads

2023-11-10 Thread Francis Laniel
Hi! Le dimanche 29 octobre 2023, 05:10:46 EET Masami Hiramatsu (Google) a écrit : > From: Masami Hiramatsu (Google) > > Check the number of probe target symbols in the target module when > the module is loaded. If the probe is not on the unique name symbols > in the module, it will be rejected

Re: [PATCH for-next] tracing/kprobes: Add symbol counting check when module loads

2023-11-02 Thread Francis Laniel
Hi! Le mercredi 1 novembre 2023, 01:15:09 EET Masami Hiramatsu a écrit : > Hi, > > On Tue, 31 Oct 2023 23:24:43 +0200 > > Francis Laniel wrote: > > > @@ -729,17 +744,55 @@ static int count_mod_symbols(void *data, const > > > char > >

Re: [PATCH for-next] tracing/kprobes: Add symbol counting check when module loads

2023-10-31 Thread Francis Laniel
Hi! Le dimanche 29 octobre 2023, 05:10:46 EET Masami Hiramatsu (Google) a écrit : > From: Masami Hiramatsu (Google) > > Check the number of probe target symbols in the target module when > the module is loaded. If the probe is not on the unique name symbols > in the module, it will be rejected

Re: [PATCH] tracing/kprobes: Fix symbol counting logic by looking at modules as well

2023-10-29 Thread Francis Laniel
... Sorry about this... Thank you for the fix, I will handle the patch for older kernels in case there are troubles applying it. > Fix this my calling module_kallsyms_on_each_symbol() in addition to > kallsyms_on_each_match_symbol() to perform a proper counting. > > Cc: Fran

Re: [PATCH v6] scripts/link-vmlinux.sh: Add alias to duplicate symbols for kallsyms

2023-10-26 Thread Francis Laniel
Hi! Le mercredi 25 octobre 2023, 21:33:43 EEST Alessandro Carminati a écrit : > Hi Francis, > Thanks a lot for your feedback! You are welcome! > Il giorno mer 25 ott 2023 alle ore 15:21 Francis Laniel > > /* SNIP */ > > > debug >= DebugLevel.INFO.value: > >

Re: [PATCH v6] scripts/link-vmlinux.sh: Add alias to duplicate symbols for kallsyms

2023-10-25 Thread Francis Laniel
Hi! Le mardi 24 octobre 2023, 23:11:57 EEST Alessandro Carminati (Red Hat) a écrit : > In the kernel environment, scenarios often arise where identical names > are shared among symbols within core image or modules. > While this poses no complications for the kernel's binary itself, it > creates

Re: [PATCH v6 0/2] Return EADDRNOTAVAIL when func matches several symbols during kprobe creation

2023-10-20 Thread Francis Laniel
! Best regards. > On Fri, 20 Oct 2023 13:42:48 +0300 > > Francis Laniel wrote: > > Hi. > > > > > > In the kernel source code, it exists different functions which share the > > same name but which have, of course, different addresses as they can be >

[PATCH v6 1/2] tracing/kprobes: Return EADDRNOTAVAIL when func matches several symbols

2023-10-20 Thread Francis Laniel
...@vger.kernel.org Fixes: 413d37d1eb69 ("tracing: Add kprobe-based event tracer") Suggested-by: Masami Hiramatsu Signed-off-by: Francis Laniel Link: https://lore.kernel.org/lkml/20230819101105.b0c104ae4494a7d1f2eea...@kernel.org/ --- kernel/trace/trace_kpr

[PATCH v6 0/2] Return EADDRNOTAVAIL when func matches several symbols during kprobe creation

2023-10-20 Thread Francis Laniel
registering the kprobe. v3: * Check symbol does not contain ':' before testing its uniqueness. * Add a selftest to check this is not possible to install a kprobe for a non unique symbol. v5: * No changes, just add linux-stable as recipient. v6: * Rephrase commit message. * Add &qu

Re: [PATCH v5 0/2] Return EADDRNOTAVAIL when func matches several symbols during kprobe creation

2023-10-20 Thread Francis Laniel
Hi! Le jeudi 19 octobre 2023, 18:07:08 EEST Masami Hiramatsu a écrit : > On Thu, 19 Oct 2023 09:51:04 -0400 > > Steven Rostedt wrote: > > On Thu, 19 Oct 2023 21:18:43 +0900 > > > > Masami Hiramatsu (Google) wrote: > > > > So why is this adding stable? (and as Greg's form letter states, > > >

Re: [PATCH v5 0/2] Return EADDRNOTAVAIL when func matches several symbols during kprobe creation

2023-10-20 Thread Francis Laniel
Hi! Le jeudi 19 octobre 2023, 16:51:04 EEST Steven Rostedt a écrit : > On Thu, 19 Oct 2023 21:18:43 +0900 > > Masami Hiramatsu (Google) wrote: > > > So why is this adding stable? (and as Greg's form letter states, that's > > > not > > > how you do that) > > > > > > I don't see this as a fix

Re: [PATCH v5 0/2] Return EADDRNOTAVAIL when func matches several symbols during kprobe creation

2023-10-19 Thread Francis Laniel
Hi! Le mercredi 18 octobre 2023, 20:00:42 EEST Steven Rostedt a écrit : > On Wed, 18 Oct 2023 17:40:28 +0300 > > Francis Laniel wrote: > > Changes since: > > v1: > > * Use EADDRNOTAVAIL instead of adding a new error code. > > * Correct also this behavio

Re: [PATCH v3 1/1] tracing/kprobes: Return EADDRNOTAVAIL when func matches several symbols

2023-10-18 Thread Francis Laniel
Hi! Le mercredi 18 octobre 2023, 09:30:20 EEST Masami Hiramatsu a écrit : > Hi Francis, > > On Thu, 31 Aug 2023 09:14:55 +0200 > > Francis Laniel wrote: > > Hi. > > > > Le mercredi 30 août 2023, 01:57:19 CEST Steven Rostedt a écrit : > &g

[PATCH v5 1/2] tracing/kprobes: Return EADDRNOTAVAIL when func matches several symbols

2023-10-18 Thread Francis Laniel
, because the effectively called one has no kprobes attached. So, this commit returns EADDRNOTAVAIL when func matches several symbols. This way, user needs to use address to remove the ambiguity. Suggested-by: Masami Hiramatsu Signed-off-by: Francis Laniel Link: https://lore.kernel.org/lkml

[PATCH v5 0/2] Return EADDRNOTAVAIL when func matches several symbols during kprobe creation

2023-10-18 Thread Francis Laniel
higher than 1. * Return ENOENT if above count is 0, as it would be returned later by while registering the kprobe. v3: * Check symbol does not contain ':' before testing its uniqueness. * Add a selftest to check this is not possible to install a kprobe for a non unique symbol. v5: * No changes, ju

Re: [PATCH v5] scripts/link-vmlinux.sh: Add alias to duplicate symbols for kallsyms

2023-10-02 Thread Francis Laniel
Hi. Le mercredi 27 septembre 2023, 20:35:16 EEST Alessandro Carminati (Red Hat) a écrit : > It is not uncommon for drivers or modules related to similar peripherals > to have symbols with the exact same name. > While this is not a problem for the kernel's binary itself, it becomes an > issue

Re: [PATCH v4] scripts/link-vmlinux.sh: Add alias to duplicate symbols for kallsyms

2023-09-21 Thread Francis Laniel
Hi. Le mercredi 20 septembre 2023, 21:04:42 EEST Alessandro Carminati a écrit : > Hello Francis, > > Thanks a lot for the review. You are welcome. I also tested it and it works well: root@vm-amd64:~# grep ' name_show' /proc/kallsyms | head -6 810fa070 t name_show 8

Re: [PATCH v4] scripts/link-vmlinux.sh: Add alias to duplicate symbols for kallsyms

2023-09-20 Thread Francis Laniel
Hi. Le mardi 19 septembre 2023, 22:39:48 EEST Alessandro Carminati (Red Hat) a écrit : > It is not uncommon for drivers or modules related to similar peripherals > to have symbols with the exact same name. > While this is not a problem for the kernel's binary itself, it becomes an > issue when

[PATCH 2/2] drm/panel: Add support for E Ink VB3300-KCA

2021-04-19 Thread Alistair Francis
Add support for the 10.3" E Ink panel described at: https://www.eink.com/product.html?type=productdetail=7 Signed-off-by: Alistair Francis --- drivers/gpu/drm/panel/panel-simple.c | 29 1 file changed, 29 insertions(+) diff --git a/drivers/gpu/drm/panel/

[PATCH 1/2] dt-bindings: Add E Ink to vendor bindings

2021-04-19 Thread Alistair Francis
Add the E Ink Corporation to the vendor bindings. Signed-off-by: Alistair Francis --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor

[PATCH v5 5/5] ARM: dts: imx7d: remarkable2: Enable silergy,sy7636a

2021-04-19 Thread Alistair Francis
Enable the silergy,sy7636a and silergy,sy7636a-regulator on the reMarkable2. Signed-off-by: Alistair Francis --- arch/arm/boot/dts/imx7d-remarkable2.dts | 61 + 1 file changed, 61 insertions(+) diff --git a/arch/arm/boot/dts/imx7d-remarkable2.dts b/arch/arm/boot/dts

[PATCH v5 4/5] ARM: imx_v6_v7_defconfig: Enable silergy,sy7636a

2021-04-19 Thread Alistair Francis
Enable the silergy,sy7636a and silergy,sy7636a-regulator for the reMarkable2. Signed-off-by: Alistair Francis --- arch/arm/configs/imx_v6_v7_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index

[PATCH v5 3/5] regulator: sy7636a: Initial commit

2021-04-19 Thread Alistair Francis
Initial support for the Silergy SY7636A-regulator Power Management chip. Signed-off-by: Alistair Francis --- v5: - Simplify the implementation drivers/regulator/Kconfig | 6 ++ drivers/regulator/Makefile| 1 + drivers/regulator/sy7636a-regulator.c | 127

[PATCH v5 2/5] mfd: sy7636a: Initial commit

2021-04-19 Thread Alistair Francis
Initial support for the Silergy SY7636A Power Management chip. Signed-off-by: Alistair Francis --- v5: - Don't use regmap-irq drivers/mfd/Kconfig | 9 drivers/mfd/Makefile| 1 + drivers/mfd/sy7636a.c | 82 + include/linux/mfd

[PATCH v5 1/5] dt-bindings: mfd: Initial commit of silergy,sy7636a.yaml

2021-04-19 Thread Alistair Francis
Initial support for the Silergy SY7636A Power Management chip and regulator. Signed-off-by: Alistair Francis --- v5: - Improve the documentation .../bindings/mfd/silergy,sy7636a.yaml | 70 +++ 1 file changed, 70 insertions(+) create mode 100644 Documentation

[PATCH] ARM: imx7d-remarkable2.dts: Add WiFi support

2021-04-19 Thread Alistair Francis
Signed-off-by: Alistair Francis --- arch/arm/boot/dts/imx7d-remarkable2.dts | 91 + 1 file changed, 91 insertions(+) diff --git a/arch/arm/boot/dts/imx7d-remarkable2.dts b/arch/arm/boot/dts/imx7d-remarkable2.dts index 8cbae656395c..c3dda2b92fe6 100644 --- a/arch/arm

[PATCH v5 9/9] ARM: dts: imx7d: remarkable2: add wacom digitizer device

2021-04-19 Thread Alistair Francis
Enable the wacom_i2c touchscreen for the reMarkable2. Signed-off-by: Alistair Francis --- arch/arm/boot/dts/imx7d-remarkable2.dts | 61 + 1 file changed, 61 insertions(+) diff --git a/arch/arm/boot/dts/imx7d-remarkable2.dts b/arch/arm/boot/dts/imx7d-remarkable2.dts

[PATCH v5 8/9] ARM: imx_v6_v7_defconfig: Enable Wacom I2C

2021-04-19 Thread Alistair Francis
Enable the Wacom I2C in the imx defconfig as it is used by the reMarkable2 tablet. Signed-off-by: Alistair Francis --- arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index

[PATCH v5 5/9] Input: wacom_i2c - Add support for distance and tilt x/y

2021-04-19 Thread Alistair Francis
This is based on the out of tree rM2 driver. Signed-off-by: Alistair Francis --- v5: - Check the firmware version drivers/input/touchscreen/wacom_i2c.c | 34 +-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/drivers/input/touchscreen/wacom_i2c.c b

[PATCH v5 6/9] Input: wacom_i2c - Clean up the query device fields

2021-04-19 Thread Alistair Francis
Improve the query device fields to be more verbose. Signed-off-by: Alistair Francis --- drivers/input/touchscreen/wacom_i2c.c | 64 ++- 1 file changed, 44 insertions(+), 20 deletions(-) diff --git a/drivers/input/touchscreen/wacom_i2c.c b/drivers/input/touchscreen

[PATCH v5 7/9] Input: wacom_i2c - Add support for vdd regulator

2021-04-19 Thread Alistair Francis
Add support for a VDD regulator. This allows the kernel to prove the Wacom-I2C device on the rM2. Signed-off-by: Alistair Francis --- drivers/input/touchscreen/wacom_i2c.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/input/touchscreen/wacom_i2c.c b/drivers

[PATCH v5 3/9] Input: wacom_i2c - Add device tree support to wacom_i2c

2021-04-19 Thread Alistair Francis
Allow the wacom-i2c device to be exposed via device tree. Signed-off-by: Alistair Francis --- drivers/input/touchscreen/wacom_i2c.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/input/touchscreen/wacom_i2c.c b/drivers/input/touchscreen/wacom_i2c.c index 1afc6bde2891

[PATCH v5 4/9] Input: wacom_i2c - Add touchscren properties

2021-04-19 Thread Alistair Francis
Connect touchscreen properties to the wacom_i2c. Signed-off-by: Alistair Francis --- drivers/input/touchscreen/wacom_i2c.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/input/touchscreen/wacom_i2c.c b/drivers/input/touchscreen/wacom_i2c.c index dd3fc54d3825

[PATCH v5 1/9] dt-bindings: Add Wacom to vendor bindings

2021-04-19 Thread Alistair Francis
Signed-off-by: Alistair Francis --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index a8e1e8d2ef20..996f4de2fff5

[PATCH v5 2/9] dt-bindings: touchscreen: Initial commit of wacom,generic

2021-04-19 Thread Alistair Francis
Signed-off-by: Alistair Francis --- .../input/touchscreen/wacom,generic.yaml | 48 +++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/wacom,generic.yaml diff --git a/Documentation/devicetree/bindings/input

Re: [PATCH v4 04/10] Input: wacom_i2c - Add touchscren properties

2021-03-29 Thread Alistair Francis
On Mon, Mar 29, 2021 at 3:08 PM Dmitry Torokhov wrote: > > On Thu, Mar 25, 2021 at 09:52:24PM -0400, Alistair Francis wrote: > > Connect touchscreen properties to the wacom_i2c. > > > > Signed-off-by: Alistair Francis > > --- > > v4: > > - Add touchsc

[PATCH v4 4/5] ARM: imx_v6_v7_defconfig: Enable silergy,sy7636a

2021-03-25 Thread Alistair Francis
Enable the silergy,sy7636a and silergy,sy7636a-regulator for the reMarkable2. Signed-off-by: Alistair Francis --- v3: - Change patch title v2: - N/A arch/arm/configs/imx_v6_v7_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm

[PATCH v4 5/5] ARM: dts: imx7d: remarkable2: Enable silergy,sy7636a

2021-03-25 Thread Alistair Francis
Enable the silergy,sy7636a and silergy,sy7636a-regulator on the reMarkable2. Signed-off-by: Alistair Francis --- v3: - Change patch title v2: - N/A arch/arm/boot/dts/imx7d-remarkable2.dts | 61 + 1 file changed, 61 insertions(+) diff --git a/arch/arm/boot/dts/imx7d

[PATCH v4 3/5] regulator: sy7636a: Initial commit

2021-03-25 Thread Alistair Francis
Initial support for the Silergy SY7636A-regulator Power Management chip. Signed-off-by: Alistair Francis --- v3: - Move sysfs power from mfd to regulaator - Add ABI documentation v2: - N/A .../testing/sysfs-driver-sy7636a-regulator| 21 ++ drivers/regulator/Kconfig

[PATCH v4 1/5] dt-bindings: mfd: Initial commit of silergy,sy7636a.yaml

2021-03-25 Thread Alistair Francis
Initial support for the Silergy SY7636A Power Management chip and regulator. Signed-off-by: Alistair Francis --- v3: - No change v2: - N/A .../bindings/mfd/silergy,sy7636a.yaml | 63 +++ 1 file changed, 63 insertions(+) create mode 100644 Documentation/devicetree

[PATCH v4 2/5] mfd: sy7636a: Initial commit

2021-03-25 Thread Alistair Francis
Initial support for the Silergy SY7636A Power Management chip. Signed-off-by: Alistair Francis --- v3: - Update copyright year - Move power parts to regulator - Change Kconfig depends to be tristate v2: - Address comments from review drivers/mfd/Kconfig | 10 + drivers/mfd

[PATCH v4 07/10] Input: wacom_i2c - Add support for reset control

2021-03-25 Thread Alistair Francis
From: Alistair Francis Signed-off-by: Alistair Francis --- v4: - Initial commit drivers/input/touchscreen/wacom_i2c.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/input/touchscreen/wacom_i2c.c b/drivers/input/touchscreen/wacom_i2c.c index 84c7ccb737bd

[PATCH v4 08/10] Input: wacom_i2c - Add support for vdd regulator

2021-03-25 Thread Alistair Francis
Add support for a VDD regulator. This allows the kernel to prove the Wacom-I2C device on the rM2. Signed-off-by: Alistair Francis --- v4: - Don't double allocate wac_i2c drivers/input/touchscreen/wacom_i2c.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/input

[PATCH v4 09/10] ARM: imx_v6_v7_defconfig: Enable Wacom I2C

2021-03-25 Thread Alistair Francis
Enable the Wacom I2C in the imx defconfig as it is used by the reMarkable2 tablet. Signed-off-by: Alistair Francis --- arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index

[PATCH v4 05/10] Input: wacom_i2c - Add support for distance and tilt x/y

2021-03-25 Thread Alistair Francis
This is based on the out of tree rM2 driver. Signed-off-by: Alistair Francis --- drivers/input/touchscreen/wacom_i2c.c | 25 +++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/drivers/input/touchscreen/wacom_i2c.c b/drivers/input/touchscreen/wacom_i2c.c

[PATCH v4 04/10] Input: wacom_i2c - Add touchscren properties

2021-03-25 Thread Alistair Francis
Connect touchscreen properties to the wacom_i2c. Signed-off-by: Alistair Francis --- v4: - Add touchscreen_report_pos() as well drivers/input/touchscreen/wacom_i2c.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/input/touchscreen/wacom_i2c.c b/drivers/input/touchscreen

[PATCH v4 03/10] Input: wacom_i2c - Add device tree support to wacom_i2c

2021-03-25 Thread Alistair Francis
Allow the wacom-i2c device to be exposed via device tree. Signed-off-by: Alistair Francis --- v4: - Avoid unused variable warning by not using of_match_ptr() drivers/input/touchscreen/wacom_i2c.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/input/touchscreen/wacom_i2c.c

[PATCH v4 06/10] Input: wacom_i2c - Clean up the query device fields

2021-03-25 Thread Alistair Francis
Improve the query device fields to be more verbose. Signed-off-by: Alistair Francis --- v4: - Remove the reset_control_reset() logic drivers/input/touchscreen/wacom_i2c.c | 64 ++- 1 file changed, 44 insertions(+), 20 deletions(-) diff --git a/drivers/input

[PATCH v4 01/10] dt-bindings: Add Wacom to vendor bindings

2021-03-25 Thread Alistair Francis
Signed-off-by: Alistair Francis --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index a8e1e8d2ef20..996f4de2fff5

[PATCH v4 02/10] dt-bindings: touchscreen: Initial commit of wacom,generic

2021-03-25 Thread Alistair Francis
Signed-off-by: Alistair Francis --- .../input/touchscreen/wacom,generic.yaml | 48 +++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/wacom,generic.yaml diff --git a/Documentation/devicetree/bindings/input

Re: [PATCH 2/6] mfd: Initial commit of sy7636a

2021-03-25 Thread Alistair Francis
On Tue, Mar 23, 2021 at 5:35 AM Lee Jones wrote: > > On Sat, 20 Mar 2021, Alistair Francis wrote: > > > On Thu, Feb 4, 2021 at 5:31 AM Lee Jones wrote: > > > > > > On Sat, 16 Jan 2021, Alistair Francis wrote: > > > > > > > Initial

[PATCH v6 3/3] ARM: imx7d-remarkable2.dts: Initial device tree for reMarkable2

2021-03-22 Thread Alistair Francis
. Signed-off-by: Alistair Francis --- v6: - Remove unneeded disables (crypt and dma_apbh) - Remove uneeded enables (sdma) - Fixup memory entry - Remove unused reference arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx7d-remarkable2.dts | 146 2

[PATCH v6 1/3] dt-bindings: Add vendor prefix for reMarkable

2021-03-22 Thread Alistair Francis
reMarkable AS produces eInk tablets Signed-off-by: Alistair Francis --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml

[PATCH v6 2/3] dt-bindings: arm: fsl: Add the reMarkable 2 e-Ink tablet

2021-03-22 Thread Alistair Francis
Signed-off-by: Alistair Francis --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index 297c87f45db8..d139440c86b6 100644 --- a/Documentation

[PATCH v3 2/2] mfd: sy7636a: Initial commit

2021-03-21 Thread Alistair Francis
Initial support for the Silergy SY7636A Power Management chip. Signed-off-by: Alistair Francis --- v3: - Address comments in V2 - Drop regulator patches drivers/mfd/Kconfig | 10 ++ drivers/mfd/Makefile| 1 + drivers/mfd/sy7636a.c | 246

[PATCH v3 1/2] dt-bindings: mfd: Initial commit of silergy,sy7636a.yaml

2021-03-21 Thread Alistair Francis
Initial support for the Silergy SY7636A Power Management chip and regulator. Signed-off-by: Alistair Francis --- .../bindings/mfd/silergy,sy7636a.yaml | 63 +++ 1 file changed, 63 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/silergy

[PATCH v3 9/9] ARM: dts: imx7d: remarkable2: add wacom digitizer device

2021-03-21 Thread Alistair Francis
Enable the wacom_i2c touchscreen for the reMarkable2. Signed-off-by: Alistair Francis --- arch/arm/boot/dts/imx7d-remarkable2.dts | 52 + 1 file changed, 52 insertions(+) diff --git a/arch/arm/boot/dts/imx7d-remarkable2.dts b/arch/arm/boot/dts/imx7d-remarkable2.dts

[PATCH v3 8/9] ARM: imx_v6_v7_defconfig: Enable Wacom I2C

2021-03-21 Thread Alistair Francis
Enable the Wacom I2C in the imx defconfig as it is used by the reMarkable2 tablet. Signed-off-by: Alistair Francis --- arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index

[PATCH v3 6/9] Input: wacom_i2c - Clean up the query device fields

2021-03-21 Thread Alistair Francis
Improve the query device fields to be more verbose. Signed-off-by: Alistair Francis --- drivers/input/touchscreen/wacom_i2c.c | 71 +++ 1 file changed, 51 insertions(+), 20 deletions(-) diff --git a/drivers/input/touchscreen/wacom_i2c.c b/drivers/input/touchscreen

[PATCH v3 7/9] Input: wacom_i2c - Add support for vdd regulator

2021-03-21 Thread Alistair Francis
Add support for a VDD regulator. This allows the kernel to prove the Wacom-I2C device on the rM2. Signed-off-by: Alistair Francis --- drivers/input/touchscreen/wacom_i2c.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/drivers/input/touchscreen/wacom_i2c.c b

[PATCH v3 4/9] Input: wacom_i2c - Add touchscren properties

2021-03-21 Thread Alistair Francis
Connect touchscreen properties to the wacom_i2c. Signed-off-by: Alistair Francis --- drivers/input/touchscreen/wacom_i2c.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/input/touchscreen/wacom_i2c.c b/drivers/input/touchscreen/wacom_i2c.c index fc0bf583d33b..9b2ed0463d09

[PATCH v3 5/9] Input: wacom_i2c - Add support for distance and tilt x/y

2021-03-21 Thread Alistair Francis
This is based on the out of tree rM2 driver. Signed-off-by: Alistair Francis --- drivers/input/touchscreen/wacom_i2c.c | 25 +++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/drivers/input/touchscreen/wacom_i2c.c b/drivers/input/touchscreen/wacom_i2c.c

[PATCH v3 2/9] dt-bindings: touchscreen: Initial commit of wacom,generic

2021-03-21 Thread Alistair Francis
Signed-off-by: Alistair Francis --- .../input/touchscreen/wacom,generic.yaml | 48 +++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/wacom,generic.yaml diff --git a/Documentation/devicetree/bindings/input

[PATCH v3 3/9] Input: wacom_i2c - Add device tree support to wacom_i2c

2021-03-21 Thread Alistair Francis
Allow the wacom-i2c device to be exposed via device tree. Signed-off-by: Alistair Francis --- drivers/input/touchscreen/wacom_i2c.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/input/touchscreen/wacom_i2c.c b/drivers/input/touchscreen/wacom_i2c.c index 1afc6bde2891

[PATCH v3 1/9] dt-bindings: Add Wacom to vendor bindings

2021-03-21 Thread Alistair Francis
Signed-off-by: Alistair Francis --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index a8e1e8d2ef20..996f4de2fff5

[PATCH v3 0/9] Add Wacom I2C support to rM2

2021-03-21 Thread Alistair Francis
From: Alistair Francis Add support to the reMarkable2 (rM2) for the Wacom I2C device. This is based on the reMarkable Linux fork and with this series I am able to probe the Wacom digitiser. Alistair Francis (9): dt-bindings: Add Wacom to vendor bindings dt-bindings: touchscreen: Initial

Re: [PATCH 2/6] mfd: Initial commit of sy7636a

2021-03-20 Thread Alistair Francis
On Thu, Feb 4, 2021 at 5:31 AM Lee Jones wrote: > > On Sat, 16 Jan 2021, Alistair Francis wrote: > > > Initial support for the Silergy SY7636A Power Management chip > > driver. > > Please remove "driver", as this is not support for the driver, it *is* > th

Re: [PATCH v5 3/3] ARM: imx7d-remarkable2.dts: Initial device tree for reMarkable2

2021-03-20 Thread Alistair Francis
> > On 21-03-15 22:27, Alistair Francis wrote: > > ... > > > + { > > + status = "disabled"; > > +}; > > Why do you disable the crypto subsystem? > > > +_apbh { > > + status = "disabled";

[PATCH v5 3/3] ARM: imx7d-remarkable2.dts: Initial device tree for reMarkable2

2021-03-15 Thread Alistair Francis
. Signed-off-by: Alistair Francis --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx7d-remarkable2.dts | 166 2 files changed, 167 insertions(+) create mode 100644 arch/arm/boot/dts/imx7d-remarkable2.dts diff --git a/arch/arm/boot/dts/Makefile b

[PATCH v5 1/3] dt-bindings: Add vendor prefix for reMarkable

2021-03-15 Thread Alistair Francis
reMarkable AS produces eInk tablets Signed-off-by: Alistair Francis --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml

[PATCH v5 2/3] dt-bindings: arm: fsl: Add the reMarkable 2 e-Ink tablet

2021-03-15 Thread Alistair Francis
Signed-off-by: Alistair Francis --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index 297c87f45db8..d139440c86b6 100644 --- a/Documentation

[PATCH v4] ARM: imx7d-remarkable2.dts: Initial device tree for reMarkable2

2021-03-09 Thread Alistair Francis
. Signed-off-by: Alistair Francis --- .../devicetree/bindings/arm/fsl.yaml | 1 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/imx7d-remarkable2.dts | 166 ++ 4 files changed, 170

Re: [PATCH v3 1/3] ARM: imx7d-remarkable2.dts: Initial device tree for reMarkable2

2021-03-09 Thread Alistair Francis
On Wed, Mar 3, 2021 at 8:44 AM Shawn Guo wrote: > > On Wed, Feb 03, 2021 at 07:03:14PM -0800, Alistair Francis wrote: > > The reMarkable2 (https://remarkable.com) is an e-ink tablet based on > > the imx7d SoC. > > > > This commit is based on the DTS pr

[PATCH v2] scripts: coccicheck: Fix chain mode in coccicheck

2021-03-06 Thread Davidson Francis
-off-by: Davidson Francis --- Changes in v2: * Use the same return value from run_cmd as the exit value scripts/coccicheck | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/coccicheck b/scripts/coccicheck index 65fee63aeadb..165701657c5a 100755 --- a/scripts

[PATCH] scripts: coccicheck: Fix chain mode in coccicheck

2021-03-05 Thread Davidson Francis
, rather than trying the remaining rules as specified in the documentation. Therefore, modify the coccicheck script to return the error code, rather than terminating the script. Signed-off-by: Davidson Francis --- scripts/coccicheck | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH] staging: rtl8192e: Fix comparisons to NULL

2021-02-15 Thread Davidson Francis
Checkpatch prefers the shorter version (x / !x) over (!= NULL / == NULL), respectively. Signed-off-by: Davidson Francis --- drivers/staging/rtl8192e/rtllib_wx.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/staging/rtl8192e

Re: [PATCH 5.10 000/120] 5.10.15-rc1 review

2021-02-08 Thread Davidson Francis
> let me know. Compiled and boot tested for x86_64, no dmesg regressions found. Tested-by: Davidson Francis Regards, Davidson Francis

[PATCH v3 1/3] ARM: imx7d-remarkable2.dts: Initial device tree for reMarkable2

2021-02-04 Thread Alistair Francis
be accessed without having to open up the device via the OTG pogo pins. Currently the kernel boots, but there is no support for the dispaly, WiFi or the power controller chips. Signed-off-by: Alistair Francis --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx7d-remarkable2.dts

[PATCH v3 2/3] ARM: dts: imx7d: remarkable2: Enable the power button

2021-02-04 Thread Alistair Francis
Signed-off-by: Alistair Francis --- arch/arm/boot/dts/imx7d-remarkable2.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/imx7d-remarkable2.dts b/arch/arm/boot/dts/imx7d-remarkable2.dts index 0aae13f5eed6..0978e26f5db5 100644 --- a/arch/arm/boot/dts/imx7d-remarkable2

[PATCH v3 3/3] ARM: imx_v6_v7_defconfig: Regenerate

2021-02-04 Thread Alistair Francis
Run make imx_v6_v7_defconfig; make savedefconfig to regenerate the defconfig. Signed-off-by: Alistair Francis --- arch/arm/configs/imx_v6_v7_defconfig | 36 1 file changed, 10 insertions(+), 26 deletions(-) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch

Re: [PATCH v2 3/3] arch/arm/configs: Enable VMSPLIT_2G in imx_v6_v7_defconfig

2021-02-03 Thread Alistair Francis
On Tue, Feb 2, 2021 at 11:50 PM Arnd Bergmann wrote: > > On Wed, Feb 3, 2021 at 3:37 AM Alistair Francis wrote: > > > > On Thu, Jan 28, 2021 at 11:13 PM Shawn Guo wrote: > > > > > > On Sun, Jan 17, 2021 at 10:03:01AM -0800, Alistair Francis wrote: > > &

Re: [PATCH v2 3/3] arch/arm/configs: Enable VMSPLIT_2G in imx_v6_v7_defconfig

2021-02-02 Thread Alistair Francis
On Thu, Jan 28, 2021 at 11:13 PM Shawn Guo wrote: > > On Sun, Jan 17, 2021 at 10:03:01AM -0800, Alistair Francis wrote: > > The reMarkable2 requires VMSPLIT_2G, so lets set this in the > > imx_v6_v7_defconfig. > > Hmm, why is VMSPLIT_2G required by reMarkable2? I'm not

Re: UBSAN: shift-out-of-bounds in std_validate

2021-01-24 Thread Francis Laniel
Le mardi 19 janvier 2021, 19:39:17 CET syzbot a écrit : > Hello, > > syzbot found the following issue on: > > HEAD commit:1e2a199f Merge tag 'spi-fix-v5.11-rc4' of git://git.kernel.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=146e0c94d0 >

Re: [PATCH 4/6] regulator: Initial commit of sy7636a

2021-01-23 Thread Alistair Francis
On Fri, Jan 22, 2021 at 5:37 AM Mark Brown wrote: > > On Thu, Jan 21, 2021 at 10:24:10PM -0800, Alistair Francis wrote: > > On Mon, Jan 18, 2021 at 4:32 AM Mark Brown wrote: > > > On Sat, Jan 16, 2021 at 08:25:37PM -0800, Alistair Francis wrote: > > > > > +s

Re: [PATCH v2 6/6] arch/arm: reMarkable2: Enable wacom_i2c

2021-01-23 Thread Alistair Francis
On Fri, Jan 22, 2021 at 7:32 AM Marco Felsch wrote: > > Hi, > > thanks for the patch. > > On 21-01-20 22:56, Alistair Francis wrote: > > Enable the wacom_i2c touchscreen for the reMarkable2. > > > > Signed-off-by: Alistair Francis > > --- > &g

Re: [PATCH 4/6] regulator: Initial commit of sy7636a

2021-01-21 Thread Alistair Francis
On Mon, Jan 18, 2021 at 4:32 AM Mark Brown wrote: > > On Sat, Jan 16, 2021 at 08:25:37PM -0800, Alistair Francis wrote: > > > --- /dev/null > > +++ b/drivers/regulator/sy7636a-regulator.c > > @@ -0,0 +1,233 @@ > > +// SPDX-License-Identifier: GPL-2.0+ > >

Re: [PATCH 3/6] devicetree/bindings: Initial commit of silergy,sy7636a-regulator.yaml

2021-01-21 Thread Alistair Francis
On Mon, Jan 18, 2021 at 4:42 AM Mark Brown wrote: > > On Mon, Jan 18, 2021 at 12:35:19PM +, Mark Brown wrote: > > On Sat, Jan 16, 2021 at 08:25:36PM -0800, Alistair Francis wrote: > > > > +properties: > > > + compatible: > > > +enum: > &g

[PATCH v2 4/6] touchscreen/wacom_i2c: Clean up the query device fields

2021-01-21 Thread Alistair Francis
Improve the query device fields to be more verbose. Signed-off-by: Alistair Francis --- drivers/input/touchscreen/wacom_i2c.c | 73 +++ 1 file changed, 52 insertions(+), 21 deletions(-) diff --git a/drivers/input/touchscreen/wacom_i2c.c b/drivers/input/touchscreen

[PATCH v2 3/6] touchscreen/wacom_i2c: Add support for distance and tilt x/y

2021-01-21 Thread Alistair Francis
This is based on the out of tree rM2 driver. Signed-off-by: Alistair Francis --- drivers/input/touchscreen/wacom_i2c.c | 25 +++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/drivers/input/touchscreen/wacom_i2c.c b/drivers/input/touchscreen/wacom_i2c.c

[PATCH v2 1/6] devicetree/bindings: Initial commit of wacom,wacom-i2c

2021-01-20 Thread Alistair Francis
Signed-off-by: Alistair Francis --- .../input/touchscreen/wacom,wacom-i2c.yaml| 44 +++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + 2 files changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/wacom,wacom-i2c.yaml diff

[PATCH v2 2/6] input/touchscreen: Add device tree support to wacom_i2c

2021-01-20 Thread Alistair Francis
Allow the wacom-i2c device to be exposed via device tree. Signed-off-by: Alistair Francis --- .../input/touchscreen/wacom,wacom-i2c.yaml | 4 drivers/input/touchscreen/wacom_i2c.c| 16 2 files changed, 20 insertions(+) diff --git a/Documentation

[PATCH v2 0/6] Add Wacom I2C support to rM2

2021-01-20 Thread Alistair Francis
Add support to the reMarkable2 (rM2) for the Wacom I2C device. This is based on the reMarkable Linux fork and with this series I am able to probe the Wacom digitiser. Alistair Francis (6): devicetree/bindings: Initial commit of wacom,wacom-i2c input/touchscreen: Add device tree support

[PATCH v2 5/6] touchscreen/wacom_i2c: Add support for vdd regulator

2021-01-20 Thread Alistair Francis
Add support for a VDD regulator. This allows the kernel to prove the Wacom-I2C device on the rM2. Signed-off-by: Alistair Francis --- drivers/input/touchscreen/wacom_i2c.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/drivers/input/touchscreen/wacom_i2c.c b

[PATCH v2 6/6] arch/arm: reMarkable2: Enable wacom_i2c

2021-01-20 Thread Alistair Francis
Enable the wacom_i2c touchscreen for the reMarkable2. Signed-off-by: Alistair Francis --- arch/arm/boot/dts/imx7d-remarkable2.dts | 41 + arch/arm/configs/imx_v6_v7_defconfig| 1 + 2 files changed, 42 insertions(+) diff --git a/arch/arm/boot/dts/imx7d-remarkable2

Re: [PATCH 2/3] input/touchscreen: Add device tree support to wacom_i2c

2021-01-20 Thread Alistair Francis
On Tue, Jan 19, 2021 at 6:17 PM Dmitry Torokhov wrote: > > On Sat, Jan 16, 2021 at 08:24:27PM -0800, Alistair Francis wrote: > > Allow the wacom-i2c device to be exposed via device tree. > > The patch seems incomplete. I see we are reading and storing properties, > but

Re: [PATCH 1/3] devicetree/bindings: Initial commit of wacom,wacom-i2c

2021-01-19 Thread Alistair Francis
On Tue, Jan 19, 2021 at 6:15 PM Dmitry Torokhov wrote: > > Hi Alistair, > > On Sat, Jan 16, 2021 at 08:24:26PM -0800, Alistair Francis wrote: > > Signed-off-by: Alistair Francis > > --- > > .../input/touchscreen/wacom,wacom-i2c.yaml| 55 ++

Re: [PATCH 2/2] remarkable2_defconfig: Add initial support for the reMarkable2

2021-01-18 Thread Alistair Francis
On Sun, Jan 17, 2021 at 6:03 PM Olof Johansson wrote: > > Hi, > > On Sun, Jan 17, 2021 at 5:36 PM Alistair Francis wrote: > > > > On Sun, Jan 17, 2021 at 5:30 PM Olof Johansson wrote: > > > > > > Hi Alistair, > > > > > > On

[PATCH v2 3/3] arch/arm/configs: Enable VMSPLIT_2G in imx_v6_v7_defconfig

2021-01-18 Thread Alistair Francis
The reMarkable2 requires VMSPLIT_2G, so lets set this in the imx_v6_v7_defconfig. Signed-off-by: Alistair Francis --- arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index

[PATCH v2 1/3] imx7d-remarkable2.dts: Initial device tree for reMarkable2

2021-01-18 Thread Alistair Francis
be accessed without having to open up the device via the OTG pogo pins. Currently the kernel boots, but there is no support for the dispaly, WiFi or the power controller chips. Signed-off-by: Alistair Francis --- v2: - No change to this patch, use the existing defconfig arch/arm/boot/dts/Makefile

  1   2   3   4   5   6   >