Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Experimental kernel features
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
JarzaClay
n00b
n00b


Joined: 21 Aug 2024
Posts: 23

PostPosted: Tue Oct 22, 2024 11:22 am    Post subject: Experimental kernel features Reply with quote

I have enabled the experimental use flag on sys-kernel/gentoo-sources and have run:
Code:
genkernel all
This has worked previously, but now my system can't get past initializing an initramfs. I want to know how to individually enable these patches, because I only want to "additional CPU optimizations for GCC" patch, not BFQ or anything else. I couldn't find any documentation on installing this patch (additional CPU optimizations for GCC) by itself, just installing BFQ by itself.
Back to top
View user's profile Send private message
nicop
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2014
Posts: 85

PostPosted: Tue Oct 22, 2024 1:01 pm    Post subject: Reply with quote

You can choose patches of your choice and use /etc/portage/patches
It works well with sys-kernel/gentoo-sources at least
Back to top
View user's profile Send private message
JarzaClay
n00b
n00b


Joined: 21 Aug 2024
Posts: 23

PostPosted: Mon Nov 04, 2024 2:44 am    Post subject: Reply with quote

I just wanted to know how to define it like they do in https://wiki.gentoo.org/wiki/Project:Kernel/Experimental
Code:
K_EXP_GENPATCHES_PULL="yes"
K_EXP_GENPATCHES_LIST="BFQ"


But for "additional CPU options for GCC"
Back to top
View user's profile Send private message
krumpf
Apprentice
Apprentice


Joined: 15 Jul 2018
Posts: 186

PostPosted: Mon Nov 04, 2024 5:48 am    Post subject: Reply with quote

For the additional CPUs, just emerge gentoo-source with USE=experimental. Then go in kernel menuconfig, section Processor type and features --> Processor family, the cpu list should now contain more choices.
_________________
Dragon Princess Music Games Heroes and villains
Back to top
View user's profile Send private message
JarzaClay
n00b
n00b


Joined: 21 Aug 2024
Posts: 23

PostPosted: Mon Nov 04, 2024 10:58 am    Post subject: Reply with quote

I have done that, but it applies all the other patches. Is there no way to select them without manually copying the patch file?
Back to top
View user's profile Send private message
nicop
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2014
Posts: 85

PostPosted: Mon Nov 04, 2024 11:08 am    Post subject: Reply with quote

From wiki :
Quote:
Notice that BFQ is used as a value as example; this will match any patches named *BFQ*, it is matching using wildcards so that way the full patch name (which might change) doesn't have to be specified.


I suppose "5010" or "cpu-optimizations" should work for K_EXP_GENPATCHES_LIST
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum