Backporting fix from 5.10.2.1.x-imx to 4.14-2.3.x-imx

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Backporting fix from 5.10.2.1.x-imx to 4.14-2.3.x-imx

304 Views
monusidhu
Contributor I

We are using “Freescale i.MX6 Quad” with Freescale Kernel 4.14-2.3.x-imx (4.14.170). We see intermediate -EIO issue while reading from pcm using ALSA lib API snd_pcm_readi().

I have enabled the pcm debug logs and found EIO is getting returned by ALSA core part:

kernel: [  201.184641] imx-tlv320aic3x sound: capture write error (DMA or IRQ trouble?)   

I looked and found this issue has been fixed under given “dmaengine: imx-sdma: add terminated list for freed descriptor in worker” patches in 5.10.2.1.x-imx.

I was looking to take this fix and apply to Kernel 4.14-2.3.x-imx on our local branch but I saw it is not directly portable. I was just wondering if anyone knows how to backport this fix to Kernel 4.14 ? Thank-You.

Labels (1)
0 Kudos
2 Replies

291 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

None of those kernel are supported by i.MX6, You should try with 4.19.35 and 4.14.98.

Regards

0 Kudos

288 Views
monusidhu
Contributor I

Hello, 

None of those versions 4.19.35 and 4.14.98 has that fix available. Fix got added in Kernel version 5.x and available on Freescale github under branch 5.10-2.1.x-imx and on Variscite github under 5.15-2.0.x-imx_var01 . 

So was wondering will that fix be merged to 4.14.98 ? or do we need to upgrade our Kernel to either 5.10-2.1.x-imx or 5.15-2.0.x-imx_var01 ?

Regards.

 

 

0 Kudos