aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
AgeCommit message (Collapse)Author
2017-05-27cryptodev-linux: update SRC_URIChang Rebecca Swee Fun
Gna! project announced that the download site from gna.org HTTP server will soon be closing down. We have verified that the site is no longer accessible without network proxy cache. We need to update SRC_URI to point to new alternative (nwl.cc HTTP server) in order to avoid fetcher issues in future. [YOCTO #11575] Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-11-08perf: adapt to Makefile.configBruce Ashfield
commit 4842576cd857 [perf tools: Move config/Makefile into Makefile.config] relocated the configuration Makefile of perf. As such, we need to adapt our fixup routines to work with the Makefile no matter where it is. (From OE-Core rev: 573d584ff704025387782e35ed344e73294d6d0a) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-08perf: Fix to obey LD failureSujith Haridasan
This patch brings the last bit from meta-mentor for the perf to build successfully with minnowmax BSP. The meta-mentor commit for the same is: http://git.yoctoproject.org/cgit/cgit.cgi/meta-mentor/commit/meta-mentor-staging?id=a8db95c0d4081cf96915e0c3c4063a44f55e21cc The previous fix: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-kernel/perf?id=ef942d6025e1a339642b10ec1e29055f4ee6bd46 was incomplete and was not submitted upstream. And due to that this change is required. When built on minnowmax ( machine name: intel-corei7-64), an error is noticed during the do_compile: /home/sujith/codebench-linux-install-2015.12-133-i686-pc-linux-gnu/codebench/bin/i686-pc-linux-gnu-ld: Relocatable linking with relocations from format elf64-x86-64 (/home/sujith/MEL/dogwood/build-minnowmax/tmp/work/intel_corei7_64-mel-linux/perf/1.0-r9/perf-1.0/fd/array.o) to format elf32-i386 (/home/sujith/MEL/dogwood/build-minnowmax/tmp/work/intel_corei7_64-mel-linux/perf/1.0-r9/perf-1.0/fd/libapi-in.o) is not supported This change help fix the issue. (From OE-Core rev: 122ae03e2f1a2252a6914d51087531557f9a08f2) Signed-off-by: Sujith Haridasan <Sujith_Haridasan@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-08perf: Fix to obey LD failure on qemux86-64Christopher Larson
When built on an i686 host for qemux86-64 without the fix to obey LD and it fails: /scratch/dogwood/toolchains/x86_64/bin/i686-pc-linux-gnu-ld: Relocatable linking with relocations from format elf64-x86-64 (/scratch/dogwood/perf-ld-test/build/tmp/work/qemux86_64-mel-linux/perf/1.0-r9/perf-1.0/fs/fs.o) to format elf32-i386 (/scratch/dogwood/perf-ld-test/build/tmp/work/qemux86_64-mel-linux/perf/1.0-r9/perf-1.0/fs/libapi-in.o) is not supported This is because LD includes HOST_LD_ARCH, which contains TUNE_LDARGS, which is -m elf32_x86_64 for x86_64. Without that, direct use of ld will fail. (From OE-Core rev: 0ce06611068e74e6ea2e226e3f967aaa91fecd25) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Sujith Haridasan <Sujith_Haridasan@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-08linux-yocto/4.1: fix CVE-2016-5195 (dirtycow)Bruce Ashfield
Backporting commit 19be0eaffa [mm: remove gup_flags FOLL_WRITE games from __get_user_pages()] to address the dirtycow exploit. (From OE-Core rev: 8470ea4cfd5fca4c9573e39c7c3486aeb310990a) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-08linux-yocto/4.4: update to v4.4.26Bruce Ashfield
Integrating the 4.4.23->26 -stable releases. Among other fixes this contains commit: mm: remove gup_flags FOLL_WRITE games from __get_user_pages() Which addresses CVE-2016-5195. (From OE-Core rev: e2472c1a66ef62f6904cc9b635b275e7da32e51a) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-08linux-yocto/4.4/4.8: kernel config warning cleanupsBruce Ashfield
Merging the following patches into 4.4 and 4.8 to remove kernel configuration warnings: bbaf01752b01 meta-yocto-bsp: beaglebone: remove the stale kernel options 552a83790b17 features: Fix configcheck warnings in features used by intel-quark BSPs c33d9c2c575f features: Fix configcheck warnings in features used by intel-core* BSPs (From OE-Core rev: ac9842bc3a17f15c3807aa06e4469c030346420e) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Droped the 4.8 kernel changes, 4.8 not supported Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-08linux-yocto/4.1/4.4: remove innappropriate standard/base patchesBruce Ashfield
Before standard/intel/* was created in the 4.1 and 4.4 kernel trees, some patches were merged to standard/base to add features/support for intel platforms. While this isn't entirely bad, there have been some compile issues reported in some configurations. Since we don't need these commits on standard/base, we can relocate them to make standard/base upstream clean. This commit removes those patches from standard/base, and restores then to the standard/intel/* branches. (From OE-Core rev: 2c19e6378697141992c9bd7ff2bd4d57a4f9fe9b) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-08linux-yocto/4.4: update to v4.4.22Bruce Ashfield
(From OE-Core rev: 286d893f9e7caed06035f7916492a74e0212df6a) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Hand applied to manage merge conflicts. Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-08linux-yocto/4.1: update to 4.1.33Bruce Ashfield
(From OE-Core rev: af4e9d92ae23f0e668da4732ef79cd1f1bb6fc1f) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Hand applied to manage merge conflicts. Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-07-27systemtap: Add missing memory flag to fix stap module compilationtom.zanussi@linux.intel.com
The 4.4 kernel removed some memory flag definitions, which cause module compilation errors, rendering sytemtap essentially useless in krogoth. The problem is fixed in systemtap 3.0 and therefore in master, but as mentioned in Systemtap BZ1285348, the fix for older versions is this patch. Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-06-29linux-yocto/4.1: fix musb compilation errorBruce Ashfield
We had a partial musb change merged into the 4.1 tree, which resulted in: | kernel-source/drivers/usb/musb/musb_dsps.c: In function 'dsps_create_musb_pdev': | kernel-source/drivers/usb/musb/musb_dsps.c:750:8: error: 'struct musb_hdrc_config' has no member named 'maximum_speed' | config->maximum_speed = usb_get_maximum_speed(&parent->dev); | ^~ By backporting commit: 9b7537642cb6a [usb: musb: set the controller speed based on the config setting] We get our missing structure field, and we can once again build musb. [YOCTO: #9680] (From OE-Core rev: b746223787a0195c3a4d16523003c62ec0ac8451) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster@mvista.com> fixup as meta hash was not updated to latest
2016-06-29linux-yocto/4.4: integrate v4.4.11Bruce Ashfield
Updating to the korg stable release. (From OE-Core rev: bb4ead9b7b1400c37a72d148d9775bdf4210ec37) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster@mvista.com>
2016-06-29linux-yocto/4.4: beaglebone: build in the usb controller driversBruce Ashfield
Merging the following meta data change: [ In the current codes, we build the drivers for usb controller as modules. But for some image types, such as minimal or full-cmdline, these driver modules are not installed to the rootfs by default. This makes the using of the usb pretty inconvenience. So make them all builtin. Reported-and-suggested-by: hiims <h@101.org.il> Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] (From OE-Core rev: cf5004a37f120043815bb9ee4ae065c1877f404a) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster@mvista.com>
2016-06-29linux-yocto/4.1: v4.1.24 and gcc6 powerpc fixesBruce Ashfield
Bumping to the v4.1.24 -stable release, and backporting a ppc gcc6 fix from the 4.4 kernel. (From OE-Core rev: aee5a879032df0c1642f17408b70a33d06df972a) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster@mvista.com>
2016-06-29linux-yocto-rt, core-image-rt*: Explicitly skip when ↵Martin Jansa
PREFERRED_PROVIDER_virtual/kernel isn't set to linux-yocto-rt * just like linux-yocto-dev is doing * fixes following errors in world builds: ERROR: Nothing PROVIDES 'linux-yocto-rt' (but /home/jenkins/oe/world/shr-core/openembedded-core/meta/recipes-rt/images/core-image-rt-sdk.bb DEPENDS on or otherwise requires it) ERROR: linux-yocto-rt was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-yocto, not linux-yocto-rt ERROR: linux-yocto-rt was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-yocto, not linux-yocto-rt ERROR: Required build target 'core-image-rt-sdk' has no buildable providers. Missing or unbuildable dependency chain was: ['core-image-rt-sdk', 'linux-yocto-rt'] ERROR: Nothing PROVIDES 'linux-yocto-rt' (but /home/jenkins/oe/world/shr-core/openembedded-core/meta/recipes-rt/images/core-image-rt.bb DEPENDS on or otherwise requires it) ERROR: linux-yocto-rt was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-yocto, not linux-yocto-rt ERROR: linux-yocto-rt was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-yocto, not linux-yocto-rt ERROR: Required build target 'core-image-rt' has no buildable providers. Missing or unbuildable dependency chain was: ['core-image-rt', 'linux-yocto-rt'] (From OE-Core rev: 048c901fc32a1fd9a6c4b6f68f618101dfdf94ad) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster@mvista.com>
2016-06-29linux-yocto/4.4: gcc6 build fixes (powerpc and mips)Bruce Ashfield
Khem provided fixes to fix gcc6 build issues, these are safe for all gcc versions, so we integrate them directly. (From OE-Core rev: f1c75b93a4e11425e595c5ce043fbb0276a41931) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster@mvista.com>
2016-06-29linux-yocto-rt/4.4: Update KBRANCHtom.zanussi@linux.intel.com
standard/preempt-rt was replaced by standard/preempt-rt/base in linux-yocto-4.4.git, so KBRANCH needs to be updated accordingly. Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-06-29lttng-tools: filter random filename of ptest outputDengke Du
When run the ptest of lttng-tools, it produced many random filename when the tests passed, the output confused QA analysis, so we need to filter the ptest output if tests passed and add up the passed and failed tests. NOTE:The tests invoked the run.sh twice, so it output like this: ... FAIL:... unit_tests statistics total pass: 133 tests passed! total fail: 5 tests failed! ... FAIL:... fast_regression statistics total pass: 1904 tests passed! total fail: 202 tests failed! (From OE-Core rev: 29a8c45be2862be02afe2ebbc5c026a42f351990) Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-06-29linux-firmware: break out bnx2 mips firmware and WHENCE licenseChristopher Clark
commit a19cfee10c1f1762da601125c17035cf7701ce91 Author: Christopher Clark <christopher.clark6@baesystems.com> Date: Thu Apr 14 17:00:20 2016 -0700 linux-firmware: break out bnx2 mips firmware and WHENCE license Break out the bnx2 mips firmware into an independent subpackage. Since the bnx2 firmware license is contained in the common WHENCE file also package that separately so that other firmware that is licensed within that file may depend upon a standalone package containing it. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> (From OE-Core rev: a73a316429b256061a7aa48bcf29c5f96df68a8c) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster@mvista.com>
2016-05-17linux-yocto/4.4: bump to v4.4.10Bruce Ashfield
(From OE-Core rev: 4f2898f598c466fa0fde5be64ac4d6a60aae68f7) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-05-17linux-yocto/4.4: beaglebone: Enable drm for omapBruce Ashfield
To enable modsetting out of the box, we must turn on DRM. (From OE-Core rev: 8d2b635cc2491e3d88d3a98465a9c9c063b6b9b5) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-05-17linux-yocto/4.4: update to v4.4.9Bruce Ashfield
Updating to the v4.4.9 korg -stable release: (From OE-Core rev: d8d93df3282ad0f3bd23566152db99577f27ad90) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-05-17linux-yocto/4.4: bump to v4.4.8Bruce Ashfield
Integrating the korg -stable releases. (From OE-Core rev: 7ec1682e94c731b0a57faf2c01efb51725455592) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-05-17linux-yocto-rt/4.1: update to rt23Bruce Ashfield
(From OE-Core rev: ff6e06dcf0dd3da971cde22b3ce46b63f36db089) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster@mvista.com>
2016-05-17linux-yocto/4.4: bump to v4.4.8Bruce Ashfield
Integrating the korg -stable releases. (From OE-Core rev: 688ec7b424b1daa92a5ca92491468af2c1ba226f) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster@mvista.com>
2016-05-17linux-yocto/4.4: broxton enablement and refactoringBruce Ashfield
Merging the following commits to refactor and add broxton support: 0d73a3bf6129 bsp/intel-corei7-64: Add intel-telemetry feature cee29e6234c7 features: add intel-telemetry feature 3a700d737b65 bsp/intel-common: Add broxton to supported SoCs in intel-core* BSPs f584a0c22a39 features: add broxton soc feature 7c2c2bd1a6aa baytrail;valleyisland: Use designware-usb3 feature instead of config 7216db4cc7a6 features/usb: Add usb-designware2 and 3 features ade182658359 cfg/sound.cfg: Add USB audio support 18ee21d9fba8 features/i915: Add CONFIG_KMS_FB_HELPER=y b3fa745962c2 features/soc/skylake: Refactor and comment config fragment (From OE-Core rev: f6d09d460d8ef4b6468abf5b7813c5eba92adab3) Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster@mvista.com>
2016-05-17linux-yocto/4.4: skylake configurationBruce Ashfield
Integrating the following patches for skylake features and config: 82c2ea9f6bf intel-common: enable support for skylake in intel common bsp 269b6a7a98e2 intel-common-drivers: enable OSS Support 71a19d3e6dc6 intel-pinctrl: enable pinctrl driver for skylake 281f7db8c839 features: soc: enable configurations for skylake. (From OE-Core rev: ab94ad02c35effad6fd3a1472737d1c73f53f7b3) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster@mvista.com>
2016-05-17linux-yocto/4.4: BXT mmc fixes + PUNIT, tubropower, and telemetry backportBruce Ashfield
Integrating the following mainline (or mainline destined) patches to support Intel Broxton: 076cc85486fd mmc: sdhci-acpi: Set MMC_CAP_AGGRESSIVE_PM for Broxton controllers 5d9c3aba78a1 mmc: sdhci-pci: Remove redundant runtime PM calls aa0cd9a58d54 mmc: sdhci: Fix sdhci_runtime_pm_bus_on/off() f47597d00af0 mmc: sdhci: 64-bit DMA actually has 4-byte alignment a052a0703aed mmc: sdhci: Fix DMA descriptor with zero data length f9200dd4bfec mmc: sdio: Fix invalid vdd in voltage switch power cycle 7bbf49488269 mmc: sdhci: Do not BUG on invalid vdd 39fde8b630a6 tools/power turbostat: decode BXT TSC frequency via CPUID 2b4b633da512 tools/power turbostat: initial BXT support ee708ab5b74e intel_telemetry_debugfs: Fix unused warnings in telemetry debugfs 3053465d066b intel_telemetry_pltdrv: Change verbosity control bits 4c7732ec34bf platform:x86: Add Intel Telemetry Debugfs interfaces 401915397ddc platform:x86: Add Intel telemetry platform driver eaaee25ac936 platform/x86: Add Intel Telemetry Core Driver 44c969c62726 platform:x86 decouple telemetry driver from the optional IPC resources a6a2ecaf9980 platform:x86: Add Intel telemetry platform device e1f16b86eab0 intel_pmc_ipc: Avoid pending IPC1 command during legacy suspend ae91be46eb0d intel_pmc_ipc: Fix GCR register base address and length 3e15c1b19c81 intel_pmc_ipc: update acpi resource structure for Punit 5ec614cfd985 intel_punit_ipc: add NULL check for input parameters 4c3f01b178db platform:x86: add Intel P-Unit mailbox IPC driver 4826dbaac15f usb: dwc3: pci: add ID for one more Intel Broxton platform (From OE-Core rev: 802758b2ade24040d16ce4b692a07f97bef39331) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster@mvista.com>
2016-05-17linux-yocto/4.1: make ltsi content availableBruce Ashfield
In the better late than never category, this commit integrates the ltsi content into linux-yocto 4.1. We we already matching LTSI on the kernel version front with a small gap in patches. With this commit, we have a "ltsi" branch that is pure ltsi on the mailine kernel, and then that commit is merged into standard/base (to make it available to all BSPs). (From OE-Core rev: 7071ab47ce566398b398ac3d24eb3620a0353897) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster@mvista.com>
2016-05-17linux-yocto/4.1: update to v4.1.22Bruce Ashfield
Integrating the korg -stable releases. (From OE-Core rev: 417b1ef4d180b7434e69e5e8dff20298788f4007) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster@mvista.com>
2016-05-17kernel-yocto: allow branch auditing to be suspendedBruce Ashfield
When working on the yocto-bsp and kernel-lab update for yocto 1.2 we found it was impossible for a end-user BSP to isolate patches on a branch, since with the following commit: [kernel-yocto: enforce SRC_URI specified branch] Any new branch would be switched to whatever was specified on the SRC_URI and undoing the work that the yocto-bsp tool did to support board specific patches. To fix this, we'll keep the enforcing of branch consistency enabled by default, but introduce a variable "KMETA_AUDIT" that when not set will skip the check. There's no impact for existing users, and it is only something that other plumbing commands and tools will need to use (or care about). [YOCTO: #9120] (From OE-Core rev: 1d4c120edeb6e45665eafd6962a10ebb89d758eb) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster@mvista.com>
2016-05-17kern-tools: handle directories with, or without, trailing /Bruce Ashfield
Robert P. J. Day reported that configuration fragments and kernel features were not being found when organized in a particular manner: linux - $BOARD - mm.patch - mm.scc - ssd_sil.cfg - ssd_sil.patch - ssd_sil.scc - uio.cfg .. etc There was a bug in the tools that did not handle the mix of subdirs properly and ended up leaving a trailing / on the elements *not* in the $BOARD subdir. As a result, the configuration fragments were not properly found when searching the include paths, and a configuration failure was triggered (due to missing files). This change tweaks the tools to always check a path with and without a trailing / when processing config fragments so they can be later found when processing the configuration of the kernel. Reported-by: "Robert P. J. Day" <rpjday@crashcourse.ca> (From OE-Core rev: 92ba77bea59a33b0ddbd5db36e2a1b42e8fd7190) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster@mvista.com>
2016-05-17linux-yocto/4.4: sched/cgroup: Fix/cleanup cgroup teardown/initBruce Ashfield
backporting a mainline commit to address splats that have been seen on the 4.4 kernel: (From OE-Core rev: 52550828662cc430fe4c5273d44c4b818aa21150) Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster@mvista.com>
2016-05-17linux-yocto/uvesafb: print error message when task timeout occursBruce Ashfield
Integrating the following commit to have a more informative error message: uvesafb: print error message when task timeout occurs 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> (From OE-Core rev: 1c6ba3c57eae77adb9ae5c0a60e3a9174ef398b6) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster@mvista.com>
2016-04-19perf: pass DESTDIR in EXTRA_OEMAKERoss Burton
Instead of passing DESTDIR just in the make install invocation, pass it in EXTRA_OEMAKE. This appears to stop perf from rebuilding at instal time for me, which appears to be the trigger for the random build failure. [ YOCTO #9182 ] Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-14linux-yocto: make aufs4 optionalBruce Ashfield
An always on configuration of aufs4 crept into the default kernel configuration blocks. With this change, aufs-enable.scc can be used to turn on aufs via a KERNEL_FEATURES entry. We can now have co-existing unionfs solutions and can update them without breaking builds that haven't opted-in. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-14linux-yocto: tiny and pin ctrl config updatesBruce Ashfield
Merging the following two commits: ab0d998117cc ktypes/tiny/tiny.cfg: support /proc/sys 349e9ce59f7b features: enable pinctrl driver for Broxton Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-14linux-yocto/4.4: BXT enablementBruce Ashfield
ASoC HDMI audio backports + mmc fixes backports + misc enablement changes (all backports): db28bb1e7a68 async: export current_is_async() e89355d51cc4 PM / runtime: Add new helper for conditional usage count incrementation dcf8de0931b1 ALSA: hda - hdmi defer to register acomp eld notifier da1bcdb4415e ALSA: hda - Allow i915 binding later in codec driver fb95901a1724 ALSA: hda - Enable audio component for old Intel PCH devices 0a082020f0c4 ALSA: hda - Autosuspend controller after probe even if codecs are already suspended 7f7608752b37 ALSA: hda - hdmi add wmb barrier for audio component 7a32403bb06f ALSA: hdac: add snd_hdac_ext_bus_link_power_up_all 0d593c9fcf75 ALSA: hdac: Add support for hda DMA Resume capability e453b7e42563 ALSA: hdac: structure definition for ext_dma_params da5b15cea3a0 drm/edid: Add API to help find connection type 723224e90dfe ASoC: hdac_hdmi: Fix codec power state in S3 during playback 006d407c400d ASoC: hdac_hdmi: Fix to use dev_pm ops instead soc pm 149316f63e17 ASoC: hdac_hdmi: Add broxton device ID f94dc80e4ac5 ASoC: hdac_hdmi: Fix infoframe programming 623b2f9b33f1 ASoC: hdac_hdmi: Add PM support 9d0c9e8114f8 ASoC: hdac_hdmi: Fix to reconfigure registers in runtime resume 4afb4f7a3760 ASoC: hdac_hdmi: Don't fail in dai startup to make userland happy ec497d3f13c3 ASoC: hdac_hdmi: Enable playback on all enumerated ports d94da5c4fe3b ASoC: hdac_hdmi: Apply constraints based on ELD 401a43cac5a4 ASoC: hdac_hdmi: Fix to wait for D3 before powering off codec 69fd08bfd8a8 ASoC: hdac_hdmi: Fix to keep codec power active during enumeration. fe945a86a8c8 ASoC: hdac_hdmi: Fix possible memory leak in hw_params 2e2a20f383c4 ASoC: hdac_hdmi: Remove 'edev' NULL check 9f781dd80b54 ASoC: hdac_hdmi: Add infoframe support for dp audio b8110510884a ASoC: hdac_hdmi: Add jack reporting 1cdebc2d6e78 ASoC: hdac_hdmi: Create widget/route based on nodes enumerated 73b4b1dc5b63 ASoC: hdac_hdmi: create dais based on number of cvts e59b34525953 ASoC: hdac_hdmi: Enable DP1.2 and all converters/pins 760989e722ef ASoC: hdac_hdmi: Add hotplug notification and read ELD 30364a5601ae ASoC: hdac_hdmi: remove unused hdac_hdmi_query_pin_connlist 2764583d744e ASoC: hdac_hdmi: Use list to add pins and converters 9458ca02aa7e ASoC: hdac_hdmi: Fix to warn instead of err for no connected nids 477a88699c5e ASoC: hdac_hdmi: Fix to check num nodes correctly acdc6421f720 ASoC: hdac_hdmi: use dev_to_hdac_dev and to_ehdac_device bd4ba9cdf188 ASoC: hdac_hdmi: check error return b6898f18eaca ASoC: hdac_hdmi: fix possible NULL dereference 4836a9c5bc4e ASoC: hdac_hdmi: Use i915 component framework for PM c70f3eab8f81 ASoC: hdac_hdmi: Setup and start infoframe f0f09f63f4f5 ASoC: hdac_hdmi: Add hdac hdmi dai ops 4bab2c42e58a ASoC: hdac_hdmi: Add PM support for HDMI d1237b8c1a21 ASoC: hdac-hdmi: Add hdmi driver 0e0a7bb86eb8 mei: me: add broxton pci device ids 2af333b2beee usb: xhci: applying XHCI_PME_STUCK_QUIRK to Intel BXT B0 host 7ae2e3bce771 dmaengine: idma64: set maximum allowed segment size for DMA 53e822a3c638 dmaengine: idma64: drop IRQ enable / disable in handler 97e4071b6885 spi: pxa2xx: Fix too early chipselect deassert 46cc317c74dd i2c: designware: remove redundant lock 03a6b1c85e0a i2c: designware: Prevent runtime suspend during adapter registration d5da4042ad5b mmc: sdhci-pci: Add support and PCI IDs for more Broxton host controllers c3d97cf9fe19 mmc: sdhci-pci: Do not set DMA mask in enable_dma() f20ad778b58e mmc: sdhci-pci: Do not default to 33 Ohm driver strength for Intel SPT ca9a77c6869b mmc: sdhci: Fix override of timeout clk wrt max_busy_timeout 74982dc84940 mmc: sdhci-acpi: Fix card detect race for Intel BXT/APL 8017269a25bf mmc: sdhci-pci: Fix card detect race for Intel BXT/APL b532b30c3e41 mmc: sdhci: Allow override of get_cd() called from sdhci_request() 9e96c0c00221 mmc: sdhci: Allow override of mmc host operations 0148b3601f29 gpio-pca953x: fix the "drive" property cannot read/write Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-14linux-yocto/4.1: mainline SPI backportsBruce Ashfield
Backporting SPI changes for the Broxton and Apollo lake: 91f62d4a0a31 spi: pxa2xx: derive struct chip_data from struct drv_data a9ed63a84921 spi: pxa2xx: Remove CONFIG_SPI_PXA2XX_DMA f218d99d91ad spi: pxa2xx: Remove redundant call to lpss_ssp_setup() in probe c02fa78f26b3 spi: pxa2xx: Rework self-initiated platform data creation for non-ACPI 7e576a63daf8 spi: pxa2xx: Add support for Intel Broxton 5afb534233ea spi: pxa2xx: Detect number of enabled Intel LPSS SPI chip select signals 9dfe49803d54 spi: pxa2xx: Add output control for multiple Intel LPSS chip selects c3ea9f8cb427 spi: pxa2xx: Use LPSS prefix for defines that are Intel LPSS specific 769387d447c6 spi: pxa2xx: Align a few defines c4d5f4b2c5e1 spi: pxa2xx: Save other reg_cs_ctrl bits when configuring chip select cef6fd04c480 spi: pxa2xx: Convert unique ID string of ACPI device as unsigned integer 5cd1fcbbe756 spi: pxa2xx: move debug messages to pump_transfer() 86d77af087c1 spi: pxa2xx: choose closest lower speed b92f9ddf2a03 spi: pxa2xx: Remove unused psp member variable from struct chip_data eead50ab6d02 spi: pxa2xx: Remove empty function pxa2xx_spi_dma_resume() 59956c05a4c1 spi: pxa2xx: Use ACPI_COMPANION() instead of acpi_bus_get_device() 362498a7e09b spi: pxa2xx: Set the max_speed_hz of the master 34b9b6d72a6e spi: pxa2xx: Remove cr0 variable from struct chip_data 906a045e325a spi: pxa2xx: Remove if statement that is always true in pump_transfers() 9dcbad25be03 spi: pxa2xx: Remove two variables from struct chip_data 3a166657678e spi: pxa2xx: Add terminating entry for pxa2xx_spi_pci_compound_match f8912dd06280 spi: spi-pxa2xx: Remove unused legacy PXA DMA API channel numbers b75adec5ab03 spi: pxa2xx: Add support for Intel Sunrisepoint 54f13620b12e spi: spi-pxa2xx: Remove clk.h include c4dcefa9a892 spi: pxa2xx: Constify ACPI device ids e1deb5e11adc spi: spi-pxa2xx: remove legacy PXA DMA bits 1cae65e20310 spi: pxa2xx: Make LPSS SPI general register optional dffc716a7725 spi: pxa2xx: Prepare for new Intel LPSS SPI type 9641b2e46b6a spi: pxa2xx: Differentiate Intel LPSS types Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-14linux-yocto/4.4: gpio-pca953x: fix the "drive" property cannot read/writeBruce Ashfield
The gpio_drive_show/store use incorrect gpio_desc, this causes the drive sysfs property cannot be used, This patch fixes this issue Upstream-status: Inappropriate, custom code for legacy userspace Signed-off-by: Yong Li <yong.b.li@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-13linux-yocto-tiny: fix KBRANCHRobert Yang
Fixed: WARNING: linux-yocto-tiny-4.4.3+gitAUTOINC+770996a263_73481a3abd-r0 do_patch: After meta data application, the kernel tree branch is standard/tiny/common-pc. The WARNING: linux-yocto-tiny-4.4.3+gitAUTOINC+770996a263_73481a3abd-r0 do_patch: SRC_URI specified branch standard/tiny/base. The branch will be forced to standard/tiny/base, WARNING: linux-yocto-tiny-4.4.3+gitAUTOINC+770996a263_73481a3abd-r0 do_patch: but this means the board meta data (.scc files) do not match the SRC_URI specification. WARNING: linux-yocto-tiny-4.4.3+gitAUTOINC+770996a263_73481a3abd-r0 do_patch: The meta data and branch standard/tiny/base should be inspected to ensure the proper WARNING: linux-yocto-tiny-4.4.3+gitAUTOINC+770996a263_73481a3abd-r0 do_patch: kernel is being built. Use standard/tiny/common-pc which is pointed by the .scc to fix problem. Btw, standard/tiny/base and standard/tiny/common-pc points to the same commit id. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-12linux-yocto-tiny: fix COMPATIBLE_MACHINERobert Yang
It only works with qemux86, but mismatched qemux86-64 which caused runtime errros. (kernel is bigger, can't boot, no output, and so on). Add '$' in the end to fix the problem. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-03linux-yocto/4.4: UVC: Add support for R200 depth cameraBruce Ashfield
Integrating the following commit: [ Add support for Intel R200 depth camera in uvc driver. This includes adding new uvc GUIDs for the new pixel formats, adding new V4L pixel format definition to user api headers, and updating the uvc driver GUID-to-4cc tables with the new formats. Tested-by: Greenberg, Aviv D <aviv.d.greenberg@intel.com> Signed-off-by: Aviv Greenberg <aviv.d.greenberg@intel.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-03linux-yocto/4.4: fix PAT for 32bit x86Bruce Ashfield
Integrating the following mainline destined commits to fix PAT issues with 32bit x86 and qemu: bc22b90fb583 x86/pat: Document the PAT initialization sequence c534b1ec1991 x86/xen, pat: Remove PAT table init code from Xen cd47692e804f x86/mtrr: Fix PAT init handling when MTRR is disabled 039434bdc165 x86/mtrr: Fix Xorg crashes in Qemu sessions c08196e8064c x86/mm/pat: Replace cpu_has_pat with boot_cpu_has() 6928fce8c766 x86/mm/pat: Add pat_disable() interface 3163c8d5468d x86/mm/pat: Add support of non-default PAT MSR setting With this change applied, we once again have working graphics and no special work arounds. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-03Revert "linux-yocto: Work around PAT issue on qemux86"Bruce Ashfield
This reverts commit 94abdb2eea610b174064978d2fb8354a6231fc0c. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-03linux-yocto-dev: bump to v4.6-rcXBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-03linux-yocto/4.1: ahci: backport AHCI runtime PMBruce Ashfield
enabling AHCI runtime PM support via the following commits: f5b08e95bc03 ahci: Add runtime PM support for the host controller e05e05973f39 ahci: Add functions to manage runtime PM of AHCI ports 558571930e2d ahci: Convert driver to use modern PM hooks 4a2c2074f209 ahci: Cache host controller version 21641413456c scsi: Drop runtime PM usage count after host is added 254ab69f652d scsi: Set request queue runtime PM status back to active on resume 61c02cb167ed block: Add blk_set_runtime_active() 7bcfbac98f3c ahci: Store irq number in struct ahci_host_priv a5a093b7f6e4 ahci: Move interrupt enablement code to a separate function Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-03linux-yocto/4.4: gpio-pca953x: add PCAL9535 interrupt supportBruce Ashfield
Reverting two previous gpio commits to allow the application of proper upstream ready patches to add this support: 08943f2bbd50 gpio-pca953x: add "drive" property a517d5b72e76 gpio: pca953x: provide GPIO base based on _UID c91063f44368 gpio-pca953x: add PCAL9535 interrupt support 58f3c9f0ac6d Revert "gpio-pca953x: add "drive" property" 7abbd5fec15d Revert "gpio: pca953x: provide GPIO base based on _UID" Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-03linux-yocto/4.1: telemetry and dmaengine backportsBruce Ashfield
Backports to support Broxton and Apollo lake: 96c0e80f4007 dmaengine: idma64: clear LLP_[SD]_EN bits in last descriptor 3b2dbd1cadbf dmaengine: idma64: use local variable to index descriptor d61599f94946 dmaengine: idma64: convert idma64_hw_desc_fill() to return void 9c9f37533789 dmaengine: idma64: set maximum allowed segment size for DMA 9d55c9523aa5 dmaengine: idma64: drop IRQ enable / disable in handler f80e3f3f87c5 dmaengine: idma64: use lo_hi_readq() / lo_hi_writeq() 216429c319aa dmaengine: idma64: make better performance on pause / resume 2f982603b358 dmaengine: idma64: this is not DesignWare a7f7ee3a6a91 dmaengine: idma64: useless use of min_t() 3c8f2fcd2dfd dmaengine: idma64: convert to __ffs() b452447dce9f dmaengine: idma64: improve residue estimation 849fdbe687a8 dmaengine: add a driver for Intel integrated DMA 64-bit 0038e6a4798e intel_punit_ipc: add NULL check for input parameters 4bd7fc987da6 platform:x86: Add Intel telemetry platform device 472c405dd66d intel_pmc_ipc: update acpi resource structure for Punit e1754195568b MAINTAINERS: Combine multiple telemetry entries 14d8e14aca6d intel_telemetry_debugfs: Fix unused warnings in telemetry debugfs 8724677a6b60 platform:x86: Add Intel Telemetry Debugfs interfaces d503a325c0ee platform:x86: Add Intel telemetry platform driver 255a8ac345e7 platform/x86: Add Intel Telemetry Core Driver c475943802b5 platform:x86: add Intel P-Unit mailbox IPC driver c2f1b2c7282c MAINTAINERS: Add maintainership for MIC drivers 7d389b483d32 surface pro 3: Add support driver for Surface Pro 3 buttons Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>