summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-07-11common-pc: enforce 32 bityocto-4.6Bruce Ashfield
ARCH=x86 defaults to 64 bit on modern kernels. So we need to explicitly disable 64bit in common-pc if we want a 32bit build (common-pc builds with ARCH=x86, not ARCH=i386) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-07-03mei.cfg: Add CONFIG_INTEL_MEI_TXE=mSaul Wold
This will create the TXE based Intel Management Excution Interface to support additional chipsets. Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-06-30features/thermal: enable Intel powerclamp driverRebecca Chang Swee Fun
Enable powerclamp to enforce idle time in which will contribute to more C-states residency. Signed-off-by: Rebecca Chang Swee Fun <rebecca.swee.fun.chang@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-06-30broxton: set CONFIG_GPIO_GENERIC_PLATFORM instead of CONFIG_GPIO_GENERICRebecca Chang Swee Fun
CONFIG_GPIO_GENERIC option is tristate, this will ensure we enable by selecting CONFIG_GPIO_GENERIC_PLATFORM. This addresses the following message: Value requested for CONFIG_GPIO_GENERIC not in final ".config" Requested value: "CONFIG_GPIO_GENERIC=y" Actual value set: "" Signed-off-by: Rebecca Chang Swee Fun <rebecca.swee.fun.chang@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-06-30firmware: remove invalid +CONFIG*Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-06-27features/input: Add keyboard-gpio featureCalifornia Sullivan
This feature adds keyboard-gpio support to the kernel. We also add a specific implementation by default. More can be added as necessary. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-06-24cfg/boot-live: Use vfat featureTom Zanussi
Use the vfat feature instead of directly configuring it. The vfat feature also now includes enabling the NLS defaults for VFAT_FS, so remove them here. Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-06-24cfg/usb-mass-storage: Use vfat featureTom Zanussi
Use the vfat feature instead of directly configuring it. FAT_FS is automatically selected by VFAT_FS as well as MSDOS_FS, so remove it here. Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-06-24cfg/fs/vfat: Enable NLS defaultsTom Zanussi
VFAT_FS defaults to codepage 437 and iso8559-1, but doesn't enable the NLS support, so have the feature do it. Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-05-27Revert "common-pc*: Have *-standard BSPs use standard/intel"Tom Zanussi
This reverts commit 1c4353d569cb037064fdb378d3be9ac7e4bc08d1. Restrict standard/intel visibility to meta-intel i.e. don't touch common-pc*. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-05-26intel-quark-tiny: Use standard/tiny/intel branchTom Zanussi
We now have a dedicated standard/tiny/intel branch for Intel platforms, so have the core meta-intel BSPs make use of it. Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-05-26intel-quark-tiny: Add common-pc branch to match KBRANCHTom Zanussi
Because meta-intel linux-yocto-tiny specifies a KBRANCH of standard/tiny/common-pc, we get the below warning since the board metadata doesn't match that. Add a common-pc branch to sync them up. WARNING: .. do_patch: After meta data application, the kernel tree branch is standard/tiny/base. WARNING: .. do_patch: The SRC_URI specified branch standard/tiny/common-pc. WARNING: .. do_patch: WARNING: .. do_patch: The branch will be forced to standard/tiny/common-pc, but this means the board meta data WARNING: .. do_patch: (.scc files) do not match the SRC_URI specification. WARNING: .. do_patch: WARNING: .. do_patch: The meta data and branch standard/tiny/common-pc should be inspected to ensure the proper WARNING: .. do_patch: kernel is being built. Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-05-26common-pc*: Have *-standard BSPs use standard/intelTom Zanussi
We now have a dedicated standard/intel branch for Intel platforms, so have common-pc*/*-standard BSPs make use of it. Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-05-26intel: Use standard/preempt-rt/intel branchTom Zanussi
We now have a dedicated standard/preempt-rt/intel branch for Intel platforms, so have the core meta-intel BSPs make use of it. Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-05-26intel: Use standard/intel branchTom Zanussi
We now have a dedicated standard/intel branch for Intel platforms, so have the core meta-intel BSPs make use of it. Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-05-19kver: bump to v4.6Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-05-12powerpc/ptrace: Fix out of bounds array access warningBruce Ashfield
1/2 [ Author: Khem Raj Email: raj.khem@gmail.com Subject: powerpc/ptrace: Fix out of bounds array access warning Date: Mon, 25 Apr 2016 05:47:01 +0000 gcc-6 correctly warns about a out of bounds access arch/powerpc/kernel/ptrace.c:407:24: warning: index 32 denotes an offset greater than size of 'u64[32][1] {aka long long unsigned int[32][1]}' [-Warray-bounds] offsetof(struct thread_fp_state, fpr[32][0])); ^ check the end of array instead of beginning of next element to fix this Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Kees Cook <keescook@chromium.org> Cc: Michael Ellerman <mpe@ellerman.id.au> Cc: Segher Boessenkool <segher@kernel.crashing.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] 2/2 [ Author: Paul Burton Email: paul.burton@imgtec.com Subject: MIPS: Prevent "restoration" of MSA context in non-MSA kernels Date: Thu, 21 Apr 2016 18:04:53 +0100 If a kernel doesn't support MSA context (ie. CONFIG_CPU_HAS_MSA=n) then it will only keep 64 bits per FP register in thread context, and the calls to set_fpr64 in restore_msa_extcontext will overrun the end of the FP register context into the FCSR & MSACSR values. GCC 6.x has become smart enough to detect this & complain like so: arch/mips/kernel/signal.c: In function 'protected_restore_fp_context': ./arch/mips/include/asm/processor.h:114:17: error: array subscript is above array bounds [-Werror=array-bounds] fpr->val##width[FPR_IDX(width, idx)] = val; \ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./arch/mips/include/asm/processor.h:118:1: note: in expansion of macro 'BUILD_FPR_ACCESS' BUILD_FPR_ACCESS(64) The only way to trigger this code to run would be for a program to set up an artificial extended MSA context structure following a sigframe & execute sigreturn. Whilst this doesn't allow a program to write to any state that it couldn't already, it makes little sense to allow this "restoration" of MSA context in a system that doesn't support MSA. Fix this by killing a program with SIGSYS if it tries something as crazy as "restoring" fake MSA context in this way, also fixing the build error & allowing for most of restore_msa_extcontext to be optimised out of kernels without support for MSA. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Reported-by: Michal Toman <michal.toman@imgtec.com> Fixes: bf82cb30c7e5 ("MIPS: Save MSA extended context around signals") Cc: James Hogan <james.hogan@imgtec.com> Cc: stable <stable@vger.kernel.org> # v4.3+ Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-05-03bsp/intel-corei7-64: Add intel-telemetry featureCalifornia Sullivan
intel-telemetry is a 64 bit feature available on the Apollo Lake platform and beyond. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-05-03features: add intel-telemetry featureCalifornia Sullivan
This feature enables the Intel Telemerty driver for Apollo Lake and newer platforms. The feature adds an interface to the debugfs for SoC state monitoring. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-05-03bsp/intel-common: Add broxton to supported SoCs in intel-core* BSPsCalifornia Sullivan
Adds support to features found on Broxton SoCs. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-05-03features: add broxton soc featureCalifornia Sullivan
This feature fragment should support most functions provided by the Broxton SoC. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-05-03baytrail;valleyisland: Use designware-usb3 feature instead of configCalifornia Sullivan
A common configuration is shared across many platforms. Use a feature instead of additional configuration options in each file. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-05-03features/usb: Add usb-designware2 and 3 featuresCalifornia Sullivan
These features support DesignWare USB2 and USB3 controllers and are used by many SoCs. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-05-03cfg/sound.cfg: Add USB audio supportCalifornia Sullivan
Sound over USB is very common and should be part of general sound configuration. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-05-03features/i915: Add CONFIG_KMS_FB_HELPER=yCalifornia Sullivan
We already get this option through a select. Add it to the configuration for clarity. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-05-03features/soc/skylake: Refactor and comment config fragmentCalifornia Sullivan
Organized configurations into labeled sections. Removed NETCONSOLE as its in the base configuration and is not necessarily a SoC feature. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-04-29intel-common: enable support for skylake in intel common bspOng Chun Weng
Adding support for skylake soc in intel-common bsp. Signed-off-by: Ong Chun Weng <chun.weng.ong@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-04-29intel-common-drivers: enable OSS SupportOng Chun Weng
Skylake is supporting OSS digital audio. This patch is the enabled OSS emulation on Skylake. Signed-off-by: Ong Chun Weng <chun.weng.ong@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-04-29intel-pinctrl: enable pinctrl driver for skylakeOng Chun Weng
This patch is to enable the pin control for skylake. Signed-off-by: Ong Chun Weng <chun.weng.ong@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-04-29features: soc: enable configurations for skylake.Ong Chun Weng
Skylake provide support for MFD, IDMA64, GPIO, CPU_IDLE, Thermal, sensor, audio, and Bluetooth features. This will ensure all the features provided by Skylake are enabled. Signed-off-by: Ong Chun Weng <chun.weng.ong@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-04-20uvesafb: print error message when task timeout occursBruce Ashfield
1/1 [ Author: Jianxun Zhang Email: jianxun.zhang@linux.intel.com Subject: uvesafb: print error message when task timeout occurs Date: Thu, 14 Apr 2016 15:26:21 -0700 The driver waits for response from user space for a pending task until a timeout (UVESAFB_TIMEOUT) occurs. But the existing error message in later steps is a little obscure. This patch throws out an error message when timeout happens. Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-04-13aufs: make aufs optionally enabledBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-04-12kver: bump to 4.6-rc3Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-04-12ktypes/tiny/tiny.cfg: support /proc/sysRobert Yang
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-04-12features: enable pinctrl driver for BroxtonChang Rebecca Swee Fun
linux-yocto-4.1 has pin control driver support for Broxton. We should enable the driver through intel-pinctrl config fragments. Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-03-31bsps: ensure that all BSPs booted under qemu include virtio driversBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-03-31perf: update to v4.6Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-03-31mti/malta: update to v4.6 const formatBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-03-31versatile: update to v4.6 file layoutBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-03-31perf tools: Fix build break on powerpcBruce Ashfield
1/1 [ Author: Sukadev Bhattiprolu Email: sukadev@linux.vnet.ibm.com Subject: perf tools: Fix build break on powerpc Date: Mon, 28 Mar 2016 17:52:34 -0300 Commit 531d2410635c ("perf tools: Do not include stringify.h from the kernel sources") seems to have accidentially removed the inclusion of "util/header.h" from "arch/powerpc/util/header.c". "util/header.h" provides the prototype for get_cpuid() and is needed to build perf on Powerpc: arch/powerpc/util/header.c:17:1: error: no previous prototype for 'get_cpuid' [-Werror=missing-prototypes] Reported-by: Michael Ellerman <mpe@ellerman.id.au> Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Stephen Rothwell <sfr@canb.auug.org.au> Fixes: 531d2410635c ("perf tools: Do not include stringify.h from the kernel sources") Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> [ Included "util.h" too, to get the scnprintf() prototype ] Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-03-30x86: remove staged/ported patches for v4.6-rcXBruce Ashfield
These patches are not appropriate for the dev kernel, so we drop them until BSP ports can be performed. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-03-30rt: 4.6 -dev prep, remove old -rt patchesBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-03-30kver: bump dev kernel to v4.6-rc1Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-03-30features: add overlayfsRobert Yang
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-03-29cfg/virtio.cfg: enable SCSI_VIRTIORobert Yang
Otherwise the hdddirect, vmdk, qcow2 and vdi can not be boot by qemu. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-03-27qemuarma9: enable gfxCatalin Enache
Issue: LIN8-2657 When configuring for either sato or xfce desktop, the qemuarma9 bsp doesn't initialize the screen after starting with make start-target TOPTS="-gc". Signed-off-by: Catalin Enache <catalin.enache@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-03-24qemuarm64: enable 32 bit application supportBruce Ashfield
Enable CONFIG_COMPAT for qemuarm64 so 32 bit compatibility is available for testing. [YOCTO #8646] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-03-23features: Add tmpfs-posix-acl feature fragmentsCalifornia Sullivan
This enables the CONFIG_TMPFS_POSIX_ACL, which is wanted by things like systemd. We also explicitly enable the features's dependencies and options selected by the feature for clarity. Partial fix for [YOCTO #9269]. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-03-21ktypes/standard: Add tmpfs-posix-acl featureCalifornia Sullivan
Fixes [YOCTO #9269] Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-03-10gpio-pca953x: add "drive" propertyBruce Ashfield
1/1 [ Author: Jussi Laako Email: jussi.laako@linux.intel.com Subject: gpio-pca953x: add "drive" property Date: Thu, 10 Mar 2016 11:58:11 -0800 Galileo gen 2 has support for setting GPIO modes. Expose these properties through the GPIO sysfs interface. This approach is bit hacky, since it changes the interface semantics. The original patch was by Josef Ahmad <josef.ahmad@linux.intel.com> and made on top of kernel 3.8. Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com> Signed-off-by: Jussi Laako <jussi.laako@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>