Re: [linux-yocto] [v2 PATCH] usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock

2024-06-18 Thread Meng Li via lists.yoctoproject.org
> -Original Message- > From: Bruce Ashfield > Sent: Tuesday, June 18, 2024 9:21 PM > To: Li, Meng > Cc: linux-yocto@lists.yoctoproject.org > Subject: Re: [linux-yocto] [v2 PATCH] usb: dwc3: core: remove lock of otg > mode during gadget suspend/resume to avoid deadlock > > CAUTION:

Re: [linux-yocto] [v2 PATCH] usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock

2024-06-18 Thread Meng Li via lists.yoctoproject.org
> -Original Message- > From: linux-yocto@lists.yoctoproject.org > On Behalf Of Bruce Ashfield > Sent: Tuesday, June 18, 2024 8:29 PM > To: Li, Meng > Cc: linux-yocto@lists.yoctoproject.org > Subject: Re: [linux-yocto] [v2 PATCH] usb: dwc3: core: remove lock of otg > mode during gadget

[linux-yocto] [v2 PATCH] usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock

2024-06-17 Thread Meng Li via lists.yoctoproject.org
When config CONFIG_USB_DWC3_DUAL_ROLE is selected, and trigger system to enter suspend status with below command: echo mem > /sys/power/state There will be a deadlock issue occurring. Detailed invoking path as below: dwc3_suspend_common() spin_lock_irqsave(>lock, flags); <-- 1st

[linux-yocto]: [kernel/kernel-rt]: usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock

2024-06-17 Thread Meng Li via lists.yoctoproject.org
From: Limeng Hi Bruce, This patch is used to fix deadlock issues when testing suspend/resume. I have sent v2to mainline upstream. So, could you please help merge these patches into linux-ycoto kernel in advance, both below 2 branchs? v6.6/standard/nxp-sdk-6.6/nxp-soc

Re: [linux-yocto]: [kernel/kernel-rt]: usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock

2024-06-17 Thread Meng Li via lists.yoctoproject.org
> -Original Message- > From: Bruce Ashfield > Sent: Friday, June 14, 2024 8:53 PM > To: Li, Meng > Cc: linux-yocto@lists.yoctoproject.org > Subject: Re: [linux-yocto]: [kernel/kernel-rt]: usb: dwc3: core: remove lock > of > otg mode during gadget suspend/resume to avoid deadlock > >

Re: [linux-yocto]: [kernel/kernel-rt]: usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock

2024-06-14 Thread Meng Li via lists.yoctoproject.org
> -Original Message- > From: Bruce Ashfield > Sent: Friday, June 14, 2024 8:53 PM > To: Li, Meng > Cc: linux-yocto@lists.yoctoproject.org > Subject: Re: [linux-yocto]: [kernel/kernel-rt]: usb: dwc3: core: remove lock > of > otg mode during gadget suspend/resume to avoid deadlock > >

Re: [linux-yocto]: [kernel/kernel-rt]: usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock

2024-06-13 Thread Meng Li via lists.yoctoproject.org
> -Original Message- > From: Bruce Ashfield > Sent: Friday, June 14, 2024 3:24 AM > To: Li, Meng > Cc: linux-yocto@lists.yoctoproject.org > Subject: Re: [linux-yocto]: [kernel/kernel-rt]: usb: dwc3: core: remove lock > of > otg mode during gadget suspend/resume to avoid deadlock > >

[linux-yocto] [PATCH] usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock

2024-06-13 Thread Meng Li via lists.yoctoproject.org
When config CONFIG_USB_DWC3_DUAL_ROLE is selected, and trigger system to enter suspend status with below command: echo mem > /sys/power/state There will be a deadlock issue occurring. Because dwc3_gadget_suspend() also try to get the lock again when previous invoked dwc3_suspend_common() has got

[linux-yocto]: [kernel/kernel-rt]: usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock

2024-06-13 Thread Meng Li via lists.yoctoproject.org
From: Limeng Hi Bruce, This patch is used to fix deadlock issues when testing suspend/resume. I will send it to mainline upstream in later. So, could you please help merge these patches into linux-ycoto kernel in advance, both below 2 branchs? v6.6/standard/nxp-sdk-6.6/nxp-soc

[linux-yocto]: [kernel/kernel-rt]: nxp-ls1046: port kernel patches for nxp-ls1046

2024-06-07 Thread Meng Li via lists.yoctoproject.org
From: Limeng Hi Bruce, The 17 patches are used to fix issues for NXP ls1046 BSP So, could you please help merge these patches into linux-ycoto kernel, both below 2 branchs? v6.6/standard/nxp-sdk-6.6/nxp-soc v6.6/standard/preempt-rt/nxp-sdk-6.6/nxp-soc diffstat info as below:

[linux-yocto] [PATCH] nxp-ls1046: add scc and cfg files for nxp-ls1046 platform

2024-06-07 Thread Meng Li via lists.yoctoproject.org
Refer to scc and cfg files on branch yocto-6.1, add new scc and cfg files for BSP nxp-ls1046 on branch yocto-6.6. Signed-off-by: Meng Li --- bsp/nxp-ls1046/nxp-ls1046-preempt-rt.scc | 7 + bsp/nxp-ls1046/nxp-ls1046-standard.scc | 7 + bsp/nxp-ls1046/nxp-ls1046.cfg| 161

[linux-yocto] [yocto-kernel-cache]: nxp-ls1046: add scc and cfg files for nxp-ls1046 platform

2024-06-07 Thread Meng Li via lists.yoctoproject.org
From: Limeng Hi Bruce, Recently, I am working on nxp ls1046 SoC BSP, and want to add scc and cfg files for this BSP in kernel-cache. Could you please help to merge this patch into yocto-kernel-cache, branch is only yocto-6.6? diffstat info as below: nxp-ls1046-preempt-rt.scc |7

