On Mon, Apr 18, 2022 at 08:26:33AM +0300, Amir Goldstein wrote: > > > > The _fixed_by_kernel_commit is fine, just not all cases for kernel patch, > > some of them cover patch from userspace packages. So you might change it > > to _fixed_by_upstream_commit, then let its arguments point out the commit > > from which upstream project. > > I thought about it too and I agree we should have _fixed_by_upstream_commit > In fact, LTP tests are annotated like this: {"linux-git", "8edc6e1688fc"}. Sometimes there will be a different fix for stable kernels because the "proper" fix in upstream is too risky / dangerous / involved. So it might be useful to specify multiple commits. > But I decided that even if and when we add _fixed_by_upstream_commit > we had better leave the wrapper _fixed_by_kernel_commit for brevity > because it is by far going to be the most used annotation. > I can add this helper now or it could be added later. Maybe allow multiple _fixed_by_kernel_commit where the default is upstream, and then other git trees can be specified? e.g.: _fixed_by_kernel_commit 8edc6e1688fc _fixed_by_kernel_commit deadbeef1234 linux-5.4 _fixed_by_kernel_commit f00dfeed5678 linux-5.10 - Ted