summaryrefslogtreecommitdiffstats
path: root/features
Commit message (Collapse)AuthorAgeFilesLines
* Fix kaudit warnings after hardknott refreshAlexandru Avadanii2022-07-0713-19/+224
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. 'CONFIG_XOR_BLOCKS' last val (m) and .config val (y) do not match * Previously we tried to configure this as 'm' to reduce the kernel footprint, but it is selected indirectly as 'y' via: CONFIG_MD_RAID456 (y, set by Intel x86 BSP) CONFIG_ASYNC_XOR CONFIG_XOR_BLOCKS 2. 'CONFIG_CRC_ITU_T' last val (m) and .config val (y) do not match * Upstream 'nfc-generic.cfg' sets this to 'm', but our 'mmc_sd_y.cfg' selects it as 'y' via: CONFIG_MMC_SPI (y) CONFIG_CRC_ITU_T 3. 'CONFIG_ISDN_CAPI' last val (y) and .config val (n) do not match * Upstream enables ISDN, but our kernel footprint reduction disables one of its dependencies (CONFIG_BT=n), make it explicit. 4. 'CONFIG_MEDIA_PLATFORM_SUPPORT' last val (y) and .config val (n) do not match * Upstream enables it, but our kernel footprint reduction disables one of its dependencies (CONFIG_MEDIA_SUPPORT=n), make it explicit. 5. 'CONFIG_*' (many similar options, all depending on CONFIG_IIO) last val (m) and .config val (n) do not match * Upstream enables them, but our kernel footprint reduction disables one of their dependencies (CONFIG_IIO=n) via 'accelerometers_n.cfg'; * create a new configuration fragment ('iio_n.scc') for this and gather all IIO dependencies that we want disabled to make them explicit (moving CONFIG_IIO=n from 'accelerometers_n.cfg' to 'iio_n.cfg'); * 'iio_n.cfg' contains all configuration from yocto-kernel-cache 'iio.cfg' (changing 'm' and/or 'y' to 'n'), including the options that were previously handled by existing features in: - features/accelerometers/accelerometers_n.cfg; - features/inclinometer/inclinometer_n.cfg; - features/hidsensor/hidsensor_n.cfg; * 'iio_n.scc' replaces the 3 old fragments, especially since they were always included together; 6. 'CONFIG_INPUT_SOC_BUTTON_ARRAY' last val (m) and .config val (n) do not match * Upstream enables it, but our kernel footprint reduction disables one of its dependencies (CONFIG_KEYBOARD_GPIO=n), make it explicit. 7. 'CONFIG_INTEL_SOC_PMIC' last val (y) and .config val (n) do not match * Upstream enables it, but our 'i2c_m.cfg' (when added to KERNEL_FEATURES) breaks two of its dependencies (CONFIG_I2C=y, I2C_DESIGNWARE_PLATFORM=y), make it explicit. 8. 'CONFIG_TYPEC_TCPM' last val (m) and .config val (n) do not match 'CONFIG_TYPEC_TCPCI' last val (m) and .config val (n) do not match * Upstream enables them, but our kernel footprint reduction disables one of their dependencies (CONFIG_TYPEC=n), make it explicit. 9. 'CONFIG_SERIO_I8042' last val (m) and .config val (n) do not match * We enable the SERIO_I8042 (wrongfully?) via 'keyboard_n.scc', but its dependency (CONFIG_SERIO) is already disabled by both 'input_n.scc' and 'serio_n.scc'. * re-order scc fragments to silence the warning without changing any actual configuration fragment; 10. 'CONFIG_PRINTER' last val (m) and .config val (n) do not match * Upstream enables it, but our kernel footprint reduction disables one of its dependencies (CONFIG_PARPORT=n), make it explicit. 11. 'CONFIG_USB_NET_RNDIS_HOST' last val (m) and .config val (n) do not match * Upstream enables it, but our kernel footprint reduction disables one of its dependencies (CONFIG_USBNET=n), make it explicit. 12. 'CONFIG_USB_GADGET_VBUS_DRAW' last val (2) and .config val (n) do not match (same with 'CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS') * Both depend on 'USB_GADGET'. Change-Id: Id17c54348adbedcd110f0e4a456763797834c6a8 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
* features/cpulist_abbrev: Fix "last" usageAlexandru Avadanii2021-07-071-7/+13
| | | | | | | | | | | | Adding support for "63" as an alias for "last", although working with "63", broke support for "last". Note: "last" and "63" cannot be used at the same time in an expression. Fixes: f86788bac0c8aaa0903aa2ef3b98ec0327a56d5b Change-Id: I865b7a9589e9aaf601a2c317201a4b3771db4cd2 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
* features/cpulist_abbrev: Add "63" alias for "last"Alexandru Avadanii2021-07-062-0/+59
| | | | | Change-Id: Ie82d70f74f36f9c064411b2f8ef0a7391aee9284 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
* features: Add IGC driver supportCatalin Iova2021-06-232-0/+5
| | | | | Change-Id: I628e711b78391e9474a708d963f3e1bfc00e0113 Signed-off-by: Catalin Iova <Catalin.Iova@enea.com>
* Fix kaudit warnings for guest kernelAlexandru Avadanii2021-06-223-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. CONFIG_UNWINDER_FRAME_POINTER New in kernel v4.15+. Since we want to disable FRAME_POINTER, this one should be disabled too (or it will select FRAME_POINTER). Adding it will lead to honoring our FRAME_POINTER setting. Note that having a kernel unwinder is mandatory, so only disabling UNWINDER_FRAME_POINTER will automatically select UNWINDER_ORC on x86_64. Set CONFIG_UNWINDER_GUESS=y instead to avoid runtime overhead with the cost of having less precise debug information on kernel crashes. 2. CONFIG_REGMAP Selected by I2C_DESIGNWARE_CORE, which we enabled as a load-module. Adding it to i2c_m.cfg only silences the kaudit warning, as it is already selected. 3. CONFIG_BLK_DEV_SR reduced_kernel_footprint_guest: Remove config cdrom_n.scc, which is used as dependency by other features (cloud-init NoCloud on CDROM). Change-Id: I03f5f19c6ea535dfe90cae2068ffbdc99b07f8f4 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
* features/ata/ata_piix_y: Add new fragmentAlexandru Avadanii2021-06-222-0/+5
| | | | | | | | | | This will be leveraged by the Enea Edge VNF guest kernel to enable inbuilt support for Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA, required for early probing of cloud-init NoCloud datasource attached as CDROM. Change-Id: If7e595d034d5bc6b0c82f6845e79af34a1c6ac99 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
* features: Add acpi_tiny_pwrbtn_y fragmentAlexandru Avadanii2021-06-222-0/+6
| | | | | | | | This disables ACPI_BUTTON and instead enables ACPI_TINY_POWER_BUTTON. It will be leveraged by both host and guest kernels to replace acpid. Change-Id: I4f564c0473b30d8f8df675aee571bc31f59a3d2d Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
* devcoredump: disable coredump by defaultAdrian Calianu2021-06-151-2/+1
| | | | | | | | | but let drivers enable it For example ATH10K selects WANT_DEV_COREDUMP. Change-Id: I61acf92a513ccfa9f6b37d00660da52cb676e718 Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
* update configs to 5.10 kernelAdrian Calianu2021-05-2512-19/+12
| | | | | | | | - configs become obsolete and have been removed from kernel Change-Id: I793daf45d978702f162b72950f19862a4141c899 Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
* igb: allow to build IGB as moduleAdrian Calianu2021-05-257-1/+30
| | | | | Change-Id: I232b2262db4b2fb3478a3ca15088d1c78d157069 Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
* reduced_kernel_footprint_guest: update to 5.10Adrian Calianu2021-05-251-6/+0
| | | | | | | | - remove configs which are used as dependencies by other configs/features. For example i2c is required by igb driver. Change-Id: Iaa50fb019877b0155f98d721bafdd9ecc028538e Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
* fix MMC related config check warningAdrian Calianu2021-05-142-0/+6
| | | | | | | | | | | | 'CONFIG_MMC_USHC' last val (y) and .config val (m) do not match Since we have set CONFIG_USB as module and upstream config CONFIG_MMC_USHC as builtin - we need to force the last one to be built as module Change-Id: I884432274155b3549bf085f16503a928e6d1c0cf Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
* resolv kernel config check warningsAdrian Calianu2021-05-144-25/+21
| | | | | | | | | | | | | | | | | | | | - removed trailing whitespaces - 'CONFIG_RAID6_FORCE_INT' last val (y) and .config val (n) do not match - remove it, use AVX2 - 'CONFIG_E1000E_HWTS' last val (m) and .config val (y) do not match - must be builtin - 'CONFIG_ATH_COMMON' last val (n) and .config val (m) do not match - most be added explicitly - update features/nfs/nfs_n.cfg to 5.10 kernel to fix follwoing info: [INFO]: the following symbols were not found in the active configuration: - CONFIG_NFSD_FAULT_INJECTION - CONFIG_CIFS_STATS - CONFIG_CIFS_ACL - CONFIG_CIFS_SMB2 - CONFIG_NCP_FS Change-Id: Icc21ae92125b997af9d819b22bc41e5edb1f4a81 Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
* fix kernel check warning related to consoleAdrian Calianu2021-05-141-1/+5
| | | | | | | | 'CONFIG_DUMMY_CONSOLE' last val (n) and .config val (y) do not match - dummy console is no longer optional since Change-Id: I34f5fb1db595eb9800e7a34f202c934023660319 Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
* features/nfs/nfs_n: fix build issueAdrian Calianu2021-05-141-1/+0
| | | | | | | | | | kernel build warning: "[INFO]: Fragments with badly formatted configuration options: - fragment configs/v5.10/standard/features/nfs/nfs_n.cfg has the following issues: #CONFIG_NFS_DEF_FILE_IO_SIZE=4096" Change-Id: Id763daca97d02a288f8d4a05abdf0b1614a544a4 Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
* update kernel configs to 5.10 Linux kernel versionAdrian Calianu2021-05-1438-105/+82
| | | | | | | | | | | | Current changes followed few issues: - configs removed starting with 4.14(rocko kernel) - configs renamed starting with 4.14 - new configs - not touched - should be covered my main configuration - in case a subconfig is required kernel build it will select it utomatically Change-Id: I13360ebe556630ccd23aee3b82557ac4a2cdf359 Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
* debug: update to cover more debug featuresAdrian Calianu2021-05-142-2/+12
| | | | | | | | | | Make sure final config file does not contain debug features because it will increase the kernel size. New configs were induces by upstream changes like default machine(intel-corei7-64-standard). Change-Id: I9f8915f5829322b2caedcc8b174b41580ae30f50 Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
* openvswitch: update to 5.10 kernelAdrian Calianu2021-05-144-4/+12
| | | | | | | | | Enable CMA(Contiguous Memory Allocator) required by OVS to work with hugepages. Update other configs to 5.10 kernel Change-Id: Ib6dbaf1fd02bf09a4899d7f750acdb92df0a50d1 Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
* reduced_kernel_footprint: update to 5.10Adrian Calianu2021-05-145-0/+22
| | | | | | | | | - removed NFS since is not requirement on NFV Access - move other features as modules since are not required at boot time like hwmon, leds... Change-Id: I25b378575ad101367d771be356a205fde11a1530 Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
* Adding nct6775 driverintel-4.14Catalin Iova2021-02-192-0/+5
| | | | | Change-Id: I31d83e6c287477250ef25a85354ff78c793bf5bd Signed-off-by: Catalin Iova <Catalin.Iova@enea.com>
* Don't build ixgbe and ixgbevf in kernelDragos Ciprian Nedelcu2021-02-184-0/+14
| | | | | Change-Id: I76bee72dd85e62aecda919b97b9991d354036105 Signed-off-by: Dragos Ciprian Nedelcu <Dragos.Ciprian.Nedelcu@enea.com>
* features/wlan: Add ath10k AP config fragmentsAlexandru Avadanii2021-01-184-0/+16
| | | | | | | | | | 2 configuration fragments are necessary for full functionality of ath10k in AP mode: - Atheros dynamic user regulatory hints support; - ATH10k Dynamic Frequency Selection support; Change-Id: I0ff4de6e93b2fa5908e8ef47860d734480920791 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
* cfg: features/ipmi: Add IPMI SSIF fragmentAlexandru Avadanii2020-10-202-0/+2
| | | | | | | | Upstream has an ipmi.scc that enables (most of) IPMI support, but lacks IPMI_SSIF. Add a separate fragment for it. Change-Id: I1ea1d43520bc46dd271615fc5719da6d5531a269 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
* Add x2APIC supportAdrian Calianu2019-05-132-0/+6
| | | | | | | | | It provides interrupt re-mapping support. In case x2APIC is not available xAPIC will be enabled which also support interrupt re-mapping. Change-Id: I7c61194d9b9d8cb6d82d5f978000c363824c58a3 Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
* Increase and set ramdisk size from kernel configSona Sarmadi2019-05-072-0/+6
| | | | | | | | | | | Increase ramdisk size and set it from kernel config instead of setting it as kernel boot parameter. We have big number of kernel params and at some point it will be difficult to maintain all kernel boot params. Change-Id: I3f8788e5c457e87a242a894349dd4025e4283bd2 Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com>
* Enable ATH10K driversGabriel Ionescu2019-04-242-0/+9
| | | | | Change-Id: Ide48a56d70c0faec8fce99fa6b170e1a84af97c7 Signed-off-by: Gabriel Ionescu <gabriel.ionescu@enea.com>
* Add basic WLAN support in the kernelGabriel Ionescu2019-04-172-0/+15
| | | | | Change-Id: I0da27ee43fa91d8ce987b63efd9c4e6494c68973 Signed-off-by: Gabriel Ionescu <gabriel.ionescu@enea.com>
* Add kernel fragment that sets a 30s reset timeout on kernel panicGabriel Ionescu2019-02-052-0/+6
| | | | | Change-Id: I273563bf7064c4cd909c6707c2530d5de2ef636f Signed-off-by: Gabriel Ionescu <gabriel.ionescu@enea.com>
* Add kernel fragment that supports gigapagesGabriel Ionescu2019-01-312-0/+15
| | | | | Change-Id: Idf218f4b1e427e32255d79814745f941cc16f80a Signed-off-by: Gabriel Ionescu <gabriel.ionescu@enea.com>
* Enable Qualcomm and Sierra serial driversAdrian Calianu2018-10-301-5/+5
| | | | | Change-Id: I4585b9197b714cf68e84b7f938696f793592875a Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
* Add config for enabling multitouch support.Adrian Mangeac2018-10-052-0/+5
| | | | | Change-Id: I9c4ec12d6d23a97bafce80b3759b73fce8fc0c74 Signed-off-by: Adrian Mangeac <Adrian.Mangeac@enea.com>
* Merge "features/usbGadget: Add support for 3G usb modems" into intel-4.14Martin Borg2018-10-041-1/+2
|\
| * features/usbGadget: Add support for 3G usb modemsBogdan Pricope2018-10-041-1/+2
| | | | | | | | | | | | | | | | | | | | 4G usb modems require option and usb_wwan drivers. Tested with Huawei Technologies Co., Ltd E220 HSDPA Modem Change-Id: Ibac3f17cfb2e9eed7eb389c216d3f189fb140f7d Signed-off-by: Bogdan Pricope <Bogdan.Pricope@enea.com> Signed-off-by: Adrian Calianu <adrian.calianu@enea.com> Signed-off-by: Martin Borg <martin.borg@enea.com>
* | Add kernel configurations for enabling video and audio.Adrian Mangeac2018-10-044-0/+42
|/ | | | | | Change-Id: I6a8ed6c7c57255864de28d8695fc07d0c6dd5834 Signed-off-by: Adrian Mangeac <Adrian.Mangeac@enea.com> Signed-off-by: Martin Borg <martin.borg@enea.com>
* Added mdt tests as loadable moduleDragos Motrea2018-10-042-0/+6
| | | | | | | | | | | In order to install ddt-runner-ng, the kernel-module-mdt-readtest package is required. It is built if the CONFIG_MDT_TESTS is enabled in the kernel config. Change-Id: Ie1cc3dedd3047d415bcc05e95e1a3a5c343f7b3c Signed-off-by: Dragos Motrea <Dragos.Motrea@enea.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com>
* enable text mode consolesAdrian Calianu2018-06-194-80/+32
| | | | | | removed unused vga Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
* atomc-3000: update kernel configs to match with 4.9 kernelAdrian Calianu2018-05-113-1/+2
| | | | Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
* Configure kernel to include the OVS kernel moduleSona Sarmadi2018-04-302-0/+7
| | | | | Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
* Explicitly set SCSI support as built inGabriel Ionescu2018-04-234-0/+15
| | | | Signed-off-by: Gabriel Ionescu <gabriel.ionescu@enea.com>
* kernel features used as installer supportAdrian Calianu2018-04-2021-40/+943
| | | | | | | | | Also enable as modules devices that can be connected to a target: - usb - hsi - firewire Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
* Kernel: Add fragments to support booting from an USB and CDROMGabriel Ionescu2018-03-2210-0/+80
| | | | | | | | The patch adds support for booting the live image and installer off of various storage types, including USB sticks and CDROMs. Signed-off-by: Gabriel Ionescu <gabriel.ionescu@enea.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
* Move netfilter related configs under the same folderAdrian Dudau2018-03-2010-5/+5
| | | | | | | Rename them to reflect the type of config (_y,_n,_m) they execute. Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Martin Borg <martin.borg@enea.com>
* features/ip_Vs: Add IP VIrtual Serverl support as moduleAdrian Dudau2018-03-122-0/+8
| | | | | Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Martin Borg <martin.borg@enea.com>
* features/physdev: Move as standalone feature and add full dependenciesAdrian Dudau2018-03-123-2/+9
| | | | | Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Martin Borg <martin.borg@enea.com>
* features/raw: Add support for raw iptables tableAdrian Dudau2018-03-122-0/+7
| | | | | Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Martin Borg <martin.borg@enea.com>
* features/ipset: Add full dependencies and clean the configsAdrian Dudau2018-03-122-17/+7
| | | | | | | Build as a module Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Martin Borg <martin.borg@enea.com>
* features/ct: Add support for CT target in iptablesAdrian Dudau2018-03-122-0/+15
| | | | | Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Martin Borg <martin.borg@enea.com>
* Add support for ISO FSAdrian Calianu2018-02-052-0/+14
| | | | | | required to mound CD-ROM images like the ones used for cloud-init Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
* Enable physdev match supportAdrian Dudau2017-11-142-0/+5
| | | | | Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Martin Borg <martin.borg@enea.com>
* Add ipset supportAdrian Dudau2017-11-142-0/+23
| | | | | Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Martin Borg <martin.borg@enea.com>