[linux-yocto]: [kernel/kernel-rt]: nxp-ls1028: port kernel patches for nxp-ls1028

2024-05-31 Thread Meng Li via lists.yoctoproject.org
From: Limeng Hi Bruce, The 7 patches are used to fix issues for NXP ls1028 BSP So, could you please help merge these patches into linux-ycoto kernel, both below 2 branchs? v6.6/standard/nxp-sdk-6.6/nxp-soc v6.6/standard/preempt-rt/nxp-sdk-6.6/nxp-soc diffstat info as below:

[linux-yocto] [PATCH] nxp-ls1028: add scc and cfg files for nxp-ls1028 platform

2024-05-31 Thread Meng Li via lists.yoctoproject.org
Refer to scc and cfg files on branch yocto-6.1, add new scc and cfg files for BSP nxp-ls1028 on branch yocto-6.6. Signed-off-by: Meng Li --- bsp/nxp-ls1028/nxp-ls1028-preempt-rt.scc | 7 + bsp/nxp-ls1028/nxp-ls1028-standard.scc | 8 + bsp/nxp-ls1028/nxp-ls1028.cfg| 247

[linux-yocto] [yocto-kernel-cache]: nxp-ls1028: add scc and cfg files for nxp-ls1028 platform

2024-05-31 Thread Meng Li via lists.yoctoproject.org
From: Limeng Hi Bruce, Recently, I am working on nxp ls1028 SoC BSP, and want to add scc and cfg files for this BSP in kernel-cache. Could you please help to merge this patch into yocto-kernel-cache, branch is only yocto-6.6? diffstat info as below: nxp-ls1028-preempt-rt.scc |7

[linux-yocto] [PATCH] driver: sdk_fman: move the irq free operation to the front of releasing register resource

