[SkyHigh Memory SPI NAND Driver]

Miquel Raynal miquel.raynal at bootlin.com
Wed Jan 10 23:38:38 PST 2024


Hi Kim,

> >   2.  How many version of this driver we need to develop to support all version of Linux (now being 6.xxx)?  
> 
> We only bring support to the latest mainline kernel, whatever version it could be. So if you send a patch (please follow the contributing guidelines in Documentation/) it should be a diff against the next -rc1 (so it will be v6.8-rc1 in two weeks). You can share diffs for other versions as well on your own website but there is usually no backport of 'new features'.
> 
> [KR] Simply, you can only support for our patch to the latest version. Is that right?

Well, there is only one "mainline", and your contributions must match
the state of this mainline. When applying the patch, the next kernel
and all others following will have support for your chips.
> 
> > For instance if the driver (attached is 5.4), can it be used up to 5.18…  or should we modify it starting from version 5.4x.  
> 
> If it compiles, it will probably work as well as the core has not changed much since it's been created, but there is of course no guarantee.
> 
> [KR] Is it possible to apply the patch to old version of Linux community?

On your side you can provide a diff for each kernel version that you
want to support which does not contain your patch series. For all
kernel versions after your changes have been merged, there is nothing
additional to do on your side (besides posting updates/fixes maybe).
You cannot backport a feature to older (stable) kernels.

Thanks,
Miquèl



More information about the linux-mtd mailing list