Comment 0 for bug 1693250

Revision history for this message
Paolo Pisati (p-pisati) wrote :

[SRU Justification]

Over the course of time, the config used for the raspi2 branch, diverged from the config used for master/generic, and that could to different behaviours for kernel that should have the same (or largely the same) set of features ([1] is an example of this). What follows is the manual sync between the config of master/generic and the raspi2 branch.

After this config the number of kernel modules increased from 3332 to 3547, and the size of the kernel deb package increased from 35.4MB to 37.2MB, but since many non boot essential options were factored out as modules, the kernel itself went down from 6.7MB to 5.7MB - ~1MB of code was shaved.

[Fix]

Manually diff the config between master/generic and raspi2, split it for built-in options and modules, apply the sets by making sure none of the boot essentials or desiderata options are turned off - finally, review the resulting config and in case of errors go back to square one.

[Testcase]

The resulting kernel was testes on rpi2/3 in ubuntu classic, and ubuntu core, in headless and video output setup, all the main components were excercised: network, video, usb, cpu freq, etc.

People should probably test it on their own setup under their workloads and report any issue found.

[Regressione potential]

With such a change there's always potential for regression, but i tried to smoke test it on as many diverse setups as possible, and i've reviewed every config change, checking that we weren't changing anything fundamental.