aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
AgeCommit message (Collapse)Author
2016-08-18kernel-yocto: streamline patch, configuration and audit phasesBruce Ashfield
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] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-08-18linux-yocto/4.4: -rt update patch meta-data to remove ()Bruce Ashfield
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. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-08-18linux-yocto/4.1: config updatesBruce Ashfield
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 Signed-off-by: Bruce Ashfield <bruce@zedd.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-08-18linux-yocto/4.1: bump to v4.1.29Bruce Ashfield
Integrating the korg 4.1.29 -stable release Signed-off-by: Bruce Ashfield <bruce@zedd.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-08-18linux-yocto/4.1: netfilter: x_tables: fix stable backportBruce Ashfield
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> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-08-17Use PYTHON_SITEPACKAGES_DIR insted of hard-coded *site-packages*Ming Liu
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". Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-08-10linux-dtb.inc: Support for .dtbo files for dtb overlaysHerve Jourdain
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>
2016-08-04perf: enable man pages for 'help' functionalityDengke Du
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. Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-08-01linux-yocto/4.1: qemuppc and qemumips build fixesBruce Ashfield
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" Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-08-01linux-yocto/4.1: bug fixes and configuration changesBruce Ashfield
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 Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-08-01linux-yocto/4.1: bump to v4.1.28Bruce Ashfield
Updating the 4.1 kernel to the korg -stable release Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-08-01linux-yocto/4.4: update to -r19Bruce Ashfield
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. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-08-01linux-yocto/4.4: mousedev and printk configuation streamliningBruce Ashfield
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> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-08-01linux-yocto/4.4: lx-dialog and mei bug fixesBruce Ashfield
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 Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-08-01linux-yocto/4.4: bump to v4.4.15Bruce Ashfield
Updating the 4.4 kernel to take the korg -stable release. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-08-01sysprof: clean up FILESRoss Burton
This recipe ships unversioned libraries so fiddle the intermediate variables instead of rewriting FILES directly. Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-28Revert "lttng-tools: filter random filename of ptest output"Nathan Lynch
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). Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-26babeltrace: remove unnecessary SRCREVNathan Lynch
Since this recipe doesn't use a SCM the SRCREV is unneeded (and inaccurate). Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-25kdump: don't set default values for KDUMP_CMDLINE and KDUMP_KIMAGERoy Li
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 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>
2016-07-25sysprof: fix floating dependency on polkitMaxin B. John
Fix the floating dependency on polkit by providing a PACKAGECONFIG option. Then, package the newly created files appropriately. [YOCTO #9987] Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-25linux-yocto-dev: Ensure we don't reparse the recipe when its not being used ↵Richard Purdie
(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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-07-25Revert "linux-yocto-dev: Handle performance regression"Richard Purdie
This recipe no longer functions after this change, revert it. This reverts commit 3e0137113e894eb8b23cd43721c7ba26ff234c8f. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-07-20linux-firmware: update to revision cccb6a0da9Maxin B. John
Upgrade to revision cccb6a0da9 Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20linux-yocto: Enable debug/printk.scc KERNEL_FEATURE on qemuall machines.Aníbal Limón
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] Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20linux-yocto/4.1: pinctrl backportsBruce Ashfield
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 Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-07-20linux-yocto: powerclamp and gpio configuration changesBruce Ashfield
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 Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-07-20linux-yocto/4.4: pwm and mei updatesBruce Ashfield
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 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>
2016-07-20linux-yocto/4.4: update to v4.4.14Bruce Ashfield
Updating the korg -stable release. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20linux-yocto/4.1: update to 4.1.27Bruce Ashfield
Integrating the korg -stable release. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20linux-yocto/config: mei, gpio and usb type cBruce Ashfield
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 Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20linux-yocto/4.4: cpumask: Export cpumask_any_but()Bruce Ashfield
Backporting a mainline commit to Intel uncore can be completely modular. 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>
2016-07-20linux-yocto/4.1/4.1: mei, usb and extcon changesBruce Ashfield
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 Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20linux-yocto/4.1/4.4: x86, power and usb-c mainline backportsBruce Ashfield
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. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-12linux-yocto-dev: Handle performance regressionRichard Purdie
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-10babeltrace: update to 1.4.0Alexander Kanavin
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. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-08libpfm4: fix compile errorKai Kang
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. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01linux-yocto: bxt and input configuration changesBruce Ashfield
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> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01linux-yocto/4.x: vfat feature cleanupBruce Ashfield
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. 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>
2016-07-01linux-yocto/4.1/4.4: tpm, telemetry, acpi and cpuid changesBruce Ashfield
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 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>
2016-07-01linux-libc-headers: Update doc for recipe dependsPatrick Williams
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. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-01pythonnative.bbclass, python3native.bbclass: export STAGING_INCDIR, ↵Alexander Kanavin
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. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-06-23linux-yocto/4.4: sensor driver backportsBruce Ashfield
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 Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-06-23linux-yocto/4.1: pstate backportsBruce Ashfield
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 Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-06-23linux-yocto/4.1: driver, mmc and power backportsBruce Ashfield
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(). Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-06-23linux-yocto/4.1: SPI, MFD, alsa and perf backportsBruce Ashfield
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" Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-06-23linux-yocto/4.1: tpm2, pinctrl, powercap and watchdog backportsBruce Ashfield
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 Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-06-23linux-firmware: add iwlwifi-misc package for remaining iwlwifi firmwareChristopher Clark
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. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-06-23linux-firmware: add iwlwifi virtual package of all iwlwifi firmwaresChristopher Clark
Depends upon all available iwlwifi firmware packages at build time. Fix typo in ALLOW_EMPTY of earlier version. Motivation: simplifies inclusion of all Intel wifi firmwares. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-06-23linux-firmware: fix typo in RDEPENDS line for iwlwifi-6000g2b-5Christopher Clark
Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-06-23linux-firmware: add LICENSE line for iwlwifi-license packageChristopher Clark
Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Ross Burton <ross.burton@intel.com>