kernel-6.15
Hi I have been using your patches since version 5 kernel, make a real difference on my AMD FX4130 I have even begun recompiling all key pkgs of my distro Slackware with bdver1. I realise kernel-6.15.0-rx1 has only been out a few days I'm curious if your patch will be able to work with it the Makefile has changed a lot causing patch failure on all hunks for it.
6.15 has now a -march=native variable
We have not ported the full patch, but we added the once we compile, e.g v1,v2,v3 and Zen4: https://github.com/CachyOS/linux/commit/b7311fe1fb874fce1455f0716ae039ba037f935e
Yeah, looks like a major re-write. PRs are always welcomed. In the meantime, you can follow this advice: https://github.com/graysky2/kernel_compiler_patch?tab=readme-ov-file#alternative-way-to-define-a--march-option-without-this-patch
Thank you so much for your quick replies and the information, I saw the advice alternative way to apply. And after first trying to manually add the patch which failed, I added the alternative way to my kernel build script instead.
export KCFLAGS=' -march=bdver1' export KCPPFLAGS=' -march=bdver1'
My resulting package name included bdver1, as the previous build was back to x86_64 without the export. Checking build log gcc was using the flags during the build. kernel-rt1-bore-generic-6.15.0_rc1-bdver1-rc1-rt1-004.txz
The config X86_NATIVE_CPU is not in 6.15-rc1 as 1Naim said but being signed should be in next rc release. I do a lot of testing for linux-rt-devel checking for performance regression and bugs. I will have a look at the 3 files and see if I can produce any patches. From my try at manual patch, It seems to be getting the cpu selection back into menuconfig. I had it partially shown in menuconfig just not listing cpu names.
Grateful if you guys can proof read the latest commit