summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
Commit message (Collapse)AuthorAgeFilesLines
* linux-yocto/4.4: fix configuration warningsBruce Ashfield2016-08-233-3/+3
| | | | | | | | | | | | | | Integrating the following commits to address configuration warnings for intel-corei7-64 and intel-core2-32: features: Fix dependencies and =m vs =y discrepancies for corei7 intel-core2-32.cfg: Explicitly disable CONFIG_64BIT (From OE-Core rev: b2a4e07390834fa41fe35d1124ac2a0cd6692524) Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/4.1/4.4: -stable updates and configuration changesBruce Ashfield2016-08-236-32/+32
| | | | | | | | | | | | | | | | | | | Updating the 4.4 kernel to v4.4.18 and the 4.1 kernel to v4.1.30. We also tweak the configuration with the following commits to remove warnings being generated from the 4.4 kernel (due to options being dropped from the final .config): features: Create mfd-intel-lpss feature and use where appropriate features/iio: Set IIO_BUFFER_CB to =m instead of =y features: Add 6lowpan feature and add it where necessary Tested on qemux86, qemuppc, qemumips and qemuarm. (From OE-Core rev: 18c6fb387aa6a15de514030c4a7c04dac9c68869) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: upgrade to 23Chen Qi2016-08-201-2/+2
| | | | | | | (From OE-Core rev: 651a08c9eda35edc31e637268be45cda0a439b6d) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-yocto: streamline patch, configuration and audit phasesBruce Ashfield2016-08-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We've been running with a set of kern-tools that were designed to work with build systems that knew nothing about git, trees, commits, etc. As such, there's been a set of shims/wrappers in place to work with within bitbake/oe-core. These were the *me scripts: createme, updateme, patchme and configme. With this commit, we strip that legacy code and use the tools directly. This means less complexity, fewer corner cases .. and no surprises when the tools are arunning. As another benefit, the tools consume much less time during a typical build and have no noticeable impact on the overall build time. Existing .scc files, features, and processing are not impacted as these tools are compatible with existing feature descriptions and kerne configuration fragments. The audit of kernel configuration fragments is now detached from the linux-yocto build structure and process. This means that they can eventually be tweaked to offer kernel audit to any type of kernel build and configuration process. Additionally, the kernel symbol audit phase can now resolve symbol dependencies and offer guidance when a symbol is missing: WARNING: linux-yocto-4.4.15+gitAUTOINC+b030d96c7b_f5e2c49d58-r0 do_kernel_configcheck: [kernel config]: specified values did not make it into the kernel's final configuration: ---------- CONFIG_BT_6LOWPAN ----------------- Config: CONFIG_BT_6LOWPAN From: /home/bruce/poky/build/tmp/work-shared/qemux86-64/kernel-source/.kernel-meta/configs/standard/features/bluetooth/bluetooth.cfg Requested value: CONFIG_BT_6LOWPAN=y Actual value: Config 'BT_6LOWPAN' has the following conditionals: BT_LE && 6LOWPAN (value: "n") Dependency values are: BT_LE [y] 6LOWPAN [n] (From OE-Core rev: 0f698dfd1c8bbc0d53ae7977e26685a7a3df52a3) 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>
* linux-yocto/4.4: -rt update patch meta-data to remove ()Bruce Ashfield2016-08-183-3/+3
| | | | | | | | | | | | The existing kernel patching scripts don't like () in patch names, since they are detected as function calls. Although the scripts will be updated to avoid this error, it is worthwhile fixing the patch names in the meantime. (From OE-Core rev: de7e4da0c7abf5dcd8b95ec993e70041475603c2) 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>
* linux-yocto/4.1: config updatesBruce Ashfield2016-08-183-3/+3
| | | | | | | | | | | | | | | Integrating the following configuration changes: features: usb-net: provide more coverage on USB network devices features: broxton: enable iTCO watchdog support features: broxton: enable iSMT support features: broxton: enable LPC bridge function for Intel ICH and SCH (From OE-Core rev: 02165c6bd9da6ac3a34eabe17d3a068afb6b1727) Signed-off-by: Bruce Ashfield <bruce@zedd.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/4.1: bump to v4.1.29Bruce Ashfield2016-08-183-16/+16
| | | | | | | | | | Integrating the korg 4.1.29 -stable release (From OE-Core rev: 2d7fff848b4e76c7c568492e1dcc32d4a2031297) Signed-off-by: Bruce Ashfield <bruce@zedd.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/4.1: netfilter: x_tables: fix stable backportBruce Ashfield2016-08-183-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | There was an issue with a netfilter backport in 4.1.28-stable. To address it, we backport the -stable fix: netfilter: x_tables: fix stable backport Stable-4.1 backport of mainline commit 364723410175 ("netfilter: x_tables: validate targets of jumps") doesn't handle correctly the fact that 4.1 kernel is missing commit 482cfc318559 ("netfilter: xtables: avoid percpu ruleset duplication") so that t->entries is still a per-cpu array in find_jump_target(). Use the same fix as e.g. stable-3.14 backport. Fixes: 8163327a3a92 ("netfilter: x_tables: validate targets of jumps") Signed-off-by: Michal Kubecek <mkubecek@suse.cz> (From OE-Core rev: c009297d44df98ba103ee267e40ffdbc837e411f) 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>
* Use PYTHON_SITEPACKAGES_DIR insted of hard-coded *site-packages*Ming Liu2016-08-172-6/+6
| | | | | | | | | | | | For thoese recipes that are inheriting python*-dir.bbclass, there is already a PYTHON_SITEPACKAGES_DIR present, use that definition replacing redundant "${libdir}/python*/site-packages". (From OE-Core rev: e7d842673952aa4aaa141f64958bc1344dbe8210) Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-dtb.inc: Support for .dtbo files for dtb overlaysHerve Jourdain2016-08-101-7/+11
| | | | | | | | | (From OE-Core rev: 831207ee8fa6fedd6080191bb77a871b0f33e1c1) Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perf: enable man pages for 'help' functionalityDengke Du2016-08-041-1/+10
| | | | | | | | | | | | | | When using 'perf help <subcommand>', it can't find 'man' command and pages for perf. The perf man pages depends on the xmlto-native and asciidoc-native, so we just need to add the two packages to the DEPENDS variable and add 'man'to RDEPENDS_perf-doc. (From OE-Core rev: bbff6b07256d63d318066eb1357763467532dd70) 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>
* linux-yocto/4.1: qemuppc and qemumips build fixesBruce Ashfield2016-08-043-6/+6
| | | | | | | | | | | | | | | | | | The v4.1.28 -stable update broke the build for some ppc and mips platforms. We fix the errors by backporting a missing commit for ppc: powerpc/tm: Abort syscalls in active transactions And by reverting a commit for mips (rather than backporting more changes to -mm): Revert "MIPS: Reserve nosave data for hibernation" (From OE-Core rev: 02a1d6eb52b78c7fdcfe2a64e427488e6dd9ce4d) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/4.1: bug fixes and configuration changesBruce Ashfield2016-08-043-13/+13
| | | | | | | | | | | | | | | | | Integrating the following two commits: 44af90071620 4.1.28 Fix bad backport of 8f182270dfec "mm/swap.c: flush lru pvecs on compound page arrival" 99c37e1500a6 i2c: ismt: Add Intel DNV PCI ID And the following two meta-data changes: afbc6bd00e6f bsp/axxiaarm64: Enable Axxia NCR and PEI drivers 6a2047c00450 common-pc: enforce 32 bit (From OE-Core rev: d52e523b28cc95a741039018d76fa4c1a947a40f) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/4.1: bump to v4.1.28Bruce Ashfield2016-08-043-16/+16
| | | | | | | | | Updating the 4.1 kernel to the korg -stable release (From OE-Core rev: 3d888fa7b27865b5fc1b6ee5e138692847648f40) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/4.4: update to -r19Bruce Ashfield2016-08-013-4/+4
| | | | | | | | | | | | | | It was pointed out that the 4.4 version of -rt was lagging. I had done the work some time ago, but didn't complete the testing effort. I've now built and booted this on x86 and built it for ARM. Two branches are available: standard/preempt-rt/base and standard/preempt-rt/rebase. (From OE-Core rev: bb2ac258a80590a1c965b5da939d6531b3f2098a) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/4.4: mousedev and printk configuation streamliningBruce Ashfield2016-08-013-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Integrating two changes to the 4.4 kernel: mousedev: fix warning err caused by __cpu_to_le16p() mousedev: fix warning err caused by __cpu_to_le16p() following warning msg is found when compiling the kernel for qemumips: .../drivers/input/mousedev.c:749:15: warning: passing argument 1 of '__cpu_to_le16p' from incompatible pointer type [-Wincompatible-pointer-types] convert the function's parameter to (__u16 *) to fix this warning. Signed-off-by: Zhenbo Gao <zhenbo.gao@windriver.com> printk.scc: don't include kernel-debug.scc There is no need to include kernel-debug.scc into printk.scc as options from printk.cfg don't depend on CONFIG_DEBUG* options from kernel-debug.cfg Moreover, enabling CONFIG_DEBUG* options makes kernel much bigger, increases build time and consumed a lot of additional disk space. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> (From OE-Core rev: 711274efbbf9a750a740065c1a538217a4f3fba3) 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>
* linux-yocto/4.4: lx-dialog and mei bug fixesBruce Ashfield2016-08-013-12/+12
| | | | | | | | | | | | | | Integrating the following changes, that resolve issues with previous functionality merges: ddab24299940 mei: drop wr_msg from the mei_dev structure 26e282c0686e lx-dialog: fix merge issues (From OE-Core rev: 84dbace51d86efcaa50c1b0cbc4d44ac884f26fc) 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>
* linux-yocto/4.4: bump to v4.4.15Bruce Ashfield2016-08-013-15/+15
| | | | | | | | | | Updating the 4.4 kernel to take the korg -stable release. (From OE-Core rev: 605e7b4bfa766fb9db187586a06542e8af44a4c5) 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>
* sysprof: clean up FILESRoss Burton2016-08-011-2/+3
| | | | | | | | | | This recipe ships unversioned libraries so fiddle the intermediate variables instead of rewriting FILES directly. (From OE-Core rev: d6d15924a7b3fe668d4c7e88fd4c90b0d580f2ed) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "lttng-tools: filter random filename of ptest output"Nathan Lynch2016-08-012-56/+0
| | | | | | | | | | | | | | | | | | This reverts commit 29a8c45be2862be02afe2ebbc5c026a42f351990. A few things wrong with this change: 1. It patches a patch (runtest-2.4.0.patch). 2. It introduces deviations from the desired ptest output format. 3. It discards PASS: lines from the test output; I *want* to see those. 4. The upstream status of "pending" is incorrect; I do not see this patch on the lttng-dev mailing list (not that it would apply anyway). (From OE-Core rev: eeb0a912145f8f849d56c04e38616d12ca8be21e) Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babeltrace: remove unnecessary SRCREVNathan Lynch2016-07-261-2/+0
| | | | | | | | | | | Since this recipe doesn't use a SCM the SRCREV is unneeded (and inaccurate). (From OE-Core rev: 7635748f9bf2de75e94222ff286b9d02e85b2dfe) Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kdump: don't set default values for KDUMP_CMDLINE and KDUMP_KIMAGERoy Li2016-07-262-40/+18
| | | | | | | | | | | | | | | | | | Do not set default values of KDUMP_CMDLINE and KDUMP_KIMAGE, and leave them set by configure file since they are different for different architectures. Take KDUMP_KIMAGE kdump kernel image for example: x86 is bzImage mips64 is vmlinux ppc is uImage arm is zImage (From OE-Core rev: 05dcb054fcd0c80bb09612c3e15b6b1f0487aae8) Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysprof: fix floating dependency on polkitMaxin B. John2016-07-262-2/+47
| | | | | | | | | | | | | Fix the floating dependency on polkit by providing a PACKAGECONFIG option. Then, package the newly created files appropriately. [YOCTO #9987] (From OE-Core rev: a1ecd168b092a0cc7322431913fd1f42cfa9a37e) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-dev: Ensure we don't reparse the recipe when its not being used ↵Richard Purdie2016-07-261-0/+1
| | | | | | | | | | | | (take 2) The use of the ${AUTOREV} variable means bitbake would always re-parse the recipe. This isn't desirable when its disabled so undo the always parsing flag in this case. (From OE-Core rev: f1fce69766576ab62bfc5919af2af04028180950) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "linux-yocto-dev: Handle performance regression"Richard Purdie2016-07-261-5/+2
| | | | | | | | | | This recipe no longer functions after this change, revert it. This reverts commit 3e0137113e894eb8b23cd43721c7ba26ff234c8f. (From OE-Core rev: 5e8cf6e568ab90365894478a272b5c28dc941031) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: update to revision cccb6a0da9Maxin B. John2016-07-201-2/+2
| | | | | | | | | | Upgrade to revision cccb6a0da9 (From OE-Core rev: 418a0ebb318b32068a26addc4846e9c3aa2a044d) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: Enable debug/printk.scc KERNEL_FEATURE on qemuall machines.Aníbal Limón2016-07-201-0/+2
| | | | | | | | | | | | | | | We are experimenting some issues in the Autobuilder infraestructure possible due to high I/O loads, in order to provide more information about intervals of times in printk enable by default debug/printk.scc on qemu development images. [YOCTO #9299] (From OE-Core rev: dfa8be08aa6e7ad6dbc615df8875dc2ac1ac8946) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/4.1: pinctrl backportsBruce Ashfield2016-07-203-10/+10
| | | | | | | | | | | | | | | | | | | | Integrating the following mainline commits: pinctrl: make pinctrl_register() return proper error code pinctrl: Remove .owner field pinctrl: mediatek: add pinctrl/GPIO/EINT driver for mt8127 pinctrl: mediatek: Add Pinctrl/GPIO driver for mt6397. pinctrl: add imx7d support pinctrl: sirf: add sirf atlas7 pinctrl and gpio support pinctrl: Add Pistachio SoC pin control driver pinctrl: lpc18xx: add the missing group function map pinctrl: lpc18xx: create pin cap lookup helper pinctrl: add lpc18xx pinctrl driver (From OE-Core rev: 58c43f62700610fbaf2989f55d87ba9212f4361f) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: powerclamp and gpio configuration changesBruce Ashfield2016-07-206-6/+6
| | | | | | | | | | | | | Integrating the following commits to tweak the default configuration for powerclamp and gpio: features/thermal: make INTEL_POWERCLAMP driver built as module gpio: disable Intel PMIC gpio (From OE-Core rev: b5541c3db22fbe8b4e0389b5937cbb5ae0284f00) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/4.4: pwm and mei updatesBruce Ashfield2016-07-202-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backporting upstream mei changes, and two pwm changes from Mika Westerberg's pwm-4.4 branch: pwm: lpss: Prevent on_time_div overflow on lower frequencies pwm: lpss: fix base_unit calculation for PWM frequency mei: don't use wake_up_interruptible for wr_ctrl mei: fix waiting for wr_ctrl for corner cases. mei: don't clean control queues on notify request timeout mei: drop global me_client_index mei: do not pin module if cldrv->probe() failed mei: bus: use scnprintf in *_show mei: fix format string in debug prints mei: fix double freeing of a cb during link reset mei: wd: drop AGAIN the watchdog code from the core mei driver mei: split amthif client init from end of clients enumeration mei: hbm: send immediate reply flag in enum request mei: bus: run rescan on me_clients list change mei: drop reserved host client ids mei: hbm: warn about fw-initiated disconnect mei: fixed address clients for the new platforms mei: fill file pointer in read cb for fixed address client mei: discard replies from unconnected fixed address clients mei: clean write queues and wake waiters on disconnect mei: wake blocked write on link reset mei: drop superfluous closing bracket from write traces mei: bus: fix notification event delivery mei: bus: fix RX event scheduling mei: amthif: interrupt reader on link reset mei: amthif: use rx_wait queue also for amthif client mei: amthif: drop parameter validation from mei_amthif_write mei: amthif: replace amthif_rd_complete_list with rd_completed mei: amthif: allow only one request at a time mei: rename variable names 'file_object' to fp mei: constify struct file pointer mei: amthif: don't drop read packets on timeout mei: amthif: don't copy from an empty buffer mei: call stop on failed char device register mei: fix possible integer overflow issue mei: debugfs: allow hbm features list dump in earlier stages mei: debugfs: adjust active clients print buffer mei: trace pci configuration space io watchdog: mei_wdt: re-register device on event watchdog: mei_wdt: register wd device only if required mei: bus: whitelist the watchdog client watchdog: mei_wdt: add status debugfs entry watchdog: mei_wdt: implement MEI iAMT watchdog driver mei: wd: drop the watchdog code from the core mei driver mei: drop nfc leftovers from the mei driver mei: always copy the read buffer if data is ready mei: prevent queuing new flow control credit. mei: bus: remove redundant uuid string in debug messages (From OE-Core rev: a525872906afbd76d8b3e1c53a5b8da3ffda81ee) Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Eric Ernst <eric.ernst@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/4.4: update to v4.4.14Bruce Ashfield2016-07-203-15/+15
| | | | | | | | | | Updating the korg -stable release. (From OE-Core rev: 9c0c00e7b8d330533f7e83638050f1030a0cbf89) 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>
* linux-yocto/4.1: update to 4.1.27Bruce Ashfield2016-07-203-16/+16
| | | | | | | | | | Integrating the korg -stable release. (From OE-Core rev: f4e867e6be0ece72a4bae8843599d24d5540cbe6) 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>
* linux-yocto/config: mei, gpio and usb type cBruce Ashfield2016-07-203-3/+3
| | | | | | | | | | | | | | | | Merging the following configuration changes into the 4.1 and 4.4 linux-yocto kernel meta data: mei.cfg: mei driver is no longer in staging bsp/intel-common: add keyboard-gpio to intel-common-drivers features/thermal: Enable Intel PMIC thermal feature broxton: Enable USB Type C feature for broxton (From OE-Core rev: 5218a27645b57f0d38d9b17bcb2f41e3e04c0d67) 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>
* linux-yocto/4.4: cpumask: Export cpumask_any_but()Bruce Ashfield2016-07-202-9/+9
| | | | | | | | | | | | Backporting a mainline commit to Intel uncore can be completely modular. (From OE-Core rev: 416b33bd2c6a79ce025c1a9943965497f17d7659) Signed-off-by: Nilesh Bacchewar <nilesh.bacchewar@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>
* linux-yocto/4.1/4.1: mei, usb and extcon changesBruce Ashfield2016-07-206-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backporting the following mainline changes to the 4.1 and 4.4 kernels: device property: Avoid potential dereferences of invalid pointers device property: convert to use match_string() helper lib/string: introduce match_string() helper device property: fix for a case of use-after-free device property: fwnode->secondary may contain ERR_PTR(-ENODEV) xhci: harden xhci_find_next_ext_cap against device removal xhci: rework xhci extended capability list parsing functions xhci: parse xhci protocol speed ID list for usb 3.1 usage extcon: Redefine the unique id of supported external connectors without 'enum extcon' type extcon: Remove optional print_name() function pointer of extcon_dev extcon: Update the prototype of extcon_register_notifier() with enum extcon extcon: Use capital letter for the name of external connectors extcon: Use the unique id for external connector instead of string extcon: Remove the optional name of extcon device extcon: adc-jack: Remove the unneeded num_cables field extcon: Alter MHL-TA cable name to TA cable name extcon: Unify the dock device names on max8997/77693 extcon: Unify the jig cable names on rt8973 and max14577/77693/77843 extcon: Fix the checkpatch warning and minor coding style issue extcon: Add extcon_get_edev_name() API to get the extcon device name extcon: Modify the device name as extcon[X] for sysfs extcon: Add manufactor name of each extcon device And the following config change: mei.cfg: Add CONFIG_INTEL_MEI_TXE=m (From OE-Core rev: a04c634adc3d073701ecf2576fe9dd0cf8ace629) 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>
* linux-yocto/4.1/4.4: x86, power and usb-c mainline backportsBruce Ashfield2016-07-206-25/+25
| | | | | | | | | | | | | Updating the 4.1 and 4.4 kernels with mainlin backports for platform/feature support. Also updating the kernel meta data to configure and use those new features. (From OE-Core rev: d33f1ccd8ddf8eeaf262267d8618f2422adda629) 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>
* linux-yocto-dev: Handle performance regressionRichard Purdie2016-07-121-2/+5
| | | | | | | | | | | | | | | After commit 0437a59e3c298d40aaa96af09b80bff8fcbe292d, the linux-yocto-dev recipe is being parsed every time we run "bitbake -p". This was spotted on some performance benchmarks and showed up as a performance regression. We can tweak the recipe to ensure this doesn't happen and that its only used if selected. (From OE-Core rev: 5c21fd5eb8b689504e7f6a4ee2f674c32e3d928b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babeltrace: update to 1.4.0Alexander Kanavin2016-07-103-77/+6
| | | | | | | | | | | | | | | | Switch to using tarballs for upstream releases. Drop merged patches. Add a --disable-debug-info parameter to ./configure, as it otherwise attempts to execute a small test binary. If this (new) feature is truly needed, we can set up a qemu wrapper later, or patch autoconf macros. (From OE-Core rev: 3c53af483d46d6fbc8ad5bd764c01897f2ed5c1b) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpfm4: fix compile errorKai Kang2016-07-082-0/+39
| | | | | | | | | | | | | | | | It fails to compile libpfm4 with misleading-indentation error: | syst_count.c:346:3: error: this 'for' clause does not guard... [-Werror=misleading-indentation] | for(c=cmin ; c < cmax; c++) | ^~~ Add clauses to fix it. (From OE-Core rev: 2857658ff5e477cb436cf2778a78fa9f192caab8) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: bxt and input configuration changesBruce Ashfield2016-07-016-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merging the following two configuration changes: Author: Rebecca Chang Swee Fun <rebecca.swee.fun.chang@intel.com> Date: Mon Jun 27 15:11:04 2016 +0800 broxton: set CONFIG_GPIO_GENERIC_PLATFORM instead of CONFIG_GPIO_GENERIC 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> Author: California Sullivan <california.l.sullivan@intel.com> Date: Mon Jun 27 17:15:53 2016 -0700 features/input: Add keyboard-gpio feature 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> (From OE-Core rev: 358fa56efa2db2a5276a910676e2e6093fe2da0f) 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>
* linux-yocto/4.x: vfat feature cleanupBruce Ashfield2016-07-016-6/+6
| | | | | | | | | | | | | | From Tom: This is a small patchset for yocto-4.4 that removes open-coded VFAT_FS and enables defaults that should be enabled along with it. (From OE-Core rev: 0eb474575a96a525755c1d679015af49d7667283) Signed-off-by: Tom Zanussi <tom.zanussi@linux.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>
* linux-yocto/4.1/4.4: tpm, telemetry, acpi and cpuid changesBruce Ashfield2016-07-013-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | Backporting mainline and development commits to for various subystems. linux-yocto: 4.4: ae6a527d93f i2c: add support for ACPI reconfigure notifications f2422e12af53 acpi: add support for ACPI reconfiguration notifiers bc87718fdb56 acpi: fix enumeration (visited) flags for bus rescans linux-yocto: 4.1: 9f166e918f63 platform:x86 decouple telemetry driver from the optional IPC resources adfc21c1f156 tpm: update PPI documentation to address the location change. 661b0190e412 x86 tsc: enumerate BXT tsc_khz via CPUID 78be69fa9d15 x86 tsc: enumerate SKL cpu_khz and tsc_khz via CPUID (From OE-Core rev: fdde7061108f04b04a82ba76205ce85afc543a6f) Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Yu, Ong Hock <ong.hock.yu@intel.com> Signed-off-by: Yong, Jonathan <jonathan.yong@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>
* linux-libc-headers: Update doc for recipe dependsPatrick Williams2016-07-011-3/+4
| | | | | | | | | | | | | The previous documentation has not been accurate since at least commit 6a1ff0e. Recipes that follow the old documentation will not correctly build when sstate is enabled because the kernel source will not actually be available. (From OE-Core rev: 8e7522aae65b3ab0a2ded257d5c82e030fe2d710) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pythonnative.bbclass, python3native.bbclass: export STAGING_INCDIR, ↵Alexander Kanavin2016-07-011-2/+0
| | | | | | | | | | | | | | | | | | | | | | | STAGING_LIBDIR, PYTHON variables We patch Python's distutils modules to access STAGING_INCDIR/LIBDIR, so when they are not set, scripts that utilize distutils (e.g. python-config) fail. Several recipes need to export those manually to prevent such failures, so let's do that in the class instead. PYTHON variable is exported because otherwise autotools' python.m4 macro will pick up its own internal default, which may not be the version that we want. glib recipe in particular was previously using Python 2.x during build due to python.m4 defaulting to it - now it's using Python 3.x, and so needs a small fix in deletion of *.pyc files. (From OE-Core rev: c1e0eb62f2d89b10b187016200018830b1c77945) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/4.4: sensor driver backportsBruce Ashfield2016-06-232-9/+9
| | | | | | | | | | | | | | Backporting the following mainline commits to make additional sensor drivers available: iio: st-accel: add support for lis2dh12 iio: accel: add Freescale MMA7455L/MMA7456L 3-axis accelerometer driver (From OE-Core rev: 952fdf647ee0223df2189bbb87437befcb0c2707) 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>
* linux-yocto/4.1: pstate backportsBruce Ashfield2016-06-233-10/+10
| | | | | | | | | | | | | | | | | Backporting the following pstate changes: fb0153332a1f intel_pstate: Add SKY-S support 7eb5c7e382a8 intel_pstate: enable HWP per CPU d73ee41f9786 x86/mm: Decouple <linux/vmalloc.h> from <asm/io.h> f447e3d661f7 intel_pstate: Force setting target pstate when required 7db69b864737 intel_pstate: change some inconsistent debug information 367ff9c73d83 intel_pstate: Add tsc collection and keep previous target pstate (From OE-Core rev: acd05ec90cfa4c43b24904117e69c805892e2544) 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>
* linux-yocto/4.1: driver, mmc and power backportsBruce Ashfield2016-06-233-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backporting the following changes from the mainline kernel for improved power, driver core and mmc support: x86 tsc_msr: Remove irqoff around MSR-based TSC enumeration x86 tsc_msr: Add Airmont reference clock values x86 tsc_msr: Correct Silvermont reference clock values x86 tsc_msr: Update comments, expand definitions x86 tsc_msr: Remove debugging messages x86 tsc_msr: Identify Intel-specific code mmc: block: Pause re-tuning while switched to the RPMB partition mmc: block: Always switch back to main area after RPMB access mmc: core: Add a facility to "pause" re-tuning mmc: block: Add new ioctl to send multi commands cpuidle: powernv/pseries: Auto-promotion of snooze to deeper idle state cpuidle: Do not use CPUIDLE_DRIVER_STATE_START in cpuidle.c cpuidle: Select a different state on tick_broadcast_enter() failures sched / idle: Call default_idle_call() from cpuidle_enter_state() sched / idle: Call idle_set_state() from cpuidle_enter_state() cpuidle: Fix the kerneldoc comment for cpuidle_enter_state() sched / idle: Eliminate the "reflect" check from cpuidle_idle_call() cpuidle: Check the sign of index in cpuidle_reflect() sched / idle: Move the default idle call code to a separate function powercap / RAPL: Add support for Broadwell-H module: add extra argument for parse_params() callback Driver core: wakeup the parent device before trying probe base:dd - Fix for typo in comment to function driver_deferred_probe_trigger(). (From OE-Core rev: 10c7d7747ec4e97d1770cc8e40883da25c37a709) 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>
* linux-yocto/4.1: SPI, MFD, alsa and perf backportsBruce Ashfield2016-06-233-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backporting the following mainline support for enhanced/improved support on BXT based platforms. spi: pxa2xx: Fix too early chipselect deassert spi: pxa2xx: Update comment in int_transfer_complete() spi: pxa2xx: Print actual DMA/PIO transfer mode in debug messages spi: atmel: remove warning when !CONFIG_PM_SLEEP spi: fix kernel-doc warnings in spi.h spi: expose spi_master and spi_device statistics via sysfs spi: meson: Fix module autoload for OF platform driver spi: bcm2835: BUG: fix wrong use of PAGE_MASK spi: bcm2835: fix overflow in calculation of transfer time spi: bcm2835: bcm2835_dma_release() can be static spi: bcm2835: fix kbuild compile warnings/errors and a typo spi: bcm2835: enable dma modes for transfers meeting certain conditions spi: bcm2835: fallback to interrupt for polling timeouts exceeding 2 jiffies spi: spi-pxa2xx: Remove unused legacy null dma buffer and allocation for it mfd: intel-lpss: Save register context on suspend mfd: intel-lpss: Pass I2C configuration via properties on BXT perf/x86: Fix time_shift in perf_event_mmap_page perf/x86: Improve accuracy of perf/sched clock ALSA: hda - Move send_cmd / get_response to hdac_bus_ops ALSA: hda - Merge codec and controller helpers ALSA: hda - moved alloc/free stream pages function to controller library ALSA: hda - Add DSP loader to core library code ALSA: hda - Add the controller helper codes to hda-core module ALSA: hda - Handle error from get_response bus ops directly Revert "ALSA: hda - fix number of devices query on hotplug" (From OE-Core rev: 1ee07350eac47f389d6ef769c054d0ab2c258dd4) 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>
* linux-yocto/4.1: tpm2, pinctrl, powercap and watchdog backportsBruce Ashfield2016-06-233-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backporting the following changes from the mainline kernel to enhance/add support for tpm2, pinctrl, powercap and watchdog: 634eecdb20b watchdog: omap_wdt: fix null pointer dereference 79dcc6dabe63 Watchdog: Fix parent of watchdog_devices 94a2e8f1d47e watchdog: st_wdt: Update IP layout information to include Clocksource 3a74938a9610 watchdog: st_wdt: Add new driver for ST's LPC Watchdog fb6b94faa82c watchdog: digicolor: driver for Conexant Digicolor CX92755 SoC 22fb7b1353dd watchdog: omap_wdt: early_enable module parameter aa70c2480483 watchdog: omap_wdt: implement get_timeleft 47b7a1a5f70f watchdog: docs: omap_wdt also understands nowayout 9d833b82f706 watchdog: omap: put struct watchdog_device into driver data 87ded7189286 watchdog: omap: use watchdog_init_timeout instead of open coding it abccc104fcad watchdog: da9062: DA9062 watchdog driver 95f8b1024989 pinctrl: intel: fix offset calculation issue of register PAD_OWN 8e6606474fa0 pinctrl: intel: fix bug of register offset calculation 2423468cb317 MAINTAINERS: add new maintainer for TPM DEVICE DRIVER cf94113f05a6 sysfs: added __compat_only_sysfs_link_entry_to_kobj() cdb63d5cd801 tpm: fix missing migratable flag in sealing functionality for TPM2 95f738feaafe keys, trusted: seal/unseal with TPM 2.0 chips 92eb9052fd50 tpm: seal/unseal for TPM 2.0 d9c7bb89ec85 keys, trusted: move struct trusted_key_options to trusted-type.h a3b394e91b31 tpm: introduce tpm_buf bd68d3a21139 tpm: move the PPI attributes to character device directory. 54fb01659b83 tpm, tpm_crb: fix unaligned read of the command buffer address 0ab522f5ef11 powercap / RAPL: disable the 2nd power limit properly 9ba8c36e9ea7 thermal/powerclamp: remove cpu whitelist 2971561c8fc9 thermal/powerclamp: add cpu id for Skylake u/y cec457da34d0 thermal/powerclamp: add cpu id for denlow platform fc30ea2abdc5 thermal/powerclamp: add cpu id for skylake h/s 3eea18356747 intel powerclamp: support Knights Landing (From OE-Core rev: ecb1fa6ed2366a031ba374d16d4ccbbd8b7fc7e6) 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>
* linux-firmware: add iwlwifi-misc package for remaining iwlwifi firmwareChristopher Clark2016-06-231-0/+10
| | | | | | | | | | | | | Package all remaining iwlwifi firmwares that are not individually packaged into a single package. This is distinct from the virtual linux-firmware-iwlwifi package so that the -misc firmwares can be installed without pulling in all other firmwares via dependencies. (From OE-Core rev: 9eeb4a479e1c85219e56272c66d7fc8aabc33574) Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>