On Thu, Jun 10, 2021 at 9:34 AM Val Kondratenko
I recently got tasked with upgrading linux kernel (which we get from freescale), to fix some vulnerabilities.Yes, it is a good approach to move to a mainline kernel.
One important aspect to consider is what is the i.MX SoC that you are using.
imx28/imx5/imx6/imx7 have decent support in the upstream kernel.
imx8m/imx8mm are getting better.
imx8qxp has a minimum support upstream in 5.12.