Commit Graph

809 Commits

Author SHA1 Message Date
Bruce Ashfield 223eb651a6 linux-yocto/4.x: configuration updates
Integrating a series to expliclity set the quark build to 32 bits
and avoid 64 bit x86 defaults.

We also have a series of commits that fix configuration warnings on
x86 platforms:

 intel-quark.cfg: Explicitly disable CONFIG_64BIT
 common-pc-drivers.cfg: Remove I2O configs
 features: Fix dependencies and =m vs =y discrepancies for corei7
 intel-core2-32.cfg: Explicitly disable CONFIG_64BIT
 features: Add 6lowpan feature and add it where necessary

(From OE-Core rev: cd20f6b1f0e20caa5c0aee0263fd9eb21c3566e9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-05 11:56:01 +01:00
Bruce Ashfield 942e2afac2 linux-yocto/4.8: add qemuarm device tree specification
4.7+ requires a device tree for the arm versatile family of platforms.
We add the definition to our 4.8 linux-yocto recipes so we can continue
to boot!

(From OE-Core rev: 8c5cf8193441814e46b7e118655b4e622f785ce5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-05 11:56:01 +01:00
Bruce Ashfield 5cb0f38325 linux-yocto-dev: bump to v4.8+
(From OE-Core rev: 2624fc485f4c0d72ba10f2e3e0257a7fc1960807)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-05 11:56:01 +01:00
Bruce Ashfield 4d1a124289 linux-yocto: introduce v4.8 recipes
(From OE-Core rev: 3585c71dc575dd28a1e2655efc967dd4d6086a37)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-05 11:56:01 +01:00
Bruce Ashfield 1bb1200a93 linux-yocto/4.4: fix configuration warnings
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>
2016-08-23 17:44:34 +01:00
Bruce Ashfield 4b80b346a7 linux-yocto/4.1/4.4: -stable updates and configuration changes
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>
2016-08-23 17:44:34 +01:00
Bruce Ashfield 028e133171 linux-yocto/4.4: -rt update patch meta-data to remove ()
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>
2016-08-18 09:27:53 +01:00
Bruce Ashfield 93ea3a517c linux-yocto/4.1: config updates
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>
2016-08-18 09:27:52 +01:00
Bruce Ashfield cb63dd10bb linux-yocto/4.1: bump to v4.1.29
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>
2016-08-18 09:27:52 +01:00
Bruce Ashfield e7c681720b linux-yocto/4.1: netfilter: x_tables: fix stable backport
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>
2016-08-18 09:27:52 +01:00
Herve Jourdain d90eaa8518 linux-dtb.inc: Support for .dtbo files for dtb overlays
(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>
2016-08-10 10:46:33 +01:00
Bruce Ashfield a996ae6228 linux-yocto/4.1: qemuppc and qemumips build fixes
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>
2016-08-04 15:22:20 +01:00
Bruce Ashfield 453c174e41 linux-yocto/4.1: bug fixes and configuration changes
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>
2016-08-04 15:22:20 +01:00
Bruce Ashfield 9dc4cfc54d linux-yocto/4.1: bump to v4.1.28
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>
2016-08-04 15:22:20 +01:00
Bruce Ashfield 0966a839ac linux-yocto/4.4: update to -r19
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>
2016-08-01 11:47:14 +01:00
Bruce Ashfield 5c2bc4d63a linux-yocto/4.4: mousedev and printk configuation streamlining
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>
2016-08-01 11:47:12 +01:00
Bruce Ashfield e647fe0bff linux-yocto/4.4: lx-dialog and mei bug fixes
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>
2016-08-01 11:47:12 +01:00
Bruce Ashfield ec31f30a6e linux-yocto/4.4: bump to v4.4.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>
2016-08-01 11:47:12 +01:00
Richard Purdie cea867b532 linux-yocto-dev: Ensure we don't reparse the recipe when its not being used (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>
2016-07-26 08:56:26 +01:00
Richard Purdie e1fcb032e2 Revert "linux-yocto-dev: Handle performance regression"
This recipe no longer functions after this change, revert it.

This reverts commit 3e0137113e.

(From OE-Core rev: 5e8cf6e568ab90365894478a272b5c28dc941031)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-07-26 08:56:25 +01:00
Aníbal Limón d55b7650d3 linux-yocto: Enable debug/printk.scc KERNEL_FEATURE on qemuall machines.
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>
2016-07-20 10:28:44 +01:00
Bruce Ashfield 0b61f87cda linux-yocto/4.1: pinctrl backports
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>
2016-07-20 10:28:43 +01:00
Bruce Ashfield 200fcba58e linux-yocto: powerclamp and gpio configuration changes
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>
2016-07-20 10:28:43 +01:00
Bruce Ashfield 8a4fb05315 linux-yocto/4.4: pwm and mei updates
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>
2016-07-20 10:28:43 +01:00
Bruce Ashfield 171d825923 linux-yocto/4.4: update to v4.4.14
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>
2016-07-20 10:28:43 +01:00
Bruce Ashfield 8e1615226f linux-yocto/4.1: update to 4.1.27
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>
2016-07-20 10:28:43 +01:00
Bruce Ashfield 6ae50db71e linux-yocto/config: mei, gpio and usb type c
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>
2016-07-20 10:28:43 +01:00
Bruce Ashfield 0c5b11a701 linux-yocto/4.4: cpumask: Export cpumask_any_but()
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>
2016-07-20 10:28:43 +01:00
Bruce Ashfield 59d3fb6db0 linux-yocto/4.1/4.1: mei, usb and extcon changes
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>
2016-07-20 10:28:43 +01:00
Bruce Ashfield 92469ae0e3 linux-yocto/4.1/4.4: x86, power and usb-c mainline backports
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>
2016-07-20 10:28:43 +01:00
Richard Purdie 3e0137113e linux-yocto-dev: Handle performance regression
After commit 0437a59e3c, 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>
2016-07-12 23:10:14 +01:00
Bruce Ashfield 8f82db78a9 linux-yocto: bxt and input configuration changes
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>
2016-07-01 16:22:48 +01:00
Bruce Ashfield 76332d91da linux-yocto/4.x: vfat feature cleanup
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>
2016-07-01 16:22:48 +01:00
Bruce Ashfield b80b5433a3 linux-yocto/4.1/4.4: tpm, telemetry, acpi and cpuid changes
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>
2016-07-01 16:22:48 +01:00
Bruce Ashfield 8375252712 linux-yocto/4.4: sensor driver backports
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>
2016-06-23 14:26:17 +01:00
Bruce Ashfield f28c266bea linux-yocto/4.1: pstate backports
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>
2016-06-23 14:26:17 +01:00
Bruce Ashfield f775c270fc linux-yocto/4.1: driver, mmc and power backports
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>
2016-06-23 14:26:17 +01:00
Bruce Ashfield 48d7ebc9c3 linux-yocto/4.1: SPI, MFD, alsa and perf backports
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>
2016-06-23 14:26:17 +01:00
Bruce Ashfield deced08e86 linux-yocto/4.1: tpm2, pinctrl, powercap and watchdog backports
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>
2016-06-23 14:26:17 +01:00
Bruce Ashfield 6a27517505 linux-yocto/4.1: powerclamp: APL CPU
These patches backport the upstream changes for powerclamp to support APL APU.

  Dasaratharaman Chandramouli (1):
    intel powerclamp: support Knights Landing

  Jacob Pan (2):
    thermal/powerclamp: add cpu id for denlow platform
    thermal/powerclamp: remove cpu whitelist

  Radivoje Jovanovic (2):
    thermal/powerclamp: add cpu id for skylake h/s
    thermal/powerclamp: add cpu id for Skylake u/y

(From OE-Core rev: 39207d4b5d2829a8811c182bedc2b1adb718e9d2)

Signed-off-by: Yu, Ong Hock <ong.hock.yu@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>
2016-06-15 18:05:22 +01:00
Bruce Ashfield 96a993bb4c linux-yocto/4.1: Always Running Timer Support
Backporting mainline patches to add always running timer support (ART).

The main advantage of ART is that ART can be captured
simultaneous to the capture of audio and network device clocks,
allowing a correlation between timebases to be constructed.

   Arnd Bergmann (1):
     ntp/pps: replace getnstime_raw_and_real with 64-bit version

   Christopher S. Hall (4):
     time: Add cycles to nanoseconds translation
     time: Add timekeeping snapshot code capturing system time and counter
     time: Add driver cross timestamp interface for higher precision time synchronization
     x86/tsc: Always Running Timer (ART) correlated clocksource

   DengChao (1):
     timekeeping: Provide internal function __ktime_get_real_seconds

(From OE-Core rev: c38faba29a2d76e8b12f80f7529918388f4e2170)

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>
2016-06-15 18:05:21 +01:00
Bruce Ashfield 30a289a1f6 linux-yocto/4.1: intel_idle: backport BXT CPU support
Integrating upstream changes for intel_idle to support BXT CPU.

   Dasaratharaman Chandramouli (1):
     intel_idle: Support for Intel Xeon Phi Processor x200 Product Family

   Len Brown (4):
     intel_idle: Skylake Client Support
     intel_idle: Skylake Client Support - updated
     intel_idle: prevent SKL-H boot failure when C8+C9+C10 enabled
     intel_idle: add BXT support

(From OE-Core rev: 92c3d9c71718ff4f4d9ec40a90be2f99a64bec66)

Signed-off-by: Yu, Ong Hock <ong.hock.yu@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>
2016-06-15 18:05:21 +01:00
Bruce Ashfield 3dcbd1283c linux-yocto/4.4: update to v4.4.13
Integrating the korg -stable release.

(From OE-Core rev: b3ff02b56b7d3731ad4d78a4a2158d469f561e47)

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>
2016-06-15 18:05:21 +01:00
Bruce Ashfield 62f4fa49f9 linux-yocto/4.1: bump to v4.1.26
Integrating the 4.1.25 and 4.1.26 stable releases.

(From OE-Core rev: 298a3c38ac99282554b51bdc0abec2423b6ce694)

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>
2016-06-15 18:05:21 +01:00
Bruce Ashfield 7ccbe39357 linux-yocto/4.1: serial, mmc, mtd mainline backports
Backporting the following commits for BXT and other device support:

b4acdc6d1ea9 serial: 8250_dw: Do not use readl/writel before checking port iotype
c439afb78cda serial: 8250_dw: Add support for big-endian MMIO accesses
9227cc288f7e serial: 8250_dw: Avoid serial_outx code duplicate with new dw8250_check_lcr()
9d608cf2b4c5 serial: 8250_dw: don't set UPF_BOOT_AUTOCONF flag
db4e65b3a854 serial: 8250_dw: cleanup dw8250_setup_port
f4885484ee87 serial: 8250_dw: cleanup dw8250_idma_filter
0912b12e5df0 serial: 8250_dw: rename and comment the fallback dma filter
3436bb74c86b serial: 8250_dw: proper support for UARTs without busy functionality
fac8ac4a8074 serial: 8250_dw: add dw8250_quirks function
0bba963bdd94 serial: 8250_dw: only setup the port from one place
d01850ea5471 serial: 8250_dw: hook the DMA in one place
585f11e24199 serial: 8250_dw: adapt to unified device property interface
df44bc6d8b61 serial: 8250_dw: add separate pointer for the uart_port to dw8250_probe
84e9183637e7 serial: 8250_dw: allow lower reference frequencies
70ce481f5678 serial:8250_dw: do not alter CTS and DCTS since AFE is enabled
739968950dc4 serial: 8250: Auto CTS control by HW if AFE enabled
074cdf88d099 serial: 8250_dw: support ACPI platforms with integrated DMA engine
0bb15fc79c22 serial: 8250_dma: no need to sync RX buffer
45082f48e5c6 dmaengine: idma: rename to INTEL_IDMA64
1f4c5fb48460 mmc: sdhci-acpi: Set MMC_CAP_AGGRESSIVE_PM for Broxton controllers
6963cc8f6e2e mmc: sdhci-pci: Set MMC_CAP_AGGRESSIVE_PM for Broxton controllers
aab588165ee4 mmc: sdhci-pci: Add support and PCI IDs for more Broxton host controllers
c51e080a85ac mmc: sdhci-acpi: Fix card detect race for Intel BXT/APL
fbbad4798f9c mmc: sdhci-pci: Fix card detect race for Intel BXT/APL
ce6717f7195e mmc: sdhci: Allow override of get_cd() called from sdhci_request()
abceeaf8efc8 mmc: sdhci: Allow override of mmc host operations
279c8ddf6b6d mmc: sdhci: make max-frequency property in device tree work
6e9d3ad3a003 mtd: spi-nor: add support for w25q128fw

(From OE-Core rev: 8d11341b23d4f8867b1d829adb8a30556c3a5d54)

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>
2016-06-15 18:05:21 +01:00
Bruce Ashfield aafcdd051b linux-yocto/4.4: mmc backports
Backporting the following mcc commits to the 4.4 repo. These fix issues
being seen on broxton based boads:

  1f3e98df094c mmc: core: Add a facility to "pause" re-tuning
  b27fcd162327 mmc: block: Pause re-tuning while switched to the RPMB partition
  9aa07b4e274e mmc: block: Always switch back to main area after RPMB access

(From OE-Core rev: 9161b0856ef48275df9fedd3174629e5b29812c5)

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>
2016-06-07 15:22:37 +01:00
Bruce Ashfield 7bb3651f94 yocto-bsps: add i2c definitions to beaglebone
Importing i2c dtsi support from linux-omap. This enables the
busses for future development and application support.

(From OE-Core rev: 8933893886569f9bbfc4ba7b2678f8c7c6aec611)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-07 15:22:36 +01:00
Bruce Ashfield 87dc548386 linux-yocto/4.4: bump to v4.4.12
(From OE-Core rev: 10ddce2006a09cf7b75e139c06b7cfe0f7bc37a6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-07 15:22:36 +01:00
Bruce Ashfield 2b82b59fb2 linux-yocto/4.1: fix musb compilation error
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>
2016-05-30 15:58:15 +01:00
Bruce Ashfield 5224ac7e95 linux-yocto: only use intel branches for optimized platforms
Reverting the change that moved common-pc* to the intel staging
branches. This means that genericx86, qemux86*, etc, will continue
to use standard/base.

(From OE-Core rev: e3aa87a5d3a7cbe6f2c835273991a388101b0cde)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-30 15:58:15 +01:00
Bruce Ashfield 141bf482d5 linux-yocto: create intel branches
To provide timely support for Intel platforms, without risking
issues with other platforms, we create intel branches from the
common variants.

i.e. We now have standard/intel, which is from standard/base

These branches will be managed like any other in the tree, and
will get common -stable, -rt, bugs and CVE updates.

(From OE-Core rev: 5bc0ce92545b8940a90d96912e46d6320b3a015e)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-30 15:58:15 +01:00
Bruce Ashfield 4dc5ec21dc linux-yocto:4.4: broxton backports
Integrating the following mainline backports for better Broxton
support:

Adrian Hunter (3):
      mmc: sdhci: Remove SDHCI_SDR104_NEEDS_TUNING
      mmc: mmc: Attempt to flush cache before reset
      mmc: mmc: Fix partition switch timeout for some eMMCs

Andy Shevchenko (12):
      device property: always check for fwnode type
      device property: rename helper functions
      device property: refactor built-in properties support
      device property: keep single value inplace
      device property: improve readability of macros
      device property: return -EINVAL when property isn't found in ACPI
      device property: Fallback to secondary fwnode if primary misses the property
      mfd: core: propagate device properties to sub devices drivers
      mfd: intel-lpss: Pass HSUART configuration via properties
      device property: avoid allocations of 0 length
      lib/string: introduce match_string() helper
      device property: convert to use match_string() helper

Bamvor Jian Zhang (1):
      gpiolib: do not allow to insert an empty gpiochip

Christophe RICARD (2):
      ACPI: Rename acpi_gsi_get_irq_type to acpi_dev_get_irq_type and export symbol
      ACPI / gpio: Add irq_type when a GPIO is used as an interrupt

Dasaratharaman Chandramouli (1):
      intel_idle: Support for Intel Xeon Phi Processor x200 Product Family

Gwendal Grignou (1):
      mmc: core: Do regular power cycle when lacking eMMC HW reset support

Heikki Krogerus (4):
      device property: helper macros for property entry creation
      device property: the secondary fwnode needs to depend on the primary
      device property: fwnode->secondary may contain ERR_PTR(-ENODEV)
      device property: fix for a case of use-after-free

Len Brown (2):
      intel_idle: Add SKX support
      intel_idle: add BXT support

Linus Walleij (1):
      Revert "gpio: revert get() to non-errorprogating behaviour"

Mika Westerberg (7):
      pwm: lpss: Remove ->free() callback
      pwm: lpss: Rework the sequence of programming PWM_SW_UPDATE
      device property: Take a copy of the property set
      driver core: platform: Add support for built-in device properties
      mfd: intel-lpss: Add support for passing device properties
      mfd: intel-lpss: Pass SDA hold time to I2C host controller driver
      mfd: intel-lpss: Pass I2C configuration via properties on BXT

Qipeng Zha (1):
      pinctrl: intel: make the high level interrupt working

Richard Cochran (10):
      intel_idle: remove useless return from void function.
      intel_idle: Fix a helper function's return value.
      intel_idle: Remove redundant initialization calls.
      intel_idle: Fix deallocation order on the driver exit path.
      intel_idle: Fix dangling registration on error path.
      intel_idle: Avoid a double free of the per-CPU data.
      intel_idle: Setup the timer broadcast only on successful driver load.
      intel_idle: Don't overreact to a cpuidle registration failure.
      intel_idle: Propagate hot plug errors.
      intel_idle: Clean up all registered devices on exit.

Wolfram Sang (1):
      mmc: make MAN_BKOPS_EN message a debug

qipeng.zha (1):
      pwm: lpss: Update PWM setting for Broxton

(From OE-Core rev: 232320c019240f90fd984a23e4d382cd7c3c018d)

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>
2016-05-30 15:58:15 +01:00
He Zhe c45c94223d kernel: Make symbol link to vmlinuz in boot directory
Rename do_kernel_link_vmlinux to do_kernel_link_images and make a
symbol link to vmlinuz(if exists) for reference in arch/$arch/boot
directory.

Signen-off-by: He Zhe <zhe.he@windriver.com>

(From OE-Core rev: 6e58f54be103814b6b8a85b236510633c49e6832)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-30 15:58:11 +01:00
He Zhe 0437a59e3c kernel: Add KERNEL_IMAGETYPES to build multi types kernel at one time
Add KERNEL_IMAGETYPES to support building packaging and installing
multi types of kernel images, such as zImage uImage, at one time.

KERNEL_IMAGETYPE and KERNEL_ALT_IMAGETYPE work as before.

(From OE-Core rev: 849b67b2e4820564b5e5c9bd4bb293c44351c5f3)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-30 15:58:11 +01:00
Bruce Ashfield 56ab1a5345 linux-yocto/4.4: integrate v4.4.11
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>
2016-05-25 07:50:18 +01:00
Bruce Ashfield 1e9c392044 linux-yocto/4.4: beaglebone: build in the usb controller drivers
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>
2016-05-25 07:50:18 +01:00
Bruce Ashfield 9a38dc6aaf linux-yocto/4.1: v4.1.24 and gcc6 powerpc fixes
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>
2016-05-25 07:50:18 +01:00
Martin Jansa bd7b363361 linux-yocto-rt, core-image-rt*: Explicitly skip when 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>
2016-05-22 16:11:15 +01:00
Robert Yang 711185d82c linux-dummy: set INHIBIT_DEFAULT_DEPS
It doesn't need them.

(From OE-Core rev: dc7036e8bcddb1d29739ebd4c75b150283a10ec0)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-20 10:20:54 +01:00
Ming Liu 5444abaaca kernel: moves KERNEL_SRC_PATH to bitbake.conf
"/usr/src/kernel" is being hard-coded in multiple recipes so far, move its
definition to bitbake.conf.

(From OE-Core rev: eb9f900527e02ca08a1de14b4ac773f513bb1ee4)

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-19 22:32:08 +01:00
Bruce Ashfield 574e9f4b43 linux-yocto/4.4: gcc6 build fixes (powerpc and mips)
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>
2016-05-15 09:06:00 +01:00
Bruce Ashfield 1f2108f0f4 linux-yocto/4.4: bump to v4.4.10
(From OE-Core rev: 4f2898f598c466fa0fde5be64ac4d6a60aae68f7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-13 13:41:28 +01:00
Bruce Ashfield 5968601bd2 linux-yocto/4.4: beaglebone: Enable drm for omap
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>
2016-05-13 13:41:28 +01:00
Bruce Ashfield 322a783592 linux-yocto/4.4: update to v4.4.9
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>
2016-05-13 13:41:28 +01:00
Bruce Ashfield 975fa0d2ac linux-yocto/4.4: bump to v4.4.8
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>
2016-05-13 13:41:28 +01:00
Bruce Ashfield 442fbdd58d linux-yocto-rt/4.1: update to rt23
(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>
2016-05-11 10:33:41 +01:00
Bruce Ashfield 834d31688c linux-yocto/4.4: bump to v4.4.8
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>
2016-05-11 10:33:41 +01:00
Bruce Ashfield 3730f6ffef linux-yocto/4.4: broxton enablement and refactoring
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>
2016-05-11 10:33:41 +01:00
Bruce Ashfield 954bf18507 linux-yocto/4.4: skylake configuration
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>
2016-05-11 10:33:40 +01:00
Bruce Ashfield 6fd2ec93c7 linux-yocto/4.4: BXT mmc fixes + PUNIT, tubropower, and telemetry backport
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>
2016-05-11 10:33:40 +01:00
Bruce Ashfield 3db6b646e5 linux-yocto/4.1: make ltsi content available
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>
2016-05-11 10:33:40 +01:00
Bruce Ashfield ccfa4985f3 linux-yocto/4.1: update to v4.1.22
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>
2016-05-11 10:33:40 +01:00
Bruce Ashfield 1ce221da64 kernel-yocto: allow branch auditing to be suspended
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>
2016-05-11 10:33:40 +01:00
Bruce Ashfield 07f913354f linux-yocto/4.4: sched/cgroup: Fix/cleanup cgroup teardown/init
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>
2016-05-11 10:33:40 +01:00
Bruce Ashfield bfe3731646 linux-yocto/uvesafb: print error message when task timeout occurs
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>
2016-05-11 10:33:40 +01:00
Bruce Ashfield aab3c8d56d linux-yocto: make aufs4 optional
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.

(From OE-Core rev: 5d3d6224ec2abbbeb5b9a292d208040b89cc4b98)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-14 10:58:34 +01:00
Bruce Ashfield d75d2be934 linux-yocto: tiny and pin ctrl config updates
Merging the following two commits:

 ab0d998117cc ktypes/tiny/tiny.cfg: support /proc/sys
 349e9ce59f7b features: enable pinctrl driver for Broxton

(From OE-Core rev: 2f719dc523439a73dd203e6f922a7b3ccaddbee1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-14 10:58:34 +01:00
Bruce Ashfield 8547cbfc80 linux-yocto/4.4: BXT enablement
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

(From OE-Core rev: d975f36c3564ca1c0cd94d91247e952a6bb62207)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-14 10:58:34 +01:00
Bruce Ashfield ffad386d31 linux-yocto/4.1: mainline SPI backports
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

(From OE-Core rev: 7f13ab68e53aa2b12cea391e8d82808ce75c31df)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-14 10:58:34 +01:00
Bruce Ashfield 4ba33a39a2 linux-yocto/4.4: gpio-pca953x: fix the "drive" property cannot read/write
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

(From OE-Core rev: ec13eb0b19ee1d433329af0dd88ac5b31b13c1af)

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-14 10:58:34 +01:00
Robert Yang 6d85874180 linux-yocto-tiny: fix KBRANCH
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.

(From OE-Core rev: 04556b33d5bf232ed4de14725cf94627f434131e)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-13 10:12:53 +01:00
Robert Yang 3ad70a599f linux-yocto-tiny: fix COMPATIBLE_MACHINE
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.

(From OE-Core rev: 8069399d9fd29428b8f3d3db419b81913b57f997)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-12 22:50:21 +01:00
Bruce Ashfield 6ebd43c88b linux-yocto/4.4: UVC: Add support for R200 depth camera
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>
]

(From OE-Core rev: 967009e91472db109bb94c8f865924fef1beaa22)

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-03 15:51:37 +01:00
Bruce Ashfield 6d2299fc2d linux-yocto/4.4: fix PAT for 32bit x86
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.

(From OE-Core rev: 11cf8cb05975dda23370b7715872bc4a191a2ff6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-03 15:51:37 +01:00
Bruce Ashfield 5559301cdf Revert "linux-yocto: Work around PAT issue on qemux86"
This reverts commit 94abdb2eea.

(From OE-Core rev: c36d6c16bbabb7131e795ff71f84b92834f0306f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-03 15:51:37 +01:00
Bruce Ashfield 686c74f9b4 linux-yocto-dev: bump to v4.6-rcX
(From OE-Core rev: cb25dcc7c474a4f49366dbf1e6df04dd01a848dd)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-03 15:51:36 +01:00
Bruce Ashfield b3ba8132eb linux-yocto/4.1: ahci: backport AHCI runtime PM
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

(From OE-Core rev: 83a7fca3f07487cdb367c63ede177f059ff1a021)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-03 15:51:36 +01:00
Bruce Ashfield 8f7bbea48d linux-yocto/4.4: gpio-pca953x: add PCAL9535 interrupt support
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"

(From OE-Core rev: 053bffb7f1af4b295a59859dea07a74009c134a5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-03 15:51:36 +01:00
Bruce Ashfield 4a50c05d3b linux-yocto/4.1: telemetry and dmaengine backports
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

(From OE-Core rev: 89705b6ba06b4157b237926e75bb37ff03636944)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-03 15:51:36 +01:00
Bruce Ashfield ccfe48cea2 linux-yocto: add overlayfs feature
To let overlayfs be used like aufs, we create a feature
fragment. Configurations that want this union FS type, can
enable it via KERNEL_FEATURES.

(From OE-Core rev: b5600da9cdbf9a5e3badd990f399591e48b09eae)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-31 09:15:05 +01:00
Bruce Ashfield 6ae0224a43 linux-yocto/4.4: broxton and usb type-c backports
c43425f73287 mfd: lpss: Add PCI IDs for Intel Broxton B-Step platform
2d6cc1d3e71f spi: pxa2xx: Add support for Intel Broxton B-Step
1df3674b7626 usb: dwc3: gadget: don't send extra ZLP
222ab0043e48 usb: dwc3: gadget: handle request->zero
3f01b2c0295a usb: dwc3: gadget: simplify dwc3_gadget_ep_queue()
729b5a1f8f65 usb: dwc3: gadget: set the OTG flag in dwc3 gadget driver.
65740f5d1a0d usb: dwc3: gadget: simplify next_request() return check
a82442f90ea7 usb: dwc3: Fix assignment of EP transfer resources
d99293bbaa50 usb: dwc3: ep0: fix setup_packet_pending initialization

(From OE-Core rev: 980b33df48d9439a305a6e7d1ed2dbebb6572304)

Signed-off-by: Matt Ranostay <matt.ranostay@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-31 09:15:04 +01:00
Bruce Ashfield e1ae3ee917 linux-yocto/4.4: drm/i915/skl: Fix DMC load on Skylake J0 and K0
[
    NUC6 (Skylake) graphics firmware fails to load without this patch.

    From: Mat Martineau <mathew.j.martineau@linux.intel.com>

    commit a41c8882592fb80458959b10e37632ce030b68ca upstream.

    The driver does not load firmware for unknown steppings, so these new
    steppings must be added to the list.

    Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
    Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
    Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
    Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
    Link: http://patchwork.freedesktop.org/patch/msgid/1454023163-25469-1-git-send-email-mathew.j.martineau@linux.intel.com
]

(From OE-Core rev: 754350eb937c38e1cbd2dd3de26cc93d61d01328)

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>
2016-03-31 09:15:04 +01:00
Bruce Ashfield 0a1d6213f7 linux-yocto/4.1: Intel Broxton: pwm backports
Integrating the following mainline changes:

afaf425e796c pwm: Add the pwm_is_enabled() helper
023721c3d067 pwm: atmel: Fix incorrect CDTY value after disabling
cd9fe8adb313 pwm: atmel: Fix incorrect CDTY value after enabling
3f445ca6df1f pwm: lpss: Rework the sequence of programming PWM_SW_UPDATE
9a51f622bdc9 pwm: lpss: Select core part automatically
8ee11b6f80ba pwm: lpss: Update PWM setting for Broxton
148228a52c2d pwm: lpss: Remove ->free() callback
e20d95bcd0b3 pwm: lpss: Add support for runtime PM
b2248acf6f8b pwm: lpss: Add more Intel Broxton IDs
85e8566bd241 pwm: lpss: Support all four PWMs on Intel Broxton
1bcdcb6275bf pwm: lpss: Add support for multiple PWMs

(From OE-Core rev: e721858657b8641fda94f84866c37668580bd7a9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-31 09:15:04 +01:00
Bruce Ashfield 6ce880241b linux-yocto/4.1: Apollo Lake/Broxton mmc backports
Backporting the following commits:

2b0cc0f0ca23 mmc: It is not an error for the card to be removed while suspended
67903c1f4c77 mmc: sdhci: 64-bit DMA actually has 4-byte alignment
4e434f483381 mmc: sdhci: Do not BUG on invalid vdd
05be442eb234 mmc: mmc: Fix incorrect use of driver strength switching HS200 and HS400
97a5f396dca6 mmc: core: Make runtime resume default behavior for MMC/SD
b6ee1ac07f14 mmc: mmc: Improve reliability of mmc_select_hs400()
45de48ce0b3c mmc: mmc: Move mmc_switch_status()
9d6aaaa0f6b7 mmc: mmc: Fix HS setting in mmc_select_hs400()
d7795de930c5 mmc: mmc: Improve reliability of mmc_select_hs200()
ac98e33a088d mmc: sdhci-acpi: Add more ACPI HIDs for Intel controllers
87f52cce8123 mmc: sdhci-pci: Add more PCI IDs for Intel controllers
cf3a4d2d4c7d mmc: sdhci-pci: Add another PCI ID for an Intel eMMC host controller
b3ef45585504 mmc: sdhci-pci: Build o2micro support in the same module
b32a4e71f49d mmc: sdhci: enable tuning for DDR50
f8e213bee1e1 mmc: sdhci: call sdhci_init() before request irq
ece0925eb94e mmc: sdhci-pci: Enable HS400 for some Intel host controllers
1c01bcdceaf6 mmc: sdhci-pci: Add support for drive strength selection for SPT
c1d6e92915a9 mmc: sdhci: Add a callback to select drive strength
40deb3ac3331 mmc: mmc: Add driver strength selection
e7d602f5992f mmc: mmc: Read card's valid driver strength mask
bc193a886571 mmc: core: Record card drive strength
a548d3993cc8 mmc: core: Factor out common code in drive strength selection
6713f5cf3164 mmc: core: Add 'card' to drive strength selection callback
852e6bd69b77 mmc: core: Simplify card drive strength mask
0bb40266bbb9 mmc: core: Allow card drive strength to be different to host
940d30f1a212 mmc: core: Reset driver type to default
efbc6ba8cd27 mmc: cast u8 to unsigned long long to avoid unexpected error
bafe0e5beba9 mmc: core: Don't print reset warning if reset is not supported
5b2789151852 mmc: block: Retry errored data requests when re-tuning is needed
d14211a4b2fe mmc: block: Check re-tuning in the recovery path
1ff15c648159 mmc: core: Flag re-tuning is needed on CRC errors
12544ee1cdbb mmc: sdhci: Change to new way of doing re-tuning
995073b182f7 mmc: core: Add support for HS400 re-tuning
53a0d731e824 mmc: core: Separate out the mmc_switch status check so it can be re-used
d3f59f108bf7 mmc: mmc: Hold re-tuning in mmc_sleep()
465db9504a27 mmc: core: Hold re-tuning while bkops ongoing
60cacf85ee10 mmc: core: Hold re-tuning during erase commands
5bd43535f4c1 mmc: core: Hold re-tuning during switch commands
4baa45ff8d15 mmc: core: Add support for re-tuning before each request
cd2ca27f9282 mmc: core: Enable / disable re-tuning
65723236b746 mmc: host: Add facility to support re-tuning

(From OE-Core rev: 934fd9d7310ffc72e206f48590a0f10ba0a78e1b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-31 09:15:04 +01:00
Bruce Ashfield a256628ea0 linux-yocto/4.1: i2c: designware: Backport i2c patches
To enable Apollo Lake/Broxton, we backport the following changes:

da451824f75f i2c: designware: Convert to use unified device property API
58b1b5365f4a i2c: designware: Do not require clock when SSCN and FFCN are provided
8995091cfa0f i2c: designware: retry transfer on transient failure
1fc62907f84e i2c: designware: Move common probe code into i2c_dw_probe()
678110c0f2b8 i2c: designware: Rename platform driver probe and PM functions
c51c2e104d40 i2c: designware: Make dw_readl() and dw_writel() static
98d2b6e244ad i2c: designware: Remove unused functions
3d04c6e99652 i2c: designware: Disable interrupts before requesting PCI device interrupt
fb5b7be0fbe7 i2c: designware: Remove interrupt clearing from i2c_dw_pci_probe()
d48fd08b11c8 i2c: designware: Make debug print in i2c_dw_isr() shorter
28f94bc07450 i2c: designware-pci: use IRQF_COND_SUSPEND flag 95f494846fc1 i2c: designware: Avoid unnecessary resuming during system suspend
fb2ae3705a3a i2c: dw: Add APM X-Gene ACPI I2C device support
516a0fc91e00 i2c: designware: Add support for AMD Seattle I2C
874d63b3c95c i2c: designware: fix IO timeout issue for AMD controller
47543e80c6dd i2c: designware: reverts "i2c: designware: Add support for AMD I2C controller"
076fe383c4b5 i2c: designware: use to_pci_dev()

(From OE-Core rev: 7b4b8a2481ce256e35fb86ebdeb944ee29ad5231)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-31 09:15:04 +01:00
Bruce Ashfield fbd209d96c linux-yocto/4.1: device property backports
Integrating the following 4.4 backports:

  630b726098c9 mfd: make mfd_remove_devices() iterate in reverse order
  aab24907568b driver core: Do not overwrite secondary fwnode with NULL if it is set
  89775462ef50 device property: return -EINVAL when property isn't found in ACPI
  a9eebae4a2c0 device property: check fwnode type in to_of_node()

(From OE-Core rev: 4dd3bd968042d943f279d91d220abc61ebd574a5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-31 09:15:04 +01:00
Bruce Ashfield ccf1b338d5 linux-yocto/qemuarm64: enable 32 bit compatibility
It was requested that CONFIG_COMPAT be enabled for qemuarm64 so that
32bit applications could be tested. This is simple enough to do, so
there is now a 32bit compat feature, and it is included only in
qemuarm64 to avoid impacting any other ARM targets (but the feature
is available for others to use).

[YOCTO #8646]

(From OE-Core rev: 26488894a2fdea0e0b003ff060b5a88ec6625a5f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-31 09:15:04 +01:00
Bruce Ashfield dacf9f2feb linux-yocto/4.1: SMBus/iTCO backports
Backporting the following mainline commits to add Intel Broxton and Denverton
support:

  49b34899e7ca i2c: i801: Add support for Intel Broxton
  69f6eeceb5b1 i2c: i801: Add support for Intel DNV
  b131e3e13838 watchdog: iTCO_wdt: Add support for TCO on Intel Sunrisepoint
  fce230a538de mfd: watchdog: iTCO_wdt: Expose watchdog properties using platform data
  a1a2140e856d intel_pmc_ipc: Update kerneldoc formatting
  e407caf0a583 intel_pmc_ipc: Fix compiler casting warnings
  909588e549d7 intel_pmc_ipc: Add Intel Apollo Lake PMC IPC driver
  1cd89340c1a9 mfd: lpc_ich: Assign subdevice ids automatically
  729025b3e8d3 i2c: i801: Create iTCO device on newer Intel PCHs

(From OE-Core rev: b4c2a90a2c6d224c041f44b6104b1dd9678d7c62)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-31 09:15:04 +01:00
Bruce Ashfield ea8b914ae8 linux-yocto/4.1: MFD backports
Integrating the following series of MFD backports:

  e9b00f938e99 driver core: platform: Add support for built-in device properties
  a63ef2c57b90 mfd: core: propagate device properties to sub devices drivers
  a7e1dabefaf8 klist: implement klist_prev()
  2da2857b20b9 PM / QoS: Make it possible to expose device latency tolerance to userspace
  36b2a287373a driver core: implement device_for_each_child_reverse()
  a6c7cb3da8e7 mfd: intel-lpss: Pass HSUART configuration via properties
  1f0da901349b mfd: intel-lpss: Pass SDA hold time to I2C host controller driver
  391ec7713003 mfd: intel-lpss: Add support for passing device properties
  fe9fb6da9164 mfd: lpss: Add Broxton ACPI IDs
  702a4f1f13fd mfd: lpss: Add Intel Broxton PCI IDs
  982bcf977be4 mfd: intel-lpss: Use writeq() helper
  d35dbf0dbaa7 mfd: Add support for Intel Sunrisepoint LPSS devices

(From OE-Core rev: 79603557a1db051675e1eb2a79cf3a792fe87c01)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-25 10:29:18 +00:00
Bruce Ashfield b6563a1525 linux-yocto/4.1: device property : Backport device property patches
Integrating the following mainline commits for Apollo Lake/Broxton support:

  568c4910b938 device property: always check for fwnode type
  bd2ac1821e91 device property: fallback to pset when gettng one string
  44a76bd61eed ACPI / property: Extend fwnode_property_* to data-only subnodes
  76f301877fab ACPI / property: Add support for data-only subnodes
  95010db1e8f9 ACPI / property: Add routine for extraction of _DSD properties
  3d257abeae4d device property: Return -ENXIO if there is no suitable FW interface
  15f7db3cd1d0 device property: attach 'else if' to the proper 'if'
  effb3f07966e ACPI / OF: Rename of_node() and acpi_node() to to_of_node() and to_acpi_node()
  30aa0ae9ebf0 ACPI / scan: Parse _CCA and setup device coherency
  c8b4218d1523 ACPI / property: Define a symbol for PRP0001
  3d20c5d27e99 ACPI / property: Refine consistency check for PRP0001
  f753cbe35057 device property: avoid allocations of 0 length
  6985a3d56431 device property: the secondary fwnode needs to depend on the primary
  6c23f8de37ff device property: add spaces to PROPERTY_ENTRY_STRING macro
  216b251c170c include/linux/property.h: fix build issues with gcc-4.4.4
  c579da0b4812 device property: Take a copy of the property set
  e0c7ce6ec1eb device property: Fallback to secondary fwnode if primary misses the property
  a657577af2af device property: improve readability of macros
  599f18f62daf device property: Add fwnode_property_match_string()
  03599b274370 device property: helper macros for property entry creation
  5247e6af02d6 device property: keep single value inplace
  c12af01cf0d4 device property: refactor built-in properties support
  1390c21efa11 device property: rename helper functions

(From OE-Core rev: cd4288126b01903fe69714eda772cd4f725ad43a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-25 10:29:17 +00:00
Bruce Ashfield 46baceb2c4 linux-yocto: ktypes/standard: Add tmpfs-posix-acl feature
This enables the CONFIG_TMPFS_POSIX_ACL, which is wanted by things like
systemd. We also explicitly enable the features's dependencies and
options selected by the feature for clarity.

[YOCTO #9269]

(From OE-Core rev: 1f501a8f6e7b7f2d79bf2a18a8b83f413eb5cc19)

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>
2016-03-25 10:29:17 +00:00
Bruce Ashfield 2c666af536 linux-yocto/4.1: usb: add usb_otg_caps to usb_gadget structure.
We backported a series of usb OTG commits for BSPs that required
updated support, but this commit was missed. We backport it as
well to fix build issues in some configurations.

(From OE-Core rev: 06ab1c7f60fbc0a9aebb9fd9321a1b7213378037)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-20 23:12:25 +00:00
Bruce Ashfield 8dc9162a55 linux-yocto/4.1: Intel Broxton and Sunrisepoint-H: pinctrl and drm
Integrating the following mainline commits:

  9073fd86a770 pinctrl: intel: Add Intel Broxton pin controller support
  e27702b5f5bd pinctrl: intel: Allow requesting pins which are in ACPI mode as GPIOs
  3466e9acff01 pinctrl: intel: Add support for multiple GPIO chips sharing the interrupt
  5577b683671b pinctrl: intel: Fix compilation warning when !CONFIG_PM_SLEEP
  bd4a97523251 pinctrl: make pinctrl_register() return proper error code
  08422ac780d5 pinctrl: intel: sunrisepoint: Add Intel Sunrisepoint-H support
  e6556d6f8924 drm/i915/audio: add codec wakeup override enabled/disable callback
  4a4d5aab97cc ALSA: hda - Add hduadio support to DEVTABLE

(From OE-Core rev: 9f3f15bcbfcca1581ead226892e9f02f9b6382c8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-20 23:12:25 +00:00
Bruce Ashfield 99ad4c9413 linux-yocto/4.1: powercap/RAPL: Backport powercap/RAPL
backporting the following powercap commits:

  24e2e14aa446 powercap / RAPL: Enable Broxton RAPL support
  6be05b47d625 powercap / RAPL: Add support for Skylake H/S
  879e8d02e07d powercap / RAPL: Support Knights Landing
  ec583656ad93 powercap / RAPL: Floor frequency setting in Atom SoC

(From OE-Core rev: 0c976d90781a1668c5f893d8c7f2509732679466)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-20 23:12:25 +00:00
Bruce Ashfield c4f544ee13 linux-yocto/4.1: Thermal: Enable Broxton SoC thermal reporting device
Mainline backport for thermal reporting.

(From OE-Core rev: a988cd3a97716e7a377f17e6c52ff6d4a1685521)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-20 23:12:25 +00:00
Bruce Ashfield 123c2c6dcc linux-yocto/4.1: usb backports for Apollo Lake/Broxton
Importing a series of mainline backports to support USB on a couple of
Intel platforms:

   b5f6aa9957dd usb: otg: add usb_otg_caps structure for otg capabilities
   bbce8fe2cc42 usb: dwc3: pci: add support for Intel Broxton SOC
   e734e1d9f827 usb: dwc3: pci: Set enblslpm quirk for Synopsys platforms
   1c6bb6694d50 usb: dwc3: Add dis_enblslpm_quirk
   1c6be99e56b8 usb: dwc3: pci: trivial: Formatting
   2f2b89764b97 usb: dwc3: pci: passing forward the ACPI companion
   ea4b3c72d976 usb: dwc3: core: convert to unified device property interface
   dc670b52c69a usb: common: of_usb_get_dr_mode to usb_get_dr_mode
   586fc5174649 usb: dwc3: st: prepare the driver for generic usb_get_dr_mode function
   0624bd9af7ef usb: common: of_usb_get_maximum_speed to usb_get_maximum_speed
   e65bc5467e07 usb: dwc3: Add frame length adjustment quirk
   a90954c5d267 usb: musb: dsps: control musb speed based on dts setting
   b48ff160a993 usb: renesas_usbhs: Allow an OTG PHY driver to provide VBUS
   d1c59752195e usb: chipidea: set usb otg capabilities
   733eada2cdec usb: common: add API to update usb otg capabilities by device tree
   7ab2108dd82b usb: dwc3: core: avoid NULL pointer dereference
   1aedb48b7dc9 usb: dwc3: add ULPI interface support
   07e42a29fb7e usb: dwc3: pci: add quirk for Baytrails
   065917252622 usb: dwc3: add hsphy_interface property
   b2bb32a363a3 usb: dwc3: setup phys earlier
   bf6bb0a6ebb5 usb: dwc3: soft reset to it's own function
   d481da949476 usb: dwc3: cache hwparams earlier
   9ac66262a201 usb: dwc3: store driver data earlier
   5f940588938c usb: dwc3: ULPI or UTMI+ select
   04fdce097f83 usb: dwc3: USB2 PHY register access bits
   b7209213cc05 usb: add bus type for USB ULPI

(From OE-Core rev: 46d173949675dde10b714f30b6f9c37c2e26a43a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-20 23:12:25 +00:00
Bruce Ashfield e2fe28cdee linux-yocto/4.4: gpio-pca953x: add "drive" property
Integrating the following commit for the 4.4 kernel:

[
    gpio-pca953x: add "drive" property

    Galileo gen 2 has support for setting GPIO modes. Expose these
    properties through the GPIO sysfs interface. This approach is
    bit hacky, since it changes the interface semantics.

    The original patch was by Josef Ahmad <josef.ahmad@linux.intel.com>
    and  made on top of kernel 3.8.
]

(From OE-Core rev: 7256e5a9dba0652fe8361f3143771cb6371568b5)

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-03-12 22:11:46 +00:00
Bruce Ashfield c6aeef38b8 linux-yocto/4.4: Galileo updates
Integrating the following patches for improved galileo support:

  66009f8977a6 adc1x8s102: support ACPI-based enumeration.
  903003b78c13 staging:iio: add support for ADC1x8s102.
  cd83f4095b23 spi-pxa2xx: fixed ACPI-based enumeration of SPI devices.
  c4efe23b7f93 pca9685: PCA9685 PWM and GPIO multi-function device.
  81e166ec0a35 gpio: pca953x: provide GPIO base based on _UID
  4086f8c34956 acpi: added a custom DSDT file.

(From OE-Core rev: 4533598f760e9841789db0e0eb4b14572c4224fe)

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>
2016-03-11 16:50:44 +00:00
Bruce Ashfield 1b7cc9c5b0 linux-yocto/4.4: explicitly enable ftrace in tracing fragment
The recent split/factoring between production and development
kernel configurations, EXPERT, EMBEDDED and DEBUG_KERNEL are no longer
selected for all kernel types. This means that ftrace is no longer
selected by default in in standard BSPs, causing breakage in things
that relied on it.

(From OE-Core rev: e609c4edb211c576af35b7ac0c190dc9a7673483)

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>
2016-03-09 16:58:13 +00:00
Bruce Ashfield aee7482da8 linux-yocto/4.4: iwlwifi: mvm: don't allow sched scans without matches to be started
Integrating the following commit for improved iwlwifi support:

    iwlwifi: mvm: don't allow sched scans without matches to be started

    commit 5e56276e7555b34550d51459a801ff75eca8b907 upstream.

    The firmware can perform a scheduled scan with not matchsets passed,
    but it can't send notification that results were found.  Since the
    userspace then cannot know when we got new results and the firmware
    wouldn't trigger a wake in case we are sleeping, it's better not to
    allow scans without matchsets.

    This fixes https://bugzilla.kernel.org/show_bug.cgi?id=110831

    Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
    Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
    Signed-off-by: Wu Zheng <wu.zheng@intel.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>

(From OE-Core rev: 5ca402e612cf124e9c0cae684d5213d4c5db24b8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-09 16:58:13 +00:00
Bruce Ashfield 2408f49807 linux-yocto/kernel-meta: ktype refactoring: move DEBUG_KERNEL, EXPERT and EMBEDDED
Integrating the folliwing patch series from Cal:

  This patch series refactors the ktypes so that base and standard ktypes
  do not enable EMBEDDED, EXPERT, or DEBUG_KERNEL. The reason this
  decision was made is because production platforms likely do not want
  DEBUG_KERNEL enabled, and EMBEDDED selects EXPERT which selects
  DEBUG_KERNEL.

  A new ktype called "developer" was also created. This ktype
  enables the options now missing from standard and base, making it easy
  to maintain the functionality of a BSP through simply swapping the ktype
  from standard to developer. The preempt-rt ktype is now based off of
  developer in order to maintain its functionality.

  The new standard ktype does not include EMBEDDED, EXPERT, or
  DEBUG_KERNEL. Without DEBUG_KERNEL it loses a number of debug features
  that are selected by default. Without EXPERT it gains RFKILL_INPUT and
  DEBUG_MEMORY_INIT, while losing VMSPLIT_3G. These are only available to
  configure with CONFIG_EXPERT=y and default to EXPERT or !EXPERT. Not
  selecting EMBEDDED has no apparent impacts.

  Some coordination is required for this change, as existing BSPs WILL be
  affected, and will either need to accept the changes in the standard
  ktype or move to the developer ktype.

  California Sullivan (12):
    features/debug: add debug-kernel feature
    ktypes: add developer ktype
    ktypes/base: Disable EMBEDDED and DEBUG_KERNEL
    CONFIG_PROCESSOR_SELECT: do not enable
    intel-common-drivers.scc: move profiling and latencytop to a new file
    romley.scc remove profiling and latencytop features
    bsp/intel-common: add intel-core* developer BSPs
    preempt-rt.scc: include developer ktype instead of standard
    intel-common: add intel-developer-drivers.scc to preempt-rt BSPs
    CONFIG_I2C_I801: set option to yes in intel-core* BSPs
    bsp: add developer common-pc BSPs
    bsp: remove profiling and latencytop from non-developer common-pc BSPs

(From OE-Core rev: 928704f875e541efb61aee2146433c924398fc6c)

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>
2016-03-09 16:58:13 +00:00
Bruce Ashfield ec3be9f7c7 linux-yocto/4.4: update to 4.4.3
The korg stable for 4.4.3 is out with the following changes:

   2134d97aa3a7 Linux 4.4.3
   e2f712dc927e modules: fix modparam async_probe request
   a24d9a2fee98 module: wrapper for symbol name.
   82e730baa9f7 itimers: Handle relative timers with CONFIG_TIME_LOW_RES proper
   1c94da3e7480 posix-timers: Handle relative timers with CONFIG_TIME_LOW_RES proper
   565f222968d3 timerfd: Handle relative timers with CONFIG_TIME_LOW_RES proper
   e5e99792b647 prctl: take mmap sem for writing to protect against others
   f86701c4f3cd xfs: log mount failures don't wait for buffers to be released
   16f14a28f660 Revert "xfs: clear PF_NOFREEZE for xfsaild kthread"
   7530e6fdd9f2 xfs: inode recovery readahead can race with inode buffer creation
   888959f2fd50 libxfs: pack the agfl header structure so XFS_AGFL_SIZE is correct
   8373f6590f6b ovl: setattr: check permissions before copy-up
   7193e802960f ovl: root: copy attr
   367e439dbc23 ovl: check dentry positiveness in ovl_cleanup_whiteouts()
   fa932190a5f3 ovl: use a minimal buffer in ovl_copy_xattr
   85a7ed329aca ovl: allow zero size xattr
   acaf84251f8d futex: Drop refcount if requeue_pi() acquired the rtmutex
   30066dcdf98a devm_memremap_release(): fix memremap'd addr handling
   15db15e2f10a ipc/shm: handle removed segments gracefully in shm_mmap()
   fe90acff2798 intel_scu_ipcutil: underflow in scu_reg_access()
   edfde263bd8a mm,thp: khugepaged: call pte flush at the time of collapse
   e31e46725596 dump_stack: avoid potential deadlocks
   55e0d9869f1d radix-tree: fix oops after radix_tree_iter_retry
   077b6173a8c8 drivers/hwspinlock: fix race between radix tree insertion and lookup
   f4595e008149 radix-tree: fix race in gang lookup
   262139f0244b MAINTAINERS: return arch/sh to maintained state, with new maintainers
   ececa3ebe27f memcg: only free spare array when readers are done
   4b20545910cb numa: fix /proc/<pid>/numa_maps for hugetlbfs on s390
   db33368ca32d fs/hugetlbfs/inode.c: fix bugs in hugetlb_vmtruncate_list()
   b105aa33af0d scripts/bloat-o-meter: fix python3 syntax error
   dad5038f3fe2 dma-debug: switch check from _text to _stext
   275adaf191c6 m32r: fix m32104ut_defconfig build fail
   71e5a4a747b0 xhci: Fix list corruption in urb dequeue at host removal
   d15298509b86 Revert "xhci: don't finish a TD if we get a short-transfer event mid TD"
   2231e5748746 iommu/vt-d: Clear PPR bit to ensure we get more page request interrupts
   db3ac35cbd31 iommu/vt-d: Fix 64-bit accesses to 32-bit DMAR_GSTS_REG
   7c6471cb94ad iommu/vt-d: Fix mm refcounting to hold mm_count not mm_users
   d63a009a9bd9 iommu/amd: Correct the wrong setting of alias DTE in do_attach
   c65a7b684133 iommu/vt-d: Don't skip PCI devices when disabling IOTLB
   b864f4e50c56 Input: vmmouse - fix absolute device registration
   726ecfc32199 string_helpers: fix precision loss for some inputs
   5c73252f746d Input: i8042 - add Fujitsu Lifebook U745 to the nomux list
   1d70d30a5fa2 Input: elantech - mark protocols v2 and v3 as semi-mt
   d1f8217a9a6e mm: fix regression in remap_file_pages() emulation
   413aab16bc7b mm: replace vma_lock_anon_vma with anon_vma_lock_read/write
   918a2c388ed7 mm: fix mlock accouting
   6e8ea2f2258c libnvdimm: fix namespace object confusion in is_uuid_busy()
   bd55913cf208 mm: soft-offline: check return value in second __get_any_page() call
   a6a3f3ddf6a6 perf kvm record/report: 'unprocessable sample' error while recording/reporting guest data
   b58731d6263a KVM: PPC: Fix ONE_REG AltiVec support
   921fa9b77380 KVM: PPC: Fix emulation of H_SET_DABR/X on POWER8
   b3e336de65eb KVM: arm/arm64: Fix reference to uninitialised VGIC
   593337c55ac3 arm64: dma-mapping: fix handling of devices registered before arch_initcall
   a6e01f0c81d5 ARM: OMAP2+: Fix ppa_zero_params and ppa_por_params for rodata
   82de5956e9f4 ARM: OMAP2+: Fix save_secure_ram_context for rodata
   31a50ee1ad3e ARM: OMAP2+: Fix l2dis_3630 for rodata
   98b3f17a7235 ARM: OMAP2+: Fix l2_inv_api_params for rodata
   ec776d670e2d ARM: OMAP2+: Fix wait_dll_lock_timed for rodata
   6ec8b7c5bbdd ARM: dts: at91: sama5d4ek: add phy address and IRQ for macb0
   3b18631fbcea ARM: dts: at91: sama5d4 xplained: fix phy0 IRQ type
   080fc28fe475 ARM: dts: at91: sama5d4: fix instance id of DBGU
   5542d00c4653 ARM: dts: at91: sama5d4 xplained: properly mux phy interrupt
   a482d9448169 ARM: dts: omap5-board-common: enable rtc and charging of backup battery
   41a94b382396 ARM: dts: Fix omap5 PMIC control lines for RTC writes
   671a5bc6f54d ARM: dts: Fix wl12xx missing clocks that cause hangs
   323f7cd28b7f ARM: nomadik: fix up SD/MMC DT settings
   53d991bbbc51 ARM: 8517/1: ICST: avoid arithmetic overflow in icst_hz()
   9fe0b68c4949 ARM: 8519/1: ICST: try other dividends than 1
   a68f555363f5 arm64: mm: avoid calling apply_to_page_range on empty range
   242813b9a1b6 ARM: mvebu: remove duplicated regulator definition in Armada 388 GP
   602acfedc981 powerpc/ioda: Set "read" permission when "write" is set
   b5311270caba powerpc/powernv: Fix stale PE primary bus
   5ecdf58c1945 powerpc/eeh: Fix stale cached primary bus
   64f10cf83a6c powerpc/eeh: Fix PE location code
   782126b22522 SUNRPC: Fixup socket wait for memory
   d0452554b9a1 udf: Check output buffer length when converting name to CS0
   eec1445767cc udf: Prevent buffer overrun with multi-byte characters
   aef22a3d6945 udf: limit the maximum number of indirect extents in a row
   66b8812e87f3 pNFS/flexfiles: Fix an XDR encoding bug in layoutreturn
   d65eb5b3dfb1 nfs: Fix race in __update_open_stateid()
   c8841e15d6de pNFS/flexfiles: Fix an Oopsable typo in ff_mirror_match_fh()
   1873e6f48606 NFS: Fix attribute cache revalidation
   dadfe9220750 cifs: fix erroneous return value
   7e30995b26cc cifs_dbg() outputs an uninitialized buffer in cifs_readdir()
   5d80673404e6 cifs: fix race between call_async() and reconnect()
   88413fceab84 cifs: Ratelimit kernel log messages
   224f259d9393 iio: inkern: fix a NULL dereference on error
   e16eb4bb193c iio: pressure: mpl115: fix temperature offset sign
   909e9c55196d iio: light: acpi-als: Report data as processed
   377d1f59388f iio: dac: mcp4725: set iio name property in sysfs
   1c1d4f2d7629 iio: add IIO_TRIGGER dependency to STK8BA50
   dfa6e741d472 iio: add HAS_IOMEM dependency to VF610_ADC
   f865d8c326dd iio-light: Use a signed return type for ltr501_match_samp_freq()
   e9b0f0e411d0 iio:adc:ti_am335x_adc Fix buffered mode by identifying as software buffer.
   dc275a6eb9d0 iio: adis_buffer: Fix out-of-bounds memory access
   a258a959fcf3 scsi: fix soft lockup in scsi_remove_target() on module removal
   900ae746c1e9 SCSI: Add Marvell Console to VPD blacklist
   32c55052aa33 scsi_dh_rdac: always retry MODE SELECT on command lock violation
   4c654fc9357b drivers/scsi/sg.c: mark VMA as VM_IO to prevent migration
   d763177d00d7 SCSI: fix crashes in sd and sr runtime PM
   dcec7af70910 iscsi-target: Fix potential dead-lock during node acl delete
   954bb20f70ed scsi: add Synology to 1024 sector blacklist
   5b27adfac012 klist: fix starting point removed bug in klist iterators
   152fb02241b6 tracepoints: Do not trace when cpu is offline
   2fa82bbbc73a tracing: Fix freak link error caused by branch tracer
   6fa74f50e357 perf tools: tracepoint_error() can receive e=NULL, robustify it
   6e50ddaf0991 tools lib traceevent: Fix output of %llu for 64 bit values read on 32 bit machines
   969624b7c1c8 ptrace: use fsuid, fsgid, effective creds for fs access checks
   ba6d92801ba4 Btrfs: fix direct IO requests not reporting IO error to user space
   e8eced78e025 Btrfs: fix hang on extent buffer lock caused by the inode_paths ioctl
   be1232bcea11 Btrfs: fix page reading in extent_same ioctl leading to csum errors
   df567e6dcd22 Btrfs: fix invalid page accesses in extent_same (dedup) ioctl
   b58081d430b4 btrfs: properly set the termination value of ctx->pos in readdir
   dfd2961ab6ed Revert "btrfs: clear PF_NOFREEZE in cleaner_kthread()"
   4e6943903a8e Btrfs: fix fitrim discarding device area reserved for boot loader's use
   c57e49b50bc5 btrfs: handle invalid num_stripes in sys_array
   bbfe21c87bd0 ext4: don't read blocks from disk after extents being swapped
   600d41f4ecb5 ext4: fix potential integer overflow
   33f48f8ab0b9 ext4: fix scheduling in atomic on group checksum failure
   5859b9077763 serial: omap: Prevent DoS using unprivileged ioctl(TIOCSRS485)
   76e88140aa91 serial: 8250_pci: Add Intel Broadwell ports
   124efa9fd567 tty: Add support for PCIe WCH382 2S multi-IO card
   1bdf16025dfc pty: make sure super_block is still valid in final /dev/tty close
   3ceeb564198c pty: fix possible use after free of tty->driver_data
   a45f23edb00e staging/speakup: Use tty_ldisc_ref() for paste kworker
   3375ee8b9964 phy: twl4030-usb: Fix unbalanced pm_runtime_enable on module reload
   a90e66cb949a phy: twl4030-usb: Relase usb phy on unload
   a40efb855068 ALSA: seq: Fix double port list deletion
   6bb345ac7b30 ALSA: seq: Fix leak of pool buffer at concurrent writes
   ef0ca96169a2 ALSA: pcm: Fix rwsem deadlock for non-atomic PCM stream
   434e26d6f6a0 ALSA: hda - Cancel probe work instead of flush at remove
   6deb0ec93da6 x86/mm: Fix vmalloc_fault() to handle large pages properly
   e0c89043e71a x86/uaccess/64: Handle the caching of 4-byte nocache copies properly in __copy_user_nocache()
   1e2e0ad1cc16 x86/uaccess/64: Make the __copy_user_nocache() assembly code more readable
   4f298c10c35d x86/mm/pat: Avoid truncation when converting cpa->numpages to address
   75a101ba31fa x86/mm: Fix types used in pgprot cacheability flags translations

(From OE-Core rev: 61fb6887a45a94286c873a61cd2e18fa3f8a6ea5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 22:39:44 +00:00
Bruce Ashfield 6ed16ff865 linux-yocto/4.1: iwlwifi: mvm: don't allow sched scans without matches to be started
Integrating the following commit:

    iwlwifi: mvm: don't allow sched scans without matches to be started

    commit 5e56276e7555b34550d51459a801ff75eca8b907 upstream.

    The firmware can perform a scheduled scan with not matchsets passed,
    but it can't send notification that results were found.  Since the
    userspace then cannot know when we got new results and the firmware
    wouldn't trigger a wake in case we are sleeping, it's better not to
    allow scans without matchsets.

    This fixes https://bugzilla.kernel.org/show_bug.cgi?id=110831

    Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
    Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
    Signed-off-by: Wu Zheng <wu.zheng@intel.com>

(From OE-Core rev: ecbf5fddb9a6c1b37b1742328d99960301229a25)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 22:39:44 +00:00
Bruce Ashfield 2497e809d8 linux-yocto/4.4: update to -stable 4.4.2
(From OE-Core rev: 0f623b99b1941650ee40a5c98a0a78be6b81a5d9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 22:39:44 +00:00
Bruce Ashfield aa2c1f724a linux-yocto: braswell: Remove feature and move DRM_I915_PRELIMINARY_HW_SUPPORT option
>From Cal:

  fixes the issue where Skylake doesn't have graphics support
  by default before kernel version 4.4, and also brings the kernel
  metadata closer together for intel-* and common-pc* BSPs.

[YOCTO 9#319]

(From OE-Core rev: 30d674f9077ddf5cd2190895869ee1226f0c2796)

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>
2016-03-02 22:39:44 +00:00
Bruce Ashfield 702701d264 linux-yocto/4.4: yaffs2 build fixes
Integrating fixes for yaffs2 on the 4.4.x kernel:

  d4eb3ab036f8 yaffs2: using new ->follow_link() and ->put_link() calling conventions
  da1c7fd61d13 yaffs2: NULL ->read/->write
  b4c6a6aca7e7 yaffs2: replace f_dentry to f_path.dentry

(From OE-Core rev: 28a4e922373b21e0b2e8765b422f8e5a4610441f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 22:39:44 +00:00
Bruce Ashfield c2152b8fcf linux-yocto/4.1: update to 4.1.18
Integrating the korg -stable update to 4.1

(From OE-Core rev: cf56b7345935af71dd0989ef2e7c8ce2d43fd04d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 22:39:44 +00:00
Bruce Ashfield 45d4cd788f linux-yocto/4.1: clkdev updates
Backporting the following clkdev updates to the 4.1 kernel:

   c1b6f28fb457 clkdev: get rid of redundant clk_add_alias() prototype in linux/clk.h
   f9a70df2d491 clk: update clk API documentation to clarify clk_round_rate()
   db2d98fa3908 clkdev: fix clk_add_alias() with a NULL alias device name
   1b2c3a175637 clkdev: add clkdev_create() helper
   9b3d61ea0c57 clkdev: const-ify connection id to clk_add_alias()
   76b7b02f10dc clkdev: drop __init from clkdev_add_table()
   22f16b822d18 clkdev: use clk_hw internally

(From OE-Core rev: 56bd6862f083a006e193c25c66f29443f3d0f095)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 22:39:44 +00:00
Bruce Ashfield 79ecef6b56 linux-yocto/4.1: Galileo updates
Integrating the following patches for improved galileo support:

  e02ac252f68d gpio-pca953x: add "drive" property.
  68d3fd5134f7 adc1x8s102: support ACPI-based enumeration.
  89f6aea44d01 staging:iio: add support for ADC1x8s102.
  2fb3159a70c0 spi-pxa2xx: fixed ACPI-based enumeration of SPI devices.
  510501941fd3 pca9685: PCA9685 PWM and GPIO multi-function device.
  94bfb66b8887 gpio: pca953x: provide GPIO base based on _UID
  c39f26cd9092 acpi: added a custom DSDT file.

(From OE-Core rev: e901ce43d789e26ec0524153c5665cd2dbeed374)

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-03-02 22:39:44 +00:00
Bruce Ashfield 7e19f88e13 linux-yocto/4.1: capabilities backports
Backporting the following upstream commits to the 4.1 yocto tree:

   bdf4565e5dcc capabilities: add a securebit to disable PR_CAP_AMBIENT_RAISE
   2483c95caedc selftests/capabilities: Add tests for capability evolution
   4c274aa74e5d capabilities: ambient capabilities

(From OE-Core rev: e864caec7a9b522d86d164ffbaadaa4ea7de0f9b)

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-02-19 15:33:02 +00:00
Richard Purdie 94abdb2eea linux-yocto: Work around PAT issue on qemux86
We have an issue with PAT handling on older processes with limited PAT bits,
see the patch description for the full problem. This replaces the runqemu
workaround with a kernel patch until we can get the kernel trees sorted
out and discuss a proper fix with upstream. It should be safe everywhere
so is applied unconditionally.

(From OE-Core rev: e00f0794a535c8e68ae1c87c8b01dd65645d570b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-15 16:28:45 +00:00
Bruce Ashfield d255f4f72a linux-yocto/4.1: galileo backports and support
Updating the 4.1 branches with backported mainline support for the
galileo.

   a5327464dad9 iio: light: add support for ROHM BH1710/BH1715/BH1721/BH1750/BH1751 ambient light sensors
   7a868ce12675 pwm-pca9685: enable ACPI device found on Galileo Gen2
   9f169f0f6493 at24: enable ACPI device found on Galileo Gen2
   8b662e6343a1 gpio: pca953x: support ACPI devices found on Galileo Gen2
   a9939d26a6a0 gpio: pca953x: store driver_data for future use
   52355b7a7fee mfd: intel_quark_i2c_gpio: support devices behind i2c bus
   ba850c2a9965 mfd: intel_quark_i2c_gpio: load gpio driver first
   8b322e7df2bf mfd: core: redo ACPI matching of the children devices
   23c1fb4bc37d i2c / ACPI: Rework I2C device scanning
   f7eea071b03c gpio / ACPI: Return -EPROBE_DEFER if the gpiochip was not found
   bdc90004c8d5 GPIO / ACPI: export acpi_gpiochip_request(free)_interrupts for module use
   447db37b6df9 gpio / ACPI: Add support for retrieving GpioInt resources from a device
   edce965b0881 i2c: fix leaked device refcount on of_find_i2c_* error path
   f9b93689fdf5 i2c: core: only use set_scl for bus recovery after calling prepare_recovery
   a10a703575bd i2c: core: Reduce stack size of acpi_i2c_space_handler()
   ad91512127cd i2c: core: fix typo in comment
   b16ba95782f1 i2c: check for proper length of the reg property
   028a8d9209b7 i2c: slave: add error messages to slave core
   58551fe2320d i2c / ACPI: Assign IRQ for devices that have GpioInt automatically
   85153945ad9e i2c / ACPI: Use 0 to indicate that device does not have interrupt assigned

(From OE-Core rev: 2ff6c2ca2e22eaef37ccb4025bc0b78c42695eed)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11 22:57:19 +00:00
Bruce Ashfield fdcb373de1 linux-yocto/4.1: update to v4.1.17
Updating to the -stable korg release with the following changes:

   2d5f6b041335 Linux 4.1.17
   d17367a77457 recordmcount: Fix endianness handling bug for nop_mcount
   1f6d936d33f4 arm64: restore bogomips information in /proc/cpuinfo
   705164dbe08f mn10300: Select CONFIG_HAVE_UID16 to fix build failure
   57b7d61c2d89 fix the regression from "direct-io: Fix negative return from dio read beyond eof"
   8885e7f3d76a direct-io: Fix negative return from dio read beyond eof
   b824d64b153a media/vivid-osd: fix info leak in ioctl
   3f0cf7dcf712 staging: lustre: echo_copy.._lsm() dereferences userland pointers directly
   b50a2b556d1e HID: core: Avoid uninitialized buffer access
   c777e9ab2a44 parisc iommu: fix panic due to trying to allocate too large region
   e479822e1e3a iommu/vt-d: Fix ATSR handling for Root-Complex integrated endpoints
   f21731a54a66 arm64: mm: ensure that the zero page is visible to the page table walker
   3e804c36399e arm64: Clear out any singlestep state on a ptrace detach operation
   426bfb6a7784 ARM/arm64: KVM: correct PTE uncachedness check
   3f0b20e1a2d8 arm64: fix building without CONFIG_UID16
   f94cf332a806 arm64: KVM: Fix AArch32 to AArch64 register mapping
   959cad3a68a7 ARM/arm64: KVM: test properly for a PTE's uncachedness
   75f1fde24b56 arm64: kernel: pause/unpause function graph tracer in cpu_suspend()
   f22c64cd0745 arm64: bpf: fix mod-by-zero case
   40c5dde6eb7e arm64: bpf: fix div-by-zero case
   8831ded35abd recordmcount: arm64: Replace the ignored mcount call into nop
   a33b8ff3d6cb powerpc/module: Handle R_PPC64_ENTRY relocations
   1e2c53f19cef scripts/recordmcount.pl: support data in text section on powerpc
   4126ac7cdcef powerpc: Make {cmp}xchg* and their atomic_ versions fully ordered
   af69fe1f70af powerpc: Make value-returning atomics fully ordered
   1e14dd5a3864 powerpc/powernv: pr_warn_once on unsupported OPAL_MSG type
   a54d3a423412 powerpc/tm: Check for already reclaimed tasks
   567a215dd158 powerpc/tm: Block signal return setting invalid MSR state
   eeca98948d8c xfrm: dst_entries_init() per-net dst_ops
   139bd872dc68 xen-netfront: update num_queues to real created
   a1edfa789d1a xen-netfront: respect user provided max_queues
   21edf40b5ccb xen-netback: respect user provided max_queues
   534e9016cd88 sctp: Prevent soft lockup when sctp_accept() is called during a timeout event
   490c963c1eb9 team: Replace rcu_read_lock with a mutex in team_vlan_rx_kill_vid
   95785b105fa2 batman-adv: Drop immediate orig_node free function
   ae3eb44e0e8b batman-adv: Drop immediate batadv_hard_iface free function
   924224c6e44a batman-adv: Drop immediate neigh_ifinfo free function
   620493a90c78 batman-adv: Drop immediate batadv_neigh_node free function
   9d188c6b672c batman-adv: Drop immediate batadv_orig_ifinfo free function
   34c5bf7c7bf4 batman-adv: Avoid recursive call_rcu for batadv_nc_node
   016cb1d02db9 batman-adv: Avoid recursive call_rcu for batadv_bla_claim
   a50a93cc9928 ppp, slip: Validate VJ compression slot parameters completely
   5984398539a2 isdn_ppp: Add checks for allocation failure in isdn_ppp_open()
   9ba3d77689a5 tcp/dccp: fix old style declarations
   479b539a3101 tcp/dccp: fix timewait races in timer handling
   332fb8799ed1 bridge: fix lockdep addr_list_lock false positive splat
   2980502b9f6d ipv6: update skb->csum when CE mark is propagated
   dc1cfcc26697 net: bpf: reject invalid shifts
   2a1e5e4ab662 phonet: properly unshare skbs in phonet_rcv()
   7d9fb947be67 bonding: Prevent IPv6 link local address on enslaved devices
   abefd1b4087b net: preserve IP control block during GSO segmentation
   4bb526bce19d udp: disallow UFO for sockets with SO_NO_CHECK option
   e7bbeacbafc1 tcp_yeah: don't set ssthresh below 2
   add92082e2d1 ipv6: tcp: add rcu locking in tcp_v6_send_synack()
   bcea43fb3164 net: sctp: prevent writes to cookie_hmac_alg from accessing invalid memory
   a33704eb6085 vxlan: fix test which detect duplicate vxlan iface
   8f5cd6eea811 net: possible use after free in dst_release
   02a1fef61d06 net: sched: fix missing free per cpu on qstats
   5596242a6263 net: filter: make JITs zero A for SKF_AD_ALU_XOR_X
   a6b1d2489380 bridge: Only call /sbin/bridge-stp for the initial network namespace
   dc6b0ec667f6 unix: properly account for FDs passed over unix sockets
   f45f0213b831 connector: bump skb->users before callback invocation
   c000d76ec0d8 sctp: sctp should release assoc when sctp_make_abort_user return NULL in sctp_close
   45d52b0b1f9f net: cdc_ncm: avoid changing RX/TX buffers on MTU changes
   6866b52c56db addrconf: always initialize sysctl table data
   8a39e24931d1 ipv6/addrlabel: fix ip6addrlbl_get()
   57d0c018b46e veth: don’t modify ip_summed; doing so treats packets with bad checksums as good.
   3fabd53542c8 xhci: refuse loading if nousb is used
   3f5e25aa380d USB: cp210x: add ID for ELV Marble Sound Board 1
   887c3cc2557b USB: ipaq.c: fix a timeout loop
   a7e83b16c8d8 USB: fix invalid memory access in hub_activate()
   5241134a79fa airspy: increase USB control message buffer size
   abcbfda367d4 usb: xhci: fix config fail of FS hub behind a HS hub with MTT
   1f6a2cc39913 ASoC: compress: Fix compress device direction check
   20091f9139bc ASoC: arizona: Fix bclk for sample rates that are multiple of 4kHz
   6ac84206a212 ASoC: davinci-mcasp: Fix XDATA check in mcasp_start_tx
   1fce19176555 ASoC: wm8974: set cache type for regmap
   5a1109e05e09 ASoC: es8328: Fix deemphasis values
   64fa05313b0a ASoC: wm8962: correct addresses for HPF_C_0/1
   1c98861e6467 ASoC: rsnd: fixup SCU_SYS_INT_EN1 address
   b309c8bf5a4a ALSA: timer: Handle disconnection more safely
   2b332719b8f0 ALSA: hda - Flush the pending probe work at remove
   a63fabd4ac6c ALSA: hda - Fix bass pin fixup for ASUS N550JX
   efcf073d7fa1 ALSA: control: Avoid kernel warnings from tlv ioctl with numid 0
   965b1203f399 ALSA: hrtimer: Fix stall by hrtimer_cancel()
   281bedb8728f ALSA: pcm: Fix snd_pcm_hw_params struct copy in compat mode
   d1a55757feff ALSA: seq: Fix snd_seq_call_port_info_ioctl in compat mode
   dc5697eb3297 ALSA: timer: Fix double unlink of active_list
   ac905ca58370 ALSA: timer: Fix race among timer ioctls
   042b42c579b9 ALSA: hda - fix the headset mic detection problem for a Dell laptop
   466c99bd815a ALSA: timer: Harden slave timer list handling
   27b496cc9e8c ALSA: usb-audio: Fix mixer ctl regression of Native Instrument devices
   6aee1f8440bf ALSA: hda - Fix white noise on Dell Latitude E5550
   49c9eb3db864 ALSA: seq: Fix race at timer setup and close
   9a6003a362ac ALSA: seq: Fix missing NULL check at remove_events ioctl
   aa13585b6672 ALSA: usb: Add native DSD support for Oppo HA-1
   37191bd8b4dd ALSA: hda/realtek - Fix silent headphone output on MacPro 4,1 (v2)
   b40f630cfe4d ALSA: hda - Set SKL+ hda controller power at freeze() and thaw()
   73a5fdacba1f ALSA: usb-audio: Add sample rate inquiry quirk for AudioQuest DragonFly
   271126c7cbb6 ALSA: usb-audio: Add a more accurate volume quirk for AudioQuest DragonFly
   228a0e09d53a ALSA: hda - Set codec to D3 at reboot/shutdown on Thinkpads
   be7c9844eea1 ALSA: hda - Apply click noise workaround for Thinkpads generically
   dff55bf1b247 ALSA: hda - Add a fixup for Thinkpad X1 Carbon 2nd
   bc4d35b2c8c7 ALSA: hda - Fix noise problems on Thinkpad T440s
   c5e609dc5cab ALSA: hda - Add inverted dmic for Packard Bell DOTS
   af95ff49d83b ALSA: rme96: Fix unexpected volume reset after rate changes
   9bc3da2497b3 ALSA: hda - Fix noise on Gigabyte Z170X mobo
   842dd2467a24 ALSA: hda - Add fixup for Acer Aspire One Cloudbook 14
   5c7e814c1b3a ALSA: hda - Apply HP headphone fixups more generically
   c397bc975aa4 ALSA: fireworks/bebob/oxfw/dice: enable to make as built-in
   055fb07950be ALSA: hda - Apply pin fixup for HP ProBook 6550b
   29923678a8ef ALSA: hda - Add Intel Lewisburg device IDs Audio
   e702f5856baa ALSA: hda - Disable 64bit address for Creative HDA controllers
   69bed67bc32f ipmi: move timer init to before irq is setup
   8dfca273353b ipmi: Start the timer and thread on internal msgs
   c1a631b482a7 x86/mm: Improve switch_mm() barrier comments
   ae535caf02c7 x86/mm: Add barriers and document switch_mm()-vs-flush synchronization
   4b6c3a55305d x86/boot: Double BOOT_HEAP_SIZE to 64KB
   eec2baa86479 x86/reboot/quirks: Add iMac10,1 to pci_reboot_dmi_table[]
   17f33d468f4d KVM: x86: correctly print #AC in traces
   8a3185c54d65 KVM: x86: expose MSR_TSC_AUX to userspace
   e052d6eeedf1 KVM: PPC: Book3S HV: Prohibit setting illegal transaction state in MSR
   19eaffefc4b0 KVM: svm: unconditionally intercept #DB
   03e572f3dda7 KVM: VMX: fix SMEP and SMAP without EPT
   c12a3752a390 x86/xen: don't reset vcpu_info on a cancelled suspend
   702d87e2ff77 xen/gntdev: Grant maps should not be subject to NUMA balancing
   3ab6a090acfb x86/signal: Fix restart_syscall number for x32 tasks
   c24eedeca7b8 x86/mpx: Fix instruction decoder condition

(From OE-Core rev: 8dd87247c224877c2948364048b736abc8e633e7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11 22:57:19 +00:00
Bruce Ashfield 5688cab6d4 linux-yocto/4.4: update to v4.4.1
Integrating the 4.4.1 stable korg update.

(From OE-Core rev: 1a6e4c4a4c6c4556580a08a2040baa54a64eb10e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11 22:57:18 +00:00
Bruce Ashfield 93fcee6882 linux-yocto/4.4: CVEs and preempt-rt update
Integrating the following CVE update:

  Author: Yevgeny Pats <yevgeny@perception-point.io>
  Date:   Tue Jan 19 22:09:04 2016 +0000

      KEYS: Fix keyring ref leak in join_session_keyring()

      This fixes CVE-2016-0728.

We also integrate the 4.4-rt3 version.

(From OE-Core rev: cca987b2f62dc6b51a02564ccd4041bde2897f13)

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>
2016-01-30 11:37:00 +00:00
Bruce Ashfield 07c182fbde linux-yocto/4.1: update to 4.1.16
(From OE-Core rev: 82875cc321cdad2c8d521e660d6f6d5a23cb4295)

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>
2016-01-30 11:36:59 +00:00
Bruce Ashfield e9280d13a8 linux-yocto: introduce v4.4 standard/preempt-rt/standard kernel
The 4.4 kernel has been under test via linux-yocto-dev, and is the next
LTS/LTSI kernel.

So we take our -dev support and created a named/versioned recipe for use
in upcoming releases.

(From OE-Core rev: 2dbc788bc3988532f0932e8e51e24ba702c28f6a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-18 11:47:03 +00:00
Christopher Larson c3b96fffac linux-dtb.inc: use absolute upd-alt paths
This works around a limitation of the chkconfig update-alternatives, so it
works with all our update-alternatives providers.

(From OE-Core rev: f78c640f1f41eb12ef7919e7dc99aae7db6f6b17)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-11 23:26:29 +00:00
Bruce Ashfield 883193a66d linux-yocto: remove 3.14 and 3.19 recipes
In preparation for the introduction of new (supported) kernel versions,
we remove the 3.14 and 3.19 variants.

The kernel trees will still be available, but the recipes are removed
from master. These versions can still be built on older releases, or
with private copies of the recipes.

3.14 LTSI is replaced by the 4.1 LTSI kernel, and 3.19 will be replaced
by 4.4+.

(From OE-Core rev: 6814521d0b88ee66442158ed70e77cbdd35d4782)

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>
2015-12-28 09:25:16 +00:00
Bruce Ashfield 51619440e2 linux-yocto/4.1: update to v4.1.15
Updating the 4.1 kernel repo to the latest 4.1.x stable.

(From OE-Core rev: 1df3a79cf454754e6be6c1ffc91ba8310a880616)

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>
2015-12-28 09:25:16 +00:00
Bruce Ashfield a462d16239 linux-yocto-dev: bump to 4.4-rcX
(From OE-Core rev: 30afd55016b7f3e63fdf07b0856f9bbf9be53f3d)

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>
2015-12-28 09:25:16 +00:00
Bruce Ashfield 9563aa8a25 yaffs2: fix checkpoint functionality
Updating the linux-yocto SRCREVs to pull in the following change:

  Author: He Zhe <zhe.he@windriver.com>
  Date:   Wed Dec 2 01:31:31 2015 -0500

    fs/yaffs2: fix missing checkpoint on yaffs

    For yaffs file system, the mode of reading or writing is restricted
    at four pointer where are mnt->mnt_flags,mnt->mnt_sb->s_flags,mtd->flags and
    dev->read_only,the first three is used handle file and file
    system(eg,remount) operation, and last one(dev->read_only) almost is
    used handle checkpoint of yaffs2. However, in current code, the
    dev->read_only only can be changed at first time when the yaffs2
    file system is mounted, later it can't be changed again(eg,mount -o
    remount), the result is that the checkpoint's saving operation
    always can't succeed if you set readonly mode for yaffs2 file system
    when it is mounted at the first time.

    To fix this issue, we implement yaffs_remount_fs() which allows the
    rootfs to be remounted as r/w.

    Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com>
    Signed-off-by: He Zhe <zhe.he@windriver.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>

(From OE-Core rev: 289fd2bf61d0761a93d17f18b9079fc9f61e0031)

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>
2015-12-28 09:25:16 +00:00
Bruce Ashfield c093fd8bd2 linux-yocto/4.1: Fix kernel oops on qemuarm boot
Backporting two mainline commits to address kernel oops:

   Internal error: Oops: 17 [#1] PREEMPT ARM
   Modules linked in:
   CPU: 0 PID: 42 Comm: jbd2/vda-8 Not tainted 4.1.8-yocto-standard #1
   Hardware name: ARM-Versatile PB
   task: c7223300 ti: c725e000 task.ti: c725e000
   PC is at blk_mq_tag_to_rq+0x24/0x78
   LR is at bt_for_each+0x70/0xc4
   pc : [<c0364458>]    lr : [<c0368118>]    psr: 20000113
   sp : c725fa18  ip : c725fa30  fp : c725fa2c
   r10: c0365ce0  r9 : 00000020  r8 : c7104200
   r7 : c70ee5ac  r6 : 00000001  r5 : 00000021  r4 : c7122da0
   r3 : c7104000  r2 : 00000000  r1 : 00000021  r0 : 00000000
   Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
   Control: 00093177  Table: 072f4000  DAC: 00000017
   Process jbd2/vda-8 (pid: 42, stack limit = 0xc725e190)
   Stack: (0xc725fa18 to 0xc7260000)

[YOCTO #8663]

(From OE-Core rev: 04b22b6b4953360ea383c4d928dea66f7b1796e6)

Signed-off-by: Alimon Limon <anibal.limon@linux.intel.com
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-08 17:22:31 +00:00
Alexander Kanavin 12ba5cc325 package_regex.inc: split GITTAGREGEX entries into recipe files
(From OE-Core rev: 589f5442372a7ab0f8bc40403e1739ce1cdd1cc0)

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>
2015-12-08 10:20:51 +00:00
Bruce Ashfield b7f610d3e9 linux-yocto/4.1: Bluetooth:Fix the connection fail of 6lowpan over BT LE
Backporting the 4.4 fix for 6lowpan:

   Author: Wu Zheng <wu.zheng@intel.com>
   Date:   Fri Nov 20 13:25:57 2015 +0800

       Bluetooth:Fix the connection fail of 6lowpan over BT LE

       When two devices with 6lowpan over BT LE connect each other,
       6lowpan over BT LE channel is set up between the two devices.
       However, the status of channel is not right.
       It always is set to CONNECTED and the channel can't be created.

       The status of channel need to be removed when connection is created.

       (The patch's reference from
       b0c09f94ff1660a1873549b788c998284ea5fb8a)

       Signed-off-by: Wu Zheng <wu.zheng@intel.com>

(From OE-Core rev: 2b6a6cad90bfef3afd5a721ec985f71336914fa7)

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>
2015-12-01 21:32:13 +00:00
Bruce Ashfield d08e761b44 linux-yocto-rt/4.1: update to -rt15
Updating the 4.1-rt kernel to the latest and greatest upstream version.

(From OE-Core rev: 22912a99163402581e8e92dcacbf46f9049f6ff9)

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>
2015-12-01 21:32:13 +00:00
Bruce Ashfield 6aa464cb1f linux-yocto/4.1: fsl-mpc8315e-rdb: Enable EEPROM
Updating the 4.1 SRCREVs for:

  Update the mpc8315erdb.dts to contain the eeprom device
  information. Coupled with adding "MISC_DEVICES" into the
  kernel configuration, we have a working eeprom.

  Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
  Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>

(From OE-Core rev: 47a222ad6f3ee8b14b9eea28b63397077978f42f)

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>
2015-12-01 21:32:13 +00:00
Bruce Ashfield bd29006d23 linux-yocto/4.1: update to v4.1.13
Updating the 4.1 kernel to the latest stable (and resolving minor
conflicts with -rt).

(From OE-Core rev: 12be8565b16f0fb571f859d3ef256767feaafc7f)

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>
2015-12-01 21:32:12 +00:00
Paul Eggleton 0a30a1fd3f linux-yocto.inc: set SUMMARY instead of DESCRIPTION
We only have a short description, so set SUMMARY and DESCRIPTION
will be defaulted from it.

(From OE-Core rev: 1d655e2407267ed91e371e078e9a9a10183e3d62)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-11-16 11:39:37 +00:00
Stefan Christ dcc446fee0 linux-dtb.inc: refactor common code to function get_real_dtb_path_in_kernel
(From OE-Core rev: 04ed298520d38e0b078723b1b45368b7037cf6e0)

Signed-off-by: Stefan Christ <s.christ@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-11-16 11:39:31 +00:00
Stefan Christ af9c7a4c57 linux-dtb.inc: refactor common code to function normalize_dtb
(From OE-Core rev: 5dfa10978ef540a7a8cd89766c40625ccfeffda2)

Signed-off-by: Stefan Christ <s.christ@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-11-16 11:39:31 +00:00
Stefan Christ 7eecb81b6d linux-dtb.inc: explicit test for empty string not needed
The for loop already handles the case when KERNEL_DEVICETREE is empty.

(From OE-Core rev: 49010f4a1ae9570e96691c9faeb17808174488fe)

Signed-off-by: Stefan Christ <s.christ@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-11-16 11:39:31 +00:00
Stefan Christ 3a0bd40dfc linux-dtb.inc: use same variable name DTB for all elements of KERNEL_DEVICETREE
(From OE-Core rev: 1e9ac2c4970b2fc7f8ed939bce7cf0a5c7715ca3)

Signed-off-by: Stefan Christ <s.christ@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-11-16 11:39:28 +00:00
Stefan Christ a879312713 linux-dtb.inc: remove unneeded 'cd'
(From OE-Core rev: 2d7680a104e2910c90d8aceeb12c24dfde2cd2d6)

Signed-off-by: Stefan Christ <s.christ@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-11-16 11:39:28 +00:00
Aníbal Limón 304c95696e linux-yocto{, -rt}: Enable support for virtio drivers in qemu machines.
In order to use virtio devices as default in runqemu script
because these drivers are designed to use in vrit providing
better performance.

[YOCTO #8427]

(From OE-Core rev: 16dad3a6ccba01639b3a711426599af49c30a088)

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>
2015-10-27 07:24:28 +00:00
Bruce Ashfield 5e42593d8d linux-yocto: nf_tables: Add nf_tables feature
Updating the META SRCREVs to make the nf_tables feature available.

(From OE-Core rev: 43ed2494ae4f89cab6e018f289bb048289d478f5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-10-27 07:24:24 +00:00
Bruce Ashfield 1c2fdd967e linux-yocto/3.19: fix ARM boot with gcc5.x
Updating the SRCREVs to apply the same fix as 3.14 and 4.1 already
have to fix qemuarm boots with gcc5.x

[YOCTO: #8415]

(From OE-Core rev: fa9852d5d7383e6d03c756b8ad615668857b0b86)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-10-27 07:24:24 +00:00
Bruce Ashfield 47dcee24ed linux-yocto/4.1: drm/i915: Fix the VBT child device parsing for BSW
Updating the 4.1 SRCREVs to integrate the following fix:

[
    drm/i915: Fix the VBT child device parsing for BSW

    Recent BSW VBT has a VBT child device size 37 bytes instead of the 33
    bytes our code assumes. This means we fail to parse the VBT and thus
    fail to detect eDP ports properly and just register them as DP ports
    instead.

    Fix it up by using the reported child device size from the VBT instead
    of assuming it matches out struct defintions.

    The latest spec I have shows that the child device size should be 36
    bytes for rev >= 195, however on my BSW the size is actually 37 bytes.
    And our current struct definition is 33 bytes.

    Feels like the entire VBT parses would need to be rewritten to handle
    changes in the layout better, but for now I've decided to do just the
    bare minimum to get my eDP port back.

    Cc: Vijay Purushothaman <vijay.a.purushothaman@linux.intel.com>
    Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
    Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
    Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
    (cherry picked from commit 90e4f1592bb6e82f6690f0e05a8aadcf04d7bce7)
    Signed-off-by: abdul arif abdul muttalib
    <abdul.arif.b.abdul.muttalib@intel.com>
    Signed-off-by: Tan Jui Nee <jui.nee.tan@intel.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
]

(From OE-Core rev: 1f575df04f003c1e1fe9413f95023c20a2f30e19)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-10-27 07:24:23 +00:00
Bruce Ashfield 380f2c69d4 linux-yocto: axxia configuration updates
Updating the configuration fragments for the Intel Axxia on the 3.14
and 4.1 kernels.

(From OE-Core rev: a4964955257a1ab2586fd5efeedc2e32b725895d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-10-27 07:24:23 +00:00
Bruce Ashfield ad8c0216dd linux-yocto/4.1: drm/i915 backports
Updating the SRCREVs to integrate the following backports:

  52a4a9f4a2b4 drm/i915/gen8: Initialize page tables
  a95cb62f8e85 drm/i915: Remove unnecessary gen8_ppgtt_unmap_pages
  a24d98fc488d drm/i915: Remove _entry from PPGTT page structures

(From OE-Core rev: 6bf364687c2d524f836a7b1d0f60f7b018dce839)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-10-07 00:11:20 +01:00
Aníbal Limón ec1146e3e4 linux-yocto_{3.14,3.19,4.1}: qemuarm enable virtio drivers
We are experimenting segfault in qemu arm SCSI driver because
it's broken [1][2] so enable virtio drivers to use as default.

[YOCTO #8060]

[1] https://lists.gnu.org/archive/html/qemu-devel/2007-03/msg00093.html
[2] https://lists.nongnu.org/archive/html/qemu-devel/2010-07/msg01473.html

(From OE-Core rev: e8e4cf4e830ee5c5f92dd8ab38c4072a3a43c411)

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-10-01 07:43:37 +01:00
Bruce Ashfield b0545068c7 linux-yocto/4.1: braswell bug fixes
Updating the 4.1 SRCREVs to integrate the following DRM backports:

  a8abc111a96d drm/i915: Only wait for required lanes in vlv_wait_port_ready()
  81354180432b Revert "drm/i915: Hack to tie both common lanes together on chv"
  d660fc117731 drm/i915: Work around DISPLAY_PHY_CONTROL register corruption on CHV
  0e797e9cb717 drm/i915: Implement chv display PHY lane stagger setup

(From OE-Core rev: 2ea7533b5d45bb459284dd1c3f81d4bcac88f882)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-10-01 07:43:34 +01:00
Bruce Ashfield c6c093b6f7 linux-yocto/4.1: update to 4.1.8 -stable
There are some important fixes and CVEs in 4.1.8, so we update the
SRCREVs to integrate the -stable changes.

(From OE-Core rev: 0cd10fc32fd6a3faced69ef206271c8afde17533)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-10-01 07:43:34 +01:00
Bruce Ashfield a502a2d70e linux-yocto-rt/4.1: integrate axxia BSP
As part of the axxia preempt-rt integration, the preempt-rt
branch now becomes standard/preempt-rt/base, to allow proper
branch inheritance as: standard/preempt-rt/axxia/base.

No functional changes happen to the base -rt, just the default
KBRANCH changes.

(From OE-Core rev: 5c91535baf876a3e2c4fd91be046dc3a92dc0ad2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-10-01 07:43:34 +01:00
Bruce Ashfield 677a4631e4 linux-yocto/4.1: rt update to 4.1.x-rt8
The -rt build suffered the same breakage in master as the standard
kernel builds: due to a bad git history merge, existing patches were
dropped from branches.

This meant that we were missing the -rt changes, which re-introduced
some failures with linux-yocto-rt.

With these SRCREV updates, we have the latest 4.1.x-rt and all
architectures build.

(From OE-Core rev: 96db930d8add6623168ec5e638769d5c0f348265)

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>
2015-09-28 12:00:27 +01:00
Bruce Ashfield cdd9c4c927 linux-yocto/4.1: common-pc-drivers: add CONFIG_PATA_SCH
Updating the meta SRCREVs to integrate the following config change:

Author: Saul Wold <sgw@linux.intel.com>
Date:   Tue Sep 22 07:23:06 2015 -0700

    common-pc-drivers: add CONFIG_PATA_SCH

    The NUC uses this hardware and should still operate correctly with a
    genericx86

    Signed-off-by: Saul Wold <sgw@linux.intel.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>

(From OE-Core rev: c597c230b4f66bd04d47a448a00cf54fca71c0f2)

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>
2015-09-28 12:00:27 +01:00
Bruce Ashfield 7fb3fb9cc2 linux-yocto/4.1: hid, bluetooth, aufs and yaffs2 updates
Setting the SRCREVs to import the following changes in the
4.1 kernel tree:

  79a31b9d23db hid-core: Avoid uninitialized buffer access
  121593d3a0a4 aufs: call mutex.owner only when DEBUG_MUTEXES or MUTEX_SPIN_ON_OWNER is defined
  efa7952a190f Bluetooth: Delay check for conn->smp in smp_conn_security()
  69428ec43bd9 cc2520: set the default fifo pin value from platform data
  ee0ddf37f3d6 fs/yaffs2: Fix a judgement logic for ACL operations
  fff29e47f5c4 yaffs2: remove read and write methods
  b3b9d030ad84 yaffs2: replace f_dentry to f_path.dentry

(From OE-Core rev: 6398e9be3c3a2af5e650a4e7ee7f8f61c7b520fd)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-09-23 09:53:10 +01:00
Marek Vasut ba1e0eef99 linux-yocto: depend on libgcc for nios2
Make nios2 kernel depend on libgcc.

In arch/nios2/Makefile, it adds LIBGCC to libs-y:

LIBGCC          := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)
libs-y          += $(LIBGCC)

In file Makefile in top directory, libs-y is assigned to to var
KBUILD_VMLINUX_MAIN. It uses script link-vmlinux.sh to link vmlinux.o,
and when execute function vmlinux_link() in link-vmlinux.sh,
KBUILD_VMLINUX_MAIN is passed to ${LD}.

If build without libgcc, the value of LIBGCC is just libgcc.a without
parent directory. linux-yocto fails to build:

|   LD      vmlinux.o
| nios2-poky-linux-ld.bfd: cannot find libgcc.a: No such file or directory

Add libgcc to nios2 kernel dependency.

(From OE-Core rev: d3ccab5bb717da57dcaaeb1993ae0f790ce45dcb)

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-09-23 09:53:08 +01:00
Bruce Ashfield 12772c8888 linux-yocto/4.1: hid-core: Avoid uninitialized buffer access
Updating the 4.1 SRCREVs to integrate the following commit:

    hid-core: Avoid uninitialized buffer access

    hid_connect adds various strings to the buffer but they're all
    conditional. You can find circumstances where nothing would be
    written
    to it but the kernel will still print the supposedly empty buffer
    with
    printk. This leads to corruption on the console/in the logs.

    Ensure buf is initialized to an empty string.

    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
    [dvhart: Initialize string to "" rather than assign buf[0] = NULL;]
    Cc: Jiri Kosina <jikos@kernel.org>
    Cc: linux-input@vger.kernel.org
    Cc: stable@vger.kernel.org
    Signed-off-by: Darren Hart <dvhart@linux.intel.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>

(From OE-Core rev: 1c6c1af385a481b0a57ab06cd40af56be3425cc8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-09-23 09:52:50 +01:00
Bruce Ashfield 0864782bbd linux-yocto/4.1: aufs, yaffs2 and driver fixes
Updating the 4.1 SRCREVs to integrate the following changes:

  f830ab33799d aufs: call mutex.owner only when DEBUG_MUTEXES or MUTEX_SPIN_ON_OWNER is defined
  87df2e93ed65 Bluetooth: Delay check for conn->smp in smp_conn_security()
  b09c3eab3e50 cc2520: set the default fifo pin value from platform data
  62b01c325d42 fs/yaffs2: Fix a judgement logic for ACL operations
  1d19c4e95cfc yaffs2: remove read and write methods
  2c822dbc43b9 yaffs2: replace f_dentry to f_path.dentry

(From OE-Core rev: c49ddbf254c2d170d0aeced78ef6c87e60736a26)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-09-23 09:52:49 +01:00
Bruce Ashfield 8ad2c024f3 linux-yocto/3.14: fix edgerouter (octeon) build
Upating the SRCREVs to import the following commit:

    Author: Kevin Hao <kexin.hao@windriver.com>
    Date:   Mon Aug 31 19:34:48 2015 +0800

        mips: octeon: use ll/sc for the atomic ops for all the predecessor
        of octeon2

        Even the octeon plus has the support of the 'saa' instruction, but
        we
        don't have a way to distinguish between octeon and octeon plus at
        compile time and pass "-march=octeon" to all the predecessor of
        octeon2. So it will cause the following error when trying to
        assemble
        the "saa" instruction with option "-march=octeon":
          {standard input}: Assembler messages:
          {standard input}:360: Error: Unrecognized opcode `saa $2,($4)'
          scripts/Makefile.build:308: recipe for target
        'arch/mips/cavium-octeon/executive/cvmx-lap.o' failed

        Forcing to use the "ll/sc" for the atomic ops for all the
        predecessor
        of octeon2 to fix this issue.

        Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
        Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>

(From OE-Core rev: a31c715fe484af7fe582d8becac0f20a33acac42)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-09-09 14:27:47 +01:00
Richard Purdie 92c3f03b79 linux-yocto-3.14: Use a revision thats on the branch for qemuppc
At a guess, Bruce's scripts have mixed up the -rt and on -rt versions
of the qemuppc branches. Set this to a revision on the
standard/qemuppc branch.

(From OE-Core rev: d19f6900a07a718660fcd75d36a3facf048ce157)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-30 16:47:48 +01:00
Bruce Ashfield b0db6c2a7f linux-yocto/3.14/4.1: fix ARM boot with gcc 5.x
Booting qemuarm when the kernel was built with gcc 5.x would result in
a boot hang (or at least no visible output).

Updating the SRCREVs for the following change:

    Author: Jianchuan Wang
    Email: jianchuan.wang@windriver.com
    Subject: Omit to optimize vsprintf.c/kasprintf.c
    Date: Wed, 26 Aug 2015 13:54:57 +0800

    Add "-O0" for vsprintf.c/kasprintf.c

    Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com>

While this may not be the final fix (it still has to go usptream and
be better explained), it gets us booting, so is good enough for the
time being.

(From OE-Core rev: 8610017e4e017ddc59d76e64c4d4557fcffc363e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-30 12:47:50 +01:00
Bruce Ashfield 38bc164700 linux-yocto-dev: update to 4.2-rc
The -dev kernel is now tracking 4.2 content, so we update the
linux-yocto-dev recipes PV to match.

(From OE-Core rev: fc22f6ee38731e60b2bc15640fa697e5af663422)

(From OE-Core rev: 468fef1ccfcc5495b6d20576864269da0cdba948)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-30 12:36:05 +01:00
Bruce Ashfield 6e0a56305f linux-yocto/4.1: CIRRUS config and quark thermal support
Updating the meta SRCREVs for the following changes:

  92977854ff52 graphics: disable CIRRUS DRM for qemumips and qemuppc
  57f4dc4dfe16 intel-quark: Enable thermal support

(From OE-Core rev: 5c9d414fc8e88cd5ef8e7e530ba4c5e788e03bb7)

(From OE-Core rev: d0cc398d3cd47963fbe3fa22db0a1e73c162e67f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-30 12:36:05 +01:00
Bruce Ashfield 474f66c59e linux-yocto/4.1: enable DRM_CIRRUS_QEMU and EXT4_USE_FOR_EXT23
Updating the meta SRCREV to enable cirrus graphics emulation and wider
compatibility for the ext4 driver.

[YOCTO: #7348]
[YOCTO: #6667]

(From OE-Core rev: 530c51e5354d5cd233b7015a3d0dfe94cb9cbaa1)

(From OE-Core rev: db02cf0734ce059b7bf47edeb1107e23e20e7160)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-30 12:36:04 +01:00
Bruce Ashfield 6dd4209c2d linux-yocto/4.1: update to v4.1.6 and v4.1.6-rt5
Bumping the SRCREVs to import the latest 4.1-stable and 4.1-rt changes.

(From OE-Core rev: 21fd4093bbd0177453a1e749d825cf510746f201)

(From OE-Core rev: 576fb9f267f7dbca2b76a68903f335be108160e7)

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>
2015-08-30 12:36:04 +01:00
Bruce Ashfield d1d3b6466a linux-yocto/3.14: cleanups and gcc5 ARM build fixes
Updating the 3.14 SRCREVs to match the latest kernel meta data updates
and also to merge four patches Richard Purdie located that fix the
gcc 5.x ARM build (we still have boot issues, but building is the
first step).

(From OE-Core rev: 24a888ddd04e44f8a069364bfbde06871ad33ae8)

(From OE-Core rev: b9509a02c4dae0fabbba730d3311bca29e353e4f)

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>
2015-08-30 12:36:04 +01:00
Bruce Ashfield ad4ab1b392 linux-yocto/4.1: quark configuration and thermal support
Updating the 4.1 SRECREVs to reflect the following changes:

  74159a303c21 thermal: intel Quark SoC X1000 DTS thermal driver

  833214b33303 intel-quark-tiny: Add tiny KTYPE .scc file
  45ecab18d462 amd.cfg: Add X86_AMD_PLAFORM_DEVICE to default
  9a31d2cbc251 intel-quark-standard: add mass storage and boot live support
  4ea43922558a bsp: add coretemp to intel-common-drivers

(From OE-Core rev: e1aa475dd362d3545911b0677404ced644e394eb)

(From OE-Core rev: e14df247df097811e0fab86ec0af5b6cde4d5b21)

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>
2015-08-30 12:36:03 +01:00
Bruce Ashfield 98152706db linux-yocto/3.19/4.1: add coretemp to intel-common-drivers
Updating the 3.19 and 4.1 meta SRCREVs to pull in the coretemp
configuration values.

Partial fix for [YOCTO #8107].

(From OE-Core rev: 4511961afca854d8006c0d058f46f8ba46f277c4)

(From OE-Core rev: 39eff54fec9a90c9a5f49d8beb643ec9152add2e)

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>
2015-08-30 12:36:03 +01:00
Bruce Ashfield de7e449b87 linux-yocto/4.1: fix qemuarm preempt-rt configuration
With the recent changes to the kernel meta data handling and the
removal of BSP branches, we need to shuffle some patches around to
match.

This prevents patches from being applied twice, and the qemuarm BSP
can be configured for preempt-rt.

[YOCTO: #8122]

(From OE-Core rev: b6b7a80440521a8e82cfe6c56dddedf061de6208)

(From OE-Core rev: f18b19e1be0b84d431328f87ec4a694ac1415469)

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>
2015-08-30 12:36:03 +01:00
Bruce Ashfield 3a4b0d6373 linux-yocto: introduce 4.1 versioned recipes
Updating the linux-yocto kernel recipes to include a named/versioned 4.1
recipe. This will be the LTSI kernel, and the 3.14 and 3.19 kernels will
be removed in subsequent commites (once reference boards have transitioned).

(From OE-Core rev: c027c1283e6444ab05f444eb5d292ec1a36b5821)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-25 14:41:44 +01:00
Bruce Ashfield c29aac6a8b linux-yocto: split meta data from kernel repository
The linux-yocto tree has always been a combined set of kernel changes
and configuration (meta) data carried in a single tree. While this
format is effective at keeping kernel configuration and source
modifications synchronized, it isn't always obvious to developers on
how to manipulate the meta data versus the source.

With this change, we remove the meta data processing from the
kernel-yocto class and use the external meta-data repository that
has always been used to seed the linux-yocto meta branch.

After this change, linux-yocto can no longer process combined trees,
and is simplified as a result.

(From OE-Core rev: 523e4f6a6913b64453579d27a02467e14f7df42e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-25 14:41:44 +01:00
Bruce Ashfield 058b53e68b linux-yocto/3.19: drm and axxia updates
Bumping the 3.19 SRCREVs for the following fixes:

  e152349de59b drm/i915: Reset CSB read pointer in ring init
  a87a6ffb3459 drm/i915/bdw: Enable execlists by default where supported
  a70b2eb273ef meta: axxiaarm: add configuration fragments

(From OE-Core rev: 1b3d77195210d7d2b17c1bb8ab756053d72c7d4c)

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>
2015-07-20 10:40:39 +01:00
Bruce Ashfield d7c633cc30 linux-yocto/3.14: fix gcc 4.9.4/5.1 build issues, yaffs2 memory leak
Updating the 3.14 SRCREVs for the following commits:

  7534aeb01883 yaffs2: fix memory leak in mount/umount
  4287412436cb MIPS: Fix build with binutils 2.24.51+

(From OE-Core rev: 370cd615ea3aa11d39e4c7303e8bca79e3ec6621)

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>
2015-07-20 10:40:39 +01:00
Bruce Ashfield ea63603e20 linux-yocto: update beaglebone, mpc8315e and edgerouter to 3.19
Bumping the linux-yocto SRCREVs to integrate fixes for the h/w reference
BSPs to the 3.19 kernel.

(From OE-Core rev: 4c992854414360a10e1b452c9a776cbd993dee1f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-06-05 16:42:01 +01:00
Marek Vasut d2e26ef348 kernel: Build DTBs early
Pull out the compilation of the DTB blobs right after the kernel's
own do_compile function finishes. This makes them available just in
time for the kernel image construction functions.

(From OE-Core rev: 86b3f29f93e3f87903668ea317c6bd97be4cdf62)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Koen Kooi <koen@dominion.thruhere.net>
Cc: Paul Eggleton <paul.eggleton@linux.intel.com>
Cc: Ross Burton <ross.burton@intel.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-26 10:57:51 +01:00
Bruce Ashfield 887fcb5653 linux-yocto/3.19: NFC config, Braswell fixes and axxia support
Updating the 3.19 kernel SRCREVs for the following commits:

NFC:

   727cfce45077 meta: intel-common: enable generic NFC support
   f3e890065903 meta: features/nfc: add generic configuration for NFC support

Braswell:

   d3c0b958e688 drm/i915: New offset for reading frequencies on CHV.
   dac6babbba62 drm/i915/chv: Populate total EU count on Cherryview

Axxia:

   c706cb356dea arch/arm/axxia: Remove the axxia zImage.fm build
   45a1aaacf6cb drivers/hwmon: Remove adt75 redundant driver
   7203ee166c01 arch/arm/mach-axxia: Fixed L2 power up failure
   a1541e9f0a4c kernel/irq/manage.c: Fix irq_set_affinity to allow use with buslocks
   d42c0bd1c8be arch/arm/mach-axxia: Reverse checkpatch compatibility
   5dbd07431a7a arch/arm/mach-axxia: changed affinity parameter to cpu
   23e4ebc66acb char: hwrng: AXXIA TRNG driver added for AXM55xx
   61eb3c8ee1d7 arch/arm/mach-axxia: Updated Axxia 55xx PCIe driver to use correct Doorbell interrupt IRQs
   b03e0655094a AXM55xx RapidIO : Added support for Device revision and link down Monitor.
   7577ad26cf73 rionet: Fix the corruption of tx_cnt during Transmit.
   07fd2163ae56 arch/arm/mach-axxia: fixed NO SMP
   c9371e98cc80 arch/arm/mach-axxia: fixed compiler warning
   0a814fe7e747 arch/arm/mach-axxia: Updated PCIe driver doorbell support
   cd3d9b46bea4 misc: lsi-ncr: Only use AMP lock on PPC platforms.
   826c600c6ad6 fs: vmfs: Use generic mmap function
   e2d0047cb106 arch/arm/mach-axxia: Removed axxia_circular_queue
   f1ff06eaabed ARM: axxia: Add cluster and L2 power off in hotplug
   b98711344263 ARM: irq: Return error when set_affinity is called from hotplug
   9fd9306a30ae arch/arm/mach-axxia: Enable L3
   68989d446582 Revert "arch/arm/mach-axxia: Fixed affinity error on IRQ migration"
   0be0ef90a887 Revert "arch/arm/mach-axxia: fixed failure to power up cluster"
   1c6522a03e81 Revert "arch/arm/mach-axxia: fixed hang in preempt kernel"
   ef06a68393a3 fs/vmfs: Changes to add VMFS support for axxia.
   3025e9deede6 drivers/usb/host: Changes to support the axxia BSP
   b128b4f0d4e8 drivers/tty: Changes to support the axxia BSP
   d1b60a7e62ef drivers/hwmon: Changes made to support the axxia BSP
   2899ccbf1438 drivers/spi: Changes to support the axxia BSP
   8e9cff566254 drivers/rapidio/devices: Changes to support axxia BSP
   3424d2ca2653 drivers/net/ethernet: Changes to support the axxia BSP
   2353dc816d6b drivers/mtd: Changes to support the axxia BSP
   4b5fa2bf86cf drivers/misc: Changes made to support axxia BSP
   8a5bd53ec241 drivers/i2c: Changes to support axxia BSP
   02bfe1548d1a arch/arm/drivers/edac: Changes to support axxia BSP
   2431db7c0c90 arch/arm/drivers/dma: Changes to support the axxia BSP
   61fa3f268d5c arch/arm: arm changes to support the axxia BSP
   22e0fb7be665 arch/arm/mach-axxia: add power management support
   5cab63c5a1f2 arch/arm/mach-axxia: kernel files to support the mach-axxia
   1336aba51616 arch/arm/boot: Changes to support the axxia BSP
   97324fa920cb arch/arm/boot/dts: Files added to support axxia 5500 board

(From OE-Core rev: b74dafa8a3aad069140978420c535c18e89a964b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-24 07:19:18 +01:00
Bruce Ashfield c1ed724c74 linux-yocto/3.19: CONFIG_ATA_BMDMA and gcc5 ARM64
Integrating the following commit to remove a ATA configuration warning:

    common-pc-drivers: Enable CONFIG_ATA_BMDMA

    Enabling the ATA_BMDMA re-enables ATA_PIIX which was getting
    disabled

    Signed-off-by: Saul Wold <sgw@linux.intel.com>

And the following to fix the ARM64 gcc5 boot:

    arm64: psci: move psci firmware calls out of line

    An arm64 allmodconfig fails to build with GCC 5 due to __asmeq
    assertions in the PSCI firmware calling code firing due to mcount
    preambles breaking our assumptions about register allocation of
    function
    arguments:

      /tmp/ccDqJsJ6.s: Assembler messages:
      /tmp/ccDqJsJ6.s:60: Error: .err encountered
      /tmp/ccDqJsJ6.s:61: Error: .err encountered
      /tmp/ccDqJsJ6.s:62: Error: .err encountered
      /tmp/ccDqJsJ6.s:99: Error: .err encountered
      /tmp/ccDqJsJ6.s💯 Error: .err encountered
      /tmp/ccDqJsJ6.s:101: Error: .err encountered

    This patch fixes the issue by moving the PSCI calls out-of-line into
    their own assembly files, which are safe from the compiler's
    meddling
    fingers.

    Reported-by: Andy Whitcroft <apw@canonical.com>
    Signed-off-by: Will Deacon <will.deacon@arm.com>
    Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
    Signed-off-by: Armin Kuter <akuster@mvista.com>

(From OE-Core rev: 3977a70c197bf0d853ea9eb01f2185ae2c75ca4f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-24 07:19:18 +01:00
Bruce Ashfield be1442e78e linux-yocto/3.19: Braswell DRM fixes
Updating the 3.19 kernel SRCREVs to integrate the following Braswell
changes:

  374b5d0e09ea drm/i915: Only wait for required lanes in vlv_wait_port_ready()
  fca99e8ee111 Revert "drm/i915: Hack to tie both common lanes together on chv"
  00682f31b612 drm/i915: Work around DISPLAY_PHY_CONTROL register corruption on CHV
  654b1a4497c5 drm/i915: Implement chv display PHY lane stagger setup

(From OE-Core rev: 211b631b0d7bf4df3152f4d8d626d798d023d512)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-24 07:19:18 +01:00
Bruce Ashfield f92f3369ee linux-yocto/3.19: braswell DRM/i915 Graphics fixes
Updating the SRCREVs to integrate the following fixes:

   0befa35f4099 drm/i915/chv: Remove DPIO force latency causing interpair skew issue
   184e0374e4eb drm/i915: Fix chv cdclk support
   e2a99b9cd086 drm/i915: Increase the range of sideband address.
   9d5d55ede53b drm/i915: Disable DDR DVFS on CHV
   96cce945ac97 drm/i915: Enable the maxfifo PM5 mode when appropriate on CHV
   b5005319da56 drm/i915: Program PFI credits for VLV
   c7aa33eb3697 drm/i915: Rewrite VLV/CHV watermark code
   a421d8bcaa6d drm/i915: Make sure PND deadline mode is enabled on VLV/CHV
   631afc98c4b5 drm/i915: Read out display FIFO size on VLV/CHV
   e0dcdc019b8a drm/i915: Pass plane to vlv_compute_drain_latency()
   a6a5562b7754 drm/i915: Reorganize VLV DDL setup
   bb662a47ec0c drm/i915: Hide VLV DDL precision handling
   3d2d93239cd7 drm/i915: Simplify VLV drain latency computation
   f68614743b92 drm/i915: Kill DRAIN_LATENCY_PRECISION_* defines
   86c658c06ede drm/i915: Reduce CHV DDL multiplier to 16/8
   8c4cdd96a3f2 drm/i915: Allow pixel clock up to 95% of cdclk on CHV
   d9d4fb889c2a drm/i915: Reduce CHV DPLL min vco frequency to 4.8 GHz

(From OE-Core rev: 5eaa3c2c57dad400305e5ca64c62b2507fd96a54)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-24 07:19:17 +01:00
Bruce Ashfield ada5e493bf linux-yocto/3.14: cavium and configuration changes
Updating the 3.14 SRCREVs to integrate the latest round of cavium
support patches, as well as configuration backports from 3.19.

(From OE-Core rev: df552f18cf9852e0f04780399b78605c8085d935)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-24 07:19:17 +01:00
Bruce Ashfield 5929d94ab7 linux-yocto/3.14: fix qemumips build error
Updating the SRCREVs to import the following fix:

    mips: define cpu_has_saa in common features include

    To avoid build failures such as the following on non-cavium
    platforms:

     | arch/mips/include/asm/atomic.h: In function 'atomic_add':
     | arch/mips/include/asm/atomic.h:52:6: error: 'cpu_has_saa'
     | undeclared (first use in this function)
     |   if (cpu_has_saa) {
     |       ^

    We define a disabled cpu_has_saa unless the machine specific feature
    overrides define a value.

(From OE-Core rev: b2f786ca319714bd41d6f9e7ba9efaa8a6d412ab)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-09 22:26:44 +01:00
Bruce Ashfield 61e077e998 linux-yocto/3.19: Braswell support and bug fixes
Updating to include the following commits:

   a4d0c407cced dmaengine: dw: don't handle interrupt when dmaengine is not used
   e92b2ce791b2 dmaengine: dw: define DW_DMA_MAX_NR_MASTERS
   931304a6567e dmaengine: dw: provide DMA capabilities
   468bad4f7a6f dmaengine: dw: Split device_control
   b4afd7710db7 i2c: i801: Use managed pcim_* PCI device initialization and reservation
   d81a8a11ecba i2c: i801: Remove pci_enable_device() call from i801_resume()
   40e18604e70c i2c: i801: Use managed devm_* memory and irq allocation
   b54f65dbe57b i2c: i801: Remove i801_driver forward declaration
   e95740d4d079 i2c: i801: Don't break user-visible strings
   423e98721e04 ACPI: Introduce has_acpi_companion()
   291f620dc052 i2c: designware: Suppress error message if platform_get_irq() < 0
   cf5ff51a8e3f i2c: designware-pci: no need to provide clk_khz
   4f583ce420d3 i2c: designware-pci: remove Moorestown support
   e000c549c9d8 i2c: designware: Add Intel Baytrail PMIC I2C bus support
   7ffbd9ca19a7 i2c: designware: fixup return handling of wait_for_completion_timeout
   5758d5a1df32 i2c: designware: Do not calculate SCL timing parameters needlessly
   2f58fcae92db i2c: designware: Add i2c bus locking support
   84a73e51e900 i2c: designware: use {readl|writel}_relaxed instead of readl/writel
   f672bb8424e6 serial: 8250_dw: Fix get_mctrl behaviour
   91bd64585489 serial: 8250: add support for ACPI-probed serial port for X-Gene platform
   1190cba71f09 serial:8250:8250_pci: delete unneeded quirk entries
   6405a4b71451 serial:8250:8250_pci: fix redundant entry report for WCH_CH352_2S
   0a1a31bbbc19 serial: 8250_pci: remove one useless explicit type conversion
   4edc52a55f82 intel_idle: Add support for the Airmont Core in the Cherrytrail and Braswell SOCs
   934f85e8bfdb x86/irq, ACPI: Implement ACPI driver to support IOAPIC hotplug
   c6a3440252a8 ACPI / LPSS: check the result of ioremap()
   6aacc0c931b7 pinctrl: update direction_output function of cherryview driver
   cb4a43a2177d pinctrl: cherryview: Configure HiZ pins to be input when requested as GPIOs
   0df22c007ce1 pinctrl: intel: drop owner assignment from platform_drivers
   07b16f04700b pinctrl: cherryview: Save and restore pin configs over system sleep
   e8e5cfffa231 pinctrl: baytrail: Save pin context over system sleep
   04cb3cc0ff21 pinctrl: baytrail: Rework interrupt handling
   4cac25d2574d pinctrl: baytrail: Clear interrupt triggering from pins that are in GPIO mode
   eacab9ab234a pinctrl: baytrail: Relax GPIO request rules

(From OE-Core rev: d2dd36bafdef7b0424041f5369706b9152ea13da)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-09 22:26:44 +01:00
Bruce Ashfield 9f400313bf linux-yocto-dev: introduce 4.1-rc development kernel
(From OE-Core rev: b5f59d58ec658af7477664cb13458b496a55a618)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-03 11:43:50 +01:00
Bruce Ashfield 383fb05276 linux-yocto: add core bluetooth support to qemux86* and common-pc*
Updating the configuration for the common x86 platforms to always
include core bluetooth support.

(From OE-Core rev: 388de1bfa1de1086d500aa8b2d4ece69cce6d5f6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-03 11:43:50 +01:00
Bruce Ashfield e12d2be09a linux-yocto/3.14: refresh -rt support
Paul Gortmaker refreshed the 3.14-rt support to the latest rt stable
content.

With these SRCREV bumps, the 3.14 LTSI kernel is now at -rt37.

   91dc6afcecd4 rt: bump localversion from 32 to 37
   e69f7430b620 rt: bump localversion to 32
   c060800318e4 netpoll: guard the access to dev->npinfo with rcu_read_lock/unlock_bh() for CONFIG_PREEMPT_RT_FULL=y
   833c21beba79 Revert "timers: do not raise softirq unconditionally"
   6c9337ff352c fs,btrfs: fix rt deadlock on extent_buffer->lock
   2d542663bfb9 staging: Mark rtl8821ae as broken
   988e4701df83 timers: Reduce future __run_timers() latency for first add to empty list
   2549262883c5 timers: Reduce future __run_timers() latency for newly emptied list
   073fac19d3e4 timers: Reduce __run_timers() latency for empty list
   25ca11173e64 timers: Track total number of timers in list
   277a4ae36580 fs/aio: simple simple work
   7b2ebc4e590b lockdep: selftest: fix warnings due to missing PREEMPT_RT conditionals
   9afc01954298 thermal: Defer thermal wakups to threads
   84d35d05b236 locking: ww_mutex: fix ww_mutex vs self-deadlock
   f0c8e4837a51 Revert "rwsem-rt: Do not allow readers to nest"
   df0d51ecf13f sunrpc: make svc_xprt_do_enqueue() use get_cpu_light()
   f069e339ca02 work-simple: Simple work queue implemenation
   0d9e6cbead39 scheduling while atomic in cgroup code
   8405cdab8c2c sas-ata/isci: dont't disable interrupts in qc_issue handler
   dfb7e1ab2427 mips: rt: Replace pagefault_* to raw version
   ddbe4584a13b ARM: cmpxchg: define __HAVE_ARCH_CMPXCHG for armv6 and later
   607f2a27c2ee arm/futex: disable preemption during futex_atomic_cmpxchg_inatomic()
   58de8f60159f ARM: enable irq in translation/section permission fault handlers
   62d90b45607c x86: UV: raw_spinlock conversion
   e8d164191f65 rtmutex: enable deadlock detection in ww_mutex_lock functions
   9612daf936db rt,locking: fix __ww_mutex_lock_interruptible() lockdep annotation
   47915a120d41 rtmutex.c: Fix incorrect waiter check
   a6a68d53df5f locking/rt-mutex: avoid a NULL pointer dereference on deadlock
   fb2c256f8a91 futex: Simplify futex_lock_pi_atomic() and make it more robust
   7e59d4d5900e futex: Split out the first waiter attachment from lookup_pi_state()
   45ccc2e3f25f futex: Split out the waiter check from lookup_pi_state()
   c5133997a345 futex: Use futex_top_waiter() in lookup_pi_state()
   4726c8b47964 futex: Make unlock_pi more robust
   b55c2c7782ee rtmutex: Avoid pointless requeueing in the deadlock detection chain walk
   ff7cfbb757d4 rtmutex: Cleanup deadlock detector debug logic
   e80ba665fa71 rtmutex: Confine deadlock logic to futex
   7a9e7c37ccf4 rtmutex: Simplify remove_waiter()
   d664c14c1db3 rtmutex: Document pi chain walk
   64bcb809c720 rtmutex: Clarify the boost/deboost part
   02323ee362c4 rtmutex: No need to keep task ref for lock owner check
   063983fb0497 rtmutex: Simplify and document try_to_take_rtmutex()
   f87319b715f1 rtmutex: Simplify rtmutex_slowtrylock()
   de9723ae23f9 gpio: omap: use raw locks for locking
   705ad635f56a rt: bump localversion from 22 to 31
   22b5a5cda73a mm/page_alloc: fixup warning from stable merges to -rt

(From OE-Core rev: aa1900021aa05ce1d5b8e607de094ae7cf3fcd10)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-03 11:43:50 +01:00
Robert Yang c3537bd112 kernel-devsrc: depends on virtual/kernel:do_install
The linux-yocto.inc may remove the meta dir:
do_install_append(){
	if [ -n "${KMETA}" ]; then
		rm -rf ${STAGING_KERNEL_DIR}/${KMETA}
	fi
}

Which may cause the error:
[snip]
find: `./meta/cfg/kernel-cache/bsp/altera-socfpga/0073-FogBugz-116676-Align-clk.c-with-kernel.org.patch': No such file or directory
find: `./meta/cfg/kernel-cache/bsp/altera-socfpga/0047-FogBugz-90657-Fix-SD-MMC-driver-for-VT.patch': No such file or directory
find: `./meta/cfg/kernel-cache/bsp/altera-socfpga/0006-spi-qspi-cadence-Add-spi-and-qspi-driver.patch': No such file or directory
[snip]
cpio: ./meta/scripts/kgit-config-cleaner: Cannot stat: No such file or directory
cpio: ./meta/scripts/kgit-s2q: Cannot stat: No such file or directory
cpio: ./meta/scripts/kgit-clean: Cannot stat: No such file or directory
[snip]

(From OE-Core rev: 0866086c6a9d9f518388f2962db784ab15d49330)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-28 07:56:56 +01:00
Bruce Ashfield 34ddfb6559 linux-yocto/3.19: configuration updates and stable integration
Bumping the linux-yocto 3.19 SRCREVs to integrate the 3.19.5 korg
stable updates, as well as the following meta data changes:

  205aca0c1241 meta: intel-common: Enable USB-based Bluetooth hardware
  b6a810e8e808 meta: features/bluetooth: add support for USB Bluetooth hardware
  767f3fa34680 common-pc-drivers: Add CONFIG_EEPROM_AT24
  e308b2c52519 intel-core*: Add Braswell soc support
  8c1c74d5052b braswell: Add features/soc/braswell

(From OE-Core rev: 2b163b8bbe8363e24f951ec507691ac692bc80b0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-27 14:59:50 +01:00
Ross Burton 6978d8aaa9 kernel-yocto: merge duplicate kernel_configme task definitions
The kernel_configme task was added twice (once in the .bbclass, one in a .inc)
with different ordering constraints.

Change this to be just one definition in the bbclass with the stronger ordering
constraints.

(From OE-Core rev: b9646b9d31c3e0c70337a8c10ebfc087a0e2b829)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-31 22:23:13 +01:00
Ross Burton a9025e876d linux-yocto: add kern-tools-native to kernel_metadata depends
The autobuilder failed like this:

  temp/run.do_kernel_metadata.25242: line 165: createme: command not found

createme is provided by kern-tools-native.  do_patch has a dependency on
kern-tools-native, but do_kernel_metadata runs before do_patch.  So move the
dependency from do_patch to do_kernel_metadata, moving the statement from the
.inc to the class so it's alongside the task definition.

[ YOCTO #7531 ]

(From OE-Core rev: 4a0371847ff0c30d9b60db63559d89dddfcb009f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-31 22:23:13 +01:00
Bruce Ashfield dbfafd8493 linux-yocto/3.19: fixes for Intel core warnings
Updating the 3.19 meta branch to include the following configuration
change to deal with kernel configuration audit warnings:

  9e70b482d377 romley: remove common video and media config items
  8a4e096759ad intel-common: remove eg20t from common config
  c2f5ab15620c drm-cdvpvr: Add STAGING_MEDIA
  ac4693c1db39 media: Prefer modules(m) to yes(y) and update for 3.19 Kernel

(From OE-Core rev: aa57c02e12a3ecd26eff410f70de28013aed2e00)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-25 12:39:48 +00:00
Bruce Ashfield c0f931aa74 linux-yocto/3.14: integrate korg stable and meta data changes
Updating the 3.14 SRCREVs to import the v3.14.36 korg stable changes and
configuration changes to the meta branch.

(From OE-Core rev: 3ca86a30bcbdf59753b7ad611d5e307b65d3c0f6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-25 12:39:47 +00:00
Bruce Ashfield 9dbc258b3f linux-yocto/3.19: configuration updates and stable import
Updating the 3.19 SRCREVs to pick up the korg 3.19.2 release, as well
as the following meta data changes:

  ed82e1ac3196 features: soc: fix typo in baytrail.cfg
  76bc151242d7 tiny.cfg: Enable BINFMT_SCRIPT

(From OE-Core rev: 486c40b6d9566e882c841f0cb398612ba70256e7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-25 12:39:47 +00:00
Bruce Ashfield 76730a8171 linux-yocto/3.19: integrate korg -stable update
Updating to the latest and greatest -stable release for the 3.19 series.

(From OE-Core rev: 1e60b5216a89a34eba7749244eeb53d5d12864eb)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-20 23:56:01 +00:00
Alexandru.Vaduva 59e01b0262 linux-yocto-rt: removed duplicated line
Seemed that the recipe contained redundant information.

(From OE-Core rev: 22c0bc1b80d87bfd4f8d1fcbbb231b994f7e03b8)

Signed-off-by: Alexandru.Vaduva <Alexandru.Vaduva@enea.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-16 17:42:07 +00:00
Jonathan Liu 3cbc509a5f kernel-devsrc: fix file ownership
The file ownership needs to be explicitly set otherwise it inherits
the user and group id of the build user.

(From OE-Core rev: 9ce5b600cb1663f8c2a625c7f7c08ab3e61b58c8)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-16 17:42:01 +00:00
Bruce Ashfield 49d7aae7df linux-yocto/3.14: OcteonIII support
With these SRCREV updates, we add the following support to the kernel:

The following has been verified with the branch sources:

 On 68xx:

   * SGMII, XAUI Packet IO interfaces.
   * PCIe devices
   * EHCI/OHCI USB driver

 On 78XX:

   * Ran LTP testsuite
   * SGMII, XAUI Packet IO interfaces
   * MMC driver (which covers GPIO interrupts in the driver)
   * PCIe devices
   * XHCI USB driver

(From OE-Core rev: c32023e75b1cd722f3fca226ec8651dc10cf9dab)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-02 22:05:35 +00:00
Bruce Ashfield e02016e73b kernel-yocto: inhibit BSP description warnings for custom linux-yocto kernels
We don't require that a yocto custom kernel + defconfig have a full BSP
description (but of course it would be better if they did). Since this
isn't a requirement, we shouldn't alarm users by generating a BSP
description warning.

To implement this, we add a bsp audit level flag (like the one that
exists for kconfig audits), and only set it to activate in the versioned
linux-yocto recipes.

[YOCTO: #7370]

(From OE-Core rev: d2fb7fff291b83700d487be093223c1533d915ce)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-02 22:05:34 +00:00
Bruce Ashfield dd1d4e55c6 linux-yocto: fix qemux86-64 config warning
During the 3.19 update a 32 bit option in the 64 bit config was missed,
which results in the option being dropped (and reported as a warning):

  Value requested for CONFIG_PCI_GOANY not in final ".config"
  Requested value: "CONFIG_PCI_GOANY=y"
  Actual value set: ""

So we split the 32bit only drivers out of the common driver include and
the problem goes away.

[YOCTO: 7354]

(From OE-Core rev: 4dc9bde20602c7565979c7ebdea1a36c7ab3f458)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-02 22:05:34 +00:00