May 11, 2023, 12:42:00 PMMay 11
to ChromiumOS Development, Mike Frysinger, ChromiumOS Development, Luigi Semenzato
Luigi, we are backporting drivers and even entire subsystems (like I did with DRM for AMD in kernel 4.14) from newer kernels all the time. Just commit it to the kernel. We only temporarily use kernel ebuilds in board overlay with few custom patch files.
For particularly large backports we do so called "forklifts" where we put all the changes into a branch and we submit it as merge commits.
The rules are, all changes need to be rebased on top of our current kernel and bisectable, and tagged with appropriate tag (UPSTREAM, BACKPORT, FROMGIT/FROMLIST).
So, just backport this driver. Sean's kernel patch review script will tell you if you do anything wrong ;-)
Also, sync with the appropriate team if you touch their area of responsibility. Which driver do you want to backport?
Also, consider just moving your board to a newer kernel. We have 6.1 now you can use. It is as easy as changing use flags for your board.