summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2018-08-20bsp: Add tiny config entries for intel-x86yocto-4.15He Zhe
Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-08-14features/security: add configs to harden protectionAnuj Mittal
Add a feature that enables/disables configurations that impact kernel security with an aim of decreasing the attack surface. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-08-14cfg: add fragment for kernel-selftestHongzhi.Song
When you want to run cases under tool/testing/selftest of kernel-source, these fragments are required. Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-07-25standard: add bfp configs by defaultBruce Ashfield
Userspace functionality that requires BPF is becoming more common (even systemd is looking for it), so we globally enable these configs in the standard configuration. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-07-19rbd: Add fragments for Rados block deviceHe Zhe
Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-07-19intel-x86: Add preemp-rt config entriesHe Zhe
Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-07-13intel-x86: Add intel-x86 BSPsYongxin Liu
Create intel-x86-32/64 descriptions in yocto-kernel-cache. These BSPs include all the core support for intel-x86 BSP. This is an initial step to get the machines available and testing. Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-07-02igb.cfg: change igb config from m to yMohamad Noor Alim Hussin
Yocto Project reference board such as Minnowboard need IGB module to enable ethernet networking. It need to bundle together with kernel when use NFS boot without initramfs. Signed-off-by: Mohamad Noor Alim Hussin <mohamad.noor.alim.hussin@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-06-26bsp: create qemuarm-tiny configurationBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-06-22kernel features about debug: gather debug featuresHongzhi.Song
Collect debug configs and classify them into functional subdirectories. Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-06-20staging: octeon: Add a workaround for the issue of GCC8Bruce Ashfield
1/1 [ Author: Kevin Hao Email: kexin.hao@windriver.com Subject: staging: octeon: Add a workaround for the issue of GCC8 Date: Wed, 20 Jun 2018 18:41:55 +0800 In function cvm_oct_xmit(), the packet length is set with code like this: pko_command.s.total_bytes = skb->len; But when building with gcc8, the pko_command.s.total_bytes doesn't emit the right value when it is used in the following codes: /* Send the packet to the output queue */ if (unlikely(cvmx_pko_send_packet_finish(priv->port, priv->queue + qos, pko_command, hw_buffer, CVMX_PKO_LOCK_NONE))) { Adding a barrier after the assignment would generate the right codes. Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-05-28features/kernel-sample: add kernel sample supportDengke Du
When we build the kernel sample codes, we need to open the samples related configurations. Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-05-18mips: Disable attribute-alias warningsBruce Ashfield
1/2 [ Author: Khem Raj Email: raj.khem@gmail.com Subject: mips: Disable attribute-alias warnings Date: Fri, 4 May 2018 11:49:35 -0700 This warning is seen with gcc-8 include/linux/syscalls.h:211:18: error: 'sys_cachectl' alias between functions of incom patible types 'long int(char *, int, int)' and 'long int(long int, long int, long int)' Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] 2/2 [ Author: Khem Raj Email: raj.khem@gmail.com Subject: mips64: Disable attribute-alias warning Date: Fri, 4 May 2018 12:43:49 -0700 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-05-18powerpc: Disable attribute-alias warnings from gcc8Bruce Ashfield
1/2 [ Author: Khem Raj Email: raj.khem@gmail.com Subject: powerpc: Disable attribute-alias warnings from gcc8 Date: Fri, 4 May 2018 09:46:42 -0700 Fixes alias between functions of incompatible types warnings which are new with gcc8 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] 2/2 [ Author: Khem Raj Email: raj.khem@gmail.com Subject: powerpc/ptrace: Disable array-bounds warning with gcc8 Date: Fri, 4 May 2018 09:50:05 -0700 This masks the new gcc8 warning include/linux/regset.h:270:4: error: 'memcpy' offset [-527, -529] is out of the bounds [0, 16] of object 'vrsave' with type 'union <anonymous>' Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-05-10features/intel-pmc: add Intel pmc core supportLiwei Song
Add PMC Driver support for Intel Core SoC. Signed-off-by: Liwei Song <liwei.song@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-05-10kver: bump to v4.15.18Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-04-17features/net/team: Add Ethernet TEAM driversWenzong Fan
Add Ethernet TEAM drivers for supporting libteam: The Team softdev Linux driver provides a mechanism to team multiple NICs (ports) into a single logical one (teamdev) at L2 layer. This process is called "channel bonding", "Ethernet bonding", "channel teaming", "link aggregation", etc. Bonding is already implemented in the Linux kernel but the Team softdev Linux driver is modular, userspace driven, very lean and efficient, and it does have some distinct advantages over the kernel's bonding driver. Detail description can be found in: http://libteam.org Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-03-27systemtap: include note about CONFIG_KERNEL_DEBUGBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-03-26kver: bump to v4.15.13Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-03-22features/wifi: Add WiFi driver fragments for various vendors/interfacesNathan Rossi
This change adds WiFi driver configuration fragments. The fragments are split into vendor and interface files to allow for easy selection of drivers for specific interface types (USB, PCI, SDIO) which is useful for BSPs with specific interfaces. The specific vendor/interface config fragments can be included by specific BSPs in its .scc files. However .scc files (wifi-*.scc) are provided to allow enabling interface specific or all interfaces drivers via KERNEL_FEATURES or inclusion via other .scc files. And wifi-common.scc is provided to enable the base config options required for all WiFi drivers, which is done to ensure correct configuration for default no config setups (e.g. linux-yocto-tiny). This patch only enables a limited set of drivers, which is based on what the common-pc-wifi.cfg fragment sets as well as some additional drivers, that primarily appear in USB WiFi devices. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-03-22mpc8315e-rdb: Enable Realtek PHY driverKevin Hao
A Realtek RTL8211B PHY is integrated on mpc8315erdb board. It works pretty well with the genphy driver. But now we apply a patch for the Realtek PHY driver in order to fix an Ethernet broken issue on this board. So enable this chip specific driver to make sure that fix can take effect. Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-03-14Revert "features/systemtap/systemtap.cfg: enable CONFIG_KERNEL_DEBUG"Bruce Ashfield
This reverts commit 54b3e9b768651ca15bf65ae1c72dfe6d957285f0.
2018-03-05features/systemtap/systemtap.cfg: enable CONFIG_KERNEL_DEBUGVictor Kamensky
Need to enable CONFIG_KERNEL_DEBUG in systemtap feature, otherwise CONFIG_DEBUG_INFO set by systemtap.cfg does not have any effect since it depends on CONFIG_KERNEL_DEBUG and is set off in resulting config. So systemtap cannot find DWARF information in resulting kernel. Signed-off-by: Victor Kamensky <kamensky@cisco.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-03-05aufs: fix compile warningBruce Ashfield
1/1 [ Author: "Kexin(Casey) Chen" Email: Casey.Chen@windriver.com Subject: aufs: fix compile warning Date: Wed, 28 Feb 2018 20:44:52 -0500 Forward port linux-yocto-4.8's patch to fix the build warning. http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-4.8/commit/?h=standard/base&id=7e0dd2f2b0971f0e3191e1ddc088e09eb9855567 fs/aufs/debug.h:95:19: warning: comparison of constant '0' with boolean expression is always false [-Wbool-compare] if (unlikely((e) < 0)) \ ^ fs/aufs/vdir.c:852:2: note: in expansion of macro 'AuTraceErr' AuTraceErr(!valid); ^~~~~~~~~~ In expansion of AuTraceErr(!valid), comparison of (!valid) and constant '0' always passes unlikely(x) false. function 'static int seek_vdir(struct file *file, struct dir_context *ctx)' is to find whether there is a valid vd_deblk following ctx->pos. return 1 means valid, 0 for not. Change to AuTraceErr(valid - 1) makes more sense. Signed-off-by: Kexin(Casey) Chen <Casey.Chen@windriver.com> Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-03-05kver: bump to v4.15.7Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-02-23yaffs2: include rawnand.h instead of nand.hBruce Ashfield
1/2 [ Author: Kevin Hao Email: kexin.hao@windriver.com Subject: yaffs2: include rawnand.h instead of nand.h Date: Fri, 23 Feb 2018 13:31:33 +0800 The nand.h has been renamed to rawnand.h by commit d4092d76a4a4 ("mtd: nand: Rename nand.h into rawnand.h"), adjust the yaffs2 code according to this change. Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] 2/2 [ Author: Kevin Hao Email: kexin.hao@windriver.com Subject: yaffs2: Adjust the timer callback and init functions Date: Fri, 23 Feb 2018 13:32:51 +0800 The timer callback argument type has been changed by commit 354b46b1a0ad ("timer: Switch callback prototype to take struct timer_list * argument") and init_timer_on_stack() is also removed by commit 9c6c273aa424 ("timer: Remove init_timer_on_stack() in favor of timer_setup_on_stack()"). Adjust the codes in yaffs2 according to these changes. Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-02-13kver: bump to v4.15.3Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-02-12bsp/intel-common: enable HIGHMEM64G for 32 bit bspsAnuj Mittal
Enable support for PAE and more than 4 GB of RAM. This config was getting included from within the platform specific BSPs that have been removed. Include it here to make sure there is no change in behavior for Intel BSPs. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-02-12bsp/intel-common: enable missing features for intel bspsAnuj Mittal
Now that we've removed the platform specific BSP configs that were being included from intel-common, enable those features seprately. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-02-12features: add config to support i2c-iSMTAnuj Mittal
If enabled, support will be included for the Intel iSMT SMBus host controller interface. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-02-12features: add config to support intel TCO watchdogAnuj Mittal
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-02-12bsp: remove machine and configs for unsupported platformsAnuj Mittal
Remove configs for platforms in bsp/. These bsps should use intel-common for configuration to avoid duplication and overlap. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-02-02v4.15: patch refreshBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-02-01kver: v4.15 feature prepBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-01-09kvm : enable VHOST of host for qemu running guestHongzhi.Song
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-12-20common-pc: enable X2APIC universallyBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-12-20common-pc-64: enable x2apic universallyBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-12-08mti-malta32: enable CONFIG_HIGHMEM for qemumips to support up to 2GiB RAMHongxu Jia
OE uses qemumips to simulate a Malta board by default. As upstream qemu introduced: https://git.qemu.org/?p=qemu.git;a=commit;h=94c2b6aff43cdfcfdfb552773a6b6b973a72ef0b The Malta board can support up to 2GiB of RAM which should be able to boot a Linux kernel built with CONFIG_HIGHMEM enabled. For mips, the `High Memory Support' only makes sense for the 32-bit kernel. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-12-07features/i915/i915.cfg: compile i915 as a moduleLiwei Song
Set i915 as a module to trigger the firmware load at the same time the module is loaded. This can avoid a timing problem between the driver starting and it triggering a firmware load, after compile it as module i915 driver will start after the rootfs is ready, then the firmware store in /lib/firmware/ can be load successful by i915 driver. Signed-off-by: Liwei Song <liwei.song@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-12-07common-pc*.scc: Add igb to common-pc driversSaul Wold
The IGB driver is showing up on some general hardware (like MinnowBoard) which is one of the Yocto Project Reference Platforms. Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-12-04vrf: Add featureHe Zhe
Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-12-02v4.15-rcX: compliation fixesBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-12-01x86-64: disable orc by defaultBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-12-01patches: 4.15-rc1 refreshesBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-11-29kver: bump tp v4.15-rc1Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-11-16features/dca/dca.cfg: fix CONFIG_IXGBE_DCA can not enble if build ixgbe in ↵Liwei Song
kernel if we set CONFIG_IXGBE=y to build ixgbe in kernel, CONFIG_IXGBE_DCA can not be enabled since dependcy: IXGBE_DCA depend (IXGBE [=y]!=y || DCA [=y]!=m) although we set CONFIG_IXGBE_DCA=y in ixgbe.cfg; This will led a kernel config check warning as below: Requested value: CONFIG_IXGBE_DCA=y Actual value: To make CONFIG_IXGBE_DCA work, set CONFIG_DCA=y and CONFIG_INTEL_IOATDMA=y this also can aviod the check warning. Signed-off-by: Liwei Song <liwei.song@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-11-16features/iommu/iommu.cfg: remove CONFIG_INTEL_IOMMU_DEFAULT_ON=nLiwei Song
There is no need pass "n" to CONFIG_INTEL_IOMMU_DEFAULT_ON, change it to "# CONFIG_INTEL_IOMMU_DEFAULT_ON is not set" to keep consistent with teh final .config This can avoid yocto config check warning when build kernel: Requested value: CONFIG_INTEL_IOMMU_DEFAULT_ON=n Actual value: # CONFIG_INTEL_IOMMU_DEFAULT_ON is not set Signed-off-by: Liwei Song <liwei.song@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-11-16features/tpm/tpm.cfg: set CONFIG_HW_RANDOM_TPM as moduleLiwei Song
CONFIG_HW_RANDOM was set to "m" by default in Kconfig, this make CONFIG_HW_RANDOM_TPM only can be build as module, So change CONFIG_HW_RANDOM_TPM=y to CONFIG_HW_RANDOM_TPM=m to aviod kernel configcheck warning: Requested value: CONFIG_HW_RANDOM_TPM=y Actual value: CONFIG_HW_RANDOM_TPM=m Signed-off-by: Liwei Song <liwei.song@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-11-02cgroups.cfg: Add missing controllersJason Wessel
The the new controllers were added several kernels back and are required for additional functionality. These are applicable to the 4.9 kernel and newer. Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-11-01features/mmc/mmc-realtek: enable Realtek PCI-E card reader supportLiwei Song
Enable the following kernel option to support Realtek PCI-E card reader on NUC7i7BNH/NCU7I5BNH: CONFIG_MFD_RTSX_PCI=m CONFIG_MMC_REALTEK_PCI=m Signed-off-by: Liwei Song <liwei.song@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>