2024-05-21 Thread Meng Li via lists.yoctoproject.org
Based on current code, if CONFIG_DEBUG_SHIRQ is enabled, there is below calltrace when executing reboot operation. [ 225.626580] Unable to handle kernel paging request at virtual address 006b6b6b6b6b6c3f .. [ 225.797449] Call trace: [ 225.799890] fman_get_normal_pending+0x14/0x34 [

[linux-yocto]: [kernel/kernel-rt v6.1]: driver: sdk_fman: move the irq free operation to the front of releasing register resource

2024-05-21 Thread Meng Li via lists.yoctoproject.org
From: Limeng Hi Bruce, This patch is used to make sure that irq free operation is before releasing register resource. Could you please help merge this patch into linux-ycoto kernel? Branch are v6.1/standard/nxp-sdk-6.1/nxp-soc and v6.1/standard/preempt-rt/nxp-sdk-6.1/nxp-soc diffstat info

Re: [linux-yocto]: [kernel v6.6 std/rt]: nxp-bsp: patches for linux-yocto-v6.6 kernel

2024-04-09 Thread Meng Li via lists.yoctoproject.org
> -Original Message- > From: linux-yocto@lists.yoctoproject.org > On Behalf Of Bruce Ashfield > Sent: Wednesday, April 10, 2024 1:00 AM > To: Li, Meng > Cc: linux-yocto@lists.yoctoproject.org > Subject: Re: [linux-yocto]: [kernel v6.6 std/rt]: nxp-bsp: patches for linux- > yocto-v6.6

[linux-yocto]: [kernel/kernel-rt v6.1]: dmaengine: imx-sdma: move memory copy operation before dma map

2024-04-08 Thread Meng Li via lists.yoctoproject.org
From: Limeng Hi Bruce, This patch is used to move memory copy operation before dma map Could you please help merge this patch into linux-ycoto kernel? Branch are v6.1/standard/nxp-sdk-6.1/nxp-soc and v6.1/standard/preempt-rt/nxp-sdk-6.1/nxp-soc diffstat info as below: imx-sdma.c |4

[linux-yocto] [PATCH] dmaengine: imx-sdma: move memory copy operation before dma map

2024-04-08 Thread Meng Li via lists.yoctoproject.org
On imx8mq platform, system hangs up during booting phase if the HDMI monitor is connected. This issue is caused by commit 501ac079acd7 ("dmaengine: imx-sdma: Make runtime PM irq safe"). After changing the consistent DMA into streaming DMA, it needs to copy data firstly, and then do the DMA mapping

[linux-yocto] [PATCH] ti-am62: enable optee related kernel configs

2024-02-22 Thread Meng Li via lists.yoctoproject.org
Add optee feature and enable it in ti-am62 BSP. Signed-off-by: Meng Li --- bsp/ti-am62/ti-am62.cfg | 0 bsp/ti-am62/ti-am62.scc | 2 ++ features/optee/optee.cfg | 3 +++ features/optee/optee.scc | 4 4 files changed, 9 insertions(+) mode change 100755 => 100644 bsp/ti-am62/ti-am62.cfg

[linux-yocto] [yocto-kernel-cache]: ti-am62: enable optee related kernel configs

2024-02-22 Thread Meng Li via lists.yoctoproject.org
From: Limeng Hi Bruce, This patch is used to enable optee related kernel configs. Could you please help to merge this patch into yocto-kernel-cache, branch is yocto-6.1? diffstat info ad below: bsp/ti-am62/ti-am62.scc |2 ++ features/optee/optee.cfg |3 +++ features/optee/optee.scc

[linux-yocto] [PATCH] nxp-ls104x: add configs of i2c slave devices for NXP ls1043/ls1046 platform

2024-01-25 Thread Meng Li via lists.yoctoproject.org
Signed-off-by: Meng Li --- bsp/nxp-ls1043/nxp-ls1043.cfg | 5 + bsp/nxp-ls1046/nxp-ls1046.cfg | 5 + 2 files changed, 10 insertions(+) diff --git a/bsp/nxp-ls1043/nxp-ls1043.cfg b/bsp/nxp-ls1043/nxp-ls1043.cfg index 376f7244..1f581b9a 100644 --- a/bsp/nxp-ls1043/nxp-ls1043.cfg +++

[linux-yocto] [yocto-kernel-cache]: nxp-ls104x: add configs of i2c slave devices for NXP ls1043/ls1046 platform

2024-01-25 Thread Meng Li via lists.yoctoproject.org
From: Limeng Hi Bruce, This patch is used to add configs of i2c slave devices for NXP ls1043/ls1046 platform. Could you please help to merge this patch into yocto-kernel-cache, branch is only yocto-6.1? diffstat info as below: nxp-ls1043/nxp-ls1043.cfg |5 +

[linux-yocto] [yocto-kernel-cache]: nxp-s32g: enable optee related kernel configs

2024-01-01 Thread Meng Li via lists.yoctoproject.org
From: Limeng Hi Bruce, This patch is used to enable optee related kernel configs. Could you please help to merge this patch into yocto-kernel-cache, branch is yocto-6.1? diffstat info ad below: nxp-s32g.cfg |4 1 file changed, 4 insertions(+) thanks, Limeng

[linux-yocto] [PATCH] nxp-s32g: enable optee related kernel configs

2024-01-01 Thread Meng Li via lists.yoctoproject.org
Signed-off-by: Meng Li --- bsp/nxp-s32g/nxp-s32g.cfg | 4 1 file changed, 4 insertions(+) diff --git a/bsp/nxp-s32g/nxp-s32g.cfg b/bsp/nxp-s32g/nxp-s32g.cfg index df6458b8..fd95c31a 100644 --- a/bsp/nxp-s32g/nxp-s32g.cfg +++ b/bsp/nxp-s32g/nxp-s32g.cfg @@ -181,3 +181,7 @@

Re: [linux-yocto] [linux-yocto/linux-yocto-rt v6.1]: arch: arm64: dts: remove llce_boot_status node to avoid building issue

2023-11-06 Thread Meng Li via lists.yoctoproject.org
Correct diffstat info. > -Original Message- > From: linux-yocto@lists.yoctoproject.org > On Behalf Of Meng Li via lists.yoctoproject.org > Sent: Tuesday, November 7, 2023 1:47 PM > To: bruce.ashfi...@gmail.com > Cc: linux-yocto@lists.yoctoproject.org > Subject: [linu

[linux-yocto] [PATCH] arch: arm64: dts: remove llce_boot_status node to avoid building issue

2023-11-06 Thread Meng Li via lists.yoctoproject.org
According to commit a6442aafa50b ("s32: llce: Refactor shared memory area"), llce_boot_status node has been removed from nxp s32g platform. So, also remove it from aptiv cvc-fl platform to avoid building issue. Signed-off-by: Meng Li --- arch/arm64/boot/dts/freescale/s32gxxxa-cvc-fl.dtsi | 4

[linux-yocto] [linux-yocto/linux-yocto-rt v6.1]: arch: arm64: dts: remove llce_boot_status node to avoid building issue

2023-11-06 Thread Meng Li via lists.yoctoproject.org
From: Limeng Hi Bruce, This patch is used to remove llce_boot_status node to avoid building issue. Could you please help merge this patch into linux-ycoto kernel? Branches are v6.1/standard/nxp-sdk-5.15/nxp-s32g and v6.1/standard/preempt-rt/nxp-sdk-5.15/nxp-s32g diffstat info as below:

Re: [linux-yocto]: [kernel v5.15]: arch: arm64: dts: remove the dts file with license limitation

2023-10-25 Thread Meng Li via lists.yoctoproject.org
> -Original Message- > From: Bruce Ashfield > Sent: Thursday, October 26, 2023 4:29 AM > To: Li, Meng > Cc: linux-yocto@lists.yoctoproject.org > Subject: Re: [linux-yocto]: [kernel v5.15]: arch: arm64: dts: remove the dts > file > with license limitation > > CAUTION: This email comes

[linux-yocto]: [kernel v5.15]: arch: arm64: dts: remove the dts file with license limitation

2023-10-23 Thread Meng Li via lists.yoctoproject.org
From: Limeng Hi Bruce, This patch is used to remove the dts file with license limitation Could you please help to merge this patch into linux-yocto kernel, v5.15, 2 branches as below? v5.15/standard/bcm-2xxx-rpi v5.15/standard/preempt-rt/bcm-2xxx-rpi diffstat info as below.

[linux-yocto] [PATCH] arch: arm64: dts: remove the dts file with license limitation

2023-10-23 Thread Meng Li via lists.yoctoproject.org
Signed-off-by: Meng Li --- arch/arm/boot/dts/overlays/Makefile | 1 - arch/arm/boot/dts/overlays/README | 20 --- arch/arm/boot/dts/overlays/gc9a01-overlay.dts | 151 -- 3 files changed, 172 deletions(-) delete mode 100644

[linux-yocto] [PATCH] usb: hcd-pci: remove the action of faking interrupt request

2023-10-18 Thread Meng Li via lists.yoctoproject.org
With below command steps, PCIe-USB drvier also hangs even if commit c548795abe0d("USB: add check to detect host controller hardware removal") exists in latest kernel. - hot-unplug the PCIe-USB card - echo 1 > /sys/bus/pci/devices//remove The code hangs in function xhci_urb_dequeue() because it is

[linux-yocto]: [kernel/kernel-rt v6.1]: usb: hcd-pci: remove the action of faking interrupt request

2023-10-18 Thread Meng Li via lists.yoctoproject.org
From: Limeng Hi Bruce, This patch is used to remove the action of faking interrupt request. Could you please help merge this patch into linux-ycoto kernel firstly? I will send it to mainline upstream in later. Branch are v6.1/standard/nxp-sdk-6.1/nxp-soc and

[linux-yocto] [PATCH] driver: net: dpaa: support AQR113C phy on revision C LS1046ARDB board

2023-10-12 Thread Meng Li via lists.yoctoproject.org
On the new revision C LS1046ARDB board AQR107 is replaced With AQR113C. So refer to upstream commit 9dbdfd4a9f34("net: dpaa: Fix <1G ethernet on LS1046ARDB "), make sure the 10G ethernet port(J5) also works under <1G status. Signed-off-by: Meng Li ---

[linux-yocto]: [kernel/kernel-rt v6.1]: driver: net: dpaa: support AQR113C phy on revision C LS1046ARDB board

2023-10-12 Thread Meng Li via lists.yoctoproject.org
From: Limeng Hi Bruce, This patch is used to support AQR113C phy on revision C LS1046ARDB board. Could you please help merge this patch into linux-ycoto kernel? Branch are v6.1/standard/nxp-sdk-6.1/nxp-soc and v6.1/standard/preempt-rt/nxp-sdk-6.1/nxp-soc diffstat info as below: mac-api.c

[linux-yocto] [yocto-kernel-cache]: nxp-ls1046: Add profiling feature

2023-10-11 Thread Meng Li via lists.yoctoproject.org
From: Limeng Hi Bruce, This patch is used to add profiling feature configs for this BSP in kernel-cache. Could you please help to merge this patch into yocto-kernel-cache, branch is only yocto-6.1? diffstat info as below: nxp-ls1046.scc |1 + 1 file changed, 1 insertion(+) thanks,

[linux-yocto] [PATCH] nxp-ls1046: Add profiling feature

2023-10-11 Thread Meng Li via lists.yoctoproject.org
Add profiling related kernel configs for perf feature. Signed-off-by: Meng Li --- bsp/nxp-ls1046/nxp-ls1046.scc | 1 + 1 file changed, 1 insertion(+) diff --git a/bsp/nxp-ls1046/nxp-ls1046.scc b/bsp/nxp-ls1046/nxp-ls1046.scc index dc051775..d040e0c8 100644 --- a/bsp/nxp-ls1046/nxp-ls1046.scc

[linux-yocto] [PATCH] nxp-imx7: enable CONFIG_I2C kernel config explicitly

2023-10-08 Thread Meng Li via lists.yoctoproject.org
The CONFIG_I2C kernel config is not enabled if setup WRLinux project with nodistro parameter, so add it into BSP cfg file. Signed-off-by: Meng Li --- bsp/nxp-imx7/nxp-imx7.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/bsp/nxp-imx7/nxp-imx7.cfg b/bsp/nxp-imx7/nxp-imx7.cfg index

[linux-yocto] [yocto-kernel-cache]: nxp-imx7: enable CONFIG_I2C kernel config explicitly

2023-10-08 Thread Meng Li via lists.yoctoproject.org
From: Limeng Hi Bruce, This patch is used to enable CONFIG_I2C kernel config explicitly Could you please help to merge this patch into yocto-kernel-cache, branch is only yocto-6.1? nxp-imx7.cfg |1 + 1 file changed, 1 insertion(+) thanks, Limeng -=-=-=-=-=-=-=-=-=-=-=- Links: You

[v2][linux-yocto]: [kernel/kernel-rt v6.1]: drivers: fsl_qbman: replace GFP_KERNEL with GFP_ATOMIC during allocating memory

2023-09-20 Thread Meng Li via lists.yoctoproject.org
From: Limeng Hi Bruce, This patch is used to replace GFP_KERNEL with GFP_ATOMIC during allocating memory so that avoid triggering sleep in atomic context. Could you please help merge this patch into linux-ycoto kernel? Branch are v6.1/standard/nxp-sdk-6.1/nxp-soc and

[linux-yocto] [PATCH v2] drivers: fsl_qbman: replace GFP_KERNEL with GFP_ATOMIC during allocating memory

2023-09-20 Thread Meng Li via lists.yoctoproject.org
When running crypto test case, there is below calltrace because of allocating memory with GFP_KERNEL parameter in atomic context. Call trace: .. __might_resched+0x154/0x1c0 __might_sleep+0x54/0xa4 __kmem_cache_alloc_node+0x434/0x594 kmalloc_trace+0x54/0x140 dpa_alloc_new+0x58/0x280

Re: [linux-yocto]: [kernel/kernel-rt v6.1]: drivers: fsl_qbman: replace GFP_KERNEL with GFP_ATOMIC during allocating memory

2023-09-19 Thread Meng Li via lists.yoctoproject.org
> -Original Message- > From: Bruce Ashfield > Sent: Wednesday, September 20, 2023 12:06 PM > To: Li, Meng > Cc: linux-yocto@lists.yoctoproject.org > Subject: Re: [linux-yocto]: [kernel/kernel-rt v6.1]: drivers: fsl_qbman: > replace > GFP_KERNEL with GFP_ATOMIC during allocating memory

Re: [linux-yocto]: [kernel/kernel-rt v6.1]: drivers: fsl_qbman: replace GFP_KERNEL with GFP_ATOMIC during allocating memory

2023-09-19 Thread Meng Li via lists.yoctoproject.org
> -Original Message- > From: Bruce Ashfield > Sent: Wednesday, September 20, 2023 6:21 AM > To: Li, Meng > Cc: linux-yocto@lists.yoctoproject.org > Subject: Re: [linux-yocto]: [kernel/kernel-rt v6.1]: drivers: fsl_qbman: > replace > GFP_KERNEL with GFP_ATOMIC during allocating memory

[linux-yocto]: [kernel/kernel-rt v6.1]: drivers: fsl_qbman: replace GFP_KERNEL with GFP_ATOMIC during allocating memory

2023-09-19 Thread Meng Li via lists.yoctoproject.org
From: Limeng Hi Bruce, This patch is used alloc memory with GFP_ATOMIC parameter so that avoid triggering sleep in atomic context. Could you please help merge this patch into linux-ycoto kernel? Branch are v6.1/standard/nxp-sdk-6.1/nxp-soc and v6.1/standard/preempt-rt/nxp-sdk-6.1/nxp-soc

[linux-yocto] [PATCH] drivers: fsl_qbman: replace GFP_KERNEL with GFP_ATOMIC during allocating memory

2023-09-19 Thread Meng Li via lists.yoctoproject.org
When running crypto test case, there is below calltrace because of allocating memory with GFP_KERNEL parameter in atomic context. Call trace: .. __might_resched+0x154/0x1c0 __might_sleep+0x54/0xa4 __kmem_cache_alloc_node+0x434/0x594 kmalloc_trace+0x54/0x140 dpa_alloc_new+0x58/0x280

[linux-yocto]: [kernel/kernel-rt v6.1]: drivers: fsl_qbman: alloc memory with GFP_ATOMIC parameter

2023-09-18 Thread Meng Li via lists.yoctoproject.org
From: Limeng Hi Bruce, This patch is used alloc memory with GFP_ATOMIC parameter so that avoid triggering sleep in atomic context. Could you please help merge this patch into linux-ycoto kernel? Branch are v6.1/standard/nxp-sdk-6.1/nxp-soc and v6.1/standard/preempt-rt/nxp-sdk-6.1/nxp-soc

[linux-yocto] [PATCH] drivers: fsl_qbman: alloc memory with GFP_ATOMIC parameter

2023-09-18 Thread Meng Li via lists.yoctoproject.org
When running dpdk test case, there is below calltrace because of allocating memory in atomic context. Call trace: .. __might_resched+0x154/0x1c0 __might_sleep+0x54/0xa4 __kmem_cache_alloc_node+0x434/0x594 kmalloc_trace+0x54/0x140 dpa_alloc_reserve+0x100/0x19c

[linux-yocto] [PATCH] nxp-imx8: remove config CONFIG_SOC_DEV_IMX9

2023-09-08 Thread Meng Li via lists.yoctoproject.org
Refer to commit 913514b55961("LF-8986 soc: imx: reuse soc-imx8m for i.MX93 soc device"), the kernel config CONFIG_SOC_DEV_IMX9 had been removed. So, also remove it from kernel cache. Signed-off-by: Meng Li --- bsp/nxp-imx8/nxp-imx8.cfg | 1 - 1 file changed, 1 deletion(-) diff --git

[linux-yocto] [yocto-kernel-cache]: nxp-imx8: remove config CONFIG_SOC_DEV_IMX9

2023-09-08 Thread Meng Li via lists.yoctoproject.org
From: Limeng Hi Bruce, This patch is used to remove config CONFIG_SOC_DEV_IMX9 Could you please help to merge this patch into yocto-kernel-cache, branch is only yocto-6.1? diffstat info as below: nxp-imx8.cfg |1 - 1 file changed, 1 deletion(-) thanks, Limeng -=-=-=-=-=-=-=-=-=-=-=-

[linux-yocto] [PATCH] drivers: enetc: tsn: free the CBS structure enetc_tsn_deinit() function

2023-08-20 Thread Meng Li via lists.yoctoproject.org
When running dpdk congiguration script dpdk_configure_1028ardb.sh to setup dpdk work environment, the fsl_enetc driver is unbound. But the CBS structure is not released in enetc_tsn_deinit() function. So, add a function enetc_cbs_free() to free CBS structure. Signed-off-by: Meng Li ---

[linux-yocto]: [kernel/kernel-rt]: drivers: enetc: tsn: free the CBS structure enetc_tsn_deinit() function

2023-08-20 Thread Meng Li via lists.yoctoproject.org
From: Limeng Hi Bruce, This patch is used to ree the CBS structure enetc_tsn_deinit() function. So, could you please help merge these patches into linux-ycoto kernel, both below 2 branchs? v5.15/standard/nxp-sdk-5.15/nxp-soc v5.15/standard/preempt-rt/nxp-sdk-5.15/nxp-soc diffstat info as

[linux-yocto] [PATCH] drivers: enetc: tsn: free the CBS structure enetc_tsn_deinit() function

2023-08-20 Thread Meng Li via lists.yoctoproject.org
When running dpdk congiguration script dpdk_configure_1028ardb.sh to setup dpdk work environment, the fsl_enetc driver is unbound. But the CBS structure is not released in enetc_tsn_deinit() function. So, add a function enetc_cbs_free() to free CBS structure. Signed-off-by: Meng Li ---

[linux-yocto]: [kernel/kernel-rt]: drivers: enetc: tsn: free the CBS structure enetc_tsn_deinit() function

2023-08-20 Thread Meng Li via lists.yoctoproject.org
From: Limeng Hi Bruce, This patch is used to free the CBS structure enetc_tsn_deinit() function So, could you please help merge these patches into linux-ycoto kernel, both below 2 branchs? v6.1/standard/nxp-sdk-6.1/nxp-soc v6.1/standard/preempt-rt/nxp-sdk-6.1/nxp-soc diffstat info as below:

[linux-yocto] [PATCH] watchdog: core: stop watchdog when executing poweroff command

2023-08-14 Thread Meng Li via lists.yoctoproject.org
On some platforms, for example, NXP ls1028 platform, the watchdog is started in u-boot, and so kernel will create a timer and work to keep watchdog alive. But when user executes commands "poweroff" or "shutdown -h", the system is reset when watchdog triggers timeout even if WDOG_STOP_ON_REBOOT is

[linux-yocto]: [kernel/kernel-rt]: watchdog: core: stop watchdog when executing poweroff command

2023-08-14 Thread Meng Li via lists.yoctoproject.org
From: Limeng Hi Bruce, This patch is used to stop watchdog when executing poweroff command So, could you please help merge these patches into linux-ycoto kernel, both below 2 branchs? v6.1/standard/nxp-sdk-6.1/nxp-soc v6.1/standard/preempt-rt/nxp-sdk-6.1/nxp-soc diffstat info as below:

[linux-yocto]: [kernel/kernel-rt]: drivers: i2c: remove default y from I2C_IMX_FLEXIO config

2023-08-10 Thread Meng Li via lists.yoctoproject.org
From: Limeng Hi Bruce, This patch is used to remove default y from I2C_IMX_FLEXIO config So, could you please help merge these patches into linux-ycoto kernel, both below 2 branchs? v6.1/standard/nxp-sdk-6.1/nxp-soc v6.1/standard/preempt-rt/nxp-sdk-6.1/nxp-soc diffstat info as below:

[linux-yocto] [PATCH] drivers: i2c: remove default y from I2C_IMX_FLEXIO config

2023-08-10 Thread Meng Li via lists.yoctoproject.org
When building kernel with kts test layer, COMPILE_TEST is set as y. This causes I2C_IMX_FLEXIO to be enabled because there is default y option in this kernel config. But the depended MFD_IMX_FLEXIO config is not enabled, and causes below building issue: drivers/i2c/busses/i2c-flexio.c:290:

Re: [linux-yocto]: [kernel for intel-socfpga]: usb: dwc2: add new compatible for Intel SoCFPGA Stratix10 platform

2023-07-20 Thread Meng Li via lists.yoctoproject.org
> -Original Message- > From: Bruce Ashfield > Sent: Friday, July 21, 2023 5:07 AM > To: Li, Meng > Cc: linux-yocto@lists.yoctoproject.org > Subject: Re: [linux-yocto]: [kernel for intel-socfpga]: usb: dwc2: add new > compatible for Intel SoCFPGA Stratix10 platform > > CAUTION: This

[linux-yocto] [PATCH] usb: dwc2: add new compatible for Intel SoCFPGA Stratix10 platform

2023-07-17 Thread Meng Li via lists.yoctoproject.org
Intel Stratix10 is very the same with Agilex platform, the DWC2 IP on the Stratix platform also does not support clock-gating. The commit 3d8d3504d233("usb: dwc2: Add platform specific data for Intel's Agilex") had fixed this issue. So, add the essential compatible to also use the specific data on

Re: [linux-yocto] [PATCH] usb: dwc2: combine platform specific data for Intel Agilex and Stratix10

2023-07-17 Thread Meng Li via lists.yoctoproject.org
Hi Bruce, Sorry! I send the wrong patch, it is the old one. Please discard this patch. I will send the new one in later. Thanks, LImeng > -Original Message- > From: linux-yocto@lists.yoctoproject.org > On Behalf Of Meng Li via lists.yoctoproject.org > Sent: Tuesday, July 18

[linux-yocto] [PATCH] usb: dwc2: combine platform specific data for Intel Agilex and Stratix10

2023-07-17 Thread Meng Li via lists.yoctoproject.org
Intel Stratix10 is very the same with Agilex platform, the DWC2 IP on the Stratix platform also does not support clock-gating. So, based on commit 3d8d3504d233("usb: dwc2: Add platform specific data for Intel's Agilex"), combine platform specific data for Intel Agilex and Stratix10 together. In

[linux-yocto]: [kernel for intel-socfpga]: usb: dwc2: add new compatible for Intel SoCFPGA Stratix10 platform

2023-07-17 Thread Meng Li via lists.yoctoproject.org
From: Limeng Hi Bruce, This patch is used to add new compatible for Intel SoCFPGA Stratix10 platform Could you please help to merge it into linux-ycoto kernel repo, both standard and rt branches v6.1/standard/intel-sdk-6.1/intel-socfpga v6.1/standard/preempt-rt/intel-sdk-6.1/intel-socfpga

[linux-yocto]: [kernel for intel-socfpga]: usb: dwc2: combine platform specific data for Intel Agilex and Stratix10

2023-07-16 Thread Meng Li via lists.yoctoproject.org
From: Limeng Hi Bruce, This patch is used to combine platform specific data for Intel Agilex and Stratix10. Could you please help to merge it into linux-ycoto kernel repo, both standard and rt branches v6.1/standard/intel-sdk-6.1/intel-socfpga

[linux-yocto] [PATCH] usb: dwc2: combine platform specific data for Intel Agilex and Stratix10

2023-07-16 Thread Meng Li via lists.yoctoproject.org
Intel Stratix10 is very the same with Agilex platform, the DWC2 IP on the Stratix platform also does not support clock-gating. So, based on commit 3d8d3504d233("usb: dwc2: Add platform specific data for Intel's Agilex"), combine platform specific data for Intel Agilex and Stratix10 together. In

[linux-yocto]: [kernel for intel-socfpga]: watchdog: dw_wdt: register notify callback to stop watchdog when shuting down system

2023-06-28 Thread Meng Li via lists.yoctoproject.org
From: Limeng Hi Bruce, This patch is used to register notify callback to stop watchdog when shuting down system Could you please help to merge it into linux-ycoto kernel repo, both standard and rt branches v6.1/standard/intel-sdk-6.1/intel-socfpga

[linux-yocto] [PATCH] watchdog: dw_wdt: register notify callback to stop watchdog when shuting down system

2023-06-28 Thread Meng Li via lists.yoctoproject.org
On Intel SoC FPGA platform, Stratix10 or Agilex, the watchdog is started in u-boot, so kernel will create a timer and work to keep watchdog alive. But when user executes commands "halt", "poweroff" or "shutdown", the system is reset when watchdog triggers timeout. The root cause is that the

[linux-yocto] [yocto-kernel-cache]: intel-socfpga: enable firmware loading feature for preempt-rt kernel

2023-06-27 Thread Meng Li via lists.yoctoproject.org
From: Limeng Hi Bruce, This patch is used to enable firmware loading feature for preempt-rt kernel Could you please help to merge this patch into yocto-kernel-cache, branch is yocto-6.1? diffstat info as below: intel-socfpga-64-preempt-rt.scc |2 +- 1 file changed, 1 insertion(+), 1

[linux-yocto] [PATCH] intel-socfpga: enable firmware loading feature for preempt-rt kernel

2023-06-27 Thread Meng Li via lists.yoctoproject.org
Signed-off-by: Meng Li --- bsp/intel-socfpga/intel-socfpga-64-preempt-rt.scc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsp/intel-socfpga/intel-socfpga-64-preempt-rt.scc b/bsp/intel-socfpga/intel-socfpga-64-preempt-rt.scc index af4efb1e..f497973b 100644 ---

[linux-yocto]: [kernel for intel-socfpga]: intel-socfpga: dts: arch: arm64: dts: improve the overlay used to updating FPGA image

2023-06-27 Thread Meng Li via lists.yoctoproject.org
From: Limeng Hi Bruce, This patch is used to i improve the overlay used to updating FPGA image Could you please help to merge it into linux-ycoto kernel repo, both standard and rt branches v6.1/standard/intel-sdk-6.1/intel-socfpga v6.1/standard/preempt-rt/intel-sdk-6.1/intel-socfpga diffstat

[linux-yocto] [PATCH] arch: arm64: dts: improve the overlay used to updating FPGA image

2023-06-27 Thread Meng Li via lists.yoctoproject.org
- remove unnecessary #address-cells and #size-cells property - correct #address-cells and #size-cells property Signed-off-by: Meng Li --- .../arm64/boot/dts/altera/socfpga_stratix10_fpga_update.dts | 6 ++ arch/arm64/boot/dts/intel/socfpga_agilex_fpga_update.dts| 6 ++ 2 files

[linux-yocto] [PATCH] intel-socfpga: dts: improve qspi nor-flash partitions for Remote System Update feature

2023-06-25 Thread Meng Li via lists.yoctoproject.org
Remote System Update feature is used to update FPGA image that is saved in qspi nor-flash. The region used for RSU is from 0x91 to 0x400, so improve the qspi nor-flash partitions to compatible with RSU feature. Signed-off-by: Meng Li --- .../boot/dts/altera/socfpga_stratix10_socdk.dts

[linux-yocto]: [kernel for intel-socfpga]: intel-socfpga: dts: improve qspi nor-flash partitions for Remote System Update feature

2023-06-25 Thread Meng Li via lists.yoctoproject.org
From: Limeng Hi Bruce, This patch is used to improve qspi nor-flash partitions for Remote System Update feature Could you please help to merge it into linux-ycoto kernel repo, both standard and rt branches v6.1/standard/intel-sdk-6.1/intel-socfpga

[linux-yocto] [PATCH] nxp-ls1046: add scc and cfg files for nxp-ls1046 platform

2023-06-07 Thread Meng Li via lists.yoctoproject.org
Refer to scc and cfg files on branch yocto-5.15, add new scc and cfg files for BSP nxp-ls1046 on branch yocto-6.1. Signed-off-by: Meng Li --- bsp/nxp-ls1046/nxp-ls1046-preempt-rt.scc | 7 + bsp/nxp-ls1046/nxp-ls1046-standard.scc | 7 + bsp/nxp-ls1046/nxp-ls1046.cfg| 155

[linux-yocto] [yocto-kernel-cache]: nxp-ls1046: add scc and cfg files for nxp-ls1046 platform

2023-06-07 Thread Meng Li via lists.yoctoproject.org
From: Limeng Hi Bruce, Recently, I am working on nxp ls1046 SoC BSP, and want to add scc and cfg files for this BSP in kernel-cache. Could you please help to merge this patch into yocto-kernel-cache, branch is only yocto-6.1? diffstat info as below: nxp-ls1046-preempt-rt.scc |7 ++

Re: [linux-yocto]: [kernel/kernel-rt v6.1]: add kernel patches for NXP ls1043ardb/ls1046ardb platform

2023-06-05 Thread Meng Li via lists.yoctoproject.org
> -Original Message- > From: Bruce Ashfield > Sent: Monday, June 5, 2023 11:29 PM > To: Li, Meng > Cc: linux-yocto@lists.yoctoproject.org > Subject: Re: [linux-yocto]: [kernel/kernel-rt v6.1]: add kernel patches for > NXP > ls1043ardb/ls1046ardb platform > > CAUTION: This email comes

[linux-yocto]: [kernel/kernel-rt v6.1]: add kernel patches for NXP ls1043ardb/ls1046ardb platform

2023-06-01 Thread Meng Li via lists.yoctoproject.org
From: Limeng Hi Bruce, The 9 patches are for NXP ls1043ardb/ls1046ardb platform, and I want to merge them into linux-yocto. So, could you please help merge these patches into linux-ycoto kernel, branch are v6.1/standard/nxp-sdk-6.1/nxp-soc and v6.1/standard/preempt-rt/nxp-sdk-6.1/nxp-soc? The

[linux-yocto] [PATCH] nxp-ls1043: add scc and cfg files for nxp-ls1043 platform

2023-05-31 Thread Meng Li via lists.yoctoproject.org
Refer to scc and cfg files on branch yocto-5.15, add new scc and cfg files for BSP nxp-ls1043 on branch yocto-6.1. Signed-off-by: Meng Li --- bsp/nxp-ls1043/nxp-ls1043-preempt-rt.scc | 7 + bsp/nxp-ls1043/nxp-ls1043-standard.scc | 7 + bsp/nxp-ls1043/nxp-ls1043.cfg| 158

[linux-yocto] [yocto-kernel-cache]: nxp-ls1043: add scc and cfg files for nxp-ls1043 platform

2023-05-31 Thread Meng Li via lists.yoctoproject.org
From: Limeng Hi Bruce, Recently, I am working on nxp ls1043 SoC BSP, and want to add scc and cfg files for this BSP in kernel-cache. Could you please help to merge this patch into yocto-kernel-cache, branch is only yocto-6.1? diffstat info as below: nxp-ls1043-preempt-rt.scc |7 ++

[linux-yocto]: [kernel/kernel-rt]: nxp-ls1028: kernel patches to improve graphics

2023-05-10 Thread Meng Li via lists.yoctoproject.org
From: Limeng Hi Bruce, The 2 patches are used to improve graphics for NXP ls1028 BSP So, could you please help merge these patches into linux-ycoto kernel, both below 2 branchs? v6.1/standard/nxp-sdk-6.1/nxp-soc v6.1/standard/preempt-rt/nxp-sdk-6.1/nxp-soc diffstat info as below: Kconfig

[linux-yocto] [PATCH 2/2] drivers: drm: cadence: select DRM_DISPLAY_HDMI_HELPER if Cadence HDCP driver is enabled

2023-05-10 Thread Meng Li via lists.yoctoproject.org
According to commit 4fc8cb47fcfd("drm/display: Move HDMI Helpers into display-helper module "), it needs to select DRM_DISPLAY_HDMI_HELPER if Cadence HDCP driver is enabled. Signed-off-by: Meng Li --- drivers/gpu/drm/bridge/cadence/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git

[linux-yocto] [PATCH 1/2] Revert "gpu: drm: bridge: improve the function of getting training status"

2023-05-10 Thread Meng Li via lists.yoctoproject.org
This reverts commit 1d6d6a6a2d8704ae641b4439fad0a2d45ecc8372. After upgrading u-boot to version 2022.04, this patch is no longer needed. Signed-off-by: Meng Li --- drivers/gpu/drm/bridge/cadence/cdns-mhdp-dp.c | 16 1 file changed, 4 insertions(+), 12 deletions(-) diff --git

[linux-yocto] [PATCH] nxp-ls1028: add scc and cfg files for nxp-ls1028 platform

2023-04-28 Thread Meng Li via lists.yoctoproject.org
Refer to scc and cfg files on branch yocto-5.15, add new scc and cfg files for BSP nxp-ls1028 on branch yocto-6.1. Signed-off-by: Meng Li --- bsp/nxp-ls1028/nxp-ls1028-preempt-rt.scc | 8 + bsp/nxp-ls1028/nxp-ls1028-standard.scc | 9 + bsp/nxp-ls1028/nxp-ls1028.cfg| 250

[linux-yocto] [yocto-kernel-cache]: nxp-ls1028: add scc and cfg files for nxp- ls1028 platform

2023-04-28 Thread Meng Li via lists.yoctoproject.org
From: Limeng Hi Bruce, Recently, I am working on nxp ls1028 SoC BSP, and want to add scc and cfg files for this BSP in kernel-cache. Could you please help to merge this patch into yocto-kernel-cache, branch is only yocto-6.1? diffstat info as below: nxp-ls1028-preempt-rt.scc |8 +

[linux-yocto] [PATCH 5/5] enetc: tsn: release resource before exiting enetc_qci_sfi_counters_get() function

2023-04-28 Thread Meng Li via lists.yoctoproject.org
When testing FMI feature with below command tsntool qcisfiget --device eth0 --index 2 There is a memory leak occurring as below unreferenced object 0x00402000 (size 128): comm "tsntool", pid 445, jiffies 4294959297 (age 25.588s) hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00

[linux-yocto] [PATCH 3/5] enetc: add suspend/resume function to manage pm in ethernet driver

2023-04-28 Thread Meng Li via lists.yoctoproject.org
When running suspend/resume test on nxp ls1028 platform, there is below warning trace Call trace: mdio_bus_phy_resume+0xa8/0x128 dpm_run_callback+0x4c/0x184 device_resume+0x9c/0x1f0 dpm_resume+0x114/0x340 dpm_resume_end+0x24/0x3c suspend_devices_and_enter+0x1e0/0x810 pm_suspend+0x288/0x330

[linux-yocto] [PATCH 2/5] tsn: replace GFP_KERNEL with GFP_ATOMIC to avoid sleeping in atomic context

2023-04-28 Thread Meng Li via lists.yoctoproject.org
When running qbv test of TSN feature in RT kernel, there is below call trace BUG: sleeping function called from invalid context at include/linux/sched/mm.h:229 in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 502, name: tsntool preempt_count: 0, expected: 0 RCU nest depth: 1, expected: 0

[linux-yocto] [PATCH 4/5] enetc: tsn: release resource before exiting enetc_qci_fmi_get() function

2023-04-28 Thread Meng Li via lists.yoctoproject.org
When testing FMI feature with below command tsntool qcifmiget --device eth0 --index 2 There is a memory leak occurring as below unreferenced object 0x0047e200 (size 128): comm "tsntool", pid 444, jiffies 4294931230 (age 17.688s) hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00

[linux-yocto] [PATCH 1/5] gpu: drm: bridge: improve the function of getting training status

2023-04-28 Thread Meng Li via lists.yoctoproject.org
When reading link status, the request size is 13, but this real return size from ls1028 dp firmware is 10, they don't match with each other. So, getting training status operation is failed, and cause the whole display driver initializes failed. This issue is introduced by commit

[linux-yocto]: [kernel/kernel-rt]: nxp-ls1028: kernel patches used to fix issues

2023-04-28 Thread Meng Li via lists.yoctoproject.org
From: Limeng Hi Bruce, The 5 patches are used to fix issues for NXP ls1028 BSP So, could you please help merge these patches into linux-ycoto kernel, both below 2 branchs? v6.1/standard/nxp-sdk-6.1/nxp-soc v6.1/standard/preempt-rt/nxp-sdk-6.1/nxp-soc diffstat info as below: