Bug 8773

Summary: refactor yocto-kernel-cache common-pc / intel-common scc/cfg file to reduce delta & overlap
Product: [Build System, Metadata & Runtime] BSPs Reporter: Saul Wold <sgw>
Component: bsps-configurationAssignee: California Sullivan <california.l.sullivan>
Status: RESOLVED OBSOLETE QA Contact:
Severity: enhancement    
Priority: Undecided CC: alexandru.c.georgescu, bruce.ashfield, jianxun.zhang, jose.perez.carranza, richard.purdie, yp.bsp.watcher, yp.watcher
Version: 2.2   
Target Milestone: Future   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: New (Never tested)
Verified: Documentation change: Yes (doc changes required)

Description Saul Wold 2015-12-04 17:37:16 UTC
Investigate and implement a solution that will reduce the differences between the common-pc and intel-common configurations. In most of the cases these share common values and can be refactored to share the same set of .scc files.
Comment 1 California Sullivan 2016-02-17 22:30:21 UTC
I have done some initial scoping, and I don't think this will make it into the 2.1 release.

Doing a diff of kernel configs between intel-corei7-64 and genericx86_64 MACHINEs, there are 1153 differences. Here they are broken down:

* 487 options set to "is not set" and not present in the other config
* 8 options set to 'm' in one config and 'y' in the other
* 457 options set to 'm' in one config and not present in the other (mostly added in intel-corei7-64)
* 103 options set to 'y' in one config and not present in the other
* 37 options set to 'm' in one config and 'is not set' in the other
* 61 options set to 'y' in one config and 'is not set' in the other

I would consider the last three rows to be important differences that need to be looked through in depth, which will take some time.
Comment 2 California Sullivan 2016-06-27 16:58:09 UTC
The differences between the two BSP sets are mostly logical right now:

common-pc is a base configuration + virtio configurations + some AMD configurations.

intel-common is common-pc without virtio or AMD configurations, but with many Intel drivers enabled, and with expanded module support.

There are some changes I would like to make, but it would be mostly cosmetic, so I am lowering the priority on this for now.
Comment 3 Richard Purdie 2018-10-11 15:18:08 UTC
The remaining changes were "mostly cosmetic" and the kernel cache has changed a lot so obsoleting.