Re: usb: cdc-acm: BUG kmalloc-128 Poison overwritten

2021-03-08 Thread Bruno Thomsen
Den fre. 26. feb. 2021 kl. 15.14 skrev Bruno Thomsen : > > Den tor. 25. feb. 2021 kl. 10.57 skrev Oliver Neukum : > > > > Am Mittwoch, den 24.02.2021, 16:21 +0100 schrieb Bruno Thomsen: > > > > Hi, > > > > > No, this is not a regression from 5.10. It

Re: usb: cdc-acm: BUG kmalloc-128 Poison overwritten

2021-02-26 Thread Bruno Thomsen
Den tor. 25. feb. 2021 kl. 10.57 skrev Oliver Neukum : > > Am Mittwoch, den 24.02.2021, 16:21 +0100 schrieb Bruno Thomsen: > > Hi, > > > No, this is not a regression from 5.10. It seems that many attempts to > > fix cdc-acm in the 5.x kernel series have failed to fix

Re: usb: cdc-acm: BUG kmalloc-128 Poison overwritten

2021-02-24 Thread Bruno Thomsen
Den man. 22. feb. 2021 kl. 10.36 skrev Oliver Neukum : > > Am Donnerstag, den 18.02.2021, 16:52 +0100 schrieb Bruno Thomsen: > > Den fre. 12. feb. 2021 kl. 16.33 skrev Bruno Thomsen > > : > > > Hi, > > > > > > I have been experience random kernel oops

Re: watchdog: pcf2127: systemd fails on 5.11

2021-02-24 Thread Bruno Thomsen
Den man. 22. feb. 2021 kl. 23.43 skrev Guenter Roeck : > > On Thu, Feb 18, 2021 at 01:35:36PM +0100, Bruno Thomsen wrote: > > Hi, > > > > After updating the kernel from 5.8.17 to 5.11 systemd (246.6) is > > unable to init watchdog in pcf2

Re: usb: cdc-acm: BUG kmalloc-128 Poison overwritten

2021-02-18 Thread Bruno Thomsen
Den fre. 12. feb. 2021 kl. 16.33 skrev Bruno Thomsen : > > Hi, > > I have been experience random kernel oops in the cdc-acm driver on > imx7 (arm arch). Normally it happens during the first 1-3min runtime > after power-on. Below oops is from 5.8.17 mainline kernel with an > ex

watchdog: pcf2127: systemd fails on 5.11

2021-02-18 Thread Bruno Thomsen
Hi, After updating the kernel from 5.8.17 to 5.11 systemd (246.6) is unable to init watchdog in pcf2127 during boot. Kernel option CONFIG_WATCHDOG_OPEN_TIMEOUT=300 is working as expected. It's possible to get watchdog from userspace working in the following 2 ways. 1) Disable watchdog in systemd a

usb: cdc-acm: BUG kmalloc-128 Poison overwritten

