Re: [PATCH v5 6/7] misc: bcm-vk: add Broadcom VK driver

From: Scott Branden
Date: Wed May 13 2020 - 14:39:42 EST


Thanks for link.

On 2020-05-13 5:30 a.m., Luis Chamberlain wrote:
On Wed, May 13, 2020 at 08:50:46AM +0200, Greg Kroah-Hartman wrote:
On Tue, May 12, 2020 at 11:31:28PM -0700, Scott Branden wrote:

That's not how kernel drivers in the tree work, sorry. They do not
contain "older kernel support" in them, they work as a whole with the
rest of the kernel they ship with only.

Otherwise all drivers would be a total mess over time, can you imagine
doing this for the next 20+ years? Not maintainable.
Scott, now imagine the amount of cleanup you'd need to do to your driver
to get it to a state where it doesn't depend on any old kernel. That's
the exact shape of the driver we want.

To backport, you can look into the backports project which strives to
backport drivers automatically [0] to older kernels.

[0] https://backports.wiki.kernel.org/index.php/Main_Page

Luis
Will drop legacy support from patch and look closer at this.

Thanks,
ÂScott