Re: [PATCH] x86: add more x86-64 micro-architecture levels

From: John
Date: Wed Sep 18 2024 - 15:03:03 EST


On Tuesday, September 17th, 2024 at 2:45 PM, H. Peter Anvin <hpa@xxxxxxxxx> wrote:

> On September 17, 2024 8:22:38 PM GMT+02:00, John
> Also, these are not uarch levels, they are ISA levels...

Thank you for pointing that out. I see now the differences between ISA levels and uarches.

> Besides, there are already well-known patches exist for years. So why reinventing the wheel here?
>
> E.g. graysky patch used by ZEN kernel:
> https://github.com/zen-kernel/zen-kernel/commit/6f32b8af8ccdb56ef2856db3631eea55b79378c6
> It contains way more architectures, includig ISA levels.

Yes, that is my git repo. I created the subset (just -march=x86-64-v[2,3,4]) patch specifically to post on lkml thinking that the larger patch with all of the uarches would be too complex.