Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 578592 - sys-kernel/gentoo-sources-4.5.0 typo in the Kconfig results in an empty value for Broadwell processor
Summary: sys-kernel/gentoo-sources-4.5.0 typo in the Kconfig results in an empty value...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-30 11:42 UTC by Steven Noonan
Modified: 2016-04-19 15:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Noonan 2016-03-30 11:42:45 UTC
There's a single character typo in the Kconfig that results in an empty CONFIG_X86_L1_CACHE_SHIFT if the 'Broadwell' processor option is selected. This would be the fix:

--- a/arch/x86/Kconfig.cpu       2016-03-30 11:40:41.214509885 +0000
+++ b/arch/x86/Kconfig.cpu       2016-03-30 11:40:48.604526626 +0000
@@ -430,7 +430,7 @@
 config X86_L1_CACHE_SHIFT
        int
        default "7" if MPENTIUM4 || MPSC
-       default "6" if MK7 || MK8 || MK8SSE3 || MK10 || MBARCELONA || MBOBCAT || MBULLDOZER || MPILEDRIVER || MJAGUAR || MPENTIUMM || MCORE2 || MNEHALEM || MWESTMERE || MSILVERMONT || MSANDYBRIDGE || MIVYBRIDGE || MHASWELL || BROADWELL || MNATIVE || MATOM || MVIAC7 || X86_GENERIC || GENERIC_CPU
+       default "6" if MK7 || MK8 || MK8SSE3 || MK10 || MBARCELONA || MBOBCAT || MBULLDOZER || MPILEDRIVER || MJAGUAR || MPENTIUMM || MCORE2 || MNEHALEM || MWESTMERE || MSILVERMONT || MSANDYBRIDGE || MIVYBRIDGE || MHASWELL || MBROADWELL || MNATIVE || MATOM || MVIAC7 || X86_GENERIC || GENERIC_CPU
        default "4" if MELAN || M486 || MGEODEGX1
        default "5" if MWINCHIP3D || MWINCHIPC6 || MCRUSOE || MEFFICEON || MCYRIXIII || MK6 || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || M586TSC || M586 || MVIAC3_2 || MGEODE_LX

Reproducible: Always
Comment 1 Steven Noonan 2016-03-30 11:43:31 UTC
This is gentoo-sources-4.5.0 with USE="+experimental" by the way.