2021-02-12 Thread Bruno Thomsen
Hi, I have been experience random kernel oops in the cdc-acm driver on imx7 (arm arch). Normally it happens during the first 1-3min runtime after power-on. Below oops is from 5.8.17 mainline kernel with an extra patch back-ported in an attempt to fix it: 38203b8385 ("usb: cdc-acm: fix cooldown mec

[PATCH] ARM: dts: imx7d-flex-concentrator: fix pcf2127 reset

2021-01-11 Thread Bruno Thomsen
lable") Signed-off-by: Bruno Thomsen Cc: Bruno Thomsen Cc: Uwe Kleine-König Cc: Rasmus Villemoes Cc: Alexandre Belloni --- arch/arm/boot/dts/imx7d-flex-concentrator.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/imx7d-flex-concentrator.dts b/arch/arm

[PATCH v4 2/2] ARM: dts: imx7: add support for kamstrup flex concentrator

2020-11-18 Thread Bruno Thomsen
This adds support for the OMNIA Flex Concentrator product from Kamstrup A/S. It's providing radio mesh communication infrastructure for smart electricity meters. Kamstrup OMNIA is a modular and scalable smart grid platform. Signed-off-by: Bruno Thomsen --- Thanks for v3 review Shaw

[PATCH v4 1/2] dt-bindings: fsl: add kamstrup flex concentrator to schema

2020-11-18 Thread Bruno Thomsen
Add Kamstrup OMNIA Flex Concentrator compatibles to the schema so we can make use of them for the validation. Signed-off-by: Bruno Thomsen Acked-by: Rob Herring --- Changes since version 3: - Rebase patch to v5.10-rc4. No changes since version 2. Changes since version 1: - Patch prefix

Re: PHY reset question

2020-10-09 Thread Bruno Thomsen
Hi Fabio and Oleksij Den ons. 7. okt. 2020 kl. 11.50 skrev Fabio Estevam : > > Hi Oleksij, > > On Tue, Oct 6, 2020 at 5:05 AM Oleksij Rempel wrote: > > > > Hello PHY experts, > > > > Short version: > > what is the proper way to handle the PHY reset before identifying PHY? > > > > Long version: >

Re: [PATCH 2/2] [RFC] rtc: pcf2127: only use watchdog when explicitly available

2020-09-27 Thread Bruno Thomsen
Den tor. 24. sep. 2020 kl. 12.53 skrev Uwe Kleine-König : > > Most boards using the pcf2127 chip (in my bubble) don't make use of the > watchdog functionality and the respective output is not connected. The > effect on such a board is that there is a watchdog device provided that > doesn't work. >

Re: [PATCH 1/2] rtc: pcf2127: move watchdog initialisation to a separate function

2020-09-27 Thread Bruno Thomsen
Den tor. 24. sep. 2020 kl. 12.53 skrev Uwe Kleine-König : > > The obvious advantages are: > > - The linker can drop the watchdog functions if CONFIG_WATCHDOG is off. > - All watchdog stuff grouped together with only a single function call >left in generic code. > - Watchdog register is only

Re: [Patch v2 1/3] dt-bindings: rtc: pcf2127: Add bindings for nxp,pcf2127

2020-09-24 Thread Bruno Thomsen
Den tor. 24. sep. 2020 kl. 09.47 skrev Alexandre Belloni : > > Hi, > > On 24/09/2020 07:23:18+, Qiang Zhao wrote: > > > > Yes, you are right, There is not a fundamental solution. > > > > However it somewhat avoid this situation at least. > > > > > > > > And if without this issue, > > > > is it

[PATCH v3 2/2] ARM: dts: imx7: add support for kamstrup flex concentrator

2020-09-23 Thread Bruno Thomsen
This adds support for the OMNIA Flex Concentrator product from Kamstrup A/S. It's providing radio mesh communication infrastructure for smart electricity meters. Kamstrup OMNIA is a modular and scalable smart grid platform. Signed-off-by: Bruno Thomsen --- Changes since version 2: - Found

[PATCH v3 1/2] dt-bindings: fsl: add kamstrup flex concentrator to schema

2020-09-23 Thread Bruno Thomsen
Add Kamstrup OMNIA Flex Concentrator compatibles to the schema so we can make use of them for the validation. Signed-off-by: Bruno Thomsen Acked-by: Rob Herring --- No changes since version 2. Changes since version 1: - Patch prefix renamed to "dt-bindings: fsl:" - Added acked-b

Re: [PATCH 1/3] dt-bindings: rtc-2127: Add bindings for nxp,rtc-2127.txt

2020-09-17 Thread Bruno Thomsen
Den man. 14. sep. 2020 kl. 09.08 skrev Qiang Zhao : > > On Fri, Sep 11, 2020 at 22:03, Rob Herring wrote: > Please help to review as below, if it is ok, I will send the new version > patch. Thank you! > > diff --git a/Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml > b/Documentation/devi

Re: [PATCH v2 2/2] ARM: dts: imx7: add support for kamstrup flex concentrator

2020-07-16 Thread Bruno Thomsen
Hi Fabio, Den tor. 16. jul. 2020 kl. 20.01 skrev Fabio Estevam : > On Thu, Jul 16, 2020 at 2:26 PM Bruno Thomsen wrote: > > > Limitations: Ethernet PHY type auto detection does not > > work when using reset-{assert-us,deassert-us,gpios} > > properties so it's usin

[PATCH v2 2/2] ARM: dts: imx7: add support for kamstrup flex concentrator

2020-07-16 Thread Bruno Thomsen
using reset-{assert-us,deassert-us,gpios} properties so it's using a fixed PHY type ID for now. Auto detection worked when using the deprecated FEC properties phy-reset-{gpios,duration,post-delay}. Signed-off-by: Bruno Thomsen --- Changes since version 1: - Sorted labeling nodes. - Sorted pinct

[PATCH v2 1/2] dt-bindings: fsl: add kamstrup flex concentrator to schema

2020-07-16 Thread Bruno Thomsen
Add Kamstrup OMNIA Flex Concentrator compatibles to the schema so we can make use of them for the validation. Signed-off-by: Bruno Thomsen Acked-by: Rob Herring --- Changes since version 1: - Patch prefix renamed to "dt-bindings: fsl:" - Added acked-by from Rob Herring. - Fixed typo

Re: [PATCH 2/3] ARM: dts: imx7: add support for kamstrup flex concentrator

2020-07-15 Thread Bruno Thomsen
Den tir. 14. jul. 2020 kl. 13.54 skrev Fabio Estevam : > > Hi Bruno, > > On Tue, Jul 14, 2020 at 7:03 AM Bruno Thomsen wrote: > > > I have not yet been successful in converting the deprecated properties > > to generic phy properties, so hoping I could get a hit. &g

Re: [PATCH 2/3] ARM: dts: imx7: add support for kamstrup flex concentrator

2020-07-14 Thread Bruno Thomsen
Den man. 13. jul. 2020 kl. 04.52 skrev Shawn Guo : > > On Mon, Jun 29, 2020 at 01:49:26PM +0200, Bruno Thomsen wrote: > > +&fec1 { > > + pinctrl-names = "default"; > > + pinctrl-0 = <&pinctrl_enet1>; > > + phy-mode = "rm

Re: [PATCH 3/3] MAINTAINERS: Add Bruno Thomsen as reviewer of Kamstrup DTS

2020-07-13 Thread Bruno Thomsen
Den man. 13. jul. 2020 kl. 09.26 skrev Joe Perches : > > On Mon, 2020-07-13 at 15:13 +0800, Shawn Guo wrote: > > On Sun, Jul 12, 2020 at 10:22:50PM -0700, Joe Perches wrote: > [] > > > diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl > [] > > > @@ -436,7 +436,7 @@ sub maintainers_

[PATCH 2/3] ARM: dts: imx7: add support for kamstrup flex concentrator

2020-06-29 Thread Bruno Thomsen
This adds support for the OMNIA Flex Concentrator product from Kamstrup A/S. It's providing radio mesh communication infrastructure for smart electricity meters. Kamstrup OMNIA is a modular and scalable smart grid platform. Signed-off-by: Bruno Thomsen --- arch/arm/boot/dts/Mak

[PATCH 3/3] MAINTAINERS: Add Bruno Thomsen as reviewer of Kamstrup DTS

2020-06-29 Thread Bruno Thomsen
Add myself as reviewer of device trees for Kamstrup Concentrators. Signed-off-by: Bruno Thomsen --- MAINTAINERS | 5 + 1 file changed, 5 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 496fd4eafb68..97fc112309af 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9282,6 +9282,11 @@ S

[PATCH 1/3] dt-bindings: ARM: imx: add kamstrup flex concentrator to schema

2020-06-29 Thread Bruno Thomsen
Add Kamstrup flex concentrator compatibles to the schema so we can make use of them for the validation. Signed-off-by: Bruno Thomsen --- Documentation/devicetree/bindings/arm/fsl.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b

Re: battery switch-over detection on pcf2127

2020-05-05 Thread Bruno Thomsen
Hi Rasmus Den tir. 5. maj 2020 kl. 22.07 skrev Alexandre Belloni : > > On 05/05/2020 21:54:47+0200, Rasmus Villemoes wrote: > > Hi Bruno > > > > I just noticed your "rtc: pcf2127: add tamper detection support" > > (03623b4b04) from 5.4. Unfortunately, clearing the BTSE bit breaks a use > > case of

Re: [PATCH -next] rtc: pcf2127: Fix build error without CONFIG_WATCHDOG_CORE

2019-08-29 Thread Bruno Thomsen
Den ons. 28. aug. 2019 kl. 19.19 skrev Randy Dunlap : > > Definitively not, I fixed it that way: > > + select WATCHDOG_CORE if WATCHDOG > > > > No, that's not a fix. The build error still happens with that patch applied. Hi Randy, A bugfix has been created[1] and applied to the rtc tree.

[PATCH] rtc: pcf2127: bugfix: watchdog build dependency

2019-08-27 Thread Bruno Thomsen
ce to `devm_watchdog_register_device' Watchdog feature in chip will always be configured as this is safe to do in both cases and minimize code churn. Reported-by: Hulk Robot Reported-by: YueHaibing Fixes: bbc597561ce1 ("rtc: pcf2127: add watchdog feature support") Signed-o

Re: [PATCH -next] rtc: pcf2127: Fix build error without CONFIG_WATCHDOG_CORE

2019-08-26 Thread Bruno Thomsen
Den man. 26. aug. 2019 kl. 15.20 skrev Guenter Roeck : > > On 8/26/19 1:12 AM, Yuehaibing wrote: > > > > > > On 2019/8/23 22:05, Alexandre Belloni wrote: > >> On 23/08/2019 20:45:53+0800, YueHaibing wrote: > >>> If WATCHDOG_CORE is not set, build fails: > >>> > >>> drivers/rtc/rtc-pcf2127.o: In fun

RE: phy/micrel: KSZ8031RNL RMII clock reconfiguration bug

2014-11-17 Thread Bruno Thomsen
> Did you specify a led-mode as well, or was the Operation Mode Strap Override > (OMSO) write the first access after the soft reset? No led-mode was specified so OMSO was the first write. > Did you try any other workarounds besides setting the clock mode before doing > the OMSO write? I spend a

RE: phy/micrel: KSZ8031RNL RMII clock reconfiguration bug

2014-11-12 Thread Bruno Thomsen
- 100/Full [ 24.285094] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready Venlig hilsen / Best regards Kamstrup A/S <http://www.kamstrup.dk> Bruno Thomsen Development engineer Technology Kamstrup A/S Industrivej 28 DK-8660 Skanderborg Tel: +45 89 93 10 00 Fax: