[PATCH v3 RESEND 0/6] Add support for QMC HDLC

2024-02-11 Thread Herve Codina
Hi, Note: Resent this v3 series with missing maintainers added in CC. This series introduces the QMC HDLC support. Patches were previously sent as part of a full feature series and were previously reviewed in that context: "Add support for QMC HDLC, framer infrastructure and PEF2256 framer" [1]

[PATCH v3 RESEND 1/6] net: wan: Add support for QMC HDLC

2024-02-11 Thread Herve Codina
The QMC HDLC driver provides support for HDLC using the QMC (QUICC Multichannel Controller) to transfer the HDLC data. Signed-off-by: Herve Codina Reviewed-by: Christophe Leroy Acked-by: Jakub Kicinski --- drivers/net/wan/Kconfig| 12 + drivers/net/wan/Makefile | 1 + drivers/

[PATCH v3 RESEND 5/6] net: wan: fsl_qmc_hdlc: Add runtime timeslots changes support

2024-02-11 Thread Herve Codina
QMC channels support runtime timeslots changes but nothing is done at the QMC HDLC driver to handle these changes. Use existing IFACE ioctl in order to configure the timeslots to use. Signed-off-by: Herve Codina Reviewed-by: Christophe Leroy Acked-by: Jakub Kicinski --- drivers/net/wan/fsl_qm

[PATCH v3 RESEND 2/6] MAINTAINERS: Add the Freescale QMC HDLC driver entry

2024-02-11 Thread Herve Codina
After contributing the driver, add myself as the maintainer for the Freescale QMC HDLC driver. Signed-off-by: Herve Codina --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 8d1052fa6a69..15cd3a8e5866 100644 --- a/MAINTAINERS +++ b/MAINTAIN

[PATCH] powerpc/kasan: Limit KASAN thread size increase to 32KB

2024-02-11 Thread Michael Ellerman
KASAN is seen to increase stack usage, to the point that it was reported to lead to stack overflow on some 32-bit machines (see link). To avoid overflows the stack size was doubled for KASAN builds in commit 3e8635fb2e07 ("powerpc/kasan: Force thread size increase with KASAN"). However with a 32K

Re: [PATCH 60/82] powerpc: Refactor intentional wrap-around test

2024-02-11 Thread Michael Ellerman
Kees Cook writes: > In an effort to separate intentional arithmetic wrap-around from > unexpected wrap-around, we need to refactor places that depend on this > kind of math. One of the most common code patterns of this is: > > VAR + value < VAR > > Notably, this is considered "undefined beha

[PATCH] powerpc64/kasan: Pass virtual addresses to kasan_init_phys_region()

2024-02-11 Thread Benjamin Gray
The kasan_init_phys_region() function maps shadow pages necessary for the ranges of the linear map backed by physical pages. Currently kasan_init_phys_region() is being passed physical addresses, but kasan_mem_to_shadow() expects virtual addresses. It works right now because the lower bits (12:64)

[PATCH v2 RESEND] soc: fsl: dpio: fix kernel-doc typos

2024-02-11 Thread Randy Dunlap
Correct spelling of 2 words. Signed-off-by: Randy Dunlap Cc: Li Yang Cc: linuxppc-dev@lists.ozlabs.org Cc: linux-arm-ker...@lists.infradead.org Cc: Frank Li Cc: Guanhua Gao Cc: Roy Pledge --- v2: update Cc: list, rebase include/soc/fsl/dpaa2-io.h |4 ++-- 1 file changed, 2 insertions(+

[PATCH v2 RESEND] soc: fsl: fix kernel-doc warnings and typos

2024-02-11 Thread Randy Dunlap
Correct spelling of "list". Fix a kernel-doc warning by describing the nested structure completely: include/soc/fsl/dpaa2-fd.h:52: warning: Function parameter or member 'simple' not described in 'dpaa2_fd' Signed-off-by: Randy Dunlap Cc: Li Yang Cc: linuxppc-dev@lists.ozlabs.org Cc: linux-arm

Re: [DMARC error][SPF error] Re: [PATCH v4 00/10] devm_led_classdev_register() usage problem

2024-02-11 Thread George Stark
Hello Andy. I haven't lose hope for the devm_mutex thing and keep pinging those guys from time to time. Sure I can single out the fix-only patch I'll do it tomorrow. On 2/9/24 20:11, Andy Shevchenko wrote: On Thu, Dec 21, 2023 at 03:11:11PM +, Lee Jones wrote: On Thu, 14 Dec 2023, Geo