Commit Graph

1703 Commits

Author SHA1 Message Date
Bruce Ashfield 802b695c53 linux-yocto/4.9/4.10: add Intel Memory Protection Extensions
This commit adds a kernel feature to have the kernel support
for Intel Memory Protection Extensions (MPX).

A quote from kernel arch/x86/Kconfig:

"MPX provides hardware features that can be used in conjuction
with compiler-instrumented code to check memory references. It
is designed to detect buffer overflow or underflow bugs."

Intel MPX is available, e.g., on Skylake and on Goldmont (e.g.,
Intel 570x).

(From OE-Core rev: 12cd5bb61de6f254d34cc070816adeacdbe39d5c)

Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-14 14:42:18 +00:00
Bruce Ashfield bb3904583e linux-yocto/4.9: integrate -rt9
Paul Gortmaker made the -rt9 integration available for the 4.9
linux-yocto kernel.

This updates our SRCREVs to pull in that content.

(From OE-Core rev: 6812934630a68deca76177c55fb0b153e17d6058)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-14 14:42:18 +00:00
Bruce Ashfield a67ec6f869 linux-yocto/4.10: update to v4.10.1
Integrating the korg -stable release with the following change summary:

  d23a9821d397 Linux 4.10.1
  289ab6e9b7ce xfs: clear delalloc and cache on buffered write failure
  c1f105b5dc83 rtlwifi: rtl_usb: Fix for URB leaking when doing ifconfig up/down
  dea972f381a1 block: fix double-free in the failure path of cgwb_bdi_init()
  96081d826cb3 ACPICA: Linuxize: Restore and fix Intel compiler build
  8ab75da134c1 netfilter: nf_ct_helper: warn when not applying default helper assignment
  910c3e4d118d goldfish: Sanitize the broken interrupt handler
  adf7f1350a0c x86/platform/goldfish: Prevent unconditional loading
  33b11454af5d USB: serial: console: fix uninitialised spinlock
  122b5f43f6ea USB: serial: ark3116: fix register-accessor error handling
  199d9b3e02b2 USB: serial: opticon: fix CTS retrieval at open
  ecf5c9f1e5ea USB: serial: spcp8x5: fix modem-status handling
  2a503750ae13 USB: serial: ftdi_sio: fix line-status over-reporting
  c9b8c246fa3a USB: serial: ftdi_sio: fix extreme low-latency setting
  4f53d5eaccab USB: serial: ftdi_sio: fix modem-status error handling
  b9296dd8a66a USB: serial: cp210x: add new IDs for GE Bx50v3 boards
  4f91f13d483e USB: serial: mos7840: fix another NULL-deref at open
  8e5eb8e9ad74 tty: serial: msm: Fix module autoload
  cc8937cd74f9 net: socket: fix recvmmsg not returning error from sock_error
  7e963e31ded6 ip: fix IP_CHECKSUM handling
  ccff0ed8c48c ptr_ring: fix race conditions when resizing

(From OE-Core rev: 8ec83eb8fe6993351c2427709e11df055af37529)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-14 14:42:18 +00:00
Bruce Ashfield db1da3bdcb linux-yocto/4.9: bump to v4.9.13
Change summary is as follows:

  3737a5f72234 Linux 4.9.13
  d00400605597 xfs: clear delalloc and cache on buffered write failure
  57d759622aa7 rtlwifi: rtl_usb: Fix for URB leaking when doing ifconfig up/down
  1cb3de83ab74 block: fix double-free in the failure path of cgwb_bdi_init()
  62c153f346fe ACPICA: Linuxize: Restore and fix Intel compiler build
  8f9872be6db9 netfilter: nf_ct_helper: warn when not applying default helper assignment
  e6bdd8d2fffc goldfish: Sanitize the broken interrupt handler
  2709c2a1b016 x86/platform/goldfish: Prevent unconditional loading
  fef3fdf2d83c USB: serial: console: fix uninitialised spinlock
  960a38eae80a USB: serial: ark3116: fix register-accessor error handling
  a2ce74e35d5f USB: serial: opticon: fix CTS retrieval at open
  a1fc6fb5f31e USB: serial: spcp8x5: fix modem-status handling
  26805681a45d USB: serial: ftdi_sio: fix line-status over-reporting
  a1510a8c0ded USB: serial: ftdi_sio: fix extreme low-latency setting
  f3d56f7a586e USB: serial: ftdi_sio: fix modem-status error handling
  4420e0f8fddf USB: serial: cp210x: add new IDs for GE Bx50v3 boards
  308a96c857cc USB: serial: mos7840: fix another NULL-deref at open
  9ab870e7425c tty: serial: msm: Fix module autoload
  1a0e2594ef76 net: socket: fix recvmmsg not returning error from sock_error
  481aedf869fb ip: fix IP_CHECKSUM handling
  7c56012e92b5 ptr_ring: fix race conditions when resizing
  c2219da51664 irda: Fix lockdep annotations in hashbin_delete().
  f23fd87e154f vxlan: fix oops in dev_fill_metadata_dst
  171d92a9d915 dccp: fix freeing skb too early for IPV6_RECVPKTINFO
  6c854afc5399 net: neigh: Fix netevent NETEVENT_DELAY_PROBE_TIME_UPDATE notification
  9206efc8a1f7 packet: Do not call fanout_release from atomic contexts
  722737f27774 packet: fix races in fanout_add()
  e0cb28247882 net: ethernet: ti: cpsw: fix cpsw assignment in resume
  42b52783a59c net/llc: avoid BUG_ON() in skb_orphan()
  859900c24bff net/mlx5e: Disable preemption when doing TC statistics upcall
  90aa7993d5c7 kcm: fix a null pointer dereference in kcm_sendmsg()
  1409935400aa kcm: fix 0-length case for kcm_sendmsg()
  ae7d43192ff2 Linux 4.9.12
  7b0712345376 videodev2.h: go back to limited range Y'CbCr for SRGB and, ADOBERGB
  8629aed2387c bcache: Make gc wakeup sane, remove set_task_state()
  68214ad3926c ntb_transport: Pick an unused queue
  f42026015094 ntb: ntb_perf missing dmaengine_unmap_put
  43325382fc7a NTB: ntb_transport: fix debugfs_remove_recursive
  215d4d62ccfd timekeeping: Use deferred printk() in debug code
  7ee210365adf printk: use rcuidle console tracepoint
  5c3765bbc1db PCI/PME: Restore pcie_pme_driver.remove
  48a415827882 Revert "i2c: designware: detect when dynamic tar update is possible"
  17c443421458 ARM: 8658/1: uaccess: fix zeroing of 64-bit get_user()
  808de347ebd4 futex: Move futex_init() to core_initcall
  dfe8f5757ec4 drm/dp/mst: fix kernel oops when turning off secondary monitor
  7499da90c0cc drm/radeon: Use mode h/vdisplay fields to hide out of bounds HW cursor
  19d2d869d00e Input: elan_i2c - add ELAN0605 to the ACPI table
  a975e8e81e55 Fix missing sanity check in /dev/sg
  a026c97e8824 scsi: don't BUG_ON() empty DMA transfers
  920b60aa3cc2 powerpc/64: Disable use of radix under a hypervisor
  ef746a305de3 mmc: core: fix multi-bit bus width without high-speed mode
  80a0477665d0 fuse: fix uninitialized flags in pipe_buffer
  7283448f8273 fuse: fix use after free issue in fuse_dev_do_read()
  6cf921be8fb9 siano: make it work again with CONFIG_VMAP_STACK
  166a2464cdcf vfs: fix uninitialized flags in splice_to_pipe()
  eee1550b3e89 Linux 4.9.11
  724aedaa5ca6 x86/fpu/xstate: Fix xcomp_bv in XSAVES header
  0d4c19ee68c9 tcp: don't annotate mark on control socket from tcp_v6_send_response()
  0e0751cdfa46 net/mlx5: Don't unlock fte while still using it
  7c4c32a2976e tcp: fix mark propagation with fwmark_reflect enabled
  16a3fbe5239a igmp, mld: Fix memory leak in igmpv3/mld_del_delrec()
  53a76d633b86 mld: do not remove mld souce list info when set link down
  5b1bb4cbd7ec l2tp: do not use udp_ioctl()
  12758a282435 net: dsa: Do not destroy invalid network devices
  a700cf26a3be ping: fix a null pointer dereference
  82849541895f packet: round up linear to header len
  6ebde312a8ed net: introduce device min_header_len
  4cd0362114c8 sit: fix a double free on error path
  2b7f50d67f5d lwtunnel: valid encap attr check should return 0 when lwtunnel is disabled
  00eff2ebbd22 sctp: avoid BUG_ON on sctp_wait_for_sndbuf
  4400acce6881 mlx4: Invoke softirqs after napi_reschedule
  970390fd5d53 catc: Use heap buffer for memory size test
  61bf9f381c38 catc: Combine failure cleanup code in catc_probe()
  e898f6f008aa rtl8150: Use heap buffers for all register access
  878b015bcc72 pegasus: Use heap buffers for all register access
  b90cb484c068 macvtap: read vnet_hdr_size once
  26989c9d9904 tun: read vnet_hdr_sz once
  0f895f51a831 tcp: avoid infinite loop in tcp_splice_read()
  1e340bb22af3 ipv6: tcp: add a missing tcp_v6_restore_cb()
  ae1768bbbc46 ip6_gre: fix ip6gre_err() invalid reads
  66cdd4347573 netlabel: out of bound access in cipso_v4_validate()
  f5b54446630a ipv4: keep skb->dst around in presence of IP options
  d5b6fd77519d net: use a work queue to defer net_disable_timestamp() work
  455a457780b6 stmmac: Discard masked flags in interrupt status register
  ca876dff1e8c tcp: fix 0 divide in __tcp_select_window()
  e6fbace87c7b ipv6: pointer math error in ip6_tnl_parse_tlv_enc_lim()
  a7fe4e5d0633 ipv6: fix ip6_tnl_parse_tlv_enc_lim()
  6c8556f6e114 net/sched: matchall: Fix configuration race
  64cc7ef5cf1d net/mlx5e: Fix update of hash function/key via ethtool
  adf86d59bb9b can: Fix kernel panic at security_sock_rcv_skb

(From OE-Core rev: fb86863ce3164fa412555da98c8c0de4dd112337)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-14 14:42:18 +00:00
Saul Wold 3f0037ce3c systemtap: Add patch to remove quotes
This fixes the -I include lines that are getting passed to the
kernel macros

[YOCTO #10990]

(From OE-Core rev: b4d2f41a474c111e5fc64cae635d851386d860ba)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-08 11:52:56 +00:00
Peter Kjellerstedt 624bf09790 linux-libc-headers: Add inherit of pkgconfig
pkg-config is used by the kernel build system when creating the
configuration tools.

(From OE-Core rev: 8e756a808267da26c5c93729438e5757146be534)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-04 23:18:20 +00:00
Nathan Lynch c7d8f854a3 lttng-tools: update to 2.9.4
Drop upstreamed patch.

(From OE-Core rev: 54bd5f79debf30606ce51a43ec3fd9d7c559889e)

Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-04 23:18:19 +00:00
Nathan Lynch 8cf7d4525d lttng-modules: update to 2.9.1
This includes a significant fix for kernel tracing on 32-bit systems;
kernel and user space events may be uncorrelated without it.

(From OE-Core rev: 7776b51f22791542866789608a135cba83d8881d)

Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-04 23:18:19 +00:00
California Sullivan 132b4d13e0 kernel.bbclass: Give sanity check function an opt-out variable
Having no opt-out method and adding the task to linux-yocto.inc was
causing issues. For example, linux-yocto-dev would often fail because
it uses AUTOREV with no way to dynamically change the PV.

Add a variable to turn off the sanity check, allowing an easy opt out,
and set the opt-out variable in linux-yocto-dev, fixing the issue with
AUTOREV.

(From OE-Core rev: 1b6a3c17874ead7ee0957e67329aa3bd019fa129)

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-04 23:18:19 +00:00
Ross Burton e0839dd113 cryptodev: update to handle 4.10 kernel API
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-04 23:18:16 +00:00
Bruce Ashfield e438ede997 linux-yocto-dev: add virtio fragment for virtio targets
Other linux-yocto recipes have the virtio fragment added to qemu* targets.
If you plan on booting a kernel with qemu, we need these options .. or
things like the virtual disk won't be present.

(From OE-Core rev: 7e30a0db7b587a72a50d6d981ba8cf275ca61b23)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-04 23:18:16 +00:00
Bruce Ashfield 3e35438d83 libc-headers: introduce 4.10 and set as default
The 4.10 kernel has been released, so we can bump our libc-headers
to match.

We also drop the 4.9 headers, since we only want one variant in the
tree.

Tested against glibc and muslc core-image* variants.

(From OE-Core rev: 4e50f18401b0c4bbb6923b88302411cad7917930)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-04 23:18:16 +00:00
Bruce Ashfield d2b776f34d linux-yocto: introduce 4.10 recipes
The 4.10 kernel has been released, so we introduce the linux-yocto
variant.

This version supercedes the 4.4 and 4.8 versions in the tree, leaving us
with 4.1 (LTSI), 4.9 (LTS) and 4.10 (most recent) as the three active
versions.

Build tested against all qemu variants, core-image-kernel-dev + sato,
with musl and glibc as the C libraries.

(From OE-Core rev: e8f07d2966a3fc6cfc6466020dc6603a84fe33da)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-04 23:18:16 +00:00
Alexander Kanavin 89c1220c40 systemtap: update to 3.1
Removed patches are in upstream.

Rebase monitor-option.patch and no-msgfmt-check.patch

Add support for python 3 probes
(this necessitates the 0001-Do-not-let-configure-write-a-python-location-into-th.patch
and the Add 0001-Install-python-modules-to-correct-library-dir.patch to
install python modules to correct destination).

Add perl to RDEPENDS to fix a QA warning about one of the installed files.

(From OE-Core rev: e3bccfba499565ea13f154a11dadcab48ef5e0ab)

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>
2017-03-01 23:27:09 +00:00
Alexander Kanavin c49972abcf babeltrace: update to 1.5.2
(From OE-Core rev: 219915ceff629337bdab113db14f1efc86943d64)

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>
2017-03-01 23:27:08 +00:00
Alexander Kanavin f89ea62842 sysprof: inherit upstream-version-is-even
It is a gnome project, and so is subject to same versioning convention.

(From OE-Core rev: 2a56cff903e469d262930bfe622bcf830d7c34d3)

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>
2017-03-01 23:27:08 +00:00
Robert Yang 1bd3e545bd kernel-devsrc: remove symlink source
Fixed:
$ rpm -qplv tmp/deploy/rpm/qemuppc/kernel-devsrc-1.0-r0.qemuppc.rpm | grep kernel/source
/usr/src/kernel/source -> /buildarea/lyang1/test_yocto/tmp/work/qemuppc-poky-linux/kernel-devsrc/1.0-r0/image/usr/src/kernel

It is generated by kernel's "make clean _mrproper_scripts", the
kernel-devsrc includeds full sources, this symlink is not needed, and
the path is invalid on target, so remove it.

(From OE-Core rev: 65804d1239e626bbe1a4b5772f2464db21163713)

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>
2017-03-01 23:27:06 +00:00
Peter Kjellerstedt 254bfb1071 recipes: Make use of the new bb.utils.filter() function
(From OE-Core rev: 0a1427bf9aeeda6bee2cc0af8da4ea5fd90aef6f)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-01 11:17:45 +00:00
Stefan Agner 448f5c832d linux-firmware: Add Marvell sd88xx WiFi firmwares
Add packages for Marvells sd88xx SDIO WiFi firmwares.

(From OE-Core rev: 35ed7ded1a845f88a7bea44498d524f4b61c0d70)

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-02-23 12:49:52 -08:00
Robert P. J. Day 7c8eb1030e kexec-tools/kdump: Correct typo in comment "crashkenrel="
(From OE-Core rev: 0027c8078fc3d98c7ecaab03d4e637b1fa07778e)

(From OE-Core rev: a0d5816ba410e393fa03f5644008625944c1d719)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-02-23 12:49:50 -08:00
Richard Purdie f14fb8d124 depmodwrapper-cross/qemuwrapper-cross: Drop unneeded binutils dependency
By default these pull in binutils-cross since they're a cross tool
and pull in any native tool requirements. In reality they don't
need such tools at build time or runtime since they're scripts.

Therefore clear the dependency and save on some processing time.

(From OE-Core rev: 63796765122e2eee2b78930797d571acb5c244d1)

(From OE-Core rev: 50feffd0917b0ab408b34ded9c2f741a9c4e5b74)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-02-23 12:49:49 -08:00
Bruce Ashfield 2a6323d300 linux-yocto-rt/4.9: update to 4.9-rt6
Updating the SRCREVs to make Paul Gortmaker's port of 4.9-rt6 active.

(From OE-Core rev: b3e3ef85f5fd64473cae4aa72243665ac1e618e9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-02-19 06:16:58 -08:00
Bruce Ashfield c57ccdcb5b linux-yocto/4.4: meta/configuration updates
Integrating the following commit already in 4.9 and 4.8:

  intel-quark: Add intel-quark-preempt-rt bsp configuration

  While there are intel-quark configurations for the KTYPEs standard
  and tiny in bsp/intel-common, there's none for the preempt-rt KTYPE.
  Trying to build preempt-rt enabled kernels such as linux-yocto-rt for
  intel-quark yields a .config having a potentially misconfigured
  architecture. More importantly, however, preempt-rt related CONFIG
  options are not enabled. Hence, a build of, e.g., linux-yocto-rt, does
  not result in a preempt-rt enabled kernel.

  This patch qualifies to be (back)ported to other branches than
  master.

  Signed-off-by: Christian Storm <christian.storm@siemens.com>
  Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>

(From OE-Core rev: e853327447908d1be085a96f8dda1c53305f9552)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-02-19 06:16:58 -08:00
Bruce Ashfield 98f7fbfd6c linux-yocto/4.9: update to v4.9.9
Updating to the korg -stable release. Changelog is as follows:

   d2e4b66b4ef2 Linux 4.9.9
   f2a0409a0850 drm/i915/execlists: Reset RING registers upon resume
   72cd604cfd86 fs: break out of iomap_file_buffered_write on fatal signals
   bf9ab22c350d iw_cxgb4: set correct FetchBurstMax for QPs
   13363b6988f6 x86/irq: Make irq activate operations symmetric
   e02136282296 irqdomain: Avoid activating interrupts more than once
   c6b0333baea0 iio: health: max30100: fixed parenthesis around FIFO count check
   12c2fcf6bcf7 iio: dht11: Use usleep_range instead of msleep for start signal
   7baa8491d47d iio: health: afe4403: retrieve a valid iio_dev in suspend/resume
   5f0ee562605b iio: health: afe4404: retrieve a valid iio_dev in suspend/resume
   54d2ccc4003b iio: adc: palmas_gpadc: retrieve a valid iio_dev in suspend/resume
   db0e02ef6b82 staging: greybus: timesync: validate platform state callback
   89cc65c1117f USB: serial: option: add device ID for HP lt2523 (Novatel E371)
   12a9c11c2e19 usb: gadget: f_fs: Assorted buffer overflow checks.
   e40d15fce929 usb: musb: Fix host mode error -71 regression
   cbd819e7db3a USB: Add quirk for WORLDE easykey.25 MIDI keyboard
   4807725aab0b USB: serial: pl2303: add ATEN device ID
   8bc382a9652b USB: serial: qcserial: add Dell DW5570 QDL
   0dcbd0aa44e6 KVM: x86: do not save guest-unsupported XSAVE state
   bc05a2e940fe dmaengine: cppi41: Fix oops in cppi41_runtime_resume
   2c2e7fe7c9c5 dmaengine: cppi41: Fix runtime PM timeouts with USB mass storage
   bebb9d75e84d perf/x86/intel/uncore: Clean up hotplug conversion fallout
   e6bd712154aa HID: wacom: Fix poor prox handling in 'wacom_pl_irq'
   f24bc920612c HID: hid-lg: Fix immediate disconnection of Logitech Rumblepad 2
   80246551c7d7 HID: usbhid: Quirk a AMI virtual mouse and keyboard with ALWAYS_POLL
   40add19d3897 iwlwifi: mvm: avoid crash on restart w/o reserved queues
   97663735a96f iwlwifi: fix double hyphen in MODULE_FIRMWARE for 8000
   3d8ec7d2d5f9 pinctrl: intel: merrifield: Add missed check in mrfld_config_set()
   2cf6c49264e4 pinctrl: baytrail: Debounce register is one per community
   449d3ecfbd76 Revert "vring: Force use of DMA API for ARM-based systems with legacy devices"
   16f61dee7e7c Revert "bcma: init serial console directly from ChipCommon code"
   12f822d23dee percpu-refcount: fix reference leak during percpu-atomic transition
   8ee8ff9e2652 regulator: axp20x: AXP806: Fix dcdcb being set instead of dcdce
   1594edd9ea0d vhost: fix initialization for vq->is_le
   04eb7db25bb1 mmc: sdhci: Ignore unexpected CARD_INT interrupts
   1d88791d5ed5 cgroup: don't online subsystems before cgroup_name/path() are operational
   a150e08704b2 can: bcm: fix hrtimer/tasklet termination in bcm op removal
   a93ae8dccc3c tracing: Fix hwlat kthread migration
   b67c7d39bc28 mm, fs: check for fatal signals in do_generic_file_read()
   6cb0497aec81 base/memory, hotplug: fix a kernel oops in show_valid_zones()
   72f7419610c8 mm/memory_hotplug.c: check start_pfn in test_pages_in_a_zone()
   9e255997c2e1 cifs: initialize file_info_lock
   f0c3a0ac3349 zswap: disable changing params if init fails
   a3d729526f2f svcrpc: fix oops in absence of krb5 module
   743146d347f3 NFSD: Fix a null reference case in find_or_create_lock_stateid()
   4c953848c95b powerpc/mm: Use the correct pointer when setting a 2MB pte
   8f415333be3a powerpc: Fix build failure with clang due to BUILD_BUG_ON()
   bbf69e5197da powerpc: Add missing error check to prom_find_boot_cpu()
   73d45909780e powerpc/eeh: Fix wrong flag passed to eeh_unfreeze_pe()
   4b70d598c2ee libata: Fix ATA request sense
   6d08607ef35b libata: apply MAX_SEC_1024 to all CX1-JB*-HP devices
   fc794153c407 ata: sata_mv:- Handle return value of devm_ioremap.
   b41615aa7056 perf/core: Fix PERF_RECORD_MMAP2 prot/flags for anonymous memory
   3996a91e3bdc perf/core: Fix use-after-free bug
   53bed1f64025 crypto: arm64/aes-blk - honour iv_out requirement in CBC and CTR modes
   b04a39f88ced crypto: api - Clear CRYPTO_ALG_DEAD bit before registering an alg
   2eb8f7c4225a drm/nouveau/nv1a,nv1f/disp: fix memory clock rate retrieval
   bd5cefed1ccc drm/nouveau/disp/gt215: Fix HDA ELD handling (thus, HDMI audio) on gt215
   c9fb422fd938 drm/amdgpu/si: fix crash on headless asics
   20658b3df8b9 pinctrl: baytrail: Add missing spinlock usage in byt_gpio_irq_handler
   7396685a1bca HID: cp2112: fix gpio-callback error handling
   a18c4584a489 HID: cp2112: fix sleep-while-atomic
   dfd713307adb xtensa: fix noMMU build on cores with MMU
   f2e24dd91818 efi/fdt: Avoid FDT manipulation after ExitBootServices()
   f0c7412edfc1 x86/efi: Always map the first physical page into the EFI pagetables
   13e6ef99d23b ext4: validate s_first_meta_bg at mount time
   610c2b7ff8f6 PCI/ASPM: Handle PCI-to-PCIe bridges as roots of PCIe hierarchies

(From OE-Core rev: e1866b78d8365855583250877db7f11f98de65df)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-02-19 06:16:58 -08:00
Bruce Ashfield 005bc03aed linux-yocto-dev: bump to v4.10+
(From OE-Core rev: fe6a071babf542f3cdbbce618c70cb256bf364e8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-02-19 06:16:58 -08:00
Bruce Ashfield b327597104 linux-yocto/4.8/4.9: fix tpm.cfg and add dm-verity
Integrating the following commits to fix a configuration warning
and to add a tpm configuration feature:

  8f3bc608ae61 features: add dm-verity
  0ad64750fef1 tpm: avoid warning due to double CONFIG_TCG_TPM

(From OE-Core rev: 7fc93859ce805a604814b1b373d77ecc547e812f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-02-19 06:16:58 -08:00
Bruce Ashfield 3c3cba24bd linux-yocto/4.9: Intel-quark: Add intel-quark-preempt-rt bsp configuration
While there are intel-quark configurations for the KTYPEs standard and
tiny in bsp/intel-common, there's none for the preempt-rt KTYPE.
Trying to build preempt-rt enabled kernels such as linux-yocto-rt for
intel-quark yields a .config having a potentially misconfigured
architecture. More importantly, however, preempt-rt related CONFIG
options are not enabled. Hence, a build of, e.g., linux-yocto-rt, does
not result in a preempt-rt enabled kernel.

(From OE-Core rev: bf822184419592bb680fa6886c0d18f105857f0e)

Signed-off-by: Christian Storm <christian.storm@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-02-19 06:16:58 -08:00
Bruce Ashfield 315e8835ec linux-yocto-rt/4.9: integrate 4.9-rt4
Integrating the 4.9-rt4 new changes:

  56a3dd6fb4e9 x86/mm/cpa: avoid wbinvd() for PREEMPT
  221db3244e71 pinctrl: qcom: Use raw spinlock variants
  43158f23e188 radix-tree: use local locks
  109a8fea2c4a cpuset: Convert callback_lock to raw_spinlock_t
  3741fb19d20f softirq: wake the timer softirq if needed

(From OE-Core rev: c1fd9a544d2165c0f3d827d3ad3c90f9c7781f09)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-02-19 06:16:58 -08:00
Bruce Ashfield eccbb9a670 linux-yocto/4.8: update to v4.8.18
Paul Gortmaker has started doing 4.8 -stable updates. This integrates
his 4.8.18 queue from:

   git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux-4.8.y.git

Change log is as follows:

   28dda89acd7c Linux 4.8.18
   936e79682048 tick/broadcast: Prevent NULL pointer dereference
   f22b03e15427 clocksource/dummy_timer: Move hotplug callback after the real timers
   8f78db7e5df0 xfs: use GPF_NOFS when allocating btree cursors
   1d818a81bac6 xfs: ignore leaf attr ichdr.count in verifier during log replay
   62ef2c9c1d94 xfs: don't allow di_size with high bit set
   db28776559c7 xfs: error out if trying to add attrs and anextents > 0
   fb70f2a64910 xfs: don't crash if reading a directory results in an unexpected hole
   ebff27d76e7e xfs: complain if we don't get nextents bmap records
   14c3f0b270aa xfs: check for bogus values in btree block headers
   31f0f90742a3 xfs: pass state not whichfork to trace_xfs_extlist
   430a362685e9 xfs: Move AGI buffer type setting to xfs_read_agi
   20aa52b53586 xfs: new inode extent list lookup helpers
   c7b75fcea4e6 xfs: fix unbalanced inode reclaim flush locking
   e89df591f833 xfs: check minimum block size for CRC filesystems
   b04a2c02f4d7 xfs: provide helper for counting extents from if_bytes
   f4e7f4cd52b1 xfs: don't BUG() on mixed direct and mapped I/O
   49f159ae6e80 xfs: check return value of _trans_reserve_quota_nblks
   23bb39fdbb96 xfs: don't call xfs_sb_quota_from_disk twice
   d3c7d2aa00d4 tpm_tis: Check return values from get_burstcount.
   9fc58e555d78 drm/i915/gen9: fix the WM memory bandwidth WA for Y tiling cases
   4f075608d2c4 drm/i915/gen9: unconditionally apply the memory bandwidth WA
   55e9c9d00d70 drm/i915: disable PSR by default on HSW/BDW
   2c266a9a3631 drm/radeon: Always store CRTC relative radeon_crtc->cursor_x/y values
   e4d1900e15db s390/topology: always use s390 specific sched_domain_topology_level
   b04e5322d8a4 powerpc/pci/rpadlpar: Fix device reference leaks
   458e63f135d6 PCI: Enable access to non-standard VPD for Chelsio devices (cxgb3)
   05a725c46f56 PCI: Support INTx masking on ConnectX-4 with firmware x.14.1100+
   8d12795b1eac PCI: Convert Mellanox broken INTx quirks to be for listed devices only
   24af87eb2ffa PCI: Convert broken INTx masking quirks from HEADER to FINAL
   ec9f277f52e9 PCI: Add Mellanox device IDs
   9e7c8ebc1316 staging: media: davinci_vpfe: unlock on error in vpfe_reqbufs()
   8c6c73a692c9 f2fs: hide a maybe-uninitialized warning
   a91f2c1d4f45 f2fs: remove percpu_count due to performance regression
   93634e1cc928 md: MD_RECOVERY_NEEDED is set for mddev->recovery
   239b31c50bde crypto: arm64/aes-ce - fix for big endian
   a3141467e092 crypto: arm64/aes-xts-ce: fix for big endian
   7c26ef18f05a crypto: arm64/sha1-ce - fix for big endian
   cb70151453a1 crypto: arm64/aes-neon - fix for big endian
   c1c451bea4af crypto: arm64/aes-ccm-ce: fix for big endian
   c4957563b255 crypto: arm/aes-ce - fix for big endian
   dcb0c4ebc7ad crypto: arm64/ghash-ce - fix for big endian
   d60ecc7f02a4 crypto: arm64/sha2-ce - fix for big endian
   f9315853c7c1 s390/crypto: unlock on error in prng_tdes_read()
   a76c795f53e7 mm, compaction: fix NR_ISOLATED_* stats for pfn based migration
   d3b82f9a9716 mm: khugepaged: fix radix tree node leak in shmem collapse error path
   ab533014582f mm: khugepaged: close use-after-free race during shmem collapsing
   c9777f749c4c mm/hugetlb.c: use the right pte val for compare in hugetlb_cow
   0ff00251359e mmc: mmc_test: Uninitialized return value
   abe558647a0f PM / wakeirq: Fix dedicated wakeirq for drivers not using autosuspend
   b90b6b8cce53 irqchip/bcm7038-l1: Implement irq_cpu_offline() callback
   d6229a05dd06 ima: fix memory leak in ima_release_policy
   8cbe9b689467 sbp-target: Fix second argument of percpu_ida_alloc()
   fed8068fd1de target/iscsi: Fix double free in lio_target_tiqn_addtpg()
   ec92af68808e scsi: mvsas: fix command_active typo
   efe08cc6939b ASoC: samsung: i2s: Fixup last IRQ unsafe spin lock call
   a5a550bd0768 ASoC: cht_bsw_rt5645: Fix leftover kmalloc
   3fcdecb0f9f6 iommu/vt-d: Flush old iommu caches for kdump when the device gets context mapped
   22604a045edb iommu/vt-d: Fix pasid table size encoding
   f7dd8813279b iommu/amd: Fix the left value check of cmd buffer
   9a134d29af48 iommu/amd: Missing error code in amd_iommu_init_device()
   35a294dd5723 clk: renesas: mstp: Support 8-bit registers for r7s72100
   8a7022b2ffad clk: imx31: fix rewritten input argument of mx31_clocks_init()
   8b4940dd9224 clk: sunxi-ng: sun8i-h3: Set CLK_SET_RATE_PARENT for audio module clocks
   a13af6a13e68 clk: ti: dra7: fix "failed to lookup clock node gmac_gmii_ref_clk_div" boot message
   c54f34533601 clk: clk-wm831x: fix a logic error
   36c3481984b5 clk: qcom: ipq806x: Fix board clk rates
   fdd91f12bebc hwmon: (g762) Fix overflows and crash seen when writing limit attributes
   18d749bb756f hwmon: (nct7802) Fix overflows seen when writing into limit attributes
   1e6b9473280a hwmon: (ds620) Fix overflows seen when writing temperature limits
   0bc18f1d87d9 hwmon: (amc6821) sign extension temperature
   4c8493cb90b9 hwmon: (scpi) Fix module autoload
   d618b1647e27 platform/x86: fujitsu-laptop: use brightness_set_blocking for LED-setting callbacks
   b803e5984015 x86/cpu: Probe CPUID leaf 6 even when cpuid_level == 6
   1121b5f49eb7 debugfs: improve DEFINE_DEBUGFS_ATTRIBUTE for !CONFIG_DEBUG_FS
   f4b9eaba036c clk: renesas: cpg-mssr: Fix inverted debug check
   a25cb9b5744b efi/efivar_ssdt_load: Don't return success on allocation failure
   b36f676475bd cris: Only build flash rescue image if CONFIG_ETRAX_AXISFLASHMAP is selected
   40b0bbe612bb ath10k: use the right length of "background"
   3e0f61361a82 nl80211: Use different attrs for BSSID and random MAC addr in scan req
   3d04e6a06abc mac80211: fix tid_agg_rx NULL dereference
   f4ded840a335 drm/i915: tune down the fast link training vs boot fail
   2ed2b3cc6ae3 drm/i915/dp: add lane_count check in intel_dp_check_link_status
   ac2370c93a40 usb: dwc3: gadget: always unmap EP0 requests
   6039272a760e usb: dwc3: ep0: explicitly call dwc3_ep0_prepare_one_trb()
   4f76ead23734 usb: dwc3: ep0: add dwc3_ep0_prepare_one_trb()
   7acc87fae524 iio: accel: st_accel: fix LIS3LV02 reading and scaling
   d59378efa7ac staging: iio: ad7606: fix improper setting of oversampling pins
   401316ef7253 mei: move write cb to completion on credentials failures
   3ab87b8fd267 mei: bus: fix mei_cldev_enable KDoc
   c103d55bb7d7 USB: serial: io_ti: bind to interface after fw download
   d302588a910f ARM: dts: sun7i: bananapi-m1-plus: Enable USB PHY for USB host support
   56dce131ec69 arm64: dts: hip06: Correct hardware pin number of usb node
   0c03658a3e7b USB: phy: am335x-control: fix device and of_node leaks
   518a4d8d533c ARM: dts: r8a7794: Correct hsusb parent clock
   7780eb2fd54b usb: gadget: Fix second argument of percpu_ida_alloc()
   a3ff51875d83 USB: serial: kl5kusb105: abort on open exception path
   5f8a0a2fd33b ALSA: usb-audio: Fix bogus error return in snd_usb_create_stream()
   fb106dc8b847 usb: musb: blackfin: add bfin_fifo_offset in bfin_ops
   1bff22506598 usb: gadget: udc: core: fix return code of usb_gadget_probe_driver()
   c7c4ad7fce6d usb: hub: Move hub_port_disable() to fix warning if PM is disabled
   b7fb0479ecd6 usb: musb: Fix trying to free already-free IRQ 4
   217c03eaf10c usb: dwc3: gadget: Fix full speed mode
   7de3c659811a usb: dwc3: pci: Fix dr_mode misspelling
   6fdac0047799 usb: dwc3: pci: add Intel Gemini Lake PCI ID
   220d6521aac2 xhci: Fix race related to abort operation
   d3f3b0bd0756 xhci: Use delayed_work instead of timer for command timeout
   0da62a5b5242 usb: xhci-mem: use passed in GFP flags instead of GFP_KERNEL
   997d598c694f USB: serial: mos7720: fix parallel probe
   eb9e22ac9265 USB: serial: mos7720: fix parport use-after-free on probe errors
   c91243377c8d USB: serial: mos7720: fix use-after-free on probe errors
   b756fba5e563 USB: serial: mos7720: fix NULL-deref at open
   8cc2ae8e130e USB: serial: mos7840: fix NULL-deref at open
   68ab1ccfc085 USB: serial: kobil_sct: fix NULL-deref in write
   37ca8378e77c USB: serial: cyberjack: fix NULL-deref at open
   fd435e99f5ed USB: serial: oti6858: fix NULL-deref at open
   1653f66ba3fb USB: serial: io_edgeport: fix NULL-deref at open
   73ec9d58b1c7 USB: serial: ti_usb_3410_5052: fix NULL-deref at open
   d1706b42d164 USB: serial: garmin_gps: fix memory leak on failed URB submit
   b653000d9b0c USB: serial: iuu_phoenix: fix NULL-deref at open
   427bac51ce67 USB: serial: io_ti: fix I/O after disconnect
   59f740cd834c USB: serial: io_ti: fix another NULL-deref at open
   2ef82cf063c8 USB: serial: io_ti: fix NULL-deref at open
   8d5f29b2d578 USB: serial: spcp8x5: fix NULL-deref at open
   e1fe8df45b74 USB: serial: keyspan_pda: verify endpoints at probe
   10da95b6a2eb USB: serial: pl2303: fix NULL-deref at open
   e29498ba6e1f USB: serial: quatech2: fix sleep-while-atomic in close
   05859d754d6f USB: serial: omninet: fix NULL-derefs at open and disconnect
   be17e1c916ce usb: return error code when platform_get_irq fails
   0e9fc72194ce usb: xhci: hold lock over xhci_abort_cmd_ring()
   527f810d8a86 xhci: Handle command completion and timeout race
   c18ca85fd6de usb: host: xhci: Fix possible wild pointer when handling abort command
   67a7de5a2f35 usb: xhci: fix return value of xhci_setup_device()
   775a2bec9cdf xhci: free xhci virtual devices with leaf nodes first
   80c502e0ce6f usb: xhci: apply XHCI_PME_STUCK_QUIRK to Intel Apollo Lake
   d3a9f7c7e8c4 usb: xhci: fix possible wild pointer
   5ded28d83128 usb: gadget: composite: Test get_alt() presence instead of set_alt()
   16718d267e09 USB: dummy-hcd: fix bug in stop_activity (handle ep0)
   47acb8434892 USB: fix problems with duplicate endpoint addresses
   a45f34e820c6 USB: gadgetfs: fix checks of wTotalLength in config descriptors
   27b4d04d1b87 USB: gadgetfs: fix use-after-free bug
   cd4da96b1bac USB: gadgetfs: fix unbounded memory allocation bug
   1fa95887b663 usb: gadgetfs: restrict upper bound on device configuration size
   e4efa88511eb usb: storage: unusual_uas: Add JMicron JMS56x to unusual device
   05ace125078d usb: musb: dsps: implement clear_ep_rxintr() callback
   38caa4d8986e usb: musb: core: add clear_ep_rxintr() to musb_platform_ops
   483c56831853 KVM: MIPS: Flush KVM entry code from icache globally
   08aa895b61e1 KVM: MIPS: Don't clobber CP0_Status.UX
   d33b04df932e KVM: x86: reset MMU on KVM_SET_VCPU_EVENTS
   e3843cdbf81a drm/i915: Force VDD off on the new power seqeuencer before starting to use it
   dbce182845b4 gcc-plugins: update gcc-common.h for gcc-7
   970150316c04 mac80211: initialize fast-xmit 'info' later
   cf3b94f8fe70 ARM: davinci: da850: don't add emac clock to lookup table twice
   391c21a9ab0a parisc: Mark cr16 clocksource unstable on SMP systems
   684f6df20889 fscrypt: fix renaming and linking special files
   6c55d3ad7fb3 ALSA: usb-audio: Fix irq/process data synchronization
   3074297922e2 ALSA: hda - Apply asus-mode8 fixup to ASUS X71SL
   81a35981225c ALSA: hda - Fix up GPIO for ASUS ROG Ranger
   576b9d7789d8 iio: bmi160: Fix time needed to sleep after command execution
   ad2a1ae984c6 iio: max44000: correct value in illuminance_integration_time_available
   ee8e4a73dbf6 iio: common: st_sensors: fix channel data parsing

(From OE-Core rev: 1a3daa89e28d58d35692cd2ae2af3e49c9f536fb)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-02-19 06:16:58 -08:00
Bruce Ashfield 92ee540257 linux-yocto/4.9: bump to v4.9.8
Integrating the -stable releases. Changelog is as follows:

   c8ea2f3b8247 Linux 4.9.8
   b5b4d4a9141e xfs: fix bmv_count confusion w/ shared extents
   5d44dd54bd57 xfs: clear _XBF_PAGES from buffers when readahead page
   29f96b7e9023 xfs: extsize hints are not unlikely in xfs_bmap_btalloc
   aab858dabd5e xfs: remove racy hasattr check from attr ops
   29094164ea99 xfs: verify dirblocklog correctly
   214d55efa255 xfs: fix COW writeback race
   29f319275e76 xfs: fix xfs_mode_to_ftype() prototype
   d062d90c35f2 xfs: don't wrap ID in xfs_dq_get_next_id
   d3201a14b36a xfs: sanity check inode di_mode
   43ce5921773b xfs: sanity check inode mode when creating new dentry
   b5f68e24cc7b xfs: replace xfs_mode_to_ftype table with switch statement
   4fac84ba1da7 xfs: add missing include dependencies to xfs_dir2.h
   e5325fcf70b1 xfs: sanity check directory inode di_size
   624e54b5aff1 xfs: make the ASSERT() condition likely
   4f4d5082ec73 xfs: don't print warnings when xfs_log_force fails
   e9b776519107 xfs: don't rely on ->total in xfs_alloc_space_available
   6b81365b1e57 xfs: adjust allocation length in xfs_alloc_space_available
   c63f4d3aa09d xfs: fix bogus minleft manipulations
   d20e4ad06c4b xfs: bump up reserved blocks in xfs_alloc_set_aside
   9f42bc4f9c1c net: dsa: Bring back device detaching in dsa_slave_suspend()
   e972cce0c833 lwtunnel: Fix oops on state free after encap module unload
   89c2588627c2 net: Specify the owning module for lwtunnel ops
   087c2ecb21af qmi_wwan/cdc_ether: add device ID for HP lt2523 (Novatel E371) WWAN card
   93ff5e03bcba af_unix: move unix_mknod() out of bindlock
   37b27b20a8a9 r8152: don't execute runtime suspend if the tx is not empty
   ad864d9fce0e net: mpls: Fix multipath selection for LSR use case
   74423145d931 bridge: netlink: call br_changelink() during br_dev_newlink()
   087dced61adc net/mlx5e: Do not recycle pages from emergency reserve
   0c687a735cdb tcp: initialize max window for a new fastopen socket
   79453ab88164 ipv6: addrconf: Avoid addrconf_disable_change() using RCU read-side lock
   e9db042dca20 lwtunnel: fix autoload of lwt modules
   b335e6566661 net: phy: bcm63xx: Utilize correct config_intr function
   948e137ad9ba net: fix harmonize_features() vs NETIF_F_HIGHDMA
   d1c95f9ce102 vxlan: fix byte order of vxlan-gpe port number
   1e7cbb413f63 virtio-net: restore VIRTIO_HDR_F_DATA_VALID on receiving
   3eab5dd0eb19 virtio: don't set VIRTIO_NET_HDR_F_DATA_VALID on xmit
   b260a714a638 net sched actions: fix refcnt when GETing of action after bind
   2d6b61ec9d3a ax25: Fix segfault after sock connection timeout
   c7a5df92d1e8 ip6_tunnel: Account for tunnel header in tunnel MTU
   08e650708dd0 ravb: do not use zero-length alignment DMA descriptor
   77ce30dc4df4 mlx4: do not call napi_schedule() without care
   18767acb7b67 openvswitch: maintain correct checksum state in conntrack actions
   3524f64224bd tcp: fix tcp_fastopen unaligned access complaints on sparc
   b66b1f5ac33d net: systemport: Decouple flow control from __bcm_sysport_tx_reclaim
   958bb1bdc2c2 net: ipv4: fix table id in getroute response
   6980c52c4efb net: lwtunnel: Handle lwtunnel_fill_encap failure
   ec1aa8d49532 mlxsw: pci: Fix EQE structure definition
   4ec59d1fe470 mlxsw: switchx2: Fix memory leak at skb reallocation
   7c249f3306b6 mlxsw: spectrum: Fix memory leak at skb reallocation
   5b3df4401064 netvsc: add rcu_read locking to netvsc callback
   a37f2311e63c r8152: fix the sw rx checksum is unavailable
   fd2ffe57dda0 Linux 4.9.7
   b59dd202f231 drm/i915: Remove WaDisableLSQCROPERFforOCL KBL workaround.
   922813f4d66f perf/core: Fix concurrent sys_perf_event_open() vs. 'move_group' race
   f5f415c13209 mm, memcg: do not retry precharge charges
   98185d4b18a1 platform/x86: intel_mid_powerbtn: Set IRQ_ONESHOT
   adb260d15134 platform/x86: mlx-platform: free first dev on error
   776050a9b55e virtio_mmio: Set DMA masks appropriately
   143a9ad4e68c memory_hotplug: make zone_can_shift() return a boolean value
   da1fdb8456ac pinctrl: baytrail: Rectify debounce support
   583eded5860b pinctrl: uniphier: fix Ethernet (RMII) pin-mux setting for LD20
   35948ae694c0 pinctrl: broxton: Use correct PADCFGLOCK offset
   668a827a6c9d s5k4ecgx: select CRC32 helper
   9a335996bfcf IB/rxe: Prevent from completer to operate on non valid QP
   fed1e89a16e3 IB/rxe: Fix rxe dev insertion to rxe_dev_list
   c81ee4ed9c0d IB/umem: Release pid in error and ODP flow
   d7c3d7e453b7 drm/i915: Check for NULL atomic state in intel_crtc_disable_noatomic()
   181478cdb75e drm/i915: Fix calculation of rotated x and y offsets for planar formats
   ff4956555513 drm/i915: Don't init hpd polling for vlv and chv from runtime_suspend()
   8d7c76ae613e drm/i915: Don't leak edid in intel_crt_detect_ddc()
   2cff678d0bb5 drm/i915: prevent crash with .disable_display parameter
   9913aca2d587 drm/i915: Clear ret before unbinding in i915_gem_evict_something()
   1b8ff91ae545 v4l: tvp5150: Don't override output pinmuxing at stream on/off time
   11e5015ae1d1 v4l: tvp5150: Fix comment regarding output pin muxing
   d25f9bfeb62f v4l: tvp5150: Reset device at probe time, not in get/set format handlers
   fe6531075e1d pctv452e: move buffer to heap, no mutex
   0bd3cb8d470b iw_cxgb4: free EQ queue memory on last deref
   cb1d48f55a6d SUNRPC: cleanup ida information when removing sunrpc module
   5637949edb50 NFSv4.0: always send mode in SETATTR after EXCLUSIVE4
   0a7023506112 NFSv4.1: Fix a deadlock in layoutget
   73fdda3b01cd nfs: Don't increment lock sequence ID after NFS4ERR_MOVED
   2b95f1210e50 parisc: Don't use BITS_PER_LONG in userspace-exported swab.h header
   ca332b96ba62 ARC: [arcompact] handle unaligned access delay slot corner case
   9d5f2c151ec0 ARC: udelay: fix inline assembler by adding LP_COUNT to clobber list
   50f5972cc231 can: ti_hecc: add missing prepare and unprepare of the clock
   9f56548b0077 can: c_can_pci: fix null-pointer-deref in c_can_start() - set device pointer
   a1af471b4151 IB/srp: fix invalid indirect_sg_entries parameter value
   c2293e76babe IB/srp: fix mr allocation when the device supports sg gaps
   24be606cd3b4 IB/iser: Fix sg_tablesize calculation
   95600605ffaa IB/cxgb3: fix misspelling in header guard
   d7f56ee1198a s390/ptrace: Preserve previous registers for short regset write
   62d7f2123f19 s390/mm: Fix cmma unused transfer from pgste into pte
   97a2e39b7ab9 RDMA/cma: Fix unknown symbol when CONFIG_IPV6 is not enabled
   ffb97c11d05f Btrfs: remove ->{get, set}_acl() from btrfs_dir_ro_inode_operations
   ad80fada9d6d Btrfs: disable xattr operations on subvolume directories
   79babd4a6ce2 Btrfs: remove old tree_root case in btrfs_read_locked_inode()
   959f9709c025 ISDN: eicon: silence misleading array-bounds warning
   485952414360 xfs: prevent quotacheck from overloading inode lru
   03707d6c36f9 sysctl: fix proc_doulongvec_ms_jiffies_minmax()
   c7556867782e userns: Make ucounts lock irq-safe
   13e39d5930ec vring: Force use of DMA API for ARM-based systems with legacy devices
   96e5cec10e7a mm, page_alloc: fix premature OOM when racing with cpuset mems update
   b678e4ff7ce0 mm, page_alloc: move cpuset seqcount checking to slowpath
   d1656c5aef4d mm, page_alloc: fix fast-path race with cpuset update or removal
   ade7afe9dca6 mm, page_alloc: fix check for NULL preferred_zone
   9b1a1ae9b528 mm/mempolicy.c: do not put mempolicy before using its nodemask
   6676aa65464f mm/huge_memory.c: respect FOLL_FORCE/FOLL_COW for thp
   a2104c7cd3b2 drm/atomic: clear out fence when duplicating state
   bbae3c452596 Revert "drm/radeon: always apply pci shutdown callbacks"
   5270c017f19f drm/vc4: fix a bounds check
   cfba2a001d0e drm/vc4: Return -EINVAL on the overflow checks failing.
   b9edac54cb85 drm/vc4: Fix an integer overflow in temporary allocation layout.
   32600835ebe1 drm/vc4: Fix memory leak of the CRTC state.
   4c741e2adb35 drm/i915: Ignore bogus plane coordinates on SKL when the plane is not visible
   f1dc9aaee029 drm: Fix broken VT switch with video=1366x768 option
   2abb7f408f7c drm: Schedule the output_poll_work with 1s delay if we have delayed event
   e4be4d4942b9 tile/ptrace: Preserve previous registers for short regset write
   544160b6ea18 fbdev: color map copying bounds checking

(From OE-Core rev: 83722e881167e3b6414a9a83056f7a25ee23ae91)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-02-19 06:16:58 -08:00
Awais Belal 35a79cc495 kernel-yocto.bbclass: ensure repatching when HEAD is checked out
In some cases it is seen that kernel_checkout and validate_branches are
run again in simultaneous builds. During do_patch the kgit-s2q mechanism
looks for a sentinel file inside the .git directory, finds a fence post
and starts picking up patches after that.

This can create trouble as validate_branches checks out the HEAD of the
branch and so the patches should be reapplied rather than skipped due to
finding of the fence post.

We can call kgit-s2q --clean to remove the sentinel file when the
branches are checked out.

(From OE-Core rev: d57aeafdd2b49010a9fa6d1cd9d10f3cfd5754a5)

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-02-19 06:16:57 -08:00
Stefan Müller-Klieser 4120693223 perf: add PACKAGECONFIG for jvmti
Recent kernel build jvmti, java profiling agent, if a host jdk is
detected. The library will be packaged in -dev and throws a qa error.
Disable the jvmti build per default.

(From OE-Core rev: c2cae2874d88c8e41e12da04198b5368d9968131)

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-02-15 20:06:43 -08:00
Ross Burton bd38e7e84d lttng-tools: no need to delete libxml.m4
The configure.ac uses pkg-config now and this macro doesn't exist in the tarball
anymore, so remove the deletion.

(From OE-Core rev: 371ec2cb0ed5b04082b29b949cb831d69a8ebb32)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-02-15 20:06:42 -08:00
Jussi Kukkonen a82332b128 latencytop: Add missing 'inherit pkgconfig'
The Makefile uses pkg-config.

(From OE-Core rev: 4d61f95e49e2c0953c513e6a78ca626e8fbd5684)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-02-07 14:50:09 +00:00
Bruce Ashfield 3f404002b0 linux-yocto/4.9: yaffs2 fixes
Merging three fixes to yaffs2, which adjust to mainline changes in the
vfs subsystem:

  4700f2f8b9db fs: yaffs2: fix the prototype of function yaffs_rename()
  56e654cab1db fs: yaffs2: switch to the generic xattr handler
  102082f3c245 fs/yaffs2: adjust to the change of inode_change_ok()

(From OE-Core rev: 3fac012408e4f6aac6520539bc6c6b0d59e2e629)

Signed-off-by: Kevin Hao <kexin.hao@windriver.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>
2017-02-05 09:22:17 +00:00
Bruce Ashfield eda9d64cdd linux-yocto/4.9: update to -rt3
Paul Gortmaker has refreshed the 4.9 -rt support to -rt3.

(From OE-Core rev: 3d2f5c60b69afe787624a1a175d57d0e46e8b638)

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>
2017-02-05 09:22:17 +00:00
Bruce Ashfield 1bb90f849e kernel-yocto/meta: common-pc: add pci-siov to feature fragments
The common-pc ethernet selection has drivers that depend on pci_iov
being defined. As such, we should include that feature fragment
or we get build warnings:

    ---------- CONFIG_BNX2X_SRIOV -----------------
    Config: CONFIG_BNX2X_SRIOV
    From:   work-shared/qemux86-64/kernel-source/.kernel-meta/configs/standard/bsp/common-pc/common-pc-eth.cfg
    Requested value:  CONFIG_BNX2X_SRIOV=y
    Actual value:

    Config 'BNX2X_SRIOV' has the following conditionals:
    BNX2X && PCI_IOV (value: "n")
    BNX2X && PCI_IOV (value: "n")
    Dependency values are:
      BNX2X [m] PCI_IOV [n] y [y]

    ---------- CONFIG_BNXT_SRIOV -----------------
    Config: CONFIG_BNXT_SRIOV
    From: work-shared/qemux86-64/kernel-source/.kernel-meta/configs/standard/bsp/common-pc/common-pc-eth.cfg
    Requested value:  CONFIG_BNXT_SRIOV=y
    Actual value:

    Config 'BNXT_SRIOV' has the following conditionals:
    BNXT && PCI_IOV (value: "n")
    BNXT && PCI_IOV (value: "n")
    Dependency values are:
      y [y] BNXT [m] PCI_IOV [n]

(From OE-Core rev: c08d3519c4408e8c51853ffb4b69f05fc55d2df8)

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>
2017-02-05 09:22:17 +00:00
Bruce Ashfield c435d12c00 linux-yocto/4.9: update to v4.9.6
Integrating the 4.9.5 and 4.9.6 -stable updates. The commit logs
are as follows:

   09f886dc5a69 Linux 4.9.6
   f77ef5348d4b libceph: stop allocating a new cipher on every crypto request
   5b482bf58868 libceph: uninline ceph_crypto_key_destroy()
   12274f2c17f2 tools/virtio/ringtest: fix run-on-all.sh for offline cpus
   fa555d021d2b selftest/powerpc: Wrong PMC initialized in pmc56_overflow test
   f37b7a3004bb soc: ti: wkup_m3_ipc: Fix error return code in wkup_m3_ipc_probe()
   97d5e2057564 spi: pxa2xx: add missed break
   d21814a8068a dmaengine: pl330: Fix runtime PM support for terminated transfers
   172270c74348 dmaengine: rcar-dmac: unmap slave resource when channel is freed
   3bef7578e05f s5p-mfc: Fix clock management in s5p_mfc_release() function
   d47e1e7c46fe s5p-cec: mark PM functions as __maybe_unused again
   dfe8e5730fa1 st-hva: fix some error handling in hva_hw_probe()
   b9dc16170dbf ite-cir: initialize use_demodulator before using it
   278997a8e002 gs1662: drop kfree for memory allocated with devm_kzalloc
   cec5ef6ac520 platform: pxa_camera: add VIDEO_V4L2 dependency
   2a3060531768 blackfin: check devm_pinctrl_get() for errors
   fcdab6ca9c31 rpmsg: virtio_rpmsg_bus: fix channel creation
   0f3418442d7b mtd: spi-nor: Fix some error codes in cqspi_setup_flash()
   e55e6c026b7c mtd: spi-nor: Off by one in cqspi_setup_flash()
   ebdfcaa14eef PM / devfreq: Fix the bug of devfreq_add_device when governor is NULL
   795983547317 PM / devfreq: exynos-bus: Fix the wrong return value
   16236802bfec scsi: mpt3sas: fix hang on ata passthrough commands
   a07a122ad2a2 scsi: ses: Fix SAS device detection in enclosure
   41c6b3e8989e swiotlb: Add swiotlb=noforce debug option
   1fd1e6cd6314 swiotlb: Convert swiotlb_force from int to enum
   776c2b2d165d arm64: Fix swiotlb fallback allocation
   962957889d74 arm64: mm: avoid name clash in __page_to_voff()
   d34b6684e60f xprtrdma: Squelch "max send, max recv" messages at connect time
   8ade1c2b4530 xprtrdma: Make FRWR send queue entry accounting more accurate
   a193c7247596 libceph: make sure ceph_aes_crypt() IV is aligned
   6e9fa67c58cc ceph: fix endianness bug in frag_tree_split_cmp
   2e4f2131b66f ceph: fix endianness of getattr mask in ceph_d_revalidate
   8934e069674a ceph: fix ceph_get_caps() interruption
   48baa924108e ceph: fix scheduler warning due to nested blocking
   04c9fe63166f ARM: 8613/1: Fix the uaccess crash on PB11MPCore
   dd8334a5e17e ARM: ux500: fix prcmu_is_cpu_in_wfi() calculation
   cd9601caa2fa ARM: dts: omap3: Fix Card Detect and Write Protect on Logic PD SOM-LV
   a075ac9c0a40 ARM: dts: imx6qdl-nitrogen6_max: fix sgtl5000 pinctrl init
   cfcb94b3a498 ARM: dts: omap2: Add an empty chosen node to top level DTSI
   5921b26bf744 ARM: dts: omap3: Add an empty chosen node to top level DTSI
   bec062cd47bd ARM: dts: am4372: Add an empty chosen node to top level DTSI
   c3f7ca43b2d4 ARM: dts: omap5: Add an empty chosen node to top level DTSI
   835bf872d924 ARM: dts: omap4: Add an empty chosen node to top level DTSI
   355a8fced2bf ARM: dts: am33xx: Add an empty chosen node to top level DTSI
   3e1c70972204 ARM: dts: dm814x: Add an empty chosen node to top level DTSI
   ab6dc01db1f7 ARM: dts: dm816x: Add an empty chosen node to top level DTSI
   d4f12aa133db ARM: dts: dra7: Add an empty chosen node to top level DTSI
   b8add6715c9a libceph: remove now unused ceph_*{en,de}crypt*() functions
   2982b9c92a66 libceph: switch ceph_x_decrypt() to ceph_crypt()
   717a145bd5a9 libceph: switch ceph_x_encrypt() to ceph_crypt()
   6e371f9a4144 libceph: tweak calcu_signature() a little
   788a0bbc7011 libceph: rename and align ceph_x_authorizer::reply_buf
   ecf7ced85628 libceph: introduce ceph_crypt() for in-place en/decryption
   0548b8298938 libceph: introduce ceph_x_encrypt_offset()
   be60457612a2 libceph: old_key in process_one_ticket() is redundant
   2e62bf3c6fe9 libceph: ceph_x_encrypt_buflen() takes in_len
   6d9b544d88a4 Input: ALPS - fix TrackStick support for SS5 hardware
   6e53a62a0d52 arm64/ptrace: Reject attempts to set incomplete hardware breakpoint fields
   f9081dd0c8be arm64/ptrace: Avoid uninitialised struct padding in fpr_set()
   5c5839be0842 arm64/ptrace: Preserve previous registers for short regset write - 3
   a4aafb8c4204 arm64/ptrace: Preserve previous registers for short regset write - 2
   357cfd6c83ee arm64/ptrace: Preserve previous registers for short regset write
   de327948c009 arm64: avoid returning from bad_mode
   71c496495514 ARM: dts: da850-evm: fix read access to SPI flash
   5b6618615215 ARM: dts: OMAP5 / DRA7: indicate that SATA port 0 is available.
   1f75575aca7b ceph: fix bad endianness handling in parse_reply_info_extra
   a14aeccb65e5 ibmvscsis: Fix max transfer length
   51cff2c64d20 ibmvscsis: Fix sleeping in interrupt context
   df35a8f51fcb ARM: 8634/1: hw_breakpoint: blacklist Scorpion CPUs
   73a2e2405d30 svcrdma: avoid duplicate dma unmapping during error recovery
   c49b31b585a1 clocksource/exynos_mct: Clear interrupt when cpu is shut down
   ce5c52f039cf ubifs: Fix journal replay wrt. xattr nodes
   bab10a549fd6 mac80211: implement multicast forwarding on fast-RX path
   beecb1e72cc5 qla2xxx: Fix crash due to null pointer access
   33038189bcab x86/ioapic: Restore IO-APIC irq_chip retrigger callback
   bf15e45eee7a powerpc: Ignore reserved field in DCSR and PVR reads and writes
   e09778546713 powerpc/ptrace: Preserve previous TM fprs/vsrs on short regset write
   9e10a0fc7312 powerpc/ptrace: Preserve previous fprs/vsrs on short regset write
   98e60a8345ae powerpc/perf: Fix PM_BRU_CMPL event code for power9
   09187cdf50c1 powerpc/icp-opal: Fix missing KVM case and harden replay
   26c4d513b6af KVM: arm/arm64: vgic: Fix deadlock on error handling
   e0641f201114 KVM: s390: do not expose random data via facility bitmap
   001ed27d088a mtd: nand: xway: fix build because of module functions
   c8dce6e0ef2c mtd: nand: xway: disable module support
   d8d82ac42e27 mtd: nand: lpc32xx: fix invalid error handling of a requested irq
   86249aef233e ieee802154: atusb: do not use the stack for buffers to make them DMA able
   ad17175732ca mmc: mxs-mmc: Fix additional cycles after transmission stop
   c1274eeb2fe3 mmc: sdhci-acpi: Only powered up enabled acpi child devices
   35028599bc88 HID: corsair: fix control-transfer error handling
   63df1ccb937f HID: corsair: fix DMA buffers on stack
   4922a6a5cfa7 PCI: Enumerate switches below PCI-to-PCIe bridges
   c6bdc450fe93 PCI: designware: Check for iATU unroll only on platforms that use ATU
   07f0267561c6 fuse: fix time_to_jiffies nsec sanity check
   0181b3603681 fuse: clear FR_PENDING flag when moving requests out of pending queue
   bb82fb48df8c ARC: module: Fix !CONFIG_ARC_DW2_UNWIND builds
   3c4d83a1a41e libnvdimm, namespace: fix pmem namespace leak, delete when size set to zero
   f29f3616b932 svcrpc: don't leak contexts on PROC_DESTROY
   a297ed84b928 sunrpc: don't call sleeping functions from the notifier block callbacks
   90687fc3c8c3 rcu: Narrow early boot window of illegal synchronous grace periods
   bdeaa468e221 rcu: Remove cond_resched() from Tiny synchronize_sched()
   f779e00d2e86 x86/PCI: Ignore _CRS on Supermicro X8DTH-i/6/iF/6F
   782b361c9306 tmpfs: clear S_ISGID when setting posix ACLs
   9170948a24b7 ARM: dts: omap3: Add DTS for Logic PD SOM-LV 37xx Dev Kit
   efba7a37efe2 ARM: dts: imx31: fix AVIC base address
   173470b1b10a ARM: dts: imx31: move CCM device node to AIPS2 bus devices
   979f63227c98 ARM: dts: imx31: fix clock control module interrupts description
   e95bd2ca11a9 ARM: dts: imx6q-cm-fx6: fix fec pinctrl
   387812143cbe ARM: dts: r8a7794: remove Z clock
   57a10f29e0b3 ARM: dts: r8a7794: Use SYSC "always-on" PM Domain for sound
   97136d1ef47a ARM: dts: bcm283x: fix typo in mailbox address
   03f5be20ec9b perf jit: Enable jitdump support without dwarf
   3ef6a3c0136b perf scripting: Avoid leaking the scripting_context variable
   ea738532666a perf callchain: Fixup help/config for no-unwinding
   a1d308914090 perf diff: Do not overwrite valid build id
   0f242c0ae0a6 perf trace: Check if MAP_32BIT is defined (again)
   8b5484fab145 perf mem: Fix --all-user/--all-kernel options
   567eea578016 perf trace: Use the syscall raw_syscalls:sys_enter timestamp
   d622b626270a IB/IPoIB: Remove can't use GFP_NOIO warning
   656a7d657533 IB/mlx4: Check if GRH is available before using it
   661600ff77f1 IB/mlx4: When no DMFS for IPoIB, don't allow NET_IF QPs
   8f95735412ad IB/mlx4: Fix port query for 56Gb Ethernet links
   1039b7f5c7ef IB/mlx4: Handle well-known-gid in mad_demux processing
   618d14b01a45 IB/mlx4: Fix out-of-range array index in destroy qp flow
   970f6806c2b1 IB/mlx4: Set traffic class in AH
   0d64860aa638 IB/mlx5: Wait for all async command completions to complete
   7c8441c89043 IB/mlx5: Assign SRQ type earlier
   dae9f4f14411 IB/mlx5: Fix reported max SGE calculation
   4db097fe49ea IB/mlx5: Avoid system crash when enabling many VFs
   45f3a7eb2ca0 IB/rxe: avoid putting a large struct rxe_qp on stack
   25c72b518734 IB/rxe: Increase max number of completions to 32k
   b7c551559834 IB/core: Release allocated memory in cache setup failure
   40bf0662fe3f Linux 4.9.5
   4e764538512e pinctrl: sh-pfc: Do not unconditionally support PIN_CONFIG_BIAS_DISABLE
   b90a617fef04 arm64: hugetlb: fix the wrong return value for huge_ptep_set_access_flags
   2021e55d719a arm64: hugetlb: remove the wrong pmd check in find_num_contig()
   736aec92c4e9 arm64: hugetlb: fix the wrong address for several functions
   3083593700dd powerpc/powernv: Don't warn on PE init if unfreeze is unsupported
   dcd15c20c208 powerpc/ibmebus: Fix device reference leaks in sysfs interface
   25bba7152f2a powerpc/ibmebus: Fix further device reference leaks
   ae4c24b2d584 powerpc/mm: Correct process and partition table max size
   42eded92c42b bus: vexpress-config: fix device reference leak
   d9c19f90f3a5 blk-mq: Always schedule hctx->next_cpu
   cb50d45c3d42 power: supply: bq27xxx_battery: Fix register map for BQ27510 and BQ27520
   df386a0c2804 bq24190_charger: Fix PM runtime use for bq24190_battery_set_property
   4b07d85374f5 iw_cxgb4: Fix error return code in c4iw_rdev_open()
   aa3ee06a2ae2 powercap/intel_rapl: fix and tidy up error handling
   f53cfb081f00 ACPI / APEI: Fix NMI notification handling
   f57d8710096d block: cfq_cpd_alloc() should use @gfp
   f99694cdaf76 block: Change extern inline to static inline
   a4e73cc229d8 ACPI / CPPC: set an error code on probe error path
   26991b28b47c regulators: helpers: Fix handling of bypass_val_on in get_bypass_regmap
   89c728ed9237 cpufreq: powernv: Disable preemption while checking CPU throttling state
   e5f33ef0a601 powerpc/64: Simplify adaptation to new ISA v3.00 HPTE format
   f607fd883654 remoteproc: st: Fix error return code in st_rproc_probe()
   0e38a0b7acbb remoteproc: qcom_wcnss: Fix circular module dependency
   b4a69e3877ca drm: Initialise drm_mm.head_node.allocated
   5bdb57418845 drm/i915: Move the min_pixclk[] handling to the end of readout
   699fbc4cb7d4 drm/panel: simple: Check against num_timings when setting preferred for timing
   214417a0419b drm: avoid uninitialized timestamp use in wait_vblank
   3b376640445a drm/i915/gen9: Fix PCODE polling during SAGV disabling
   26eae206b786 i2c: mux: pca954x: fix i2c mux selection caching
   396b25173370 NFSv4.1: nfs4_fl_prepare_ds must be careful about reporting success.
   e331f2f2b1fb NFS: Fix a performance regression in readdir
   4c4d4bec6c90 pNFS: Fix race in pnfs_wait_on_layoutreturn
   633b57037699 NFS: fix typo in parameter description
   a5209aa99042 pinctrl: meson: fix gpio request disabling other modes
   7a1dcd92fd39 btrfs: fix error handling when run_delayed_extent_op fails
   003e3163fcc7 btrfs: fix locking when we put back a delayed ref that's too new
   0aefd99f37f3 nvme: apply DELAY_BEFORE_CHK_RDY quirk at probe time too
   9bae3c370a9e x86/cpu: Fix bootup crashes by sanitizing the argument of the 'clearcpuid=' command-line option
   64e236812197 i2c: piix4: Avoid race conditions with IMC
   ce31072b4342 net/mlx5: Only cancel recovery work when cleaning up device
   2f946414a080 USB: serial: ch341: fix modem-control and B0 handling
   12a26bd342b5 drm/amdgpu: drop verde dpm quirks
   d52e714b39ce drm/amdgpu: update si kicker smc firmware
   0c37b07002d5 drm/radeon: drop verde dpm quirks
   7cd7aea3dc78 drm/radeon: update smc firmware selection for SI
   5375b71f3b17 drm: Clean up planes in atomic commit helper failure path
   6d15a83af982 drm/i915/gen9: Fix PCODE polling timeout in stable backport
   9297e0c189f5 net/af_iucv: don't use paged skbs for TX on HiperSockets
   00cf64fbaa1e sysctl: Drop reference added by grab_header in proc_sys_readdir
   eca02f01be96 Clearing FIFOs in RS485 emulation mode causes subsequent transmits to break
   86820a103f51 extcon: return error code on failure
   ef8ee4495171 sysrq: attach sysrq handler correctly for 32-bit kernel
   4a940d6503e1 orinoco: Use shash instead of ahash for MIC calculations
   0edcc47cdb7f ibmvscsis: Fix srp_transfer_data fail return code
   ba04d869974e tty/serial: atmel_serial: BUG: stop DMA from transmitting in stop_tx
   2d789bd1fc24 tty/serial: atmel: RS485 half duplex w/DMA: enable RX after TX is done
   199c89fd32b2 virtio_blk: avoid DMA to stack for the sense buffer
   6c6ae8c43df9 dmaengine: omap-dma: Fix dynamic lch_map allocation
   3fbaff3adc76 drivers: char: mem: Fix thinkos in kmem address checks
   1a62a0f76556 mnt: Protect the mountpoint hashtable with mount_lock
   52fd0ab07676 pid: fix lockdep deadlock warning due to ucount_lock
   57bfd5a3710b vme: Fix wrong pointer utilization in ca91cx42_slave_get
   1f363639eb30 Revert "tty: serial: 8250: add CON_CONSDEV to flags"
   f9cf776b0555 ASoC: hdmi-codec: use unsigned type to structure members with bit-field
   28dad9aa9b36 btrfs: fix crash when tracepoint arguments are freed by wq callbacks
   4d0f302bf56a xhci: fix deadlock at host remove by running watchdog correctly
   d06367ac1730 fix a fencepost error in pipe_advance()
   ab8957396a69 i2c: fix kernel memory disclosure in dev interface
   93c94ec23fae i2c: print correct device invalid address
   61a8c3372adb Input: elants_i2c - avoid divide by 0 errors on bad touchscreen data
   0556a65e8b7d USB: serial: ch341: fix open and resume after B0
   3ed1f6da3a17 USB: serial: ch341: fix control-message error handling
   139556a98511 USB: serial: ch341: fix open error handling
   1685daad0b0c USB: serial: ch341: fix resume after reset
   4aeab97a0515 USB: serial: ch341: fix initial modem-control state
   58ede4beda66 USB: serial: kl5kusb105: fix line-state error handling
   dfd48efcde84 usb: musb: fix runtime PM in debugfs
   88d3670a1de4 wusbcore: Fix one more crypto-on-the-stack bug
   99ff99b830c1 x86/CPU/AMD: Fix Bulldozer topology
   bd7e769457f9 x86/bugs: Separate AMD E400 erratum and C1E bug
   e2d9ad2c540b x86/cpu/AMD: Clean up cpu_llc_id assignment per topology feature
   259495a0440f bridge: netfilter: Fix dropping packets that moving through bridge interface
   6ba35da690f3 xfs: Timely free truncated dirty pages
   86673e9331c9 gpio: Move freeing of GPIO hogs before numbing of the device
   0a28f5393689 nl80211: fix sched scan netlink socket owner destruction
   14d6c966744d x86/efi: Don't allocate memmap through memblock after mm_init()
   99b17ac0014b efi/x86: Prune invalid memory map entries and fix boot regression
   74ce3fd64bc4 efi/libstub/arm*: Pass latest memory map to the kernel
   736e77c07fba KVM: x86: Introduce segmented_write_std
   83fedbb76051 KVM: x86: emulate FXSAVE and FXRSTOR
   aae8f3464b1f KVM: x86: add asm_safe wrapper
   bc5e1316efd6 KVM: x86: add Align16 instruction flag
   90f70fcd6f72 KVM: x86: fix NULL deref in vcpu_scan_ioapic
   5ed21cc0cf26 KVM: x86: flush pending lapic jump label updates on module unload
   483ecebb22c1 jump_labels: API for flushing deferred jump label updates
   7caf473f99b8 KVM: eventfd: fix NULL deref irqbypass consumer
   7718ffcf9a64 KVM: x86: fix emulation of "MOV SS, null selector"
   1e26cec60668 mm/hugetlb.c: fix reservation race when freeing surplus pages
   8315c22ea879 mm/slab.c: fix SLAB freelist randomization duplicate entries
   6ca29ee3ca0d mm: support anonymous stable page
   07fc9575e88a mm, memcg: fix the active list aging for lowmem requests when memcg is enabled
   6c9bd81cb9ea ocfs2: fix crash caused by stale lvb with fsdlm plugin
   692755b1006d mm: fix devm_memremap_pages crash, use mem_hotplug_{begin, done}
   8edd365ee94c mm: pmd dirty emulation in page fault handler
   87fa6f37fa29 dax: fix deadlock with DAX 4k holes
   2e264fb546fa zram: support BDI_CAP_STABLE_WRITES
   ad4764b4c8eb zram: revalidate disk under init_lock
   057ac4429aef selftests: do not require bash for the generated test
   91ee732cb563 selftests: do not require bash to run netsocktests testcase
   d65146c7fb91 drm/savage: dereferencing an error pointer
   c730a84aff6f drm/vc4: Fix a couple error codes in vc4_cl_lookup_bos()
   a63bb198dc14 drm/tegra: dpaux: Fix error handling
   6b94626c9edf regulator: axp20x: Fix axp809 ldo_io registration error on cold boot
   8ac055af47ae regulator: tps65086: Fix 25mV ranges for BUCK regulators
   9229336861cb pinctrl: sh-pfc: Add helper to handle bias lookup table
   5e1595223a2c pinctrl: sh-pfc: r8a7795: Use lookup function for bias data
   b01bbf221fcc pinctrl: imx: fix imx_pinctrl_desc initialization
   f34fbb92fe81 Input: i8042 - add Pegatron touchpad to noloop table
   5975358bf2ad Input: xpad - use correct product id for x360w controllers

(From OE-Core rev: 629ec06de1c2b3aba5a941ac03e92f023c9703f1)

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>
2017-02-05 09:22:17 +00:00
Bruce Ashfield 48ac84f953 ver_linux: Use /usr/bin/awk instead of /bin/awk
To avoid kernel-devsrc failing with missing a dependency on "/bin/awk".
Due to the way this script is invoked, using #!/usr/bin/env can run into
issue when invoked.

Since most distros have awk in /usr/bin and not /bin, we change the
script while this is sorted out upstream.

(From OE-Core rev: 3360eadb719f1d3b406e6cf48d99a74fdb2f6c77)

Signed-off-by: Saul Wold <sgw@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>
2017-02-05 09:22:17 +00:00
Bruce Ashfield 0476945e9c kernel-yocto: ecryptfs, NFC and CAN bus config updates
Integrating the following kernel config updates:

  f7f388ec4d89 Add support and drivers for CAN bus as feature
  2b20935eb14b Filesystem encryption support
  8520e18f2956 Update NFC support
  a079d66845cd Add eCryptFS filesystem feature

(From OE-Core rev: 8a83c808988f646bd6ecab4905a74c33699451ef)

Signed-off-by: Jussi Laako <jussi.laako@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>
2017-02-05 09:22:17 +00:00
Bruce Ashfield 80a74318de kern-tools: re-enable scc merge command
The ability to merge two branches directly from a .scc file was
dropped during the streamlining of the tools.

As was pointed out by David Vincent <freesilicon@gmail.com>, there is
once again a valid use case for this functionality, so we restore the
capability.

(From OE-Core rev: a0059ebbb52c659282e355664bba1a2fa282170e)

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>
2017-02-05 09:22:17 +00:00
Bruce Ashfield 69083a1a1e kernel-yocto/features: enable TPM
Adding a feature fragment that enables a broad range of TPM
drivers. They service as a baseline for production kernels.

(From OE-Core rev: 460071785c58de6d45698046e70f1121438537cd)

Signed-off-by: Patrick Ohly <patrick.ohly@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>
2017-02-05 09:22:17 +00:00
Bruce Ashfield 6e24a5a2c0 linux-yocto/4.9: update to 4.9.4
Integrating the korg -stable release with the following changes:

   75353ac8ff43 Linux 4.9.4
   6fea974494af rtlwifi: rtl_usb: Fix missing entry in USB driver's private data
   7dae85b5c355 rtlwifi: Fix enter/exit power_save
   3f41ee3a45cb drm/i915/gen9: Fix PCODE polling during CDCLK change notification
   93f2976eb027 ALSA: usb-audio: Add a quirk for Plantronics BT600
   f52e670a5b29 spi: mvebu: fix baudrate calculation for armada variant
   05b7bdf1c3d8 ARM: omap2+: am437x: rollback to use omap3_gptimer_timer_init()
   b8ba5faa7a6b ARM: 8631/1: clkdev: Detect errors in clk_hw_register_clkdev() for mass registration
   87dbf3dc1652 ARM: OMAP4+: Fix bad fallthrough for cpuidle
   b336dc57bc92 ARM: OMAP5: Fix build for PM code
   0f665deba9bc ARM: OMAP5: Fix mpuss_early_init
   aa1c7b01c9c7 bus: arm-ccn: Prevent hotplug callback leak
   bd99e7a6036e svcrdma: Clear xpt_bc_xps in xprt_setup_rdma_bc() error exit arm
   c2ce1c4133b3 ARM: qcom_defconfig: Fix MDM9515 LCC and GCC config
   e925eb342659 ARM: zynq: Reserve correct amount of non-DMA RAM
   78e2d9405e2d ARM: pxa: fix pxa25x interrupt init
   596ff0afbe8e ARM64: dts: bcm2835: Fix bcm2837 compatible string
   e3937bc1cc0b ARM64: dts: bcm2837-rpi-3-b: remove incorrect pwr LED
   d40152d5ac67 arm64: dts: mt8173: Fix auxadc node
   08aed6e8883d tools/virtio: fix READ_ONCE()
   e7d05ec1923e powerpc: Fix build warning on 32-bit PPC
   2fc33ff4ba81 ALSA: firewire-tascam: Fix to handle error from initialization of stream data
   2c867216c555 HID: hid-cypress: validate length of report
   e425ed1d3c75 net: vrf: do not allow table id 0
   7b7a5a85b1d9 net: ipv4: Fix multipath selection with vrf
   7cc73483a4c7 net/mlx5e: Remove WARN_ONCE from adaptive moderation code
   17a561b19a27 gro: Disable frag0 optimization on IPv6 ext headers
   934ca017c850 gro: use min_t() in skb_gro_reset_offset()
   ec0fdcb88c6f gro: Enter slow-path if there is no tailroom
   33364eee1fe4 net: add the AF_QIPCRTR entries to family name tables
   2ff4a0243c9e net: dsa: Ensure validity of dst->ds[0]
   66f24d624baa r8152: fix rx issue for runtime suspend
   c8a89b4f5248 r8152: split rtl8152_suspend function
   294f2c889637 net: dsa: bcm_sf2: Utilize nested MDIO read/write
   ac77aab46168 net: dsa: bcm_sf2: Do not clobber b53_switch_ops
   b55f6ca7380d bpf: change back to orig prog on too many passes
   a4d205a59521 net: vrf: Add missing Rx counters
   efc455f08ea8 ipv4: Do not allow MAIN to be alias for new LOCAL w/ custom rules
   fe1e13cfe2c4 igmp: Make igmp group member RFC 3376 compliant
   7826d11cf44c flow_dissector: Update pptp handling to avoid null pointer deref.
   9f65f5d4746b drop_monitor: consider inserted data in genlmsg_end
   9f7551e05b0f drop_monitor: add missing call to genlmsg_end
   a8a213f296ae net: ipv4: dst for local input routes should use l3mdev if relevant
   e7422080e35d net: fix incorrect original ingress device index in PKTINFO
   2ffc694b5727 rtnl: stats - add missing netlink message size checks
   8cb7d6277f01 net/mlx5e: Disable netdev after close
   ee9f2fd3f6b6 net/mlx5e: Don't sync netdev state when not registered
   33c782dd1514 net/mlx5: Prevent setting multicast macs for VFs
   b22c86ff8e78 net/mlx5: Mask destination mac value in ethtool steering rules
   efbbc75c00fc net/mlx5: Avoid shadowing numa_node
   ca8a64467f2a net/mlx5: Cancel recovery work in remove flow
   7bf1de7f2749 net/mlx5: Check FW limitations on log_max_qp before setting it
   9b4a34ff8987 net/sched: cls_flower: Fix missing addr_type in classify
   99f40c6bf565 net: stmmac: Fix race between stmmac_drv_probe and stmmac_open
   09babe4ce12e net, sched: fix soft lockup in tc_classify
   ee99e2bc5e8a ipv6: handle -EFAULT from skb_copy_bits
   d36a1cb1e328 inet: fix IP(V6)_RECVORIGDSTADDR for udp sockets
   ed3cc329c7bc sctp: sctp_transport_lookup_process should rcu_read_unlock when transport is null
   8b8fbe5c25ab net: vrf: Drop conntrack data after pass through VRF device on Tx
   d4a0b2e40c46 net: vrf: Fix NAT within a VRF

(From OE-Core rev: 9b4c9986ebed75ee71a8179e04a4384624c0e7e0)

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>
2017-02-05 09:22:16 +00:00
Daniel Schultz d053ce3071 cryptodev: Fix changed mm interface in Kernel 4.9
The memory management interface has changed in Kernel 4.9.

This patch adds a patch which fixes the paramter of the function call.

Backport from https://github.com/cryptodev-linux/cryptodev-linux
Based on commit f126e4837e6334d0464540995df7426fedf6b175

(From OE-Core rev: 29e3e2999ae0fd92fd41c2180359e110301a488c)

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-31 14:43:02 +00:00
James Minor 1f7c9094f7 kmod: Fix handling of quotes in kernel command line
If a module parameter on the command line contains quotes, any
spaces inside those quotes should be included as part of the
parameter.

Upstream-Status: Accepted

(From OE-Core rev: a54be23887cdc24a9b128be0913029fc8e63973d)

Signed-off-by: James Minor <james.minor@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-31 14:43:01 +00:00
Bruce Ashfield 81507d8c2e linux-libc-headers: introduce 4.9 headers
Bumping the linux-libc-headers to the 4.9 kernel variant. Since 4.9
will be a LTSI kernel, and there will be an associated linux-yocto
it is worth moving to these headers sooner rather than later.

This commit also drops the 4.8 headers and sets 4.9 to be the default.

(From OE-Core rev: cb0ef6e5fe096cecade81d42e95918f056bba052)

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>
2017-01-26 10:44:28 +00:00
Bruce Ashfield d648400662 linux-yocto/4.9: merge 4.9.3 and ethernet config changes
Merging the following meta-data changes:

 03a2d3f7f999 Add support for NVMe storage devices
 27a79fa51d44 Modularize PCI/PCIe ethernet drivers
 53d2a7d9c9f8 Modularize USB network drivers

And the 4.9.3 -stable update, which has the following shortlog:

   584fd7872c1b Linux 4.9.3
   3999c535da7a usb: gadget: composite: always set ep->mult to a sensible value
   7ff469ceba26 Revert "usb: gadget: composite: always set ep->mult to a sensible value"
   ec3d5c521af8 Revert "rtlwifi: Fix enter/exit power_save"
   cf365b117388 tick/broadcast: Prevent NULL pointer dereference
   34db201f0de7 clocksource/dummy_timer: Move hotplug callback after the real timers
   1b9c2556809a xfs: fix max_retries _show and _store functions
   91192ae41e6f xfs: fix crash and data corruption due to removal of busy COW extents
   b96e4e87d2b0 xfs: use the actual AG length when reserving blocks
   d9c7c9fa600a xfs: fix double-cleanup when CUI recovery fails
   aa38f370b25a xfs: use GPF_NOFS when allocating btree cursors
   3c382dda47e4 xfs: ignore leaf attr ichdr.count in verifier during log replay
   c00203386d50 xfs: don't cap maximum dedupe request length
   f8b20705a383 xfs: don't allow di_size with high bit set
   12815dd15c48 xfs: error out if trying to add attrs and anextents > 0
   cd4bf1d416ef xfs: don't crash if reading a directory results in an unexpected hole
   b88398de1833 xfs: complain if we don't get nextents bmap records
   4bb31bccea38 xfs: check for bogus values in btree block headers
   b85f32481d93 xfs: forbid AG btrees with level == 0
   4081d4a79a95 xfs: handle cow fork in xfs_bmap_trace_exlist
   a585e1c4ec93 xfs: pass state not whichfork to trace_xfs_extlist
   bdbfd4ee6bc7 xfs: Move AGI buffer type setting to xfs_read_agi
   06ac11df915d xfs: pass post-eof speculative prealloc blocks to bmapi
   553937d3cce8 xfs: use new extent lookup helpers xfs_file_iomap_begin_delay
   3d6e3b12bb4e xfs: clean up cow fork reservation and tag inodes correctly
   4a323331d8c9 xfs: use new extent lookup helpers in __xfs_reflink_reserve_cow
   cf168f2ff8ba xfs: track preallocation separately in xfs_bmapi_reserve_delalloc()
   cf4fb510473b xfs: remove prev argument to xfs_bmapi_reserve_delalloc
   390325766033 xfs: always succeed when deduping zero bytes
   2b7dae91a134 xfs: factor rmap btree size into the indlen calculations
   49dc19915d3b xfs: new inode extent list lookup helpers
   b49ef758f600 xfs: fix unbalanced inode reclaim flush locking
   63fa793e757d xfs: check minimum block size for CRC filesystems
   f380ee72a7a4 xfs: provide helper for counting extents from if_bytes
   3978c5bb0043 xfs: don't BUG() on mixed direct and mapped I/O
   2f092422e1ce xfs: don't skip cow forks w/ delalloc blocks in cowblocks scan
   a11f90ca5f30 xfs: check return value of _trans_reserve_quota_nblks
   ae8b6cb40cb2 xfs: don't call xfs_sb_quota_from_disk twice
   56d22b912542 tpm_tis: Check return values from get_burstcount.
   4ffac6f06dfa drm/i915/gen9: fix the WM memory bandwidth WA for Y tiling cases
   f482823e99f0 drm/i915/gen9: unconditionally apply the memory bandwidth WA
   2bdb638de2fc drm/i915: disable PSR by default on HSW/BDW
   9ab30a6529b5 drm/radeon: Always store CRTC relative radeon_crtc->cursor_x/y values
   5417f59cb996 s390/pci: fix dma address calculation in map_sg
   dae9151a88f7 s390/topology: always use s390 specific sched_domain_topology_level
   b3539f813578 powerpc/pci/rpadlpar: Fix device reference leaks
   1aaa777ec009 PCI: Enable access to non-standard VPD for Chelsio devices (cxgb3)
   c444cc34534b PCI: Support INTx masking on ConnectX-4 with firmware x.14.1100+
   e2822904ace5 PCI: Convert Mellanox broken INTx quirks to be for listed devices only
   890661544739 PCI: Convert broken INTx masking quirks from HEADER to FINAL
   04b97a6be2ed PCI: Add Mellanox device IDs
   090cce6f6f88 PCI: rockchip: Correct the use of FTS mask
   6e4bcf8539af PCI: rockchip: Fix negotiated lanes calculation
   257349bedca3 staging: media: davinci_vpfe: unlock on error in vpfe_reqbufs()
   a299abd23081 f2fs: hide a maybe-uninitialized warning
   725ba1a3ebc4 f2fs: remove percpu_count due to performance regression
   5cc85ef4ffe6 md: fix refcount problem on mddev when stopping array.
   60a931c20d1a md: MD_RECOVERY_NEEDED is set for mddev->recovery
   d33a490770e5 crypto: arm64/aes-ce - fix for big endian
   eb64cbc5665d crypto: arm64/aes-xts-ce: fix for big endian
   c3edfe038a75 crypto: arm64/sha1-ce - fix for big endian
   39b7e1c2fdda crypto: arm64/aes-neon - fix for big endian
   d018dc9540f7 crypto: arm64/aes-ccm-ce: fix for big endian
   e6ce55f7be90 crypto: arm/aes-ce - fix for big endian
   a7c9666735f4 crypto: arm64/ghash-ce - fix for big endian
   cdeaed7dda7b crypto: arm64/sha2-ce - fix for big endian
   a05aa258b237 s390/crypto: unlock on error in prng_tdes_read()
   5d7d362abc40 mm, compaction: fix NR_ISOLATED_* stats for pfn based migration
   dc1b6d0aed97 mm: khugepaged: fix radix tree node leak in shmem collapse error path
   058a4a534c23 mm: khugepaged: close use-after-free race during shmem collapsing
   cd6d9ffffc4c docs-rst: fix LaTeX \DURole renewcommand with Sphinx 1.3+
   66c677037936 mm/hugetlb.c: use the right pte val for compare in hugetlb_cow
   17df3e74fb51 rpmsg: qcom_smd: Correct return value for O_NONBLOCK
   1d8286ccbcc6 mmc: mmc_test: Uninitialized return value
   74e365e69687 genirq/affinity: Fix node generation from cpumask
   65f796837e00 PM / wakeirq: Fix dedicated wakeirq for drivers not using autosuspend
   3b198ddd5855 irqchip/bcm7038-l1: Implement irq_cpu_offline() callback
   5cbea795f4d1 PCI/MSI: Check for NULL affinity mask in pci_irq_get_affinity()
   825e6a0f7c51 ima: fix memory leak in ima_release_policy
   c4c11b4bdbf6 relay: check array offset before using it
   3dd50a5e2be9 sbp-target: Fix second argument of percpu_ida_alloc()
   0e79a6b45677 target/iscsi: Fix double free in lio_target_tiqn_addtpg()
   962a12f8e523 scsi: mvsas: fix command_active typo
   5157e98aa024 scsi: g_NCR5380: Fix release_region in error handling
   d451b3cc89c7 ASoC: samsung: i2s: Fixup last IRQ unsafe spin lock call
   574bac4f4022 ASoC: Intel: Skylake: Fix a shift wrapping bug
   d61a969f0e94 ASoC: cht_bsw_rt5645: Fix leftover kmalloc
   311742c40da9 ASoC: lpass-platform: initialize dma channel number
   afd7e2b4258a iommu/vt-d: Flush old iommu caches for kdump when the device gets context mapped
   ef41459ab279 iommu/vt-d: Fix pasid table size encoding
   2148835de3c2 iommu/amd: Fix the left value check of cmd buffer
   48ffae87e913 iommu/amd: Missing error code in amd_iommu_init_device()
   54eed7ab1367 clk: renesas: mstp: Support 8-bit registers for r7s72100
   5dd700e897e4 clk: imx31: fix rewritten input argument of mx31_clocks_init()
   6c9f62846872 clk: sunxi-ng: sun8i-h3: Set CLK_SET_RATE_PARENT for audio module clocks
   36a6f7005f38 clk: sunxi-ng: sun8i-a23: Set CLK_SET_RATE_PARENT for audio module clocks
   7af503c02b33 clk: ti: dra7: fix "failed to lookup clock node gmac_gmii_ref_clk_div" boot message
   411873a0390e clk: clk-wm831x: fix a logic error
   e3b665ef4110 clk: qcom: ipq806x: Fix board clk rates
   447433e5f804 Input: synaptics-rmi4 - unlock on error
   584cb7dd15a3 hwmon: (lm90) fix temp1_max_alarm attribute
   2aca9a4fe104 hwmon: (g762) Fix overflows and crash seen when writing limit attributes
   81616a9f751e hwmon: (nct7802) Fix overflows seen when writing into limit attributes
   a69a6ebd036a hwmon: (ds620) Fix overflows seen when writing temperature limits
   29e7b170db90 hwmon: (amc6821) sign extension temperature
   af3cd3f0a805 hwmon: (scpi) Fix module autoload
   7a13086bd457 platform/x86: fujitsu-laptop: use brightness_set_blocking for LED-setting callbacks
   36c1bc65d211 x86/cpu: Probe CPUID leaf 6 even when cpuid_level == 6
   bedcab8723ce x86/prctl/uapi: Remove #ifdef for CHECKPOINT_RESTORE
   e641c92fd2ae debugfs: improve DEFINE_DEBUGFS_ATTRIBUTE for !CONFIG_DEBUG_FS
   629138cd28be clk: renesas: cpg-mssr: Fix inverted debug check
   47e3472507f0 efi/efivar_ssdt_load: Don't return success on allocation failure
   4e1dfb0035e1 cris: Only build flash rescue image if CONFIG_ETRAX_AXISFLASHMAP is selected
   15e0355a1ec5 ath10k: use the right length of "background"
   ac86312e0870 mfd: tps65217: Fix page fault on unloading modules
   a24f1f3520e6 ath10k: fix failure to send NULL func frame for 10.4
   45816391e1a5 nl80211: Use different attrs for BSSID and random MAC addr in scan req
   cd84516473a7 mac80211: fix tid_agg_rx NULL dereference
   1d9c33f1b45c drm/i915: tune down the fast link training vs boot fail
   8b4879154a67 drm/i915/dp: add lane_count check in intel_dp_check_link_status
   5af6f56bb16c usb: dwc3: gadget: always unmap EP0 requests
   c008309f53e5 usb: dwc3: ep0: explicitly call dwc3_ep0_prepare_one_trb()
   5f7fd4d2f94d usb: dwc3: ep0: add dwc3_ep0_prepare_one_trb()
   96a0c8ee7ce6 iio: accel: st_accel: fix LIS3LV02 reading and scaling
   a673f99884e3 staging: iio: ad7606: fix improper setting of oversampling pins
   fc322290fc06 mei: move write cb to completion on credentials failures
   5d46c4e9a05e mei: bus: fix mei_cldev_enable KDoc
   af776953108b mei: fix parameter rename KDoc
   c1ec6ba3d7c7 USB: serial: io_ti: bind to interface after fw download
   fb0a00fb0843 dibusb: fix possible memory leak in dibusb_rc_query()
   5f6136debf7e ARM: dts: sun7i: bananapi-m1-plus: Enable USB PHY for USB host support
   5ef54ae37b13 arm64: dts: hip06: Correct hardware pin number of usb node
   93f6891a383f USB: phy: am335x-control: fix device and of_node leaks
   d387f98cb0c1 ARM: dts: r8a7794: Correct hsusb parent clock
   a10a1b797a0f usb: gadget: fix request length error for isoc transfer
   b429e37b80fd usb: gadget: Fix second argument of percpu_ida_alloc()
   8da83724d491 USB: serial: kl5kusb105: abort on open exception path
   e7c72dccd725 ALSA: usb-audio: Fix bogus error return in snd_usb_create_stream()
   2eb09ccfa45b usb: musb: blackfin: add bfin_fifo_offset in bfin_ops
   64244edf304b usb: gadget: udc: core: fix return code of usb_gadget_probe_driver()
   8ecf70fb0889 usb: hub: Move hub_port_disable() to fix warning if PM is disabled
   d7550d7d6ae2 usb: musb: Fix trying to free already-free IRQ 4
   5e3c2920e9f2 usb: dwc3: gadget: Fix full speed mode
   81f1f24d1873 usb: dwc3: pci: Fix dr_mode misspelling
   6af3ba285acb usb: dwc3: pci: add Intel Gemini Lake PCI ID
   63d92d10a820 xhci: Fix race related to abort operation
   799dfdeb33a0 xhci: Use delayed_work instead of timer for command timeout
   6db52153fea3 usb: xhci-mem: use passed in GFP flags instead of GFP_KERNEL
   1bd67e85edf1 USB: serial: mos7720: fix parallel probe
   6ea44fb2183c USB: serial: mos7720: fix parport use-after-free on probe errors
   e7cf756c8932 USB: serial: mos7720: fix use-after-free on probe errors
   ac81f1fa956f USB: serial: mos7720: fix NULL-deref at open
   bd52ddb0996a USB: serial: mos7840: fix NULL-deref at open
   9de856caff86 USB: serial: kobil_sct: fix NULL-deref in write
   b2aa55142ea5 USB: serial: cyberjack: fix NULL-deref at open
   4de811c61ac5 USB: serial: oti6858: fix NULL-deref at open
   65914eeb39f4 USB: serial: io_edgeport: fix NULL-deref at open
   2e5167b239e6 USB: serial: ti_usb_3410_5052: fix NULL-deref at open
   0556702bf34e USB: serial: garmin_gps: fix memory leak on failed URB submit
   9401cc62b7f5 USB: serial: iuu_phoenix: fix NULL-deref at open
   69017618a61e USB: serial: io_ti: fix I/O after disconnect
   a66274a9b2f4 USB: serial: io_ti: fix another NULL-deref at open
   32631d1a739f USB: serial: io_ti: fix NULL-deref at open
   b5264ea24484 USB: serial: spcp8x5: fix NULL-deref at open
   dda7611ec4a5 USB: serial: keyspan_pda: verify endpoints at probe
   69c415ed5c98 USB: serial: pl2303: fix NULL-deref at open
   2a4ae7bc3d8d USB: serial: quatech2: fix sleep-while-atomic in close
   6ae3e89aa6b1 USB: serial: omninet: fix NULL-derefs at open and disconnect
   9acba5179d6c usb: return error code when platform_get_irq fails
   cb02cce9a7f8 usb: xhci: hold lock over xhci_abort_cmd_ring()
   9e6c400bb582 xhci: Handle command completion and timeout race
   78ccc1966c9e usb: host: xhci: Fix possible wild pointer when handling abort command
   a2118d097409 usb: xhci: fix return value of xhci_setup_device()
   3bf5e7410178 xhci: free xhci virtual devices with leaf nodes first
   40359f915694 usb: xhci: apply XHCI_PME_STUCK_QUIRK to Intel Apollo Lake
   9da8e3e48e88 usb: xhci: fix possible wild pointer
   9bdd47c53b7c usb: dwc3: core: avoid Overflow events
   2b95c939cb88 usb: gadget: composite: Test get_alt() presence instead of set_alt()
   735daeec9e60 USB: dummy-hcd: fix bug in stop_activity (handle ep0)
   05b0f2fc3c2f USB: fix problems with duplicate endpoint addresses
   da4543b3bce0 USB: gadgetfs: fix checks of wTotalLength in config descriptors
   46427c247b62 USB: gadgetfs: fix use-after-free bug
   b946777664db USB: gadgetfs: fix unbounded memory allocation bug
   404954e5b8a6 usb: gadgetfs: restrict upper bound on device configuration size
   72271ae49d6b usb: storage: unusual_uas: Add JMicron JMS56x to unusual device
   4a37dbe68289 usb: musb: dsps: implement clear_ep_rxintr() callback
   5de2dd7f1be1 usb: musb: core: add clear_ep_rxintr() to musb_platform_ops
   84fd8feb5bb5 KVM: MIPS: Flush KVM entry code from icache globally
   26a401a6a52f KVM: MIPS: Don't clobber CP0_Status.UX
   f39969ab0418 KVM: x86: reset MMU on KVM_SET_VCPU_EVENTS
   fe4fc2d67d0b drm/i915: Initialize overlay->last_flip properly
   f0f7f38e8068 drm/i915: Force VDD off on the new power seqeuencer before starting to use it
   73d425635989 drm/i915: Fix oops in overlay due to frontbuffer tracking
   5652dd3f005d drm/i915: Fix oopses in the overlay code due to i915_gem_active stuff
   8f8157c2a72a gcc-plugins: update gcc-common.h for gcc-7
   8c775affbbd6 asm-prototypes: Clear any CPP defines before declaring the functions
   5e7598a625ee mac80211: initialize fast-xmit 'info' later
   3c4eef316703 pinctrl/amd: Set the level based on ACPI tables
   c7b1b7951d9d ARM: davinci: da850: don't add emac clock to lookup table twice
   5f390df2baf7 HID: sensor-hub: Move the memset to sensor_hub_get_feature()
   0c8033357b1d parisc: Mark cr16 clocksource unstable on SMP systems
   e569eef6298a parisc: Add line-break when printing segfault info
   d259b6853732 fscrypt: fix renaming and linking special files
   be4e3aec5667 ALSA: usb-audio: Fix irq/process data synchronization
   5b2c3cafcafc ALSA: hda - Apply asus-mode8 fixup to ASUS X71SL
   71c88fc3bde7 ALSA: hda - Fix up GPIO for ASUS ROG Ranger
   755259ba2a3a staging: octeon: Call SET_NETDEV_DEV()
   ea991c8354c3 iio: bmi160: Fix time needed to sleep after command execution
   7090b8da3836 iio: max44000: correct value in illuminance_integration_time_available
   cf49219364fd iio: common: st_sensors: fix channel data parsing

(From OE-Core rev: 0f72ddb55b42bc96acca2ee52257e5beabf8d071)

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>
2017-01-23 12:05:23 +00:00
Bruce Ashfield 97311f59c3 linux-yocto/4.8: update to -rt10
Paul Gortmaker has updated 4.8 to the latest -rt release. This
integrates those changes to standard/preempt-rt/*. As usual the
branches are kept fast forward, and a clean copy of the patches
can be found on standard/preempt-rt/rebase.

(From OE-Core rev: 9b4a71785221e2b67180fe6047e2ba2ad83f6523)

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>
2017-01-23 12:05:23 +00:00
Bruce Ashfield 220d069629 linux-yocto/4.1: update to v4.1.37
Integrating the -stable release. Changes are as follows:

   35327468a79d Linux 4.1.37
   c27edfb64bbf scsi: megaraid_sas: fix macro MEGASAS_IS_LOGICAL to avoid regression
   016d02981cce tipc: check minimum bearer MTU
   efcf38bd4020 net: ping: check minimum size on ICMP header length
   e29fdf045048 packet: fix race condition in packet_set_ring
   fabaaaa96d54 net: add recursion limit to GRO
   7abf32087c1d Bluetooth: Fix potential NULL dereference in RFCOMM bind callback
   74cd81c810b9 ptrace: being capable wrt a process requires mapped uids/gids
   8165fc3eb28c scsi: arcmsr: Buffer overflow in arcmsr_iop_message_xfer()
   1171afc4a34e mnt: Add a per mount namespace limit on the number of mounts
   62fa696b7b43 posix_acl: Clear SGID bit when setting file permissions
   de42b9559d0c fs: Avoid premature clearing of capabilities
   cb8e1eef351b fs: Give dentry to inode_change_ok() instead of inode
   2ee3ceeccd34 nfsd: Disable NFSv2 timestamp workaround for NFSv3+
   820bc4582ab9 fuse: Propagate dentry down to inode_change_ok()
   89bc54c54027 xfs: Propagate dentry down to inode_change_ok()
   1b364dc9edba xattr: Option to disable meta-data block cache
   9a66bc6ee0f9 tcp: fix use after free in tcp_xmit_retransmit_queue()
   ebdb88b8e465 x86/kexec: add -fno-PIE
   672612a21845 scripts/has-stack-protector: add -fno-PIE
   e06ded86d961 x86/init: Fix cr4_init_shadow() on CR4-less machines
   eec746939372 ARM: 8617/1: dma: fix dma_max_pfn()
   58024f829d0b mm,ksm: fix endless looping in allocating memory when ksm enable
   d427d645ccf9 can: dev: fix deadlock reported after bus-off
   791a92897274 cpuset: handle race between CPU hotplug and cpuset_hotplug_work
   6b82b0601ac2 mtd: nand: davinci: Reinitialize the HW ECC engine in 4bit hwctl
   e537a0977f3e drm/msm: fix use of copy_from_user() while holding spinlock
   b56eb9cdc5f1 bus: arm-ccn: Fix PMU handling of MN
   7298a8bf4c63 bus: arm-ccn: Provide required event arguments

(From OE-Core rev: 592468a262cc01e4954be33b4281ffca84fea838)

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>
2017-01-23 12:05:23 +00:00
Bruce Ashfield 318925957f linux-yocto/4.4: update to v4.4.41
Integrating the korg -stable release. Changes are as follows:

   cdd86b972265 Linux 4.4.41
   9f11a0ab6a96 net: mvpp2: fix dma unmapping of TX buffers for fragments
   d85727365859 sg_write()/bsg_write() is not fit to be called under KERNEL_DS
   7fb5a936457d kconfig/nconf: Fix hang when editing symbol with a long prompt
   e321f384d8a5 target/user: Fix use-after-free of tcmu_cmds if they are expired
   e5de1c724c06 powerpc: Convert cmp to cmpd in idle enter sequence
   cadaba838f1b powerpc/ps3: Fix system hang with GCC 5 builds
   8a2bcaae1bc7 nfs_write_end(): fix handling of short copies
   b66e3126569e libceph: verify authorize reply on connect
   edfe6a79f905 PCI: Check for PME in targeted sleep state
   8db00756afbd Input: drv260x - fix input device's parent assignment
   44685f03dd56 media: solo6x10: fix lockup by avoiding delayed register write
   952a9f5af9f8 IB/cma: Fix a race condition in iboe_addr_get_sgid()
   b7f73ada92a3 IB/multicast: Check ib_find_pkey() return value
   7b1369215616 IPoIB: Avoid reading an uninitialized member variable
   0de381ca35b5 IB/mad: Fix an array index check
   e945df4c6bc2 fgraph: Handle a case where a tracer ignores set_graph_notrace
   88e41441ccd4 platform/x86: asus-nb-wmi.c: Add X45U quirk
   2ef502e860f1 ftrace/x86_32: Set ftrace_stub to weak to prevent gcc from using short jumps to it
   19aa9c14989e kvm: nVMX: Allow L1 to intercept software exceptions (#BP and #OF)
   129e4323df37 KVM: PPC: Book3S HV: Don't lose hardware R/C bit updates in H_PROTECT
   ddf5718adfb8 KVM: PPC: Book3S HV: Save/restore XER in checkpointed register state
   1c8841c9b7d2 md/raid5: limit request size according to implementation limits
   d78006d2345f sc16is7xx: Drop bogus use of IRQF_ONESHOT
   b988320dab53 s390/vmlogrdr: fix IUCV buffer allocation
   656c9abd574b firmware: fix usermode helper fallback loading
   429a533a3d9a ARC: mm: arc700: Don't assume 2 colours for aliasing VIPT dcache
   dbb67e1d585d scsi: avoid a permanent stop of the scsi device's request queue
   565ae61d8995 scsi: zfcp: fix rport unblock race with LUN recovery
   3b3739dfa69c scsi: zfcp: do not trace pure benign residual HBA responses at default level
   1cc0f9488b91 scsi: zfcp: fix use-after-"free" in FC ingress path after TMF
   bccd78746f88 scsi: megaraid_sas: Do not set MPI2_TYPE_CUDA for JBOD FP path for FW which does not support JBOD sequence map
   49ea06561154 scsi: megaraid_sas: For SRIOV enabled firmware, ensure VF driver waits for 30secs before reset
   edf1169bbbaa vt: fix Scroll Lock LED trigger name
   f4f02a856a92 block: protect iterate_bdevs() against concurrent close
   abb78811e242 mei: request async autosuspend at the end of enumeration
   1f9c91a37542 drivers/gpu/drm/ast: Fix infinite loop if read fails
   970dc8cdec9c drm/gma500: Add compat ioctl
   0e0b70f581fc drm/radeon: add additional pci revision to dpm workaround
   62a272498dbe drm/radeon: Hide the HW cursor while it's out of bounds
   deac395e0ba8 drm/radeon: Also call cursor_move_locked when the cursor size changes
   cb8d63d885e9 drm/nouveau/i2c/gk110b,gm10x: use the correct implementation
   adea4a7b0f2b drm/nouveau/fifo/gf100-: protect channel preempt with subdev mutex
   d32d4b3d7c9f drm/nouveau/ltc: protect clearing of comptags with mutex
   3a2990e67b05 drm/nouveau/bios: require checksum to match for fast acpi shadow method
   a163451c80b0 drm/nouveau/kms: lvds panel strap moved again on maxwell
   69e236e70ead ACPI / video: Add force_native quirk for HP Pavilion dv6
   2c2375e40d28 ACPI / video: Add force_native quirk for Dell XPS 17 L702X
   01b6089b5622 staging: comedi: ni_mio_common: fix E series ni_ai_insn_read() data
   5283a7bedbcb staging: comedi: ni_mio_common: fix M Series ni_ai_insn_read() data mask
   e692edec93c1 thermal: hwmon: Properly report critical temperature in sysfs
   9d9541d44a26 clk: bcm2835: Avoid overwriting the div info when disabling a pll_div clk
   e01b04be3eb0 timekeeping_Force_unsigned_clocksource_to_nanoseconds_conversion
   96ea1b9ea099 regulator: stw481x-vmmc: fix ages old enable error
   842ec27cd3f2 mmc: sdhci: Fix recovery from tuning timeout
   dae7cb414834 ath9k: Really fix LED polarity for some Mini PCI AR9220 MB92 cards.
   b63929e8e130 cfg80211/mac80211: fix BSS leaks when abandoning assoc attempts
   05f4183ab5a4 rtlwifi: Fix enter/exit power_save
   f5d90f434c9a ssb: Fix error routine when fallback SPROM fails
   a3edc7b2e537 Linux 4.4.40
   7a2b4ee54b3f ppp: defer netns reference release for ppp channel
   37de955c11b5 driver core: fix race between creating/querying glue dir and its cleanup
   f85a337b4066 xfs: set AGI buffer type in xlog_recover_clear_agi_bucket
   fdb17ddd0a49 arm/xen: Use alloc_percpu rather than __alloc_percpu
   9397e79c4b2d xen/gntdev: Use VM_MIXEDMAP instead of VM_IO to avoid NUMA balancing
   00a0de085d60 tpm xen: Remove bogus tpm_chip_unregister
   f93777c91544 kernel/debug/debug_core.c: more properly delay for secondary CPUs
   f2b8b3455b22 kernel/watchdog: use nmi registers snapshot in hardlockup handler
   597f9c03b2d5 CIFS: Fix a possible memory corruption in push locks
   a9c69e152897 CIFS: Fix missing nls unload in smb2_reconnect()
   f0b715409cb9 CIFS: Fix a possible memory corruption during reconnect
   6dcb01e78333 ASoC: intel: Fix crash at suspend/resume without card registration
   701ec6e5cea7 dm space map metadata: fix 'struct sm_metadata' leak on failed create
   85290a163b06 dm crypt: mark key as invalid until properly loaded
   9188611f81e3 dm flakey: return -EINVAL on interval bounds error in flakey_ctr()
   f0898dc2852b blk-mq: Do not invoke .queue_rq() for a stopped queue
   c53af76d5de1 usb: gadget: composite: always set ep->mult to a sensible value
   b35f34f66943 exec: Ensure mm->user_ns contains the execed files
   0812936b11ea fs: exec: apply CLOEXEC before changing dumpable task flags
   14d8e5cae039 mm/vmscan.c: set correct defer count for shrinker
   ffef1630187b loop: return proper error from loop_queue_rq()
   011ded975e34 f2fs: set ->owner for debugfs status file's file_operations
   3460edfc70c2 ext4: do not perform data journaling when data is encrypted
   36af7cd560b9 ext4: return -ENOMEM instead of success
   519a30148e23 ext4: reject inodes with negative size
   f655b3575c47 ext4: add sanity checking to count_overhead()
   3995881b0f72 ext4: fix in-superblock mount options processing
   386588013810 ext4: use more strict checks for inodes_per_block on mount
   7b74c351de1c ext4: fix stack memory corruption with 64k block size
   26492d8a22b0 ext4: fix mballoc breakage with 64k block size
   4b6050922fb8 crypto: caam - fix AEAD givenc descriptors
   1c1f15f8ebfb ptrace: Capture the ptracer's creds not PT_PTRACE_CAP
   03eed7afbc09 mm: Add a user_ns owner to mm_struct and fix ptrace permission checks
   d80411dea6a4 block_dev: don't test bdev->bd_contains when it is not stable
   85cfbd9db2c6 btrfs: make file clone aware of fatal signals
   323ffc03ddb2 Btrfs: don't BUG() during drop snapshot
   107800061996 Btrfs: fix memory leak in do_walk_down
   5a9b659edef6 Btrfs: don't leak reloc root nodes on error
   8ca6845a58cd Btrfs: return gracefully from balance if fs tree is corrupted
   78a587c608f9 Btrfs: bail out if block group has different mixed flag
   25ee81e54620 Btrfs: fix memory leak in reading btree blocks
   590202271ffd clk: ti: omap36xx: Work around sprz319 advisory 2.1
   119b6658ce05 ALSA: hda: when comparing pin configurations, ignore assoc in addition to seq
   f0ea0ade046e ALSA: hda - Gate the mic jack on HP Z1 Gen3 AiO
   fa695bdc1741 ALSA: hda - fix headset-mic problem on a Dell laptop
   faff777fb456 ALSA: hda - ignore the assoc and seq when comparing pin configurations
   518fca87c645 ALSA: hda/ca0132 - Add quirk for Alienware 15 R2 2016
   29348065c339 ALSA: hiface: Fix M2Tech hiFace driver sampling rate change
   d0ba0f6a8291 ALSA: usb-audio: Add QuickCam Communicate Deluxe/S7500 to volume_control_quirks
   cbb2a2563587 USB: UHCI: report non-PME wakeup signalling for Intel hardware
   8ede2d7908aa usb: gadget: composite: correctly initialize ep->maxpacket
   c67c2ed829f3 usb: gadget: f_uac2: fix error handling at afunc_bind
   747b31526369 usb: hub: Fix auto-remount of safely removed or ejected USB-3 devices
   acca3cf0d62b USB: cdc-acm: add device id for GW Instek AFG-125
   5d6a392b6d36 USB: serial: kl5kusb105: fix open error path
   6a6e113cd928 USB: serial: option: add dlink dwm-158
   17907f291779 USB: serial: option: add support for Telit LE922A PIDs 0x1040, 0x1041
   1f5adadcd032 Btrfs: fix qgroup rescan worker initialization
   b5e715ed11ec btrfs: store and load values of stripes_min/stripes_max in balance status item
   919b74ba5ed5 Btrfs: fix tree search logic when replaying directory entry deletes
   0d619cf6f982 btrfs: limit async_work allocation and worker func duration
   a34f0e8a2f89 Linux 4.4.39
   5d488dee9236 crypto: rsa - Add Makefile dependencies to fix parallel builds
   1c0f4e0ebb79 hotplug: Make register and unregister notifier API symmetric
   537e42d759ae batman-adv: Check for alloc errors when preparing TT local data
   f03531d09125 m68k: Fix ndelay() macro
   55e15b2f44d7 arm64: futex.h: Add missing PAN toggling
   e29949ed3903 can: peak: fix bad memory access and free sequence
   083021bdba1e can: raw: raw_setsockopt: limit number of can_filter that can be set
   9a3baed9103b crypto: mcryptd - Check mcryptd algorithm compatibility
   c4db8a7d1e0c perf/x86: Fix full width counter, counter overflow
   c6a5bf4cda12 locking/rtmutex: Use READ_ONCE() in rt_mutex_owner()
   b27d9147f24a locking/rtmutex: Prevent dequeue vs. unlock race
   e286b6c16758 zram: restrict add/remove attributes to root only
   a0bd6aa097a4 parisc: Fix TLB related boot crash on SMP machines
   605f315c5a83 parisc: Remove unnecessary TLB purges from flush_dcache_page_asm and flush_icache_page_asm
   db9598605768 parisc: Purge TLB before setting PTE
   4bcea472de10 powerpc/eeh: Fix deadlock when PE frozen state can't be cleared
   c95b7f1fab0c Linux 4.4.38
   52783ada69b4 esp6: Fix integrity verification when ESN are used
   3bf28ce9c749 esp4: Fix integrity verification when ESN are used
   2176ec1c82ea ipv4: Set skb->protocol properly for local output
   25d8b7c105e1 ipv6: Set skb->protocol properly for local output
   d41fb2fbb28d Don't feed anything but regular iovec's to blk_rq_map_user_iov
   fd1aa12c6340 constify iov_iter_count() and iter_is_iovec()
   899b60535a2a sparc64: fix compile warning section mismatch in find_node()
   ed7b60db00a1 sparc64: Fix find_node warning if numa node cannot be found
   438e91da24fa sparc32: Fix inverted invalid_frame_pointer checks on sigreturns
   06cdad2b6d92 net: ping: check minimum size on ICMP header length
   77125815f058 net: avoid signed overflows for SO_{SND|RCV}BUFFORCE
   6e682c528b3e geneve: avoid use-after-free of skb->data
   a89e2ff894bc sh_eth: remove unchecked interrupts for RZ/A1
   c36a2a14f26d net: bcmgenet: Utilize correct struct device for all DMA operations
   5a01eaf19858 packet: fix race condition in packet_set_ring
   1a15519fdcdb net/dccp: fix use-after-free in dccp_invalid_packet
   baaf0c65bc8e netlink: Do not schedule work from sk_destruct
   d1ed9c1dba63 netlink: Call cb->done from a worker thread
   6c42bd6a393c net/sched: pedit: make sure that offset is valid
   cfa7c16d4577 net, sched: respect rcu grace period on cls destruction
   94de6f2ffb3d net: dsa: bcm_sf2: Ensure we re-negotiate EEE during after link change
   56366fa0ad46 l2tp: fix racy SOCK_ZAPPED flag check in l2tp_ip{,6}_bind()
   aece024e38cb rtnetlink: fix FDB size computation
   6ef59b986190 af_unix: conditionally use freezable blocking calls in read
   acf9504ae220 net: sky2: Fix shutdown crash
   49695d1e3b81 ip6_tunnel: disable caching when the traffic class is inherited
   2b54505c877f net: check dead netns for peernet2id_alloc()
   790fd11f9ed6 virtio-net: add a missing synchronize_net()

(From OE-Core rev: 2042e74352fcec84ac69645387273438794966f6)

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>
2017-01-23 12:05:23 +00:00
Bruce Ashfield 8c6c15a678 linux-yocto/4.8: -stable update to v4.8.17
Updating to the korg 4.8.17 -stable release. Changes are as follows:

   3d8f8d06abb3 Linux 4.8.17
   adf363fd5ab9 drm/i915: skip the first 4k of stolen memory on everything >= gen8
   000e612673da drm/i915: Initialize dev_priv->atomic_cdclk_freq at init time
   22aba475d97b drm/i915: Fix cdclk vs. dev_cdclk mess when not recomputing things
   294bb3402c76 drm/i915/dsi: Do not clear DPOUNIT_CLOCK_GATE_DISABLE from vlv_init_display_clock_gating
   6a412ff3df87 drm/i915/dsi: Fix chv_exec_gpio disabling the GPIOs it is setting
   4803ec2a74c4 net: mvpp2: fix dma unmapping of TX buffers for fragments
   48f26edb689c sg_write()/bsg_write() is not fit to be called under KERNEL_DS
   d787c6b32c3f kconfig/nconf: Fix hang when editing symbol with a long prompt
   e141d1a21e31 target/user: Fix use-after-free of tcmu_cmds if they are expired
   29f3d1127c4b libnvdimm, pfn: fix align attribute
   3a4e4281b5cd powerpc/ps3: Fix system hang with GCC 5 builds
   e451d674bac5 powerpc/64e: Convert cmpi to cmpwi in head_64.S
   0349fbebd984 SUNRPC: fix refcounting problems with auth_gss messages.
   c513ade4ca56 pNFS: Fix a deadlock between read resends and layoutreturn
   abb2903f1ac2 pNFS: Clear NFS_LAYOUT_RETURN_REQUESTED when invalidating the layout stateid
   f061c76c1d56 pNFS: Don't clear the layout stateid if a layout return is outstanding
   7de1b81c27fd pNFS: On error, do not send LAYOUTGET until the LAYOUTRETURN has completed
   8f5ff877bf19 nfs_write_end(): fix handling of short copies
   1678adac85da libceph: verify authorize reply on connect
   1f93d1a77b17 PCI: Check for PME in targeted sleep state
   c75bc2bde102 i40iw: Use correct src address in memcpy to rdma stats counters
   7d0a6cf3e8c9 Input: drv260x - fix input device's parent assignment
   b7843712cbd2 v4l: tvp5150: Add missing break in set control handler
   4963b1910090 media: solo6x10: fix lockup by avoiding delayed register write
   88bfde25e60f s5p-mfc: fix failure path of s5p_mfc_alloc_memdev()
   c3fe33d185e0 mn88473: fix chip id check on probe
   84b2f664409c mn88472: fix chip id check on probe
   15d1d226eab4 IB/cma: Fix a race condition in iboe_addr_get_sgid()
   7b3721aff59b IB/rxe: Fix a memory leak in rxe_qp_cleanup()
   2a0aa77a54fb IB/multicast: Check ib_find_pkey() return value
   37d4adba02d3 IPoIB: Avoid reading an uninitialized member variable
   f079fc11f28e IB/mad: Fix an array index check
   e661b5d4b94f fgraph: Handle a case where a tracer ignores set_graph_notrace
   b2758da04d73 platform/x86: asus-nb-wmi.c: Add X45U quirk
   f61152e3bbf0 ftrace/x86_32: Set ftrace_stub to weak to prevent gcc from using short jumps to it
   8569aadeed3f vsock/virtio: fix src/dst cid format
   576ea9e5e92e fsnotify: Fix possible use-after-free in inode iteration on umount
   43983ce75e61 kvm: nVMX: Allow L1 to intercept software exceptions (#BP and #OF)
   9a5cf8c4b112 KVM: PPC: Book3S HV: Don't lose hardware R/C bit updates in H_PROTECT
   b751eb6e9d99 KVM: PPC: Book3S HV: Save/restore XER in checkpointed register state
   0773e9248ae3 scsi: aacraid: remove wildcard for series 9 controllers
   b202064f0b3f md/raid5: limit request size according to implementation limits
   47090341ec97 sc16is7xx: Drop bogus use of IRQF_ONESHOT
   c33e1abd2e31 arm64: KVM: pmu: Reset PMSELR_EL0.SEL to a sane value before entering the guest
   d3d61bb37afb s390/kexec: use node 0 when re-adding crash kernel memory
   9652b62af49d s390/vmlogrdr: fix IUCV buffer allocation
   f356ab038e78 firmware: fix usermode helper fallback loading
   5c98bf834d6f ARC: mm: arc700: Don't assume 2 colours for aliasing VIPT dcache
   cc328ce59a4a scsi: avoid a permanent stop of the scsi device's request queue
   6d675dffd425 scsi: zfcp: fix rport unblock race with LUN recovery
   057fe03d627e scsi: zfcp: do not trace pure benign residual HBA responses at default level
   5cebfea8080c scsi: zfcp: fix use-after-"free" in FC ingress path after TMF
   de8a06c673ac iscsi-target: Return error if unable to add network portal
   9c3928be0dba scsi: megaraid_sas: Do not set MPI2_TYPE_CUDA for JBOD FP path for FW which does not support JBOD sequence map
   dbd4e6c60b4f scsi: megaraid_sas: For SRIOV enabled firmware, ensure VF driver waits for 30secs before reset
   3863ab6d710d stm class: Fix device leak in open error path
   698ac693dbb4 vt: fix Scroll Lock LED trigger name
   6d8bb567102c block: protect iterate_bdevs() against concurrent close
   2695afd5e9c2 mei: me: add lewisburg device ids
   7be0a5f39d64 mei: request async autosuspend at the end of enumeration
   dfc3c8a0fa1b drivers/gpu/drm/ast: Fix infinite loop if read fails
   0f95e4a58ecd drm/amdgpu: fix init save/restore list in gfx_v8.0
   8bfa4f5e6395 drm/gma500: Add compat ioctl
   10b598df92d9 drm/radeon/si: load the proper firmware on 0x87 oland boards
   cdb7aaaaecff drm/radeon: add additional pci revision to dpm workaround
   1f884ec818a6 drm/radeon: Hide the HW cursor while it's out of bounds
   6fb94229b2f6 drm/radeon: Also call cursor_move_locked when the cursor size changes
   9c6fb7bf404d drm/nouveau/fifo/gf100-: protect channel preempt with subdev mutex
   2a7a43772bff drm/nouveau/i2c/gk110b,gm10x: use the correct implementation
   28d186430686 drm/nouveau/ttm: wait for bo fence to signal before unmapping vmas
   82d9824d9446 drm/nouveau/ltc: protect clearing of comptags with mutex
   ce71868acee2 drm/nouveau/bios: require checksum to match for fast acpi shadow method
   764e8e8af190 drm/nouveau/kms: lvds panel strap moved again on maxwell
   00e1fb138ffa drm/nouveau/gr: fallback to legacy paths during firmware lookup
   fef542735a48 drm/amd/amdgpu: enable GUI idle INT after enabling CGCG
   bab520835f81 ACPI / video: Add force_native quirk for HP Pavilion dv6
   b7eea51a3a5c ACPI / video: Add force_native quirk for Dell XPS 17 L702X
   ce8100660364 staging: comedi: ni_mio_common: fix E series ni_ai_insn_read() data
   689d59259385 staging: comedi: ni_mio_common: fix M Series ni_ai_insn_read() data mask
   823c5c94f716 hv: acquire vmbus_connection.channel_mutex in vmbus_free_channels()
   235394e1625c docs: sphinx-extensions: make rstFlatTable work with docutils 0.13
   a26a016a4e2f thermal: hwmon: Properly report critical temperature in sysfs
   def2c87dc7ac clk: bcm2835: Avoid overwriting the div info when disabling a pll_div clk
   2f885dafe704 arm64: tegra: Add VDD_GPU regulator to Jetson TX1
   bd12562fceb4 gpio: chardev: Return error for seek operations
   61d0b7139cf9 timekeeping_Force_unsigned_clocksource_to_nanoseconds_conversion
   95d2a43e5a59 regulator: stw481x-vmmc: fix ages old enable error
   52980ceb1832 mmc: sdhci: Fix recovery from tuning timeout
   0ed0b2592437 ath9k: Really fix LED polarity for some Mini PCI AR9220 MB92 cards.
   d80ff7cb5d06 ath9k: fix ath9k_hw_gpio_get() to return 0 or 1 on success
   42e76c596c93 cfg80211/mac80211: fix BSS leaks when abandoning assoc attempts
   d2546f653bb0 rtl8xxxu: Work around issue with 8192eu and 8723bu devices not reconnecting
   2abcc023a460 perf/x86/intel/cstate: Prevent hotplug callback leak
   7b9e1a16a1b0 perf/x86: Fix exclusion of BTS and LBR for Goldmont
   e24523a80c19 rtlwifi: Fix enter/exit power_save
   c9fce6ba9c09 ssb: Fix error routine when fallback SPROM fails
   c65ed08dcc04 Linux 4.8.16
   645897231f96 driver core: fix race between creating/querying glue dir and its cleanup
   f199bdbaab37 Revert "netfilter: move nat hlist_head to nf_conn"
   99d6d4e0c50c Revert "netfilter: nat: convert nat bysrc hash to rhashtable"
   774225699b4d arm64: mark reserved memblock regions explicitly in iomem
   587e89bd56c1 xfs: set AGI buffer type in xlog_recover_clear_agi_bucket
   959e363eaf14 arm/xen: Use alloc_percpu rather than __alloc_percpu
   6fbd3fb6c4df xen/gntdev: Use VM_MIXEDMAP instead of VM_IO to avoid NUMA balancing
   883f12a20583 tpm xen: Remove bogus tpm_chip_unregister
   8419f5215db3 kernel/debug/debug_core.c: more properly delay for secondary CPUs
   63b33e0885d6 watchdog: qcom: fix kernel panic due to external abort on non-linefetch
   bf902ead61d8 watchdog: mei_wdt: request stop on reboot to prevent false positive event
   2f826a72ea8b kernel/watchdog: use nmi registers snapshot in hardlockup handler
   bbf23f00d55e CIFS: Fix a possible memory corruption in push locks
   9f1f5076149a CIFS: Fix missing nls unload in smb2_reconnect()
   ff04da387c10 CIFS: Fix a possible memory corruption during reconnect
   6cb589c7529f ASoC: intel: Fix crash at suspend/resume without card registration
   769c0922d4a6 dm space map metadata: fix 'struct sm_metadata' leak on failed create
   ab10ab0a2a3d dm raid: fix discard support regression
   454b98d3f2b5 dm rq: fix a race condition in rq_completed()
   26011e67339e dm crypt: mark key as invalid until properly loaded
   bd5fcd18c8c3 dm flakey: return -EINVAL on interval bounds error in flakey_ctr()
   1ca66d6a19d2 dm table: an 'all_blk_mq' table must be loaded for a blk-mq DM device
   d948d3b1e416 dm table: fix 'all_blk_mq' inconsistency when an empty table is loaded
   45f631113b36 blk-mq: Do not invoke .queue_rq() for a stopped queue
   e3742a15d6cd PM / OPP: Pass opp_table to dev_pm_opp_put_regulator()
   8b63a922ac07 usb: gadget: composite: always set ep->mult to a sensible value
   d4f4b2e659f5 mm, page_alloc: keep pcp count and list contents in sync if struct page is corrupted
   0927d281a2fc mm/vmscan.c: set correct defer count for shrinker
   3e0ef1b8e0cc nvmet: Fix possible infinite loop triggered on hot namespace removal
   6290a3bcd3c3 loop: return proper error from loop_queue_rq()
   bf0f02079039 f2fs: fix overflow due to condition check order
   154d83a8384e f2fs: set ->owner for debugfs status file's file_operations
   67e5239c8366 Revert "f2fs: use percpu_counter for # of dirty pages in inode"
   d06eaf28f1bb ext4: do not perform data journaling when data is encrypted
   e33673bef6f0 ext4: return -ENOMEM instead of success
   3664877022ea ext4: reject inodes with negative size
   1bfcffbb8801 ext4: add sanity checking to count_overhead()
   9689eb99ce0f ext4: fix in-superblock mount options processing
   52a9daa3d5c0 ext4: use more strict checks for inodes_per_block on mount
   7505584356d2 ext4: fix stack memory corruption with 64k block size
   86efd99f0ebe ext4: fix mballoc breakage with 64k block size
   8022387d236a crypto: caam - fix AEAD givenc descriptors
   ade692b8f1f5 ptrace: Capture the ptracer's creds not PT_PTRACE_CAP
   23d179acb363 vfs,mm: fix return value of read() at s_maxbytes
   e45692fa1aea mm: Add a user_ns owner to mm_struct and fix ptrace permission checks
   04804d83d483 block_dev: don't test bdev->bd_contains when it is not stable
   52d69727a441 fs: exec: apply CLOEXEC before changing dumpable task flags
   781e976ac2c6 exec: Ensure mm->user_ns contains the execed files
   fc1d3e5f3cd0 btrfs: make file clone aware of fatal signals
   8c59356c1232 Btrfs: fix incremental send failure caused by balance
   02fffa116bda Btrfs: don't BUG() during drop snapshot
   0f2e022db237 btrfs: fix a possible umount deadlock
   65563ab7271b Btrfs: fix memory leak in do_walk_down
   364b85c57d25 btrfs: clean the old superblocks before freeing the device
   6a6e9276f3f5 Btrfs: don't leak reloc root nodes on error
   4d3d9b59d963 Btrfs: return gracefully from balance if fs tree is corrupted
   a6522e487b2c Btrfs: bail out if block group has different mixed flag
   d7839adcb0e3 Btrfs: fix memory leak in reading btree blocks
   1a087cd869c6 clk: ti: omap36xx: Work around sprz319 advisory 2.1
   2b96c4b19e0a ALSA: hda: when comparing pin configurations, ignore assoc in addition to seq
   dc8144f49988 ALSA: hda - Gate the mic jack on HP Z1 Gen3 AiO
   685c4db17890 ALSA: hda - fix headset-mic problem on a Dell laptop
   b757fc019fc9 ALSA: hda - ignore the assoc and seq when comparing pin configurations
   38c6095f48fe ALSA: hda/ca0132 - Add quirk for Alienware 15 R2 2016
   5496ec423449 ALSA: hiface: Fix M2Tech hiFace driver sampling rate change
   abf549a8b969 ALSA: usb-audio: Add QuickCam Communicate Deluxe/S7500 to volume_control_quirks
   6b0a56e9aaf3 usbip: vudc: fix: Clear already_seen flag also for ep0
   a9143e58d3cc USB: UHCI: report non-PME wakeup signalling for Intel hardware
   4422a26936ae usb: gadget: composite: correctly initialize ep->maxpacket
   be8f1c44177a usb: gadget: f_uac2: fix error handling at afunc_bind
   79d5a30e37ab usb: hub: Fix auto-remount of safely removed or ejected USB-3 devices
   e3dfbc8904b3 usb: dwc3: gadget: set PCM1 field of isochronous-first TRBs
   269edaef820f USB: cdc-acm: add device id for GW Instek AFG-125
   741523f3da82 USB: serial: kl5kusb105: fix open error path
   f34b7e027eeb USB: serial: option: add dlink dwm-158
   e47e81c4e705 USB: serial: option: add support for Telit LE922A PIDs 0x1040, 0x1041
   3aa3cb940878 Btrfs: fix qgroup rescan worker initialization
   691ea6c7eb1e Btrfs: fix emptiness check for dirtied extent buffers at check_leaf()
   0695d8b10a88 btrfs: store and load values of stripes_min/stripes_max in balance status item
   80f7d2836e37 Btrfs: fix relocation incorrectly dropping data references
   f1b268d7a8e2 Btrfs: fix tree search logic when replaying directory entry deletes
   65553a02a313 Btrfs: fix deadlock caused by fsync when logging directory entries
   361e82137a2d Btrfs: fix BUG_ON in btrfs_mark_buffer_dirty
   562de9c7ce24 btrfs: limit async_work allocation and worker func duration
   f080d7094838 aoe: fix crash in page count manipulation
   8bba2e2e62cb Linux 4.8.15
   762c9bb16fce crypto: rsa - Add Makefile dependencies to fix parallel builds
   014e5a7d9354 hotplug: Make register and unregister notifier API symmetric
   3527ad05b46e batman-adv: Check for alloc errors when preparing TT local data
   32ccd76788a5 m68k: Fix ndelay() macro
   9fc7a4758608 ceph: don't set req->r_locked_dir in ceph_d_revalidate
   a05f493f8d4e ARM: dts: imx7d: fix LCDIF clock assignment
   798c825fb006 ARM: dts: orion5x: fix number of sata port for linkstation ls-gl
   d271b9bec2d3 Revert "ACPI: Execute _PTS before system reboot"
   3ee9f16cff18 can: peak: fix bad memory access and free sequence
   212e0ff80970 can: raw: raw_setsockopt: limit number of can_filter that can be set
   bdb5ed2040f5 crypto: marvell - Don't corrupt state of an STD req for re-stepped ahash
   bfef274e4dae crypto: mcryptd - Check mcryptd algorithm compatibility
   86bea59218a0 crypto: caam - fix pointer size for AArch64 boot loader, AArch32 kernel
   666531ca650e crypto: marvell - Don't copy hash operation twice into the SRAM
   04925ba9b944 acpi, nfit: fix bus vs dimm confusion in xlat_status
   53ed7c2e8d02 acpi, nfit: validate ars_status output buffer size
   e04e2dace316 acpi, nfit, libnvdimm: fix / harden ars_status output length handling
   483ac1487a9d acpi, nfit: fix extended status translations for ACPI DSMs
   0525cebf8ef7 perf/x86: Fix full width counter, counter overflow
   eceab1fd7f9e vhost-vsock: fix orphan connection reset
   b0224f36735e sched/autogroup: Fix 64-bit kernel nice level adjustment
   2a477999977c scsi: lpfc: fix oops/BUG in lpfc_sli_ringtxcmpl_put()
   ac65fe0bbdea device-dax: fix private mapping restriction, permit read-only
   2386c6b188c5 locking/rtmutex: Use READ_ONCE() in rt_mutex_owner()
   7b2347c8e803 locking/rtmutex: Prevent dequeue vs. unlock race
   bed4eef2e8fa zram: restrict add/remove attributes to root only
   4fb7569c7370 parisc: Fix TLB related boot crash on SMP machines
   b81e5db49515 parisc: Remove unnecessary TLB purges from flush_dcache_page_asm and flush_icache_page_asm
   7e8f68aa1833 parisc: Purge TLB before setting PTE
   6e284445bab5 fuse: fix clearing suid, sgid for chown()
   e70d6d2d7383 powerpc/boot: Fix build failure in 32-bit boot wrapper
   a82ad493f045 powerpc/mm: Fix lazy icache flush on pre-POWER5
   84b36287c72d powerpc/eeh: Fix deadlock when PE frozen state can't be cleared
   7b8c57cad53a Linux 4.8.14
   1670d1584701 esp6: Fix integrity verification when ESN are used
   b3e9d4982939 esp4: Fix integrity verification when ESN are used
   be5339492b29 flowcache: Increase threshold for refusing new allocations
   3a116fa8c95d Revert: "ip6_tunnel: Update skb->protocol to ETH_P_IPV6 in ip6_tnl_xmit()"
   686182870c6a ipv4: Set skb->protocol properly for local output
   e67bd82fb79d ipv6: Set skb->protocol properly for local output
   22d94c326660 Don't feed anything but regular iovec's to blk_rq_map_user_iov
   e4a6c61c6b71 constify iov_iter_count() and iter_is_iovec()
   907bc3181c9a sparc32: Fix inverted invalid_frame_pointer checks on sigreturns
   360e257f8cf3 sparc64: fix compile warning section mismatch in find_node()
   2f02dcb673a4 sparc64: Fix find_node warning if numa node cannot be found
   ad02ec7d37a2 ipv4: Drop suffix update from resize code
   0b1c601d367f ipv4: Drop leaf from suffix pull/push functions
   cd8a6c0e95bf ipv4: Fix memory leak in exception case for splitting tries
   a8780378b39e ipv4: Restore fib_trie_flush_external function and fix call ordering
   5ff5e5c06c25 net: ping: check minimum size on ICMP header length
   f818e5d86aef net: avoid signed overflows for SO_{SND|RCV}BUFFORCE
   bfecf9017f8b geneve: avoid use-after-free of skb->data
   4daa2c73eb05 tipc: check minimum bearer MTU
   1ff3209a21c8 sh_eth: remove unchecked interrupts for RZ/A1
   bbf913d774b7 net: bcmgenet: Utilize correct struct device for all DMA operations
   accb7c99fc0f cdc_ether: Fix handling connection notification
   34457543e203 ip6_offload: check segs for NULL in ipv6_gso_segment.
   cef222d40f2e packet: fix race condition in packet_set_ring
   17941a9d6409 GSO: Reload iph after pskb_may_pull
   ff0d7874078d net/dccp: fix use-after-free in dccp_invalid_packet
   023cd33ece37 net: macb: fix the RX queue reset in macb_rx()
   25d9b4bb64ea netlink: Do not schedule work from sk_destruct
   f5dad3473d83 netlink: Call cb->done from a worker thread
   360d6a23e79d net/sched: pedit: make sure that offset is valid
   aa239369bdfa net: dsa: fix unbalanced dsa_switch_tree reference counting
   9a7479273949 net, sched: respect rcu grace period on cls destruction
   a9437ebc69f5 net: dsa: bcm_sf2: Ensure we re-negotiate EEE during after link change
   ddf053431efe udplite: call proper backlog handlers
   7b0aa75be3ab ipv6: bump genid when the IFA_F_TENTATIVE flag is clear
   58c8cc33de6c rtnl: fix the loop index update error in rtnl_dump_ifinfo()
   84df56749f48 l2tp: fix racy SOCK_ZAPPED flag check in l2tp_ip{,6}_bind()
   7f8b251a0985 rtnetlink: fix FDB size computation
   c39caa8f80c0 af_unix: conditionally use freezable blocking calls in read
   bdc5c63e4b38 net: sky2: Fix shutdown crash
   a75684ab7a12 ip6_tunnel: disable caching when the traffic class is inherited
   1b079d5b9fc1 net: check dead netns for peernet2id_alloc()
   65dfc8b4547f net: dsa: b53: Fix VLAN usage and how we treat CPU port
   f959eb507439 virtio-net: add a missing synchronize_net()
   8070f33be6c4 gro_cells: mark napi struct as not busy poll candidates
   55d64c0b3c15 Linux 4.8.13
   a4edb1a2b045 arm64: suspend: Reconfigure PSTATE after resume from idle
   6353400d9130 arm64: mm: Set PSTATE.PAN from the cpu_enable_pan() call
   b49b1ae6d341 arm64: cpufeature: Schedule enable() calls instead of calling them via IPI
   e4e77deda200 batman-adv: Detect missing primaryif during tp_send as error
   f106de5604dd clk: sunxi: Fix M factor computation for APB1
   9e2d9e95094a perf/x86: Restore TASK_SIZE check on frame pointer
   ab34b429a01f drm/mediatek: fix null pointer dereference
   43b5bb262711 pwm: Fix device reference leak
   6c6947613979 KVM: use after free in kvm_ioctl_create_device()
   ff8b06b4efa6 arm64: dts: juno: fix cluster sleep state entry latency on all SoC versions
   f67b89acdfa1 drm/radeon: fix check for port PM availability
   835bb5cd3653 drm/amdgpu: fix check for port PM availability
   972d595824b6 drm/radeon: fix power state when port pm is unavailable (v2)
   be1b75edf20b drm/amdgpu: fix power state when port pm is unavailable
   bd78c077f8fe drm/i915: drop the struct_mutex when wedged or trying to reset
   5dd86b6e5873 drm/i915: Don't touch NULL sg on i915_gem_object_get_pages_gtt() error
   05abe7452b71 KVM: arm/arm64: vgic: Don't notify EOI for non-SPIs
   ca42bd35d308 mwifiex: printk() overflow with 32-byte SSIDs
   de9ba13ebfdb PCI: Set Read Completion Boundary to 128 iff Root Port supports it (_HPX)
   4f4857148b4a PCI: Export pcie_find_root_port
   27dce9bcad4d mm: workingset: fix NULL ptr in count_shadow_nodes
   60e33689a06e rcu: Fix soft lockup for rcu_nocb_kthread
   b6f9e236b7ef Input: psmouse - disable automatic probing of BYD touchpads
   6ca8ab7052c4 Input: change KEY_DATA from 0x275 to 0x277
   600bec25b855 ovl: fix d_real() for stacked fs
   5661a6926871 mm: fix false-positive WARN_ON() in truncate/invalidate for hugetlb
   48b6b50a2ba5 kasan: update kasan_global for gcc 7
   db04d354b7f1 zram: fix unbalanced idr management at hot removal
   010020900006 thp: fix corner case of munlock() of PTE-mapped THPs
   08fd95de5eee mm, thp: propagation of conditional compilation in khugepaged.c
   76e59ecacd54 ARC: Don't use "+l" inline asm constraint
   b43fb9f6f162 ARC: mm: PAE40: Fix crash at munmap
   8d1ee7b245ef scsi: libfc: fix seconds_since_last_reset miscalculation
   10e2627377b0 scsi: hpsa: use bus '3' for legacy HBA devices
   e170c1003c02 libata-scsi: Fixup ata_gen_passthru_sense()

(From OE-Core rev: 9cd1850a0a8882796f89c65c073bc80f915f413f)

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>
2017-01-23 12:05:23 +00:00
Bruce Ashfield d28e6d2087 linux-yocto/4.9: -stable update to v4.9.2
The shortlog of changes follows:

   6f2fabab8d63 Linux 4.9.2
   8ed8791885aa drm/i915: Fix setting of boost freq tunable
   18a00ac6d7f1 drm/i915: skip the first 4k of stolen memory on everything >= gen8
   639641105443 drm/i915: Initialize dev_priv->atomic_cdclk_freq at init time
   159e2ea9ed49 drm/i915: Fix cdclk vs. dev_cdclk mess when not recomputing things
   d816da6f5766 drm/i915/dsi: Do not clear DPOUNIT_CLOCK_GATE_DISABLE from vlv_init_display_clock_gating
   6cb4179f97cf drm/i915/dsi: Fix chv_exec_gpio disabling the GPIOs it is setting
   2037b1b46cdb net: mvpp2: fix dma unmapping of TX buffers for fragments
   3f3a6bbe6f9f sg_write()/bsg_write() is not fit to be called under KERNEL_DS
   d024532a97db kconfig/nconf: Fix hang when editing symbol with a long prompt
   173fd37a3d21 target/user: Fix use-after-free of tcmu_cmds if they are expired
   630a2ef354bb libnvdimm, pfn: fix align attribute
   6838ac125324 of, numa: Return NUMA_NO_NODE from disable of_node_to_nid() if nid not possible.
   d5cf5ae25c95 powerpc/boot: Request no dynamic linker for boot wrapper
   efcb3d9442ff powerpc/ps3: Fix system hang with GCC 5 builds
   4b23132d6cf5 powerpc/64e: Convert cmpi to cmpwi in head_64.S
   369b330c9d82 SUNRPC: fix refcounting problems with auth_gss messages.
   ba15defe1807 pNFS: Fix a deadlock between read resends and layoutreturn
   e523ce8c99f9 pNFS: Clear NFS_LAYOUT_RETURN_REQUESTED when invalidating the layout stateid
   f32659df6e15 pNFS: Don't clear the layout stateid if a layout return is outstanding
   24b049fa0cd9 pNFS: On error, do not send LAYOUTGET until the LAYOUTRETURN has completed
   b775b86a5fe8 nfs_write_end(): fix handling of short copies
   fc6cb9c303e2 libceph: verify authorize reply on connect
   d8c34b0cc0be PCI: Check for PME in targeted sleep state
   7cc603e9a828 i40iw: Use correct src address in memcpy to rdma stats counters
   6195cd1a9628 bad_inode: add missing i_op initializers
   afd2a1994ea4 Input: drv260x - fix input device's parent assignment
   e5d92c0c84f3 v4l: tvp5150: Add missing break in set control handler
   7f89c1373637 media: solo6x10: fix lockup by avoiding delayed register write
   3fbe140e9d36 s5p-mfc: fix failure path of s5p_mfc_alloc_memdev()
   9fd64b830259 mn88473: fix chip id check on probe
   eb9afff9513d mn88472: fix chip id check on probe
   9aff8b170fe0 IB/cma: Fix a race condition in iboe_addr_get_sgid()
   476ed812c42d IB/rxe: Fix a memory leak in rxe_qp_cleanup()
   5984423bf7eb IB/multicast: Check ib_find_pkey() return value
   4187dfa67fa9 IPoIB: Avoid reading an uninitialized member variable
   382072e09f19 IB/mad: Fix an array index check
   239b40eb6189 fgraph: Handle a case where a tracer ignores set_graph_notrace
   a035dc674dd4 x86/smpboot: Make logical package management more robust
   3168762e8ad3 platform/x86: asus-nb-wmi.c: Add X45U quirk
   21be088c36c6 ftrace/x86_32: Set ftrace_stub to weak to prevent gcc from using short jumps to it
   e80ceb2da52e vsock/virtio: fix src/dst cid format
   d06485e0fcf5 fsnotify: Fix possible use-after-free in inode iteration on umount
   3f618a0b872f kvm: nVMX: Allow L1 to intercept software exceptions (#BP and #OF)
   94107133ae81 KVM: PPC: Book3S HV: Don't lose hardware R/C bit updates in H_PROTECT
   75b1053c2b8c KVM: PPC: Book3S HV: Save/restore XER in checkpointed register state
   483eeca2cf38 scsi: aacraid: remove wildcard for series 9 controllers
   8beb252f2be2 md/raid5: limit request size according to implementation limits
   a0357979d620 sc16is7xx: Drop bogus use of IRQF_ONESHOT
   7d5ec9eb3eea latent_entropy: fix ARM build error on earlier gcc
   959e95305f13 arm64: KVM: pmu: Reset PMSELR_EL0.SEL to a sane value before entering the guest
   111e0ccaf979 s390/kexec: use node 0 when re-adding crash kernel memory
   53bbee3348d8 s390/vmlogrdr: fix IUCV buffer allocation
   b3854cefe3d2 firmware: fix usermode helper fallback loading
   ce7ec3d7526c ARC: mm: arc700: Don't assume 2 colours for aliasing VIPT dcache
   9d33a3995667 scsi: avoid a permanent stop of the scsi device's request queue
   2a940b853ef6 scsi: zfcp: fix rport unblock race with LUN recovery
   744807cb251f scsi: zfcp: do not trace pure benign residual HBA responses at default level
   2ce34d9da427 scsi: zfcp: fix use-after-"free" in FC ingress path after TMF
   8032a30081c1 iscsi-target: Return error if unable to add network portal
   113783ec1cdb scsi: megaraid_sas: Do not set MPI2_TYPE_CUDA for JBOD FP path for FW which does not support JBOD sequence map
   6089f8712dcb scsi: megaraid_sas: For SRIOV enabled firmware, ensure VF driver waits for 30secs before reset
   2d2914349286 stm class: Fix device leak in open error path
   fbb28e76454f vt: fix Scroll Lock LED trigger name
   11aa5c10102a block: protect iterate_bdevs() against concurrent close
   09c154920e77 mei: me: add lewisburg device ids
   0814c3ede27a mei: request async autosuspend at the end of enumeration
   66469319c01a drivers/gpu/drm/ast: Fix infinite loop if read fails
   8dbd6f709e62 drm/amdgpu: fix init save/restore list in gfx_v8.0
   f2d3d7f84cdf drm/amdgpu: fix enable_cp_power_gating in gfx_v8.0.
   326760ba1802 drm/amd/powerplay: bypass fan table setup if no fan connected
   aa286e88fd91 drm/gma500: Add compat ioctl
   6187f21f8c97 drm/radeon/si: load the proper firmware on 0x87 oland boards
   851bedd86b95 drm/radeon: add additional pci revision to dpm workaround
   126f676b087d drm/radeon: Hide the HW cursor while it's out of bounds
   45ec673dfe0f drm/radeon: Also call cursor_move_locked when the cursor size changes
   9195157f7d03 drm/nouveau/fifo/gf100-: protect channel preempt with subdev mutex
   64a5c4725fd3 drm/nouveau/i2c/gk110b,gm10x: use the correct implementation
   bfa563bae251 drm/nouveau/ttm: wait for bo fence to signal before unmapping vmas
   a5b4c77c92da drm/nouveau/ltc: protect clearing of comptags with mutex
   d95ef8af5425 drm/nouveau/bios: require checksum to match for fast acpi shadow method
   2c256b8e81bf drm/nouveau/kms: lvds panel strap moved again on maxwell
   42e5fd6bce5b drm/nouveau/gr: fallback to legacy paths during firmware lookup
   c2a51dd3138d drm/amd/amdgpu: enable GUI idle INT after enabling CGCG
   8e1b86f30bc1 drm/amdgpu: Also call cursor_move_locked when the cursor size changes
   2cea21516231 drm/amdgpu: Store CRTC relative amdgpu_crtc->cursor_x/y values
   eb0d743b4188 drm/amdgpu: add additional pci revision to dpm workaround
   f3dd47e0f683 drm/amdgpu/si: load the proper firmware on 0x87 oland boards
   a04465251f94 ACPI / video: Add force_native quirk for HP Pavilion dv6
   6d46601e6564 ACPI / video: Add force_native quirk for Dell XPS 17 L702X
   745f7d0d1951 staging: comedi: ni_mio_common: fix E series ni_ai_insn_read() data
   bd1692bed615 staging: comedi: ni_mio_common: fix M Series ni_ai_insn_read() data mask
   3b2f287b7795 staging: lustre: ldlm: pl_recalc time handling is wrong
   38b2dc0b0f38 staging/lustre/osc: Revert erroneous list_for_each_entry_safe use
   bf6a9b31e8a9 hv: acquire vmbus_connection.channel_mutex in vmbus_free_channels()
   5bd6ccd9c95f docs: sphinx-extensions: make rstFlatTable work with docutils 0.13
   fab303ba78ee thermal: hwmon: Properly report critical temperature in sysfs
   05bc2071b11b clk: bcm2835: Avoid overwriting the div info when disabling a pll_div clk
   b6d666315b99 arm64: tegra: Add VDD_GPU regulator to Jetson TX1
   5f654078b760 gpio: chardev: Return error for seek operations
   acd0993f8e97 gpio: stmpe: fix interrupt handling bug
   ca22975afa14 timekeeping_Force_unsigned_clocksource_to_nanoseconds_conversion
   efd16f76f4da mmc: sd: Meet alignment requirements for raw_ssr DMA
   dbcde92b1b44 regulator: stw481x-vmmc: fix ages old enable error
   cee935845420 mmc: sdhci: Fix recovery from tuning timeout
   5bb425033ef1 Revert "mmc: sdhci: Reset cmd and data circuits after tuning failure"
   71717a3ef900 ath9k: do not return early to fix rcu unlocking
   de5d62f892c3 ath9k: Really fix LED polarity for some Mini PCI AR9220 MB92 cards.
   072ebf89ca23 ath9k: fix ath9k_hw_gpio_get() to return 0 or 1 on success
   1976c7689a58 cfg80211/mac80211: fix BSS leaks when abandoning assoc attempts
   3f23f7f21ac5 rtl8xxxu: Work around issue with 8192eu and 8723bu devices not reconnecting
   19d55b9f32b6 perf/x86/intel/cstate: Prevent hotplug callback leak
   ba12b35fbd69 perf annotate: Don't throw error for zero length symbols
   54fa190d0a54 perf/x86: Fix exclusion of BTS and LBR for Goldmont
   98068574928f rtlwifi: Fix enter/exit power_save
   ea23fca0c600 ath10k: fix soft lockup during firmware crash/hw-restart
   b8425f413466 ssb: Fix error routine when fallback SPROM fails
   6437abdb624e Linux 4.9.1
   705df55bd0cf x86/kbuild: enable modversions for symbols exported from asm
   c728f2b5edf2 builddeb: fix cross-building to arm64 producing host-arch debs
   e12096297ea5 xfs: set AGI buffer type in xlog_recover_clear_agi_bucket
   c11a13d6f527 xfs: fix up xfs_swap_extent_forks inline extent handling
   e67053ad4840 arm/xen: Use alloc_percpu rather than __alloc_percpu
   45394bf3e11e xen/gntdev: Use VM_MIXEDMAP instead of VM_IO to avoid NUMA balancing
   b7bbf06c21aa tpm xen: Remove bogus tpm_chip_unregister
   f726f4f411f9 kernel/debug/debug_core.c: more properly delay for secondary CPUs
   9b78d6905424 watchdog: qcom: fix kernel panic due to external abort on non-linefetch
   2eccf0e0bcb1 watchdog: mei_wdt: request stop on reboot to prevent false positive event
   36b08b819713 kernel/watchdog: use nmi registers snapshot in hardlockup handler
   c954acc0007b CIFS: Fix a possible memory corruption in push locks
   9f9d98246e5f CIFS: Decrease verbosity of ioctl call
   46890ffba1d6 CIFS: Fix a possible double locking of mutex during reconnect
   69d13b69e79c CIFS: Fix missing nls unload in smb2_reconnect()
   48f9526f4dcb CIFS: Fix a possible memory corruption during reconnect
   7aa58e7ad53b cifs: Fix smbencrypt() to stop pointing a scatterlist at the stack
   41c856b32900 ASoC: intel: Fix crash at suspend/resume without card registration
   f5dca4881fac dm space map metadata: fix 'struct sm_metadata' leak on failed create
   461f272954cf dm raid: fix discard support regression
   e362c317ba76 dm rq: fix a race condition in rq_completed()
   2c017f77e13d dm crypt: mark key as invalid until properly loaded
   3fae2a9e994b dm flakey: return -EINVAL on interval bounds error in flakey_ctr()
   e74fb822281e dm table: an 'all_blk_mq' table must be loaded for a blk-mq DM device
   470b6910f7c1 dm table: fix 'all_blk_mq' inconsistency when an empty table is loaded
   67b0069a5175 blk-mq: Do not invoke .queue_rq() for a stopped queue
   7ac62bcde2d4 PM / OPP: Don't use OPP structure outside of rcu protected section
   c7a8a0ac8fee PM / OPP: Pass opp_table to dev_pm_opp_put_regulator()
   eab1c4e2d0ad usb: gadget: composite: always set ep->mult to a sensible value
   44919a2ac4c6 mm, page_alloc: keep pcp count and list contents in sync if struct page is corrupted
   04597beae7c2 mm/vmscan.c: set correct defer count for shrinker
   fe3d462821b0 nvmet: Fix possible infinite loop triggered on hot namespace removal
   890c39d35eb0 loop: return proper error from loop_queue_rq()
   01e15b3328c4 f2fs: fix to determine start_cp_addr by sbi->cur_cp_pack
   027611ef345d f2fs: fix overflow due to condition check order
   1134ef11ffff f2fs: set ->owner for debugfs status file's file_operations
   a43e1c459a3d Revert "f2fs: use percpu_counter for # of dirty pages in inode"
   9abce3ca80a7 ext4: do not perform data journaling when data is encrypted
   acf3efd6f003 ext4: return -ENOMEM instead of success
   3e4f8da9d177 ext4: reject inodes with negative size
   8084f57bc468 ext4: add sanity checking to count_overhead()
   956e2a0e6779 ext4: fix in-superblock mount options processing
   01772f4683a9 ext4: use more strict checks for inodes_per_block on mount
   b493c715cdce ext4: fix stack memory corruption with 64k block size
   c3881abae6e7 ext4: fix mballoc breakage with 64k block size
   24d1251a5d83 ext4: don't lock buffer in ext4_commit_super if holding spinlock
   21cc91554c3d crypto: caam - fix AEAD givenc descriptors
   e71b4e061c96 ptrace: Don't allow accessing an undumpable mm
   e747b4ae3b6b ptrace: Capture the ptracer's creds not PT_PTRACE_CAP
   48466c4772d2 vfs,mm: fix return value of read() at s_maxbytes
   694a95fa6dae mm: Add a user_ns owner to mm_struct and fix ptrace permission checks
   cfa2d65b2622 block_dev: don't test bdev->bd_contains when it is not stable
   b6cce9b8e813 splice: reinstate SIGPIPE/EPIPE handling
   c1df5a63716b fs: exec: apply CLOEXEC before changing dumpable task flags
   21245b8635e8 exec: Ensure mm->user_ns contains the execed files
   0de98eef9c11 clk: ti: omap36xx: Work around sprz319 advisory 2.1
   0ce4f00087b4 ALSA: hda: when comparing pin configurations, ignore assoc in addition to seq
   e029ef3a9c82 ALSA: hda - Gate the mic jack on HP Z1 Gen3 AiO
   0119d5d44034 ALSA: hda - fix headset-mic problem on a Dell laptop
   37b7c5db5a30 ALSA: hda - ignore the assoc and seq when comparing pin configurations
   0f1047be4a9f ALSA: hda/ca0132 - Add quirk for Alienware 15 R2 2016
   fa2e770f88bc ALSA: hiface: Fix M2Tech hiFace driver sampling rate change
   205d3de9637f ALSA: usb-audio: Add QuickCam Communicate Deluxe/S7500 to volume_control_quirks
   77bd73ce21fa usbip: vudc: fix: Clear already_seen flag also for ep0
   420f170ce1ba USB: UHCI: report non-PME wakeup signalling for Intel hardware
   e0aa5ec40d6e usb: gadget: composite: correctly initialize ep->maxpacket
   5180169dae85 usb: gadget: f_uac2: fix error handling at afunc_bind
   eab169397ad6 usb: core: usbport: Use proper LED API to fix potential crash
   32a35351b7ec usb: hub: Fix auto-remount of safely removed or ejected USB-3 devices
   3666b6280351 usb: dwc3: gadget: set PCM1 field of isochronous-first TRBs
   20d7c1a68b5b USB: cdc-acm: add device id for GW Instek AFG-125
   c094cd32b0c7 USB: serial: kl5kusb105: fix open error path
   5e7c90bd53c6 USB: serial: option: add dlink dwm-158
   142513d6dc7c USB: serial: option: add support for Telit LE922A PIDs 0x1040, 0x1041
   1a5ec7dd17a9 Btrfs: fix qgroup rescan worker initialization
   a1e0e0476afb Btrfs: fix emptiness check for dirtied extent buffers at check_leaf()
   c01ea880e88a btrfs: store and load values of stripes_min/stripes_max in balance status item
   01f285fe1d88 Btrfs: fix relocation incorrectly dropping data references
   26dc52465f0d Btrfs: fix tree search logic when replaying directory entry deletes
   664b053c5363 Btrfs: fix deadlock caused by fsync when logging directory entries
   7d470f04e36c Btrfs: fix BUG_ON in btrfs_mark_buffer_dirty
   3bac322e18c3 btrfs: limit async_work allocation and worker func duration
   56eaecc8ecf3 hotplug: Make register and unregister notifier API symmetric

(From OE-Core rev: 338874156bbe1b63a225643910bcdf0491d5c7f9)

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>
2017-01-23 12:05:23 +00:00
Bruce Ashfield 23e27711af kernel-yocto: firewire and audio configuration updates
Integrating firewire and audio configuration updates from Jussi:

    Add support for IEEE-1394 (Firewire)

    Adds support for IEEE-1394 aka Firewire bus and some commonly used
    devices.

    Signed-off-by: Jussi Laako <jussi.laako@linux.intel.com>

    Update audio support

    Updates audio support to work with modern audio hardware while
    dropping some legacy parts.

    Signed-off-by: Jussi Laako <jussi.laako@linux.intel.com>

(From OE-Core rev: bbde3fa90ea4470630049a92ee7f683115868466)

Signed-off-by: Jussi Laako <jussi.laako@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>
2017-01-23 12:05:23 +00:00
Bruce Ashfield 12da4527ea linux-yocto/4.4/4.8/4.9: netfilter: iptables: enable NAT tables
This changes adds 'nat' table in iptables. The netfilter side
is already configured for NAT but iptables config was missing.

Further, CONFIG_IP_NF_TARGET* configured below depend on
CONFIG_IP_NF_NAT but remain disabled unless CONFIG_IP_NF_NAT
is explicitly enabled.

CONFIG_IP_NF_TARGET_MASQUERADE is needed by Connman to
support tethering.

(From OE-Core rev: 0a382b58c01bb359b225f48f312f696f0badf27b)

Signed-off-by: Mikko Ylinen <mikko.ylinen@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>
2017-01-23 12:05:23 +00:00
Bruce Ashfield 5191d13abe kernel-yocto: tiny features aka Link Time Optimization
Integrating the following patches for the 4.4/4.8 and 4.9
kernel to enable LTO for linux-yocto-tiny configurations
(i.e. poky-tiny).

b9735c0b4235 intel-quark: Remove support for serial-all
ce02da2e7833 features/usb/serial: Add new usb serial feature
f5b00d3a7e68 soc/x1000: Remove 'default policy' features
ca2dc186ff32 soc/x1000: Remove unnecessary features
90061752cbb5 soc/x1000: Remove bsp/common-pc/*
00b26ed213c4 meta/intel-common: Have intel-quark-tiny use common-drivers-32-essential
7ce24a2c497b meta/intel-common: Add intel-common-drivers-32-essential feature
ef711e0ab70e meta: Add lto-debug feature
1ca570817bf3 meta: Add lto-disable feature
45e5c2e9118e meta: Add lto (Link-Time Optimization) enablement feature

(From OE-Core rev: 6a8e6b66ff65cf849a3c34a506cf650abfef2420)

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>
2017-01-23 12:05:23 +00:00
Bruce Ashfield d3c607aee8 linux-yocto-rt/4.9: add -rt specific patches
The 4.9-rt kernel has been released, and this commit integrates
the 286 patches in that series.

(From OE-Core rev: 5249e168ac3afac7ddc5d67d526c3bf74d82aa5c)

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>
2017-01-23 12:05:22 +00:00
Bruce Ashfield da46595d90 kernel: introduce linux-yocto v4.9 recipes
Introducing the 4.9 kernel recipes. 4.9 will be a LTSI kernel, so we
introduce these recipes with the intent that they'll replace 4.1 as
the LTSI kernel, and other older kernels (i.e 4.4/4.8)  once 4.9
shown to be stable.

linux-yocto-tiny and linux-yocto-rt are also part of this commit, but
are placeholders while we wait for their content to be available. They
will build, but provide nothing above the standard kernel at the
moment.

(From OE-Core rev: e8a1f4ccb10af234af1f2cb6905c638992558556)

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>
2017-01-23 12:05:22 +00:00
Saul Wold 45ae1e9684 linux-firmware: relocate ath9k_htc blobs to correct package
The newer firmware blobs were versioned and landing in the default
package so move them to their appropriately named package.

[YOCTO #10942]

(From OE-Core rev: d7657df13d18f982d8ca08f1c992f4605f88ceb4)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-23 12:05:22 +00:00
Bruce Ashfield 6a4debb732 kern-tools: kconf_check: flag CONFIG options with invalid spaces
Options with spacs around = signs will be droped/ignored by the
kernel.

The audit phase can detect this and warn the user:

    % kconf_check --report -o .kernel-meta/cfg/ \
      linux-qemux86-standard-build/.config `pwd` $cfgs

     [errors (3): .kernel-meta/cfg/fragment_errors.txt
       There are errors withing the config fragments.

    % cat .kernel-meta/cfg/fragment_errors.txt
       Warning: Ignoring "CONFIG_PARAVIRTT_CLOCK =y" -- spaces around equals are invalid
       Warning: Ignoring "CONFIG_PARAVIRTTT_CLOCK = y" -- spaces around equals are invalid
       Warning: Ignoring "CONFIG_PARAVIRTTTT_CLOCK= y" -- spaces around equals are invalid

(From OE-Core rev: 952a455c09eb88755b2d24ae05c2d6b886922b63)

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>
2017-01-23 12:05:21 +00:00
Bruce Ashfield e7e7e9df16 kern-tools: scc: Fix process_file error check
Commit 626ceac135fa66277c2fa53197be33cc9d4d7614 broke the error
    check in process_file by adding in three lines that stomp on $? which
    print the output file when verbose is set.

    Move output file on verbose print to an elif after the error check.

    Signed-off-by: George McCollister <george.mccollister@gmail.com>

(From OE-Core rev: 01657e8023ee535420ab5ba4a5d1952e13bce0cd)

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>
2017-01-23 12:05:21 +00:00
Richard Purdie 9107d6ca14 Switch to Recipe Specific Sysroots
This patch is comparatively large and invasive. It does only do one thing, switching the
system to build using recipe specific sysroots and where changes could be isolated from it,
that has been done.

With the current single sysroot approach, its possible for software to find things which
aren't in their dependencies. This leads to a determinism problem and is a growing issue in
several of the market segments where OE makes sense. The way to solve this problem for OE is
to have seperate sysroots for each recipe and these will only contain the dependencies for
that recipe.

Its worth noting that this is not task specific sysroots and that OE's dependencies do vary
enormously by task. This did result in some implementation challenges. There is nothing stopping
the implementation of task specific sysroots at some later point based on this work but
that as deemed a bridge too far right now.

Implementation details:

* Rather than installing the sysroot artefacts into a combined sysroots, they are now placed in
  TMPDIR/sysroot-components/PACKAGE_ARCH/PN.

* WORKDIR/recipe-sysroot and WORKDIR/recipe-sysroot-native are built by hardlinking in files
  from the sysroot-component trees. These new directories are known as RECIPE_SYSROOT and
  RECIPE_SYSROOT_NATIVE.

* This construction is primarily done by a new do_prepare_recipe_sysroot task which runs
  before do_configure and consists of a call to the extend_recipe_sysroot function.

* Other tasks need things in the sysroot before/after this, e.g. do_patch needs quilt-native
  and do_package_write_deb needs dpkg-native. The code therefore inspects the dependencies
  for each task and adds extend_recipe_sysroot as a prefunc if it has populate_sysroot
  dependencies.

* We have to do a search/replace 'fixme' operation on the files installed into the sysroot to
  change hardcoded paths into the correct ones. We create a fixmepath file in the component
  directory which lists the files which need this operation.

* Some files have "postinstall" commands which need to run against them, e.g. gdk-pixbuf each
  time a new loader is added. These are handled by adding files in bindir with the name
  prefixed by "postinst-" and are run in each sysroot as its created if they're present.
  This did mean most sstate postinstalls have to be rewritten but there shouldn't be many of them.

* Since a recipe can have multiple tasks and these tasks can run against each other at the same
  time we have to have a lock when we perform write operations against the sysroot. We also have
  to maintain manifests of what we install against a task checksum of the dependency. If the
  checksum changes, we remove its files and then add the new ones.

* The autotools logic for filtering the view of m4 files is no longer needed (and was the model
  for the way extend_recipe_sysroot works).

* For autotools, we used to build a combined m4 macros directory which had both the native and
  target m4 files. We can no longer do this so we use the target sysroot as the default and add
  the native sysroot as an extra backup include path. If we don't do this, we'd have to build
  target pkg-config before we could built anything using pkg-config for example (ditto gettext).
  Such dependencies would be painful so we haven't required that.

* PKDDATA_DIR was moved out the sysroot and works as before using sstate to build a hybrid copy
  for each machine. The paths therefore changed, the behaviour did not.

* The ccache class had to be reworked to function with rss.

* The TCBOOTSTRAP sysroot for compiler bootstrap is no longer needed but the -initial data
  does have to be filtered out from the main recipe sysroots. Putting "-initial" in a normal
  recipe name therefore remains a bad idea.

* The logic in insane needed tweaks to deal with the new path layout, as did the debug source
  file extraction code in package.bbclass.

* The logic in sstate.bbclass had to be rewritten since it previously only performed search and
  replace on extracted sstate and we now need this to happen even if the compiled path was
  "correct". This in theory could cause a mild performance issue but since the sysroot data
  was the main data that needed this and we'd have to do it there regardless with rss, I've opted
  just to change the way the class for everything. The built output used to build the sstate output
  is now retained and installed rather than deleted.

* The search and replace logic used in sstate objects also seemed weak/incorrect and didn't hold
  up against testing. This has been rewritten too. There are some assumptions made about paths, we
  save the 'proper' search and replace operations to fixmepath.cmd but then ignore this. What is
  here works but is a little hardcoded and an area for future improvement.

* In order to work with eSDK we need a way to build something that looks like the old style sysroot.
  "bitbake build-sysroots" will construct such a sysroot based on everything in the components
  directory that matches the current MACHINE. It will allow transition of external tools and can
  built target or native variants or both. It also supports a clean task. I'd suggest not relying on
  this for anything other than transitional purposes though. To see XXX in that sysroot, you'd have
  to have built that in a previous bitbake invocation.

* pseudo is run out of its components directory. This is fine as its statically linked.

* The hacks for wayland to see allarch dependencies in the multilib case are no longer needed
  and can be dropped.

* wic needed more extensive changes to work with rss and the fixes are in a separate commit series

* Various oe-selftest tweaks were needed since tests did assume the location to binaries and the
  combined sysroot in several cases.

* Most missing dependencies this work found have been sent out as separate patches as they were found
  but a few tweaks are still included here.

* A late addition is that extend_recipe_sysroot became multilib aware and able to populate multilib
  sysroots. I had hoped not to have to add that complexity but the meta-environment recipe forced my
  hand. That implementation can probably be neater but this is on the list of things to cleanup later
  at this point.

In summary, the impact people will likely see after this change:

* Recipes may fail with missing dependencies, particularly native tools like gettext-native,
  glib-2.0-native and libxml2.0-native. Some hosts have these installed and will mask these errors

* Any recipe/class using SSTATEPOSTINSTFUNCS will need that code rewriting into a postinst

* There was a separate patch series dealing with roots postinst native dependency issues. Any postinst
  which expects native tools at rootfs time will need to mark that dependency with PACKAGE_WRITE_DEPS.

There could well be other issues. This has been tested repeatedly against our autobuilders and oe-selftest
and issues found have been fixed. We believe at least OE-Core is in good shape but that doesn't mean
we've found all the issues.

Also, the logging is a bit chatty at the moment. It does help if something goes wrong and goes to the
task logfiles, not the console so I've intentionally left this like that for now. We can turn it down
easily enough in due course.

(From OE-Core rev: 809746f56df4b91af014bf6a3f28997d6698ac78)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-23 12:05:17 +00:00
Jussi Kukkonen 31943a7ecf linux-dtb: Add PACKAGE_WRITE_DEP for postinstall
update-alternatives is used in postinstall.

(From OE-Core rev: ca2626a78f44a253adf4e93a1eae0ea323a0196f)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-20 11:53:50 +00:00
Richard Purdie d623c58711 modutils-initsripts: Add PACKAGE_WRITE_DEPS for postinst
The postinstall needs systemd-systemctl-native, mark the dependency

(From OE-Core rev: 5e8336b2d45da36c64039080f896338537ec234e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-20 11:53:50 +00:00
Jason Wessel 78f4011210 Revert "linux-firmware: Modify firmware installation path"
This reverts commit a46a23fed9acd097ecc8ab3985d18688abe7b065.

The 64bit/32bit multilib builds break because the kernel's
firmware loader cannot find the firmware because it
gets placed int the wrong directory.

(From OE-Core rev: 91673c29d079117d18b6b405645b94222930e33b)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-20 11:53:49 +00:00
Richard Purdie f7e18547c1 sysprof/gst-player/pcmanfm: Add missing glib-2.0-native DEPENDS
These recipes use glib-2.0 NLS tools so we need to depend on glib-2.0-native.

(From OE-Core rev: 3e521148bbec01ccd1818b0a26221ab6342a3299)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-20 11:53:49 +00:00
Richard Purdie 8ac0ba06a4 sysprof: Add missing libxml2-native DEPENDS
Configure searches for xmllint which comes from libxml2-native.

(From OE-Core rev: 087c89fd62db5701b268cfbb0bbdaf3be907daf0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-20 11:53:49 +00:00
Nathan Lynch 007b89204e babeltrace: upgrade to 1.5.1
(From OE-Core rev: c49d0a7741100c8864aa826f232a93311dcc7752)

Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-19 22:47:21 +00:00
Nathan Lynch 9ba3f6d20f lttng-tools: upgrade to 2.9.3
Notable recipe changes:

* switch to using release tarball
* brokensep no longer required
* drop upstreamed error.h patch
* change do_install_ptest to selectively copy build artifacts to
  install tree.
* use backported patch to address file-rdeps warning

(From OE-Core rev: 0846aaa429a18557129579260ff09c0145aba903)

Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-19 22:47:21 +00:00
Nathan Lynch 493af5a84c lttng-modules: upgrade to 2.9.0
Switch to using release tarballs.

(From OE-Core rev: 7db8edbffdd29a01694add88d5a6988fab4511ad)

Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-19 22:47:21 +00:00
Nathan Lynch 2a6224f4fd lttng-ust: upgrade to 2.9.0
buildhistory-diff says:

  /usr/lib/liblttng-ust-python-agent.so.0 was removed
  /usr/lib/liblttng-ust-python-agent.so.0.0.0 was removed

This is because prior versions of lttng-ust unconditionally built
the Python agent libraries; this was fixed upstream in 21ddb8e ("Only
build python lib when agent is enabled").

Switch to using release tarballs.

(From OE-Core rev: a40bb2b7991adf5ef7121a45461747226c04bac1)

Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-19 22:47:21 +00:00
Nathan Lynch 2acc2f708b lttng-ust: don't exclude manual pages from build
Adding "manpages" to PACKAGECONFIG results in a lttng-ust-doc package
with no manpages.  Fix the patch we carry to only exclude the examples
directory, which seems to have been its original intent anyway.

(From OE-Core rev: 54d9fb2664d16a561f9e9232a53b60810678f9bf)

Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-19 22:47:21 +00:00
Ross Burton bc14d82c0e perf: add PACKAGECONFIG for systemtap
Otherwise it's possible to race with systemtap headers being present during the autodetection and disappearing during the build:

tests/sdt.c:14:21: fatal error: sys/sdt.h: No such file or directory
 #include <sys/sdt.h>
                     ^
(From OE-Core rev: 8aafed5f4757550f2ff688e1b8981e5e8e6e3428)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-19 22:47:21 +00:00
Ross Burton 73adcf1b66 perf: use PACKAGECONFIG instead of hand-rolled logic
PERF_FEATURES_ENABLE and perf_feature_enabled() was basically a poor man's clone
of PACKAGECONFIG, without the automatic handling of dependencies and configure
options.

As part of the port to PACKAGECONFIG the options have been changed to remove the
perf- prefix, but are otherwise unchanged.

Also remove BUILDPERF_libc_uclibc assignment as nothing in the metadata uses a
BUILDPERF variable.

(From OE-Core rev: 33d05772c30036e8d2bb2dc8928989bf98d388f1)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-19 22:47:21 +00:00
Amarnath Valluri c04a5673b6 linux-firmware: Modify firmware installation path
Install firmware files under ${base_libdir}/firmware instead of hardcoded
/lib/firmare.

(From OE-Core rev: a46a23fed9acd097ecc8ab3985d18688abe7b065)

Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-16 18:05:12 +00:00
Haiqing Bai 6e2b26eb22 kexec: ARM: fix align issue of add_buffer_phys_virt() for LPAE kernel
If LPAE is enabled, 3 level page table is used and the 'SECTION_SIZE'
is (1<<21), so add_buffer_phys_virt() should align to (1 << 21).

(From OE-Core rev: 582cad510953d3540ffe35b10b1ce2a8d034b535)

Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-16 18:05:12 +00:00
Ross Burton c6e41018df linux-firmware: remove alternatives for brcmfmac-stdio.bin
These alternatives are only used to provide an unversioned brcmfmac-sdio.bin,
which was required by kernels prior to 3.13.  As these alternatives all have the
same priority there's no determinism in which one is selected, and current
kernels (since January 2014) use the appropriately versioned firmware names.

(From OE-Core rev: 7ac00f2efee4973703ef9725c81242bd6eae36c0)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-16 18:05:11 +00:00
Christopher Larson 00e354910b lttng-tools: fix for x32
(From OE-Core rev: af0203f1543e444d4c9397c6b400ba627baf9574)

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>
2017-01-09 13:39:12 +00:00
Denys Dmytriyenko a17171ad66 linux-dtb: strip DTB extension properly in postinst/postrm
The use of awk -F "." in do_install/do_deploy to strip filename extension
was deprecated long time ago in 72980d5bb465f0640ed451d1ebb9c5d2a210ad0c.

Make a similar change in postinst/postrm to properly use basename command.

Otherwise DTB files that contain dots in the name result in broken symlinks
that point to non-existent truncated files.

(From OE-Core rev: 40c2addf0f0ee16b1c1334cf00f1490ffeaac475)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-09 13:39:11 +00:00
Richard Purdie 022a8b58c8 meta/scripts: Various getVar/getVarFlag expansion parameter fixes
There were a few straggling expansion parameter removals left for
getVar/getVarFlag where the odd whitespace meant they were missed
on previous passes. There were also some plain broken ussages such
as:

d.getVar('ALTERNATIVE_TARGET', old_name, True)
path = d.getVar('PATH', d, True)
d.getVar('IMAGE_ROOTFS', 'True')

which I've corrected (they happend to work by luck).

(From OE-Core rev: 688f7a64917a5ce5cbe12f8e5da4d47e265d240f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-09 13:39:11 +00:00
He Zhe df48c4b483 kexec-tools: Update to 2.0.14
Remove kexec-aarch64.patch since it has been merged upstream
Remove kexec-x32.patch since it has been reverted upstream
Backport patches for kdump arm64 from:
https://git.linaro.org/people/takahiro.akashi/kexec-tools.git

(From OE-Core rev: 587778e24c9129f499645ca080218c7ac142f93f)

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>
2017-01-05 13:54:06 +00:00
David Vincent de807c7820 kernel: Fix symlinks
When installing a kernel package, the symlinks created by
update-alternatives should point to a path relative to KERNEL_IMAGEDEST
and not an absolute path to '/boot'.

Failing to do so causes problems when resolving the symlink inside some
bootloaders which mount the boot partition elsewhere.

(From OE-Core rev: c7bc46b9bc29dd0953ab8d63b50fa105bb66892e)

Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-12-22 08:50:17 +00:00
Mike Looijmans b4cbb462fb linux-firmware: Split out Realtek chipsets rtl8188 rtl8723 rtl8821
Add rtl8188 rtl8712 rtl8723 rtl8821 packages to install only firmware for the
corresponding chipset. Uses a rather blunt approach by simply adding all firmware
files with matching prefix, to keep the package count down a bit.

(From OE-Core rev: 62a5c0a40d13594a0f16a01701e70dac5e492125)

(From OE-Core rev: 41061a812239dcfde2e4cd5636250ff2cd7e4cbb)

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-12-17 09:57:04 +00:00
Alexander Kanavin c26b8158a2 sysprof: update to 3.22.3
(From OE-Core rev: 4a8ea471e386adff9b8f8b535589e599c1491fa5)

(From OE-Core rev: 0c3dbaa5d62e9ce404d1203c0478512e36ab8136)

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>
2016-12-17 09:57:04 +00:00
Alexander Kanavin b9e626cff7 babeltrace: update to 1.5.0
(From OE-Core rev: 08761df0559eca197121a27f8f5be1b48fc008cc)

(From OE-Core rev: 5c5fc0e9209e08088c39d6d67607d74a62f1b7f6)

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>
2016-12-17 09:57:03 +00:00
Joshua Lock c4e2c59088 meta: remove True option to getVar calls
getVar() now defaults to expanding by default, thus remove the True
option from getVar() calls with a regex search and replace.

Search made with the following regex: getVar ?\(( ?[^,()]*), True\)

(From OE-Core rev: 7c552996597faaee2fbee185b250c0ee30ea3b5f)

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-12-16 10:23:23 +00:00
Bruce Ashfield 89d515b2ce linux-yocto/4.8: update to -rt7
Updating to the latest 4.8-rt

(From OE-Core rev: 9f4565a308be55c1bf11706041c0565d48bda4f4)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.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-12-13 22:55:21 +00:00
Bruce Ashfield 96bc6451c7 linux-yocto/4.x: CVE-2016-8655
Backporting upstream commit 84ac726023 [packet: fix race condition in
packet_set_ring] to address CVE-2016-8655

(From OE-Core rev: db7799747b263507427e325638353142ae79403c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-12-09 08:54:07 +00:00
Bruce Ashfield abeddfb566 linux-yocto-rt/4.4: update to -rt43
After the update to 4.4.36 -rt no longer builds. The fixes for the
issues are found in the v4.4-rt43 release.

(From OE-Core rev: 262fff10ba5cdedbee9ba9ecf00f98dc9159477c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-12-09 08:54:06 +00:00
Bruce Ashfield 327ebdf277 kern-tools: ensure that no shared directories are used
We need to avoid using shared/common directories for any files that are
part of specific build, since permissions issues in multi user
environments will cause issues.

Integrating the following commit to solve the issue:

   scc: move unused patch queue under output dir

(From OE-Core rev: cad65cc0eef2e06cb5ae08062ffae7a4d43a51ad)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-12-09 08:54:06 +00:00
Bruce Ashfield d154173d48 linux-yocto/4.8: update to v4.8.12
shortlog of the changes follow:

   356ccf6d2b0c Linux 4.8.12
   f81c90012f2f scsi: mpt3sas: Unblock device after controller reset
   3de3eebb10fd flow_dissect: call init_default_flow_dissectors() earlier
   7838fbe25a95 mm, oom: stop pre-mature high-order OOM killer invocations
   374ff835e2b6 can: bcm: fix support for CAN FD frames
   7ed8d94b99b3 powerpc/boot: Fix the early OPAL console wrappers
   7cbe9568fa04 powerpc/mm: Fixup kernel read only mapping
   30988ea31783 powerpc: Set missing wakeup bit in LPCR on POWER9
   8d248df485f2 device-dax: fail all private mapping attempts
   f87a483126b5 device-dax: check devm_nsio_enable() return value
   5b08489eba14 xc2028: Fix use-after-free bug properly
   9030deb21f29 X.509: Fix double free in x509_cert_parse() [ver #3]
   0257b7e20c07 mpi: Fix NULL ptr dereference in mpi_powm() [ver #3]
   bdab996a7a9e mmc: sdhci-of-esdhc: fixup PRESENT_STATE read
   0a80bef18a9f parisc: Also flush data TLB in flush_icache_page_asm
   09e35a83cdc9 parisc: Fix race in pci-dma.c
   3cb2bc6fdc54 parisc: Switch to generic sched_clock implementation
   113b60efa37c parisc: Fix races in parisc_setup_cache_timing()
   b2f64572db2e thermal/powerclamp: add back module device table
   6dfe1643b56a perf/x86/intel: Cure bogus unwind from PEBS entries
   403f47ddbf6b perf/core: Fix address filter parser
   c5795c5f682d x86/traps: Ignore high word of regs->cs in early_fixup_exception()
   885bad1e5f32 x86/fpu: Fix invalid FPU ptrace state after execve()
   1a42cd56229b NFSv4.x: hide array-bounds warning
   154c665b2b02 apparmor: fix change_hat not finding hat after policy replacement
   9c15a98542f0 cfg80211: limit scan results cache size
   f204d21ee0b7 tile: avoid using clocksource_cyc2ns with absolute cycle count
   c707019bef62 scsi: mpt3sas: Fix secure erase premature termination
   b33387f6a68d Fix USB CB/CBI storage devices with CONFIG_VMAP_STACK=y
   89a28f3a3c77 USB: serial: ftdi_sio: add support for TI CC3200 LaunchPad
   6476f6530187 USB: serial: cp210x: add ID for the Zone DPMX
   7445ffb75ed5 usb: chipidea: move the lock initialization to core file
   32fe669c8634 KVM: x86: check for pic and ioapic presence before use
   c02d13809180 KVM: x86: fix out-of-bounds accesses of rtc_eoi map
   39b653013527 KVM: x86: drop error recovery in em_jmp_far and em_ret_far
   3c22c81377d4 KVM: x86: fix out-of-bounds access in lapic
   eb060c1a03f7 iommu/vt-d: Fix IOMMU lookup for SR-IOV Virtual Functions
   8b23f16343f6 iommu/vt-d: Fix PASID table allocation
   36bd5bfe4349 Linux 4.8.11
   a9a0027757f8 gpio: pca953x: Fix corruption of other gpios in set_multiple.
   88fce76cf590 gpio: pca953x: Move memcpy into mutex lock for set multiple
   9a7b80894951 netfilter: nft_dynset: fix element timeout for HZ != 1000
   fd4251fa4d09 IB/cm: Mark stale CM id's whenever the mad agent was unregistered
   8ce92be782f8 IB/uverbs: Fix leak of XRC target QPs
   160149299f71 IB/hfi1: Remove incorrect IS_ERR check
   46e47543175b IB/core: Avoid unsigned int overflow in sg_alloc_table
   82c377d05311 IB/mlx5: Fix NULL pointer dereference on debug print
   554e4b69f1bb IB/mlx5: Fix fatal error dispatching
   32091ee63d17 IB/mlx5: Fix memory leak in query device
   21822a5bbddd IB/mlx5: Use cache line size to select CQE stride
   ad886a0e9035 IB/mlx5: Validate requested RQT size
   76a93a6f8dd7 IB/mlx4: Fix create CQ error flow
   4234e6a06f8b IB/mlx4: Check gid_index return value
   fc9275365065 IB/rxe: Clear queue buffer when modifying QP to reset
   3c87b4a8f6d5 IB/rxe: Fix handling of erroneous WR
   c4605a0e9605 IB/rxe: Fix kernel panic in UDP tunnel with GRO and RX checksum
   04d016249998 IB/rxe: Update qp state for user query
   bac1543b764c perf hists: Fix column length on --hierarchy
   4cba876de64d PM / sleep: don't suspend parent when async child suspend_{noirq, late} fails
   2e2c8f0e7502 PM / sleep: fix device reference leak in test_suspend
   fd669bf2a099 uwb: fix device reference leaks
   ab17baeaea91 sunrpc: svc_age_temp_xprts_now should not call setsockopt non-tcp transports
   8c7ea73e3a9b mfd: core: Fix device reference leak in mfd_clone_cell
   545ea4003db9 iwlwifi: mvm: wake the wait queue when the RX sync counter is zero
   8bfaf856695b iwlwifi: mvm: fix d3_test with unified D0/D3 images
   8cdfd32398b5 iwlwifi: mvm: fix netdetect starting/stopping for unified images
   6e3324dc039c iwlwifi: pcie: mark command queue lock with separate lockdep class
   b822907865cc iwlwifi: pcie: fix SPLC structure parsing
   edb60ee4bc65 rtc: omap: Fix selecting external osc
   5f95e68daae3 clk: imx: fix integer overflow in AV PLL round rate
   fec43900c9b7 clk: mmp: mmp2: fix return value check in mmp2_clk_init()
   63465eaf7b2e clk: mmp: pxa168: fix return value check in pxa168_clk_init()
   a42bbd552ded clk: mmp: pxa910: fix return value check in pxa910_clk_init()
   bb6c9ec826be virtio-net: drop legacy features in virtio 1 mode
   899f5426eebf drm/i915: Assume non-DP++ port if dvo_port is HDMI and there's no AUX ch specified in the VBT
   f6920e506992 drm/i915: Refresh that status of MST capable connectors in ->detect()
   56a02a5f60ea drm/amdgpu: Attach exclusive fence to prime exported bo's. (v5)
   3eac4767dd7e powerpc/64: Fix setting of AIL in hypervisor mode
   fc312878ffe3 crypto: caam - do not register AES-XTS mode on LP units
   54f28973e8a5 ARM: dts: imx53-qsb: Fix regulator constraints
   7001b98b9dce ext4: sanity check the block and cluster size at mount time
   56df604296c2 kbuild: Steal gcc's pie from the very beginning
   e14754cb8f0c x86/kexec: add -fno-PIE
   ad4e2f324ade scripts/has-stack-protector: add -fno-PIE
   1c7727d0bca0 kbuild: add -fno-PIE
   20bcbe246933 Disable the __builtin_return_address() warning globally after all
   504b60516ba7 i2c: i2c-mux-pca954x: fix deselect enabling for device-tree
   45244660281c i2c: mux: fix up dependencies
   ce97f5012b6d ALSA: hda - Fix mic regression by ASRock mobo fixup
   23e14ee1abcf ALSA: hda - add a new condition to check if it is thinkpad
   85fcb62a58b2 ALSA: usb-audio: Fix use-after-free of usb_device at disconnect
   e902f10da218 gpio: do not double-check direction on sleeping chips
   b21b327d96bc can: bcm: fix warning in bcm_connect/proc_register
   50e6cd2feff7 mfd: stmpe: Fix RESET regression on STMPE2401
   e015527c6fbd mfd: intel-lpss: Do not put device in reset state on suspend
   8b4d44f46bf2 IB/hfi1: Fix rnr_timer addition
   06eac15f11e0 IB/rdmavt: rdmavt can handle non aligned page maps
   ca720a2b11b4 fuse: fix fuse_write_end() if zero bytes were copied
   de58c50e84e2 genirq: Use irq type from irqdata instead of irqdesc
   8844024c8839 ftrace: Add more checks for FTRACE_FL_DISABLED in processing ip records
   c5d20ce0b459 ftrace: Ignore FTRACE_FL_DISABLED while walking dyn_ftrace records
   f271087fb2ea KVM: arm64: Fix the issues when guest PMCCFILTR is configured
   8d8b37e242de arm64: KVM: pmu: Fix AArch32 cycle counter access
   1cb9b2489e77 KVM: Disable irq while unregistering user notifier
   23555ca21394 KVM: x86: fix missed SRCU usage in kvm_lapic_set_vapic_addr
   f8c74cf95655 x86/cpu/AMD: Fix cpu_llc_id for AMD Fam17h systems

(From OE-Core rev: beb9adb4763a1bbed182503371921e676ccd4ae2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-12-09 08:54:06 +00:00
Bruce Ashfield 7b435c62b4 linux-yocto/4.4: update to v4.4.36
shortlog of the changes follow:

   87c6c6ef5b17 Linux 4.4.36
   6eddf5c993dd scsi: mpt3sas: Unblock device after controller reset
   c178e4809df7 flow_dissect: call init_default_flow_dissectors() earlier
   0b7860d6e88c mei: fix return value on disconnection
   bab2f72f70ea mei: me: fix place for kaby point device ids.
   4f13967ecd20 mei: me: disable driver on SPT SPS firmware
   e1049372d7a7 drm/radeon: Ensure vblank interrupt is enabled on DPMS transition to on
   249090830942 mpi: Fix NULL ptr dereference in mpi_powm() [ver #3]
   cd4235a794c0 parisc: Also flush data TLB in flush_icache_page_asm
   7a1ab6a2bf3a parisc: Fix race in pci-dma.c
   e541fd815db9 parisc: Fix races in parisc_setup_cache_timing()
   0c0ddbf7efec NFSv4.x: hide array-bounds warning
   be79d7fa43f9 apparmor: fix change_hat not finding hat after policy replacement
   8316338a201b cfg80211: limit scan results cache size
   4df31626fc08 tile: avoid using clocksource_cyc2ns with absolute cycle count
   ffffc1ed47e7 scsi: mpt3sas: Fix secure erase premature termination
   ab0867dd8bc8 Fix USB CB/CBI storage devices with CONFIG_VMAP_STACK=y
   f3f95f177269 USB: serial: ftdi_sio: add support for TI CC3200 LaunchPad
   1f36db0b397f USB: serial: cp210x: add ID for the Zone DPMX
   55d061bf9d23 usb: chipidea: move the lock initialization to core file
   341f9730c29b KVM: x86: check for pic and ioapic presence before use
   b7f9404d1b48 KVM: x86: drop error recovery in em_jmp_far and em_ret_far
   c091bbddbc5e iommu/vt-d: Fix IOMMU lookup for SR-IOV Virtual Functions
   d88a1bd00cfa iommu/vt-d: Fix PASID table allocation
   0a5b451a53d4 Linux 4.4.35
   1ba7fafae3c2 netfilter: nft_dynset: fix element timeout for HZ != 1000
   698a8dddb8a5 IB/cm: Mark stale CM id's whenever the mad agent was unregistered
   2b026a265a9a IB/uverbs: Fix leak of XRC target QPs
   eba83a85caba IB/core: Avoid unsigned int overflow in sg_alloc_table
   c524185c81d4 IB/mlx5: Fix fatal error dispatching
   734039913373 IB/mlx5: Use cache line size to select CQE stride
   7cf5b7882184 IB/mlx4: Fix create CQ error flow
   41664d7077e9 IB/mlx4: Check gid_index return value
   04c0800c73b2 PM / sleep: don't suspend parent when async child suspend_{noirq, late} fails
   469fcbcb84d8 PM / sleep: fix device reference leak in test_suspend
   680bc27065b9 uwb: fix device reference leaks
   dd214a159de6 mfd: core: Fix device reference leak in mfd_clone_cell
   d2adb5ebec61 iwlwifi: pcie: fix SPLC structure parsing
   1f995573bac8 rtc: omap: Fix selecting external osc
   c8aa3e98c1a8 clk: mmp: mmp2: fix return value check in mmp2_clk_init()
   96576127ffb7 clk: mmp: pxa168: fix return value check in pxa168_clk_init()
   a4709b4582ac clk: mmp: pxa910: fix return value check in pxa910_clk_init()
   d039fc37ec7f drm/amdgpu: Attach exclusive fence to prime exported bo's. (v5)
   96f10a6239a2 crypto: caam - do not register AES-XTS mode on LP units
   454cf79b05c5 ext4: sanity check the block and cluster size at mount time
   147117cf23c0 kbuild: Steal gcc's pie from the very beginning
   e543f094a38a x86/kexec: add -fno-PIE
   3a868dde1824 scripts/has-stack-protector: add -fno-PIE
   f740b5cc39dd kbuild: add -fno-PIE
   936d157fa7ae i2c: mux: fix up dependencies
   4e583b89add6 can: bcm: fix warning in bcm_connect/proc_register
   0c6e0db9686b mfd: intel-lpss: Do not put device in reset state on suspend
   b7321bcc8b1c fuse: fix fuse_write_end() if zero bytes were copied
   d4a774fdb92f KVM: Disable irq while unregistering user notifier
   b689e86c9a8f KVM: x86: fix missed SRCU usage in kvm_lapic_set_vapic_addr
   aea9d760b8ba x86/cpu/AMD: Fix cpu_llc_id for AMD Fam17h systems
   4eb9a8100248 Linux 4.4.34
   b4bbdcef7d90 sparc64: Delete now unused user copy fixup functions.
   cb85910b0d45 sparc64: Delete now unused user copy assembler helpers.
   1c7e17b1c4d6 sparc64: Convert U3copy_{from,to}_user to accurate exception reporting.
   7181969338f8 sparc64: Convert NG2copy_{from,to}_user to accurate exception reporting.
   bfc8be659309 sparc64: Convert NGcopy_{from,to}_user to accurate exception reporting.
   dc3a7a7d2c85 sparc64: Convert NG4copy_{from,to}_user to accurate exception reporting.
   1731d90d8a55 sparc64: Convert U1copy_{from,to}_user to accurate exception reporting.
   8a444c770f6e sparc64: Convert GENcopy_{from,to}_user to accurate exception reporting.
   c718e917b3d3 sparc64: Convert copy_in_user to accurate exception reporting.
   dd8a78b2b6ad sparc64: Prepare to move to more saner user copy exception handling.
   756723ad553d sparc64: Delete __ret_efault.
   f5a69ff7486e sparc64: Handle extremely large kernel TLB range flushes more gracefully.
   d36a1ac49d24 sparc64: Fix illegal relative branches in hypervisor patched TLB cross-call code.
   5d8eb954763d sparc64: Fix instruction count in comment for __hypervisor_flush_tlb_pending.
   217f829ae967 sparc64: Fix illegal relative branches in hypervisor patched TLB code.
   2ba06323db41 sparc64: Handle extremely large kernel TSB range flushes sanely.
   75931800733c sparc: Handle negative offsets in arch_jump_label_transform
   8fd11efa2140 sparc64 mm: Fix base TSB sizing when hugetlb pages are used
   4e90b6880135 sparc: serial: sunhv: fix a double lock bug
   a395f7a66eec sparc: Don't leak context bits into thread->fault_address
   4e772c53ab98 tty: Prevent ldisc drivers from re-using stale tty fields
   225a24ae9733 tcp: take care of truncations done by sk_filter()
   ae9e052a58ef ipv4: use new_gw for redirect neigh lookup
   5c67f9477bb2 net: __skb_flow_dissect() must cap its return value
   b67ed647d135 sock: fix sendmmsg for partial sendmsg
   0650eeb4f187 fib_trie: Correct /proc/net/route off by one error
   3f8857a4971d sctp: assign assoc_id earlier in __sctp_connect
   65d29c185614 ipv6: dccp: add missing bind_conflict to dccp_ipv6_mapped
   99131760a885 ipv6: dccp: fix out of bound access in dccp_v6_err()
   a2df29ed840f dccp: fix out of bound access in dccp_v4_err()
   ad6d0a82016b dccp: do not send reset to already closed sockets
   69a5c7ca2e62 tcp: fix potential memory corruption
   8777977b22c4 ip6_tunnel: Clear IP6CB in ip6tunnel_xmit()
   c5bad811ca4d bgmac: stop clearing DMA receive control register right after it is set
   6e9ca1b61cc8 net: mangle zero checksum in skb_checksum_help()
   ac4c2cf6f57a net: clear sk_err_soft in sk_clone_lock()
   74e53a3a053f dctcp: avoid bogus doubling of cwnd after loss
   86429bd405de Linux 4.4.33
   21cc1a183a9d netfilter: fix namespace handling in nf_log_proc_dostring
   ee5dd6878886 btrfs: qgroup: Prevent qgroup->reserved from going subzero
   ae6d4df4a7a0 mmc: mxs: Initialize the spinlock prior to using it
   ae5b8dbfe6be ASoC: sun4i-codec: return error code instead of NULL when create_card fails
   125e84726d7c ACPI / APEI: Fix incorrect return value of ghes_proc()
   5cd2cd84d573 i40e: fix call of ndo_dflt_bridge_getlink()
   5be7e6b48b21 hwrng: core - Don't use a stack buffer in add_early_randomness()
   ba8580f6cf03 lib/genalloc.c: start search from start of chunk
   c048b6711ed6 mei: bus: fix received data size check in NFC fixup
   19426f065d1e iommu/vt-d: Fix dead-locks in disable_dmar_iommu() path
   f029e7b34f25 iommu/amd: Free domain id when free a domain of struct dma_ops_domain
   f5bb84163704 tty/serial: at91: fix hardware handshake on Atmel platforms
   49163391881a dmaengine: at_xdmac: fix spurious flag status for mem2mem transfers
   fff40ee4d224 drm/i915: Respect alternate_ddc_pin for all DDI ports
   d7b0055e5566 KVM: MIPS: Precalculate MMIO load resume PC
   d24587404922 scsi: mpt3sas: Fix for block device of raid exists even after deleting raid disk
   6e897d034d4c scsi: qla2xxx: Fix scsi scan hang triggered if adapter fails during init
   29cf142cefed iio: orientation: hid-sensor-rotation: Add PM function (fix non working driver)
   caff14e99c63 iio: hid-sensors: Increase the precision of scale to fix wrong reading interpretation.
   dbbc5e6bcf36 clk: qoriq: Don't allow CPU clocks higher than starting value
   2c5cdadeab5d toshiba-wmi: Fix loading the driver on non Toshiba laptops
   f523deedff82 drbd: Fix kernel_sendmsg() usage - potential NULL deref
   f1de32232db3 usb: gadget: u_ether: remove interrupt throttling
   0ab4186bf238 USB: cdc-acm: fix TIOCMIWAIT
   290ffd550e34 staging: nvec: remove managed resource from PS2 driver
   4aa859ea591e Revert "staging: nvec: ps2: change serio type to passthrough"
   729eb8d9f7b7 drivers: staging: nvec: remove bogus reset command for PS/2 interface
   6bba8c37ceed staging: iio: ad5933: avoid uninitialized variable in error case
   a98e483ca784 pinctrl: cherryview: Prevent possible interrupt storm on resume
   126d0a2fe878 pinctrl: cherryview: Serialize register access in suspend/resume
   c45bfaa9211e ARC: timer: rtc: implement read loop in "C" vs. inline asm
   3b21a0b468a3 s390/hypfs: Use get_free_page() instead of kmalloc to ensure page alignment
   e835220ed25f coredump: fix unfreezable coredumping task
   5c54f79ad234 swapfile: fix memory corruption via malformed swapfile
   2f7496c48a7b dib0700: fix nec repeat handling
   a04769029386 ASoC: cs4270: fix DAPM stream name mismatch
   f3155797b91c ALSA: info: Limit the proc text input size
   c1ea2b3c07c6 ALSA: info: Return error for invalid read/write

(From OE-Core rev: 7d8d71ba5bc2dd8884c3f43a8d71a6d399c4e2fe)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-12-09 08:54:06 +00:00
Bruce Ashfield 1ea9f94c40 linux-yoct/4.1: update to v4.1.36
Shortlog of the changes:

   8576fa45c10e Linux 4.1.36
   39f99860357c kbuild: add -fno-PIE
   bf5d3d296abf firewire: net: fix fragmented datagram_size off-by-one
   c604dec3d5a6 firewire: net: guard against rx buffer overflows
   9fe6256c0020 parisc: Ensure consistent state when switching to kernel stack at syscall entry
   83a474ed7003 ovl: fsync after copy-up
   c0b309f18b01 virtio: console: Unlock vqs while freeing buffers
   4fe9ae4d3fcf md: be careful not lot leak internal curr_resync value into metadata. -- (all)
   e1e5cab9b43c md: sync sync_completed has correct value as recovery finishes.
   97d53c4d89e0 scsi: arcmsr: Send SYNCHRONIZE_CACHE command to firmware
   d207c6603fc6 scsi: scsi_debug: Fix memory leak if LBP enabled and module is unloaded
   169eb57c9e8d drm/radeon/si_dpm: workaround for SI kickers
   c1593e5dcc2a drm/dp/mst: Check peer device type before attempting EDID read
   e5c6bbbcc7be drm/dp/mst: add some defines for logical/physical ports
   dadd5803301f drm/dp/mst: Clear port->pdt when tearing down the i2c adapter
   a2d4bd9c99cc KVM: MIPS: Precalculate MMIO load resume PC
   b05ff0cb0dea KVM: MIPS: Make ERET handle ERL before EXL
   90a107c0b85b drm/radeon: drop register readback in cayman_cp_int_cntl_setup
   9a9a2373142a scsi: megaraid_sas: Fix data integrity failure for JBOD (passthrough) devices
   1b15bd739689 Revert "drm/radeon: fix DP link training issue with second 4K monitor"
   5bc028b10d04 powerpc: Convert cmp to cmpd in idle enter sequence
   00a4335dfaa5 drm/radeon/si_dpm: Limit clocks on HD86xx part
   469bc68e081c drm/radeon/si/dpm: add workaround for for Jet parts
   85a2af9f690a USB: serial: cp210x: fix tiocmget error handling
   0854ce492ec3 Input: i8042 - add XMG C504 to keyboard reset table
   0e9bbbdfe9f8 ALSA: hda - Merge RIRB_PRE_DELAY into CTX_WORKAROUND caps
   02426cf24407 mac80211: discard multicast and 4-addr A-MSDUs
   f065a553f36e ubifs: Fix regression in ubifs_readdir()
   5fdb4fad291f GenWQE: Fix bad page access during abort of resource allocation
   55a2f87cd564 mm/list_lru.c: avoid error-path NULL pointer deref
   52e7b6bd8378 btrfs: fix races on root_log_ctx lists
   9f2d48f0745f vt: clear selection before resizing
   93ec720c6f10 tty: limit terminal size to 4M chars
   ca963122cab2 ALSA: usb-audio: Add quirk for Syntek STK1160
   3dc8f1f0decb KEYS: Fix short sprintf buffer in /proc/keys show function
   1f7ff6f7910e hv: do not lose pending heartbeat vmbus packets
   9662d19bab68 mei: txe: don't clean an unprocessed interrupt cause.
   a64291d578dd ANDROID: binder: Clear binder and cookie when setting handle in flat binder struct
   11924cba404d ANDROID: binder: Add strong ref checks
   39709c84807f dm table: fix missing dm_put_target_type() in dm_table_add_target()
   c91812c8ef76 usb: increase ohci watchdog delay to 275 msec
   51b231bd1a95 arm64: KVM: Take S1 walks into account when determining S2 write faults
   bb21e0295064 arm/arm64: KVM: Handle out-of-RAM cache maintenance as a NOP
   7fbfac87fbf5 USB: serial: fix potential NULL-dereference at probe
   605a6960617f xhci: workaround for hosts missing CAS bit
   c23a6dce1147 xhci: add restart quirk for Intel Wildcatpoint PCH
   4c17f91bb370 kvm: x86: memset whole irq_eoi
   9c5e89d59d56 libxfs: clean up _calc_dquots_per_chunk
   d1375c3e4f2e target: Don't override EXTENDED_COPY xcopy_pt_cmd SCSI status code
   ac49951623e1 target: Re-add missing SCF_ACK_KREF assignment in v4.1.y
   eaf55207fe3b ubifs: Abort readdir upon error
   b9ce8700a2e3 UBIFS: Fix possible memory leak in ubifs_readdir()
   cad1ca2a9485 ubifs: Fix xattr_names length in exit paths
   dfeb7e4f30e9 arm64: percpu: rewrite ll/sc loops in assembly
   3c9c01324032 powerpc/mm: Prevent unlikely crash in copro_calculate_slb()
   c1f5e5f89b99 isofs: Do not return EACCES for unknown filesystems
   b15662c8e266 irqchip/gic-v3-its: Fix entry size mask for GITS_BASER
   af17243fc1b4 arm64: kernel: Init MDCR_EL2 even in the absence of a PMU
   c911b72eaff1 USB: serial: ftdi_sio: add support for Infineon TriBoard TC2X7
   59eabe8bb60f memstick: rtsx_usb_ms: Manage runtime PM when accessing the device
   86559fc191ca memstick: rtsx_usb_ms: Runtime resume the device when polling for cards
   a89634cf709b mmc: rtsx_usb_sdmmc: Handle runtime PM while changing the led
   e79c2f2f7b30 mmc: rtsx_usb_sdmmc: Avoid keeping the device runtime resumed when unused
   f125e7f2285c mmc: sdhci: cast unsigned int to unsigned long long to avoid unexpeted error
   517052446f36 usb: gadget: function: u_ether: don't starve tx request queue
   66f38bf99faa ceph: fix error handling in ceph_read_iter
   9e9ca450cd93 irqchip/gicv3: Handle loop timeout proper
   88b6c9f4146a drm/radeon: change vblank_time's calculation method to reduce computational error.
   dcf4c1144f3a jbd2: fix incorrect unlock on j_list_lock
   a3da255ead60 scsi: Fix use-after-free
   8df981058e4f mmc: core: Annotate cmd_hdr as __le32
   7ea3d2e9c6aa x86/mm: Expand the exception table logic to allow new handling options

(From OE-Core rev: 41ab5422d4dc62b6e21ccad975b2a22960d3a44b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-12-09 08:54:06 +00:00
Bruce Ashfield 9d3eef24a8 linux-yocto/4.4/4.8: Fix remaining kernel_configcheck warnings in Intel BSPs
Integrating the following meta-data change to remove warnings during
kernel configuration checking:

  bec7e0ace0e5 leds.cfg: Remove CONFIG_LEDS_TRIGGER_CPU
  cc857e64ea34 bsp/intel-quark: Remove bosch-pressure-sensor-i2c
  3198ab25af74 features/i2c: Support I2C_MUX by default

(From OE-Core rev: 2cf5fae50a3b7f232ad667c6c60eaa3f2aafd149)

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-12-09 08:54:06 +00:00
Bruce Ashfield 1bf859cb39 linux-yocto/4.8: aufs warning and ixgbe calltrace
Integrating the following commits to fix aufs/ixgbe issues:

   Author: Liwei Song <liwei.song@windriver.com>
   Date:   Mon Dec 5 00:50:16 2016 -0500

       ixgbe: initialize u64_stats_sync structures early at ixgbe_probe

       Fix the following CallTrace:
       INFO: trying to register non-static key.
       the code is fine but needs lockdep annotation.
       turning off the locking correctness validator.
       CPU: 71 PID: 1 Comm: swapper/0 Not tainted 4.8.8-WR9.0.0.1_standard #11
       Hardware name: Intel Corporation S2600WTT/S2600WTT,
       BIOS GRNDSDP1.86B.0036.R05.1407140519 07/14/2014
        00200086 00200086 eb5e1ab8 c144dd70 00000000 00000000 eb5e1af8 c10af89a
        c1d23de4 eb5e1af8 00000009 eb5d8600 eb5d8638 eb5e1af8 c10b14d8 00000009
        0000000a c1d32911 00000000 00000000 e44c826c eb5d8000 eb5e1b74 c10b214e
       Call Trace:
        [<c144dd70>] dump_stack+0x5f/0x8f
        [<c10af89a>] register_lock_class+0x25a/0x4c0
        [<c10b14d8>] ? check_irq_usage+0x88/0xc0
        [<c10b214e>] __lock_acquire+0x5e/0x17a0
        [<c1abdb9b>] ? _raw_spin_unlock_irqrestore+0x3b/0x70
        [<c10cf14a>] ? rcu_read_lock_sched_held+0x8a/0x90
        [<c10b3c5f>] lock_acquire+0x9f/0x1f0
        [<c1922dcf>] ? dev_get_stats+0x5f/0x110
        [<c176e6b3>] ixgbe_get_stats64+0x113/0x320
        [<c1922dcf>] ? dev_get_stats+0x5f/0x110
        [<c1922dcf>] dev_get_stats+0x5f/0x110
        [<c1ab5415>] rtnl_fill_stats+0x40/0x105
        [<c193dd45>] rtnl_fill_ifinfo+0x4c5/0xd20
        [<c11c5115>] ? __kmalloc_node_track_caller+0x1a5/0x410
        [<c1917487>] ? __kmalloc_reserve.isra.42+0x27/0x80
        [<c191754f>] ? __alloc_skb+0x6f/0x270
        [<c1942291>] rtmsg_ifinfo_build_skb+0x71/0xd0
        [<c194230a>] rtmsg_ifinfo.part.23+0x1a/0x50
        [<c1923dad>] ? call_netdevice_notifiers_info+0x2d/0x60
        [<c194236b>] rtmsg_ifinfo+0x2b/0x40
        [<c192f997>] register_netdevice+0x3d7/0x4d0
        [<c192faa7>] register_netdev+0x17/0x30
        [<c177b83d>] ixgbe_probe+0x118d/0x1610
        [<c1498202>] local_pci_probe+0x32/0x80
        [<c1498172>] ? pci_match_device+0xd2/0x100
        [<c14991e0>] pci_device_probe+0xc0/0x110
        [<c1652cc5>] driver_probe_device+0x1c5/0x280
        [<c1498172>] ? pci_match_device+0xd2/0x100
        [<c1652e09>] __driver_attach+0x89/0x90
        [<c1652d80>] ? driver_probe_device+0x280/0x280
        [<c165114f>] bus_for_each_dev+0x4f/0x80
        [<c165269e>] driver_attach+0x1e/0x20
        [<c1652d80>] ? driver_probe_device+0x280/0x280
        [<c1652317>] bus_add_driver+0x1a7/0x220
        [<c1653a79>] driver_register+0x59/0xe0
        [<c1f897b8>] ? igb_init_module+0x49/0x49
        [<c1497b2a>] __pci_register_driver+0x4a/0x50
        [<c1f8985d>] ixgbe_init_module+0xa5/0xc4
        [<c1000485>] do_one_initcall+0x35/0x150
        [<c107e818>] ? parameq+0x18/0x70
        [<c1f395d8>] ? repair_env_string+0x12/0x51
        [<c107ead0>] ? parse_args+0x260/0x3b0
        [<c1074f73>] ? __usermodehelper_set_disable_depth+0x43/0x50
        [<c1f39e90>] kernel_init_freeable+0x19b/0x267
        [<c1f395c6>] ? set_debug_rodata+0xf/0xf
        [<c10b1e7b>] ? trace_hardirqs_on+0xb/0x10
        [<c1abdc02>] ? _raw_spin_unlock_irq+0x32/0x50
        [<c1085f0b>] ? finish_task_switch+0xab/0x1f0
        [<c1085ec9>] ? finish_task_switch+0x69/0x1f0
        [<c1ab6a30>] kernel_init+0x10/0x110
        [<c108bd65>] ? schedule_tail+0x25/0x80
        [<c1abe422>] ret_from_kernel_thread+0xe/0x24
        [<c1ab6a20>] ? rest_init+0x130/0x130

       This CallTrace occurred on 32-bit kernel with CONFIG_PROVE_LOCKING
       enabled.

       This happens at ixgbe driver probe hardware stage, when comes to
       ixgbe_get_stats64, the seqcount/seqlock still not initialize, although
       this was initialize in TX/RX resources setup routin, but it was too late,
       then lockdep give this Warning.

       To fix this, move the u64_stats_init function to driver probe stage,
       which before we get the status of seqcount and after the RX/TX ring
       was finished init.

       Signed-off-by: Liwei Song <liwei.song@windriver.com>
       Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>

   Author: Kexin(Casey) Chen <Casey.Chen@windriver.com>
   Date:   Tue Nov 29 14:14:07 2016 -0800

       aufs: fix compile warning

       fs/aufs/debug.h:95:19: warning: comparison of constant '0'
       with boolean expression is always false [-Wbool-compare]
          if (unlikely((e) < 0)) \
                           ^

       fs/aufs/vdir.c:852:2: note: in expansion of macro 'AuTraceErr'
          AuTraceErr(!valid);
          ^~~~~~~~~~

       In expansion of AuTraceErr(!valid), comparison of (!valid)
       and constant '0' always passes unlikely(x) false. function
       'static int seek_vdir(struct file *file, struct dir_context *ctx)'
       is to find whether there is a valid vd_deblk following ctx->pos.
       return 1 means valid, 0 for not. Change to AuTraceErr(valid - 1)
       makes more sense.

       Signed-off-by: Kexin(Casey) Chen <Casey.Chen@windriver.com>
       Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>

(From OE-Core rev: ae7d870954cf6a3608933335fedc425677aee0e3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-12-09 08:54:06 +00:00
Bruce Ashfield 80683aa4f8 kern-tools: fix processing for no branch meta-data
Lernel meta-data that has patches, but no branches, can trigger an
error due to no branch specific patch queue.

This error then cascades to more issues since the tools are using
a named file in /tmp to store and display error messages to the
user.

We fix both issues though the following kern tools tweaks:

  commit bd9e1d6c9b0a34ff3e19a06999aaf57ffadfd04c
  Author: Bruce Ashfield <bruce.ashfield@windriver.com>
  Date:   Fri Dec 2 13:09:40 2016 -0500

    scc: use mktemp for consolidated output capture

    To provide useful error messages the tools dump pre-processed
    files and messages to a temporary file. If multiple users are
    doing builds, this means they either race, or can have permissions
    issues.

    By creating the temporary file via mktemp, we avoid both issues.
    (We also make sure to clean these up on exit, or /tmp will get
    polluted quickly).

  commit a287da4bfe0b4acb8f2b0627bd8e7abd1a1dde26
  Author: Bruce Ashfield <bruce.ashfield@windriver.com>
  Date:   Fri Dec 2 13:08:08 2016 -0500

    patch: do not assume a branch specific patch queue is needed

    When processing input files per-branch and global patch queues are
    generated. If the meta-data has not created any branches in the
    repo, no branch specific queue is required.

    The tools assumed that one is always valid, and hence would throw a
    non-zero exit code and stop processing.

    By testing for a named per-branch queue, we avoid this issue.

(From OE-Core rev: 0fd7da7375f0dcc59b56791fd482de557507c04c)

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-12-07 10:46:09 +00:00
Bruce Ashfield 9eb0fb48ce linux-yocto-dev: update to 4.9-rcX
(From OE-Core rev: 27c53cb8d0f1d408cb9791697305187944ad07b9)

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-12-07 10:46:09 +00:00
Bruce Ashfield 32239e357a linux-yocto/4.8: update to v4.8.10
Integrating the 4.8.9 and 4.8.10 -stable updates. The commit log is
as follows:

   cf5ae2989a32 Linux 4.8.10
   5cd8f6788ff3 usb: gadget: f_fs: stop sleeping in ffs_func_eps_disable
   e2458382c792 usb: gadget: f_fs: edit epfile->ep under lock
   e34a0f1c53b5 sparc64: Delete now unused user copy fixup functions.
   af97481a6f5b sparc64: Delete now unused user copy assembler helpers.
   ac663c54f40b sparc64: Convert U3copy_{from,to}_user to accurate exception reporting.
   d91bb7a87e26 sparc64: Convert NG2copy_{from,to}_user to accurate exception reporting.
   a15859f9d839 sparc64: Convert NGcopy_{from,to}_user to accurate exception reporting.
   bb522726d311 sparc64: Convert NG4copy_{from,to}_user to accurate exception reporting.
   b0580eadc19f sparc64: Convert U1copy_{from,to}_user to accurate exception reporting.
   50e927483ccf sparc64: Convert GENcopy_{from,to}_user to accurate exception reporting.
   620ec41010d1 sparc64: Convert copy_in_user to accurate exception reporting.
   bf4d0da8e800 sparc64: Prepare to move to more saner user copy exception handling.
   bbbab9f59ea7 sparc64: Delete __ret_efault.
   81a91edbb91a sparc64: Handle extremely large kernel TLB range flushes more gracefully.
   7f8a50eb38d3 sparc64: Fix illegal relative branches in hypervisor patched TLB cross-call code.
   f7ef55af2f1b sparc64: Fix instruction count in comment for __hypervisor_flush_tlb_pending.
   2a28ab3d4148 sparc64: Fix illegal relative branches in hypervisor patched TLB code.
   f4fb552a033e sparc64: Handle extremely large kernel TSB range flushes sanely.
   51915c6d9070 sparc: Handle negative offsets in arch_jump_label_transform
   da6fe239ceff spi: spidev_test: fix build with musl libc
   4ea98e573d65 net: stmmac: Fix lack of link transition for fixed PHYs
   150b491b1b88 sctp: change sk state only when it has assocs in sctp_shutdown
   5235fcfa6cf8 bnx2: Wait for in-flight DMA to complete at probe stage
   6523ff2e27fe Revert "bnx2: Reset device during driver initialization"
   224fb8cbefb2 mlxsw: spectrum_router: Correctly dump neighbour activity
   9092bbd64bd9 mlxsw: spectrum: Fix refcount bug on span entries
   5712922773b5 Revert "include/uapi/linux/atm_zatm.h: include linux/time.h"
   2b5f22e4f7fd tcp: take care of truncations done by sk_filter()
   22a78d4c7f43 ipv4: use new_gw for redirect neigh lookup
   bccb4093d464 net: __skb_flow_dissect() must cap its return value
   a1632e969a55 net: icmp_route_lookup should use rt dev to determine L3 domain
   9885f474d92b sock: fix sendmmsg for partial sendmsg
   b78ba0a0f231 fib_trie: Correct /proc/net/route off by one error
   92fd1c1f2fd2 net: icmp6_send should use dst dev to determine L3 domain
   09ee09498bca bpf: fix htab map destruction when extra reserve is in use
   de289ad2e575 sctp: assign assoc_id earlier in __sctp_connect
   76b5fee5cfa0 ipv6: dccp: add missing bind_conflict to dccp_ipv6_mapped
   84d9c612bb7a ipv6: dccp: fix out of bound access in dccp_v6_err()
   ba93cf7d2118 dccp: fix out of bound access in dccp_v4_err()
   378a61101374 dccp: do not send reset to already closed sockets
   72b03e549b95 dccp: do not release listeners too soon
   b3523a0773ed tcp: fix return value for partial writes
   1f49cc6fa91c ipv4: allow local fragmentation in ip_finish_output_gso()
   842a858fa048 tcp: fix potential memory corruption
   fc3b825f2c81 ip6_tunnel: Clear IP6CB in ip6tunnel_xmit()
   f5f4b71d5632 bgmac: stop clearing DMA receive control register right after it is set
   0c7f764d2c6a net: mangle zero checksum in skb_checksum_help()
   ac22a3ba0796 net: clear sk_err_soft in sk_clone_lock()
   5b078dc6fb64 dctcp: avoid bogus doubling of cwnd after loss
   876577321657 Linux 4.8.9
   07d00beb1e04 netfilter: fix namespace handling in nf_log_proc_dostring
   8ef009e09c13 drm/i915: Fix mismatched INIT power domain disabling during suspend
   88a45e5d2c0d drm/amdgpu: fix a vm_flush fence leak
   25ed6e4b0b65 drm/amdgpu: fix fence slab teardown
   de5e9aa77a3c NFSv4.1: work around -Wmaybe-uninitialized warning
   18c801047a18 libceph: fix legacy layout decode with pool 0
   53c1792b94da memcg: prevent memcg caches to be both OFF_SLAB & OBJFREELIST_SLAB
   02e1ee6b3e1c mmc: mxs: Initialize the spinlock prior to using it
   ce0702e35aeb pinctrl: iproc: Fix iProc and NSP GPIO support
   320244ac9eb6 ASoC: sun4i-codec: return error code instead of NULL when create_card fails
   2140d4fd9277 ASoC: Intel: Skylake: Always acquire runtime pm ref on unload
   5037fdbc62c2 gpio: of: fix GPIO drivers with multiple gpio_chip for a single node
   7a9239fd0480 gpio/mvebu: Use irq_domain_add_linear
   6de98e87effb batman-adv: Modify neigh_list only with rcu-list functions
   a3f000ce7b44 ACPI/PCI: pci_link: Include PIRQ_PENALTY_PCI_USING for ISA IRQs
   6c76dd0c7066 ACPI/PCI: pci_link: penalize SCI correctly
   86c711665c84 ACPI/PCI/IRQ: assign ISA IRQ directly during early boot stages
   ad185d9251e1 ACPI / APEI: Fix incorrect return value of ghes_proc()
   b55ebc89ab1d mmc: sdhci-msm: Fix error return code in sdhci_msm_probe()
   85284c0850f9 i40e: fix call of ndo_dflt_bridge_getlink()
   1242c9dfab0c hwrng: core - Don't use a stack buffer in add_early_randomness()
   c1a2ada73dac lib/genalloc.c: start search from start of chunk
   06bb5ebedbb4 s390/dumpstack: restore reliable indicator for call traces
   1ef1bd02ad23 rtc: pcf2123: Add missing error code assignment before test
   4baabb72e9dd clk: samsung: clk-exynos-audss: Fix module autoload
   3bbdbd8aa3c8 x86/build: Fix build with older GCC versions
   f5eadc27a60c Revert "clocksource/drivers/timer_sun5i: Replace code by clocksource_mmio_init"
   645a6b823739 nvme: Delete created IO queues on reset
   07c4cbe01341 svcrdma: Tail iovec leaves an orphaned DMA mapping
   4131e00a436e svcrdma: Skip put_page() when send_reply() fails
   755ab7aa1466 mei: bus: fix received data size check in NFC fixup
   d1b564536c6a perf top: Fix refreshing hierarchy entries on TUI
   6ac4e06b717f Input: synaptics-rmi4 - fix error handling in I2C transport driver
   d3716f1b3e4b Input: synaptics-rmi4 - fix error handling in SPI transport driver
   66503ec38f34 watchdog: core: Fix devres_alloc() allocation size
   c5e9e5cc8cd1 agp/intel: Flush chipset writes after updating a single PTE
   813617a4c8dc iommu/vt-d: Fix dead-locks in disable_dmar_iommu() path
   b6ef0b142208 iommu/amd: Free domain id when free a domain of struct dma_ops_domain
   2ef38255b588 iommu/io-pgtable-arm: Check for v7s-incapable systems
   d3d9428d7133 xprtrdma: Fix DMAR failure in frwr_op_map() after reconnect
   31c749bee3de xprtrdma: use complete() instead complete_all()
   67080e2785a3 drm/amd: fix scheduler fence teardown order v2
   b0da5ab2ffb5 drm/amdgpu: fix sched fence slab teardown
   920a85ba4306 tty/serial: at91: fix hardware handshake on Atmel platforms
   9d76a886eb2f drm/amdgpu: fix crash in acp_hw_fini
   6e652d18d73d drm/amdgpu: disable runtime pm in certain cases
   8c8fdc683295 drm/i915/dp: Extend BDW DP audio workaround to GEN9 platforms
   db8e005bf2ba drm/i915/dp: BDW cdclk fix for DP audio
   f50b7450a8e4 drm/i915: Respect alternate_ddc_pin for all DDI ports
   e1b24f6a0b3c drm/radeon: disable runtime pm in certain cases
   eb13abb0e515 KVM: arm/arm64: vgic: Prevent access to invalid SPIs
   2850fad5acb0 scsi: scsi_dh_alua: Fix a reference counting bug
   5fac70d772a4 scsi: scsi_dh_alua: fix missing kref_put() in alua_rtpg_work()
   f29bcd11a170 scsi: mpt3sas: Fix for block device of raid exists even after deleting raid disk
   b2040deabb07 scsi: qla2xxx: Fix scsi scan hang triggered if adapter fails during init
   1281b9683f96 iio: st_sensors: fix scale configuration for h3lis331dl
   4dfb6d1dd11d iio: orientation: hid-sensor-rotation: Add PM function (fix non working driver)
   341c5534edad iio: hid-sensors: Increase the precision of scale to fix wrong reading interpretation.
   b9d031f354da cdc-acm: fix uninitialized variable
   c480880cd12c clk: qoriq: Don't allow CPU clocks higher than starting value
   ee27fd32c499 toshiba-wmi: Fix loading the driver on non Toshiba laptops
   f713523a234c drbd: Fix kernel_sendmsg() usage - potential NULL deref
   31da266e4b9a usb: gadget: u_ether: remove interrupt throttling
   264e4131a167 USB: cdc-acm: fix TIOCMIWAIT
   c12c24eeaf77 usb: dwc3: Fix error handling for core init
   6b95417150b7 staging: nvec: remove managed resource from PS2 driver
   82239ab105a5 Revert "staging: nvec: ps2: change serio type to passthrough"
   529789866abe drivers: staging: nvec: remove bogus reset command for PS/2 interface
   dea774aac054 staging: comedi: ni_tio: fix buggy ni_tio_clock_period_ps() return value
   5d510185f99a staging: sm750fb: Fix bugs introduced by early commits
   45983d678b70 staging: iio: ad5933: avoid uninitialized variable in error case
   5289e59246dd mmc: mmc: Use 500ms as the default generic CMD6 timeout
   ce4dfe7d927e mmc: sdhci: Fix unexpected data interrupt handling
   bde8d3f73375 mmc: sdhci: Fix CMD line reset interfering with ongoing data transfer
   10d24701f3f4 cpupower: Correct return type of cpu_power_is_cpu_online() in cpufreq-set
   f062e738c19b pinctrl: cherryview: Prevent possible interrupt storm on resume
   1d99fe3317e3 pinctrl: cherryview: Serialize register access in suspend/resume
   f5ad96462615 arc: Implement arch-specific dma_map_ops.mmap
   004e7c97f181 PCI: Don't attempt to claim shadow copies of ROM
   7fac0361f94e ARC: timer: rtc: implement read loop in "C" vs. inline asm
   4058116db4d0 s390/hypfs: Use get_free_page() instead of kmalloc to ensure page alignment
   2f3e0b82ebe9 coredump: fix unfreezable coredumping task
   d6ee4f47e2e7 mm/hugetlb: fix huge page reservation leak in private mapping error paths
   e87bf4f558f1 mm: hwpoison: fix thp split handling in memory_failure()
   67c79e166d46 swapfile: fix memory corruption via malformed swapfile
   c87739e5d029 shmem: fix pageflags after swapping DMA32 object
   5b5243b606ec mm, frontswap: make sure allocated frontswap map is assigned
   2e594273d4c5 dib0700: fix nec repeat handling
   9964230320d5 ASoC: cs4270: fix DAPM stream name mismatch
   9386a722d250 ALSA: info: Limit the proc text input size
   c3ea1b15b71e ALSA: info: Return error for invalid read/write

(From OE-Core rev: b5e43be6aaf912cf6c679ee98ed61cf34dd00ee8)

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-12-07 10:46:08 +00:00
Alexander Kanavin 0724f40962 sysprof: update to 3.22.2
Drop 0001-Forward-port-mips-arm-memory-barrier-patches.patch; upstream
is using standard C11 facilities for this now.

Drop 0001-callgraph-Use-U64_TO_POINTER.patch; it has been merged upstream.

(From OE-Core rev: 9425992b59afa887fbbb1d3b3598f08757de4765)

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>
2016-11-30 15:48:08 +00:00
Zubair Lutfullah Kakakhel 902f162234 perf: Add EXTRA_LDFLAGS for MIPS N32
MIPS N32 requires EXTRA_LDFLAGS to link correctly.

(From OE-Core rev: 5b3cc758ddd8bfe6e52e6287ddf463c080673a7e)

Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-11-30 15:48:07 +00:00
Bruce Ashfield a08c78ddd4 kern-tools: error checking and tree generation fixes
During processing of the kernel meta data the kern tools were
not properly exiting on syntax errors or invalid commands.

Noticing and debugging these issues wasn't trivial. To make this
easier, we now trap the error and dump the offending meta-data
for the user to see.

There was also an issue with creating branches during tree
generation, which is resolved by always switching to the
active branch.

The following are the commit logs of the changes themselves:

[
  commit b36f6f9a5695f2084b83823393e13ca42284bed9
  Author: Paul Gortmaker <paul.gortmaker@windriver.com>
  Date:   Sat Oct 22 17:23:25 2016 -0400

      kgit-scc: dont mention meta-repo in help ; it doesnt exist

      Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>

  commit 08463d684c1952e74c25344cddace4c3f24c739d
  Author: Bruce Ashfield <bruce.ashfield@windriver.com>
  Date:   Mon Oct 31 14:30:12 2016 -0400

      scc: exit on error

      If there is an error in the processing of the input files, scc
      should exit and inform the user.

      scc is executed on a combined/preprocessed file and as a result
      it doesn't have the granularity to see each input file individually.

      Rather than moving preprocessing into scc (from spp), we can trap
      the line number of the error and dump context around the line.
      This gives the user a pointer to the input file and the specific
      line that caused the problem.

      Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>

  commit bf99953e8ac14cee653e559f2d4a6022c847a182
  Author: Bruce Ashfield <bruce.ashfield@windriver.com>
  Date:   Fri Oct 28 21:23:27 2016 -0400

      kgit-meta: always checkout branches on branch commands

      During a tree generation we must always make the branch active when
      we see any kind of branch command. This ensures that any subsequent
      patches are applied in the proper context.

      Previously, only branch creation was changing the active branch, and
      this mean that tree generation was not determinstic and relied
      on the order of processing to generate a correct tree.

      Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
]

(From OE-Core rev: 83d10e2acef936b1f38804988f10eafa48db36f9)

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-11-30 15:48:05 +00:00
Bruce Ashfield b47ee25357 linux-yocto/4.4: update to v4.4.32
Updating from v4.4.30 -> v4.4.32. The shortlog summary of the changes
follows:

   4dab3e4df994 Linux 4.4.32
   ae94da4c53b7 scsi: megaraid_sas: fix macro MEGASAS_IS_LOGICAL to avoid regression
   2be0548e64f1 drm/radeon: fix DP mode validation
   ccc31f819918 drm/radeon/dp: add back special handling for NUTMEG
   227994b52c73 drm/amdgpu: fix DP mode validation
   2e8cfc1fe985 drm/amdgpu/dp: add back special handling for NUTMEG
   72c13445dfb4 KVM: MIPS: Drop other CPU ASIDs on guest MMU changes
   c57deabd2b17 Revert KVM: MIPS: Drop other CPU ASIDs on guest MMU changes
   e28a472742bf of: silence warnings due to max() usage
   d21daf7f3ee8 packet: on direct_xmit, limit tso and csum to supported devices
   bd891f40f04f sctp: validate chunk len before actually using it
   7c230d0e546a net sched filters: fix notification of filter delete with proper handle
   d46c76765da6 udp: fix IP_CHECKSUM handling
   80d59090d4e3 net: sctp, forbid negative length
   1a680e543f84 ipv4: use the right lock for ping_group_range
   827ada2d671b ipv4: disable BH in set_ping_group_range()
   3cb00b90e8b1 net: add recursion limit to GRO
   02558fa0e061 rtnetlink: Add rtnexthop offload flag to compare mask
   ebfbfc2e4df8 bridge: multicast: restore perm router ports on multicast enable
   f467184e2323 net: pktgen: remove rcu locking in pktgen_change_name()
   e635b4766174 ipv6: correctly add local routes when lo goes up
   f9d4850af3c8 ip6_tunnel: fix ip6_tnl_lookup
   705b5aca17c3 ipv6: tcp: restore IP6CB for pktoptions skbs
   6d123f1d396b netlink: do not enter direct reclaim from netlink_dump()
   d72cb5fb36bd packet: call fanout_release, while UNREGISTERING a netdev
   63091b2c1dea net: Add netdev all_adj_list refcnt propagation to fix panic
   9edbf4a0b60b net/sched: act_vlan: Push skb->data to mac_header prior calling skb_vlan_*() functions
   bb7ffb6b68a9 net: pktgen: fix pkt_size
   bc5d8ced3c98 net: fec: set mac address unconditionally
   0ee4acb7b3be tg3: Avoid NULL pointer dereference in tg3_io_error_detected()
   6eb0061fa630 ipmr, ip6mr: fix scheduling while atomic and a deadlock with ipmr_get_route
   4f312a802994 ip6_gre: fix flowi6_proto value in ip6gre_xmit_other()
   aadcd6a96010 tcp: fix a compile error in DBGUNDO()
   ac40148543c5 tcp: fix wrong checksum calculation on MTU probing
   d2e01b15657c net: avoid sk_forward_alloc overflows
   a35ce624a3ae tcp: fix overflow in __tcp_retransmit_skb()
   beb996c1c399 Linux 4.4.31
   78bd7c9bf60b HID: usbhid: add ATEN CS962 to list of quirky devices
   69e14ce88389 ubi: fastmap: Fix add_vol() return value test in ubi_attach_fastmap()
   91e1f7b0eb25 kvm: x86: Check memopp before dereference (CVE-2016-8630)
   62fa839b8fff tty: vt, fix bogus division in csi_J
   93fe5c7bb4e0 usb: dwc3: Fix size used in dma_free_coherent()
   4b06152a4822 pwm: Unexport children before chip removal
   353bbacfd57f UBI: fastmap: scrub PEB when bitflips are detected in a free PEB EC header
   1d79b67c4a8a Disable "frame-address" warning
   c5b2cd97b1d3 smc91x: avoid self-comparison warning
   603c78000f8c cgroup: avoid false positive gcc-6 warning
   8a618bc7e586 drm/exynos: fix error handling in exynos_drm_subdrv_open
   26a5f0596ff2 mm/cma: silence warnings due to max() usage
   58fca2f1563b ARM: 8584/1: floppy: avoid gcc-6 warning
   f0b13816ad4f powerpc/ptrace: Fix out of bounds array access warning
   eeae15feceaf x86/xen: fix upper bound of pmd loop in xen_cleanhighmap()
   95f2bdbe50d0 perf build: Fix traceevent plugins build race
   9702108e3def drm/dp/mst: Check peer device type before attempting EDID read
   1262212d3b8e drm/radeon: drop register readback in cayman_cp_int_cntl_setup
   1734d4e14221 drm/radeon/si_dpm: workaround for SI kickers
   231be2b99e4a drm/radeon/si_dpm: Limit clocks on HD86xx part
   4b32256b2706 Revert "drm/radeon: fix DP link training issue with second 4K monitor"
   a1ffa7c37a4c mmc: dw_mmc-pltfm: fix the potential NULL pointer dereference
   c77a2346226e scsi: arcmsr: Send SYNCHRONIZE_CACHE command to firmware
   69ee0ed0c6f9 scsi: scsi_debug: Fix memory leak if LBP enabled and module is unloaded
   9075faf1406c scsi: megaraid_sas: Fix data integrity failure for JBOD (passthrough) devices
   d9237e75fd74 mac80211: discard multicast and 4-addr A-MSDUs
   1d22568ce5ed firewire: net: fix fragmented datagram_size off-by-one
   46e14262a063 firewire: net: guard against rx buffer overflows
   304cc8b5b437 Input: i8042 - add XMG C504 to keyboard reset table
   daac9e1c85c9 dm mirror: fix read error on recovery after default leg failure
   88586a4f884c virtio: console: Unlock vqs while freeing buffers
   50e1c4d90aff virtio_ring: Make interrupt suppression spec compliant
   f2d9107bd0a0 parisc: Ensure consistent state when switching to kernel stack at syscall entry
   e3d312c435dd ovl: fsync after copy-up
   ab69d3a03e22 KVM: MIPS: Make ERET handle ERL before EXL
   159766dff4d4 KVM: x86: fix wbinvd_dirty_mask use-after-free
   cb270a3f1666 dm: free io_barrier after blk_cleanup_queue call
   f49f9df84eb2 USB: serial: cp210x: fix tiocmget error handling
   00877d139396 tty: limit terminal size to 4M chars
   e8a806797070 xhci: add restart quirk for Intel Wildcatpoint PCH
   fde4a5f237ab hv: do not lose pending heartbeat vmbus packets
   3425e397fb23 vt: clear selection before resizing
   dc1555e670c3 Fix potential infoleak in older kernels
   bd5cc3294de3 GenWQE: Fix bad page access during abort of resource allocation
   ce423aca0126 usb: increase ohci watchdog delay to 275 msec
   54af73d02eb4 xhci: use default USB_RESUME_TIMEOUT when resuming ports.
   a98f0e91b0fc USB: serial: ftdi_sio: add support for Infineon TriBoard TC2X7
   f2ecc94504f4 USB: serial: fix potential NULL-dereference at probe
   660c04e8f174 usb: gadget: function: u_ether: don't starve tx request queue
   c0510383011f mei: txe: don't clean an unprocessed interrupt cause.
   dc70a200aac2 ubifs: Fix regression in ubifs_readdir()
   0222377bb2cb ubifs: Abort readdir upon error
   f0d6ba518421 btrfs: fix races on root_log_ctx lists
   8910c3388253 ANDROID: binder: Clear binder and cookie when setting handle in flat binder struct
   14f09e8e7cd8 ANDROID: binder: Add strong ref checks
   c5be1e1314ee ALSA: hda - Fix headset mic detection problem for two Dell laptops
   34a8b859da9f ALSA: hda - Adding a new group of pin cfg into ALC295 pin quirk table
   4a30dbab6584 ALSA: hda - allow 40 bit DMA mask for NVidia devices
   b0b3d37edb19 ALSA: hda - Raise AZX_DCAPS_RIRB_DELAY handling into top drivers
   aa72457de77b ALSA: hda - Merge RIRB_PRE_DELAY into CTX_WORKAROUND caps
   d08ae42a106d ALSA: usb-audio: Add quirk for Syntek STK1160
   940d7ecbc57c KEYS: Fix short sprintf buffer in /proc/keys show function
   299991298b04 mm: memcontrol: do not recurse in direct reclaim
   9fa32e04f810 mm/list_lru.c: avoid error-path NULL pointer deref
   fd9e4cea96df libxfs: clean up _calc_dquots_per_chunk
   0daca12d6774 h8300: fix syscall restarting
   44084f15b706 drm/dp/mst: Clear port->pdt when tearing down the i2c adapter
   4125fe7f8d31 i2c: core: fix NULL pointer dereference under race condition
   eeb1846df1c8 i2c: xgene: Avoid dma_buffer overrun

(From OE-Core rev: cdc73ef471c9bf304810a7457c0cb10116d70ef1)

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-11-30 15:48:05 +00:00
Bruce Ashfield 7f47306b68 linux-yocto/4.8: update from v4.8.6 -> v4.8.8
Updating to the korg -stable release 4.8.8. The short log change
summary follows:

   61385cc1db42 Linux 4.8.8
   8ed841d6c045 scsi: megaraid_sas: fix macro MEGASAS_IS_LOGICAL to avoid regression
   32f60e9b621f scsi: megaraid_sas: Fix data integrity failure for JBOD (passthrough) devices
   eb2ca7aac349 usb: dwc3: gadget: properly account queued requests
   38db26fb3ae5 arch/powerpc: Update parameters for csum_tcpudp_magic & csum_tcpudp_nofold
   a143c6022cef packet: on direct_xmit, limit tso and csum to supported devices
   a6289d9ac3fe ip6_tunnel: Update skb->protocol to ETH_P_IPV6 in ip6_tnl_xmit()
   c9e086b9009a sctp: validate chunk len before actually using it
   5a37dce1b679 net sched filters: fix notification of filter delete with proper handle
   d46b19687fec net: ipv6: Do not consider link state for nexthop validation
   eb77db88ea11 macsec: Fix header length if SCI is added if explicitly disabled
   027ab3b8ee5a netvsc: fix incorrect receive checksum offloading
   b75edf27a6c3 udp: fix IP_CHECKSUM handling
   5ee356021c42 sctp: fix the panic caused by route update
   d90cbfaf5439 net: sctp, forbid negative length
   64774617da37 net: fec: Call swap_buffer() prior to IP header alignment
   c6c82c2b707e ipv4: use the right lock for ping_group_range
   8418193f7052 ipv4: disable BH in set_ping_group_range()
   23c110c4cdbc net: add recursion limit to GRO
   d3bbd04b92fd net: core: Correctly iterate over lower adjacency list
   fc5722f8f8f2 rtnetlink: Add rtnexthop offload flag to compare mask
   4ac3ca8c2933 switchdev: Execute bridge ndos only for bridge ports
   63d82a2cbd0c bridge: multicast: restore perm router ports on multicast enable
   e9a5921c393f net: pktgen: remove rcu locking in pktgen_change_name()
   2eeb5735dd04 net/mlx4_en: fixup xdp tx irq to match rx
   27bb6e31d32d IB/ipoib: move back IB LL address into the hard header
   f280126ec8d8 ipv6: correctly add local routes when lo goes up
   0f3e77623916 ip6_tunnel: fix ip6_tnl_lookup
   a148a818df84 net: phy: Trigger state machine on state change and not polling.
   2a9099899a6a ipv6: tcp: restore IP6CB for pktoptions skbs
   50b43ad1dce6 net_sched: reorder pernet ops and act ops registrations
   dac04913ee27 drivers/ptp: Fix kernel memory disclosure
   3f841d1555ad netlink: do not enter direct reclaim from netlink_dump()
   5086cadf8fa4 packet: call fanout_release, while UNREGISTERING a netdev
   6fff1319fdac net: Add netdev all_adj_list refcnt propagation to fix panic
   9caee42c800e net/sched: act_vlan: Push skb->data to mac_header prior calling skb_vlan_*() functions
   c002dfd8adaa net: pktgen: fix pkt_size
   ff1b27c31706 net: fec: set mac address unconditionally
   567aeca9fbb7 Linux 4.8.7
   1bf121d3b234 HID: usbhid: add ATEN CS962 to list of quirky devices
   05a833d4b051 cpufreq: intel_pstate: Set P-state upfront in performance mode
   c89771511deb ubi: fastmap: Fix add_vol() return value test in ubi_attach_fastmap()
   591bf1362e9e btrfs: qgroup: Prevent qgroup->reserved from going subzero
   0c879624701d kvm: x86: Check memopp before dereference (CVE-2016-8630)
   725a92be3926 ARM: fix oops when using older ARMv4T CPUs
   e339609bf377 tty: vt, fix bogus division in csi_J
   4a22930a74ac v4l: vsp1: Prevent pipelines from running when not streaming
   59f9693a170a usb: musb: Fix hardirq-safe hardirq-unsafe lock order error
   086ac9180437 usb: chipidea: host: fix NULL ptr dereference during shutdown
   07bae478e1c1 usb: dwc3: Fix size used in dma_free_coherent()
   fedede0963c4 pwm: Unexport children before chip removal
   7b4b77b9566d omapfb: fix return value check in dsi_bind()
   a3e55d6342b2 video: fbdev: pxafb: potential NULL dereference on error
   13d0f5b3a399 uapi: add missing install of sync_file.h
   db5025bd08ef UBI: fastmap: scrub PEB when bitflips are detected in a free PEB EC header
   cc94524e8940 netfilter: xt_NFLOG: fix unexpected truncated packet
   720a40113e78 i2c: mark device nodes only in case of successful instantiation
   f7d8d44a68de drm: i915: Wait for fences on new fb, not old
   1cefe4cb4f8c drm/i915/fbc: fix CFB size calculation for gen8+
   809e9e6fc390 drm/i915: Clean up DDI DDC/AUX CH sanitation
   ba0a959e0334 drm/i915: Respect alternate_aux_channel for all DDI ports
   426a724c9972 drm: Release reference from blob lookup after replacing property
   5064a6a05387 drm/dp/mst: Check peer device type before attempting EDID read
   e6fcf953a995 drm/i915/gen9: fix watermarks when using the pipe scaler
   0f7f9c456380 drm/i915/gen9: fix DDB partitioning for multi-screen cases
   0cc98b5963f8 drm/fb-helper: Keep references for the current set of used connectors
   14f4a463dc78 drm/fb-helper: Fix connector ref leak on error
   6222f1e0b9ef drm/fb-helper: Don't call dirty callback for untouched clips
   7290da41b8da drm/nouveau/acpi: fix check for power resources support
   fd5f9e1e28cb drm/radeon: drop register readback in cayman_cp_int_cntl_setup
   e136de5d7331 drm/radeon/si_dpm: workaround for SI kickers
   fe777e7a595c drm/radeon/si_dpm: Limit clocks on HD86xx part
   fa6227dbfd6a drm/imx: ipuv3-plane: Access old u/vbo properly in ->atomic_check for YU12/YV12
   d040374f3473 drm/imx: ipuv3-plane: Switch EBA buffer only when we don't need modeset
   51ed5a2bbf38 Revert "drm/radeon: fix DP link training issue with second 4K monitor"
   ac6f210dd7a6 md: be careful not lot leak internal curr_resync value into metadata. -- (all)
   eba4fe9db92f RAID10: ignore discard error
   21faa6dbf53f RAID1: ignore discard error
   b80fcd58e6f6 mmc: dw_mmc-pltfm: fix the potential NULL pointer dereference
   1244d3c3a0f6 scsi: arcmsr: Send SYNCHRONIZE_CACHE command to firmware
   2a1a0a6f1d60 scsi: scsi_debug: Fix memory leak if LBP enabled and module is unloaded
   5bac49422b4a ath10k: cache calibration data when the core is stopped
   a7d092e946f5 Revert "ath9k_hw: implement temperature compensation support for AR9003+"
   aea7cb3b7ceb mac80211: discard multicast and 4-addr A-MSDUs
   27fa1e735c70 firewire: net: fix fragmented datagram_size off-by-one
   032430fb6a2c firewire: net: guard against rx buffer overflows
   facb17b67ac9 Input: i8042 - add XMG C504 to keyboard reset table
   8b535f07898a rtl8xxxu: Fix rtl8723bu driver reload issue
   1c9edb27261e rtl8xxxu: Fix big-endian problem reporting mactime
   ece1b51ae1c4 rtl8xxxu: Fix memory leak in handling rxdesc16 packets
   5a805cd29284 dm raid: fix activation of existing raid4/10 devices
   6e5456768ba1 dm raid: fix compat_features validation
   056290446e8a dm rq: clear kworker_task if kthread_run() returned an error
   13a59a868756 dm table: fix missing dm_put_target_type() in dm_table_add_target()
   159a17e8dbf6 dm mirror: fix read error on recovery after default leg failure
   d8db5234adef virtio: console: Unlock vqs while freeing buffers
   7569d22a820d virtio_pci: Limit DMA mask to 44 bits for legacy virtio devices
   0c2f67a6196d virtio_ring: Make interrupt suppression spec compliant
   c528df925fba parisc: Ensure consistent state when switching to kernel stack at syscall entry
   592de1000694 ovl: fsync after copy-up
   3ad464dadb7c ovl: update S_ISGID when setting posix ACLs
   be9015460ed5 ovl: fix get_acl() on tmpfs
   2b632307635f MIPS: KASLR: Fix handling of NULL FDT
   1734afcce32b nfsd: Fix general protection fault in release_lock_stateid()
   202c6676b963 ARM: dts: fix the SD card on the Snowball
   db20b510ca5c ARM: mvebu: Select corediv clk for all mvebu v7 SoC
   c627b2e76ae2 KVM: MIPS: Precalculate MMIO load resume PC
   f3a0c969e788 KVM: MIPS: Make ERET handle ERL before EXL
   961cf133b710 KVM: s390: Fix STHYI buffer alignment for diag224
   88aca01f8cb4 KVM: x86: fix wbinvd_dirty_mask use-after-free
   ea261d177aed dm: free io_barrier after blk_cleanup_queue call
   377a2a273c4b Staging: wilc1000: Fix kernel Oops on opening the device
   0c4ffbf9e118 iio:chemical:atlas-ph-sensor: Fix use of 32 bit int to hold 16 bit big endian value
   52a1e76f16e2 arm64: dts: marvell: fix clocksource for CP110 master SPI0
   0dff3c6321a5 tty: limit terminal size to 4M chars
   44f0722dc9ac xhci: workaround for hosts missing CAS bit
   0894224ae7c0 xhci: add restart quirk for Intel Wildcatpoint PCH
   b2d28d93cf83 hv: do not lose pending heartbeat vmbus packets
   eeae0a12a166 vt: clear selection before resizing
   9710f5b19328 x86/smpboot: Init apic mapping before usage
   58b0a7f115f8 GenWQE: Fix bad page access during abort of resource allocation
   b9aa0a7290f5 usb: increase ohci watchdog delay to 275 msec
   241208e7b721 usb: renesas_usbhs: add wait after initialization for R-Car Gen3
   00dbeb06292b xhci: use default USB_RESUME_TIMEOUT when resuming ports.
   1e306cd37a66 USB: serial: ftdi_sio: add support for Infineon TriBoard TC2X7
   d082fd105eb9 USB: serial: cp210x: fix tiocmget error handling
   e8bf726705bd USB: serial: fix potential NULL-dereference at probe
   23124735a6f0 usb: gadget: function: u_ether: don't starve tx request queue
   fe4af125085a usb: gadget: udc: atmel: fix endpoint name
   420d16894425 mei: txe: don't clean an unprocessed interrupt cause.
   5d30e8f65073 ubifs: Fix regression in ubifs_readdir()
   b8176cc56bf1 ubifs: Abort readdir upon error
   1755f43e9a90 timers: Lock base for same bucket optimization
   e18ed431d7da timers: Plug locking race vs. timer migration
   b5e3a038997a timers: Prevent base clock corruption when forwarding
   665f7bf33aa8 timers: Prevent base clock rewind when forwarding clock
   0d621c57e739 x86/microcode/AMD: Fix more fallout from CONFIG_RANDOMIZE_MEMORY=y
   e599203f55ad powerpc/64: Fix race condition in setting lock bit in idle/wakeup code
   51d784b54768 powerpc/64: Re-fix race condition between going idle and entering guest
   2c7ff0e5c311 powerpc/mm/radix: Use tlbiel only if we ever ran on the current cpu
   ae150de2d5e0 powerpc: Convert cmp to cmpd in idle enter sequence
   1198fbca645e btrfs: fix races on root_log_ctx lists
   bc720ae2ffab cxl: Fix leaking pid refs in some error paths
   2a997e83960b ANDROID: binder: Clear binder and cookie when setting handle in flat binder struct
   599cfd58ffde ANDROID: binder: Add strong ref checks
   2a0efa30b15c ALSA: hda - Fix headset mic detection problem for two Dell laptops
   2585e17b71c7 ALSA: hda - Fix surround output pins for ASRock B150M mobo
   14456570a4a5 ALSA: hda - Adding a new group of pin cfg into ALC295 pin quirk table
   54186c7dd2ec ALSA: hda - allow 40 bit DMA mask for NVidia devices
   0f574c90d747 ALSA: seq: Fix time account regression
   8ccf154b2654 ALSA: usb-audio: Add quirk for Syntek STK1160
   9d3f5b85ef8b device-dax: fix percpu_ref_exit ordering
   33bcff297228 security/keys: make BIG_KEYS dependent on stdrng.
   5152986c9257 KEYS: Sort out big_key initialisation
   5daa841d0437 KEYS: Fix short sprintf buffer in /proc/keys show function
   0a38e6c551c4 thermal/powerclamp: correct cpu support check
   5db5e0c11c13 mm: memcontrol: do not recurse in direct reclaim
   68adb469dd3b mm/slab: fix kmemcg cache creation delayed issue
   67ae004e2c52 mm/list_lru.c: avoid error-path NULL pointer deref
   5cb73199ca48 libxfs: clean up _calc_dquots_per_chunk
   d00057ecf82f gpio: GPIO_GET_LINE{HANDLE,EVENT}_IOCTL: Fix file descriptor leak
   c70eb2cc1276 gpio: GPIOHANDLE_GET_LINE_VALUES_IOCTL: Fix another information leak
   6bba4b226521 gpio: GPIO_GET_LINEEVENT_IOCTL: Reject invalid line and event flags
   e2144827d96b gpio: GPIO_GET_LINEHANDLE_IOCTL: Reject invalid line flags
   c0699405b147 gpio: GPIO_GET_LINEEVENT_IOCTL: Validate line offset
   49bdfb21e37d gpio: GPIOHANDLE_GET_LINE_VALUES_IOCTL: Fix information leak
   e22edf53b40f gpio: GPIO_GET_LINEHANDLE_IOCTL: Validate line offset
   a23a59c56a53 gpio: GPIO_GET_CHIPINFO_IOCTL: Fix information leak
   78ae767553e4 gpio: GPIO_GET_CHIPINFO_IOCTL: Fix line offset validation
   56ffab4f532e gpio / ACPI: fix returned error from acpi_dev_gpio_irq_get()
   4366246129ca h8300: fix syscall restarting
   a639266ae0c3 spi: mark device nodes only in case of successful instantiation
   d6634d871199 spi: fsl-espi: avoid processing uninitalized data on error
   0cee66b72acc drm/dp/mst: Clear port->pdt when tearing down the i2c adapter
   f2ffb21fb495 i2c: core: fix NULL pointer dereference under race condition
   0fda1cdcbb72 i2c: xgene: Avoid dma_buffer overrun
   9c619c2a8d4d i2c: rk3x: Give the tuning value 0 during rk3x_i2c_v0_calc_timings

(From OE-Core rev: f95903012735e764ae0608a17fc6d4d8c139eb83)

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-11-30 15:48:05 +00:00
Bruce Ashfield 2f756fa239 linux-yocto/4.8: update to v4.8.6-rt5
Paul Gortmaker sent along updates to the latest 4.8 -rt version.
Updating the SRCREVs to include the following commits:

   f83a3d4a643b v4.8.6-rt5
   74c7ffc2e3f2 NFSv4: don't disable preemption on !RT
   9711dc408890 kbuild: Add -fno-pie to KBUILD_AFLAGS:
   7b4d4278e307 v4.8.6-rt4
   24aa22031f3c v4.8.2-rt3
   8541163464e2 kbuild: add -fno-PIE
   81b61ced2d45 NFSv4: replace seqcount_t with a seqlock_t
   a8300ce29d0c worqueue: document the proper argument
   9711591ebdc3 genirq: document swork member
   1aace69fd88f rbtree: include barrier.h
   74d4589809f2 rxrpc: remove unused static variables
   a941e2f0611c x86/apic: get rid of "warning: 'acpi_ioapic_lock' defined but not used"
   9888d1c2e3ab hotplug: Call mmdrop_delayed() in sched_cpu_dying() if PREEMPT_RT_FULL
   debf0ec42b2e drivers/zram: Don't disable preemption in zcomp_stream_get/put()
   c84b472ee376 mm/zs_malloc: Fix bit spinlock replacement
   c17de80bfeba zsmalloc: turn that get_cpu_light() into a local_lock()
   33586701e8ad connector/cn_proc: Protect send_msg() with a local lock on RT
   b20867d36bcd ftrace: Fix trace header alignment

(From OE-Core rev: 6840594c43b892056886f471575ccb49a78f34e4)

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-11-30 15:48:05 +00:00
Bruce Ashfield 1399da42d9 linux-yocto/4.8: fix cryptodev compilation error
It was reported that compilation was broken for the in tree variant of
cryptodev. This commit integrates two patches that fix the issue:

  efbdfa1ed95f cryptodev: stomp dynamic version numbering for in tree builds
  32f54070205f cryptodev: fix compile error when enable CONFIG_CRYPTODEV

(From OE-Core rev: b91469ac21825a86eb7a71f1e91206719061bcaa)

Signed-off-by: Liwei Song <liwei.song@windriver.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-11-30 15:48:05 +00:00
Ross Burton f970936204 systemtap: fix native linking on recent Ubuntu
The latest Ubuntu uses yet more aggressive hardening options, which causes the
unconventional build order used by systemtap to fail.

[ YOCTO #10521 ]

(From OE-Core rev: 5ca6ac8739ea4a273df7b8e5c5f7d481619923d8)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-11-15 15:19:54 +00:00
Ross Burton ebabbfd430 systemtap: remove explicit msgfmt check
Passing --disable-nls should be enough to disable the requirement for a full
gettext to be present, but the upstream configure explicitly checks for msgfmt
even if it isn't going to be used.  To avoid having to depend on gettext-native,
patch this check out.

(From OE-Core rev: 2f8d2a74f73490c1ae35131d3eb3592f7ee0a1e4)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-11-15 15:19:54 +00:00
Alexander Kanavin 9bb4d21aa7 lttng-tools: do not install shared libraries in ptest package
This was creating a race in runtime library dependency resolution
where sometimes the library was assumed to be provided by the ptest
package.

(From OE-Core rev: c4a10c0b4bc14f4bac06deed8ecb64d0303f4029)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-11-06 23:35:33 +00:00
Bruce Ashfield 9bd399c1a6 linux-yocto/4.1: update to v4.1.35
Updating to the korg -stable release.

(From OE-Core rev: c0231b1306034cc03987a5fbabd6f17125c9392b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-11-04 12:50:55 +00:00
Bruce Ashfield 15b68f927c linux-yocto/4.8: update to 4.8.6
Integrating the korg -stable release.

(From OE-Core rev: 2a7d3173c7a05cd09bbcf5fe465403b2d4b2b589)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-11-04 12:50:55 +00:00
Bruce Ashfield c64b12d792 linux-yocto/4.4: update to v4.4.30
Updating to the korg -stable release.

(From OE-Core rev: feed13b4d108a93b4e95ed9f80f9624e1bd1cdf5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-11-04 12:50:55 +00:00
Alexander Kanavin 60a9930989 lttng: enable optional building of manpages
(From OE-Core rev: 6ca9b7a56fac1d1b4f087346d3279bfdd50b93a3)

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>
2016-11-01 10:05:46 +00:00
Olaf Mandel 6e36cc9c40 Remove LIC_FILES_CHKSUM from recipes without SRC_URI
LICENSE and LIC_FILES_CHKSUM apply to the sources specified by SRC_URI,
not to the recipe itself. As such a license declaration for a source-less
recipe makes little sense. The LICENSE declaration is mandatory, but
LIC_FILES_CHKSUM can be removed in such cases.

Remove the LIC_FILES_CHKSUM declarations from all recipes that do not
need it.

CC: Paul Eggleton <paul.eggleton@linux.intel.com>
(From OE-Core rev: b18fa5f2f2f46afc6fdc58f4d29679dea9c36c43)

Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-10-28 16:15:21 +01:00
Alexander Kanavin 8342a25aa5 kmod: enable optional building of manpages
(From OE-Core rev: e7150ee8adabaa4c68d3b4016f3fff2253d77dd7)

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>
2016-10-28 16:15:20 +01:00
Alexander Kanavin 8e5cbe7529 dtc: update to 1.4.2
(From OE-Core rev: 456e51bc5f39ac915a7ec66658410ef223b3d4bc)

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>
2016-10-28 16:15:18 +01:00
Bruce Ashfield e0644d6bd3 linux-yocto/4.8: sync preempt-rt with upstream project
The initial 4.8 -rt feature was directly from Paul Gortmaker, and
now the 'upstream' -rt has done a release on the same kernel
version.

Paul has sync'd the initial effort with the upstream work, and we
now have a consolidated standard/preempt-rt/*

Along with the rsync'd content, Paul has fixed -rt boot on 32 bit
x86.

(From OE-Core rev: 1270050079feeefc38744fdbfe23b16aa1b632a3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-10-26 09:31:47 +01:00
Bruce Ashfield 143f9a3fa8 linux-yocto/4.8: update to v4.8.3
Integrating the korg -stable release

One commit of note is the fix for CVE-2016-5195 (http://dirtycow.ninja/):

 mm: remove gup_flags FOLL_WRITE games from __get_user_pages()

The remaining changes are covered by the following shortlog export:

   mm: remove gup_flags FOLL_WRITE games from __get_user_pages()
   Make __xfs_xattr_put_listen preperly report errors.
   scsi: configure runtime pm before calling device_add in scsi_add_host_with_dma
   v4l: rcar-fcp: Don't force users to check for disabled FCP support
   Linux 4.8.2
   tpm_crb: fix crb_req_canceled behavior
   tpm: fix a race condition in tpm2_unseal_trusted()
   ima: use file_dentry()
   Bluetooth: Add a new 04ca:3011 QCA_ROME device
   ARM: cpuidle: Fix error return code
   ARM: dts: MSM8660 remove flags from SPMI/MPP IRQs
   ARM: dts: MSM8064 remove flags from SPMI/MPP IRQs
   ARM: dts: mvebu: armada-390: add missing compatibility string and bracket
   ARM: fix delays
   x86/dumpstack: Fix x86_32 kernel_stack_pointer() previous stack access
   x86/mm/pkeys: Do not skip PKRU register if debug registers are not used
   arch/x86: Handle non enumerated CPU after physical hotplug
   x86/apic: Get rid of apic_version[] array
   x86/platform/intel-mid: Keep SRAM powered on at boot
   x86/platform/intel-mid: Add Intel Penwell to ID table
   x86/cpu: Rename Merrifield2 to Moorefield
   x86/pkeys: Make protection keys an "eager" feature
   x86/irq: Prevent force migration of irqs which are not in the vector domain
   x86/boot: Fix kdump, cleanup aborted E820_PRAM max_pfn manipulation
   arm64: fix dump_backtrace/unwind_frame with NULL tsk
   KVM: PPC: BookE: Fix a sanity check
   KVM: arm/arm64: vgic: Don't flush/sync without a working vgic
   KVM: arm64: Require in-kernel irqchip for PMU support
   KVM: MIPS: Drop other CPU ASIDs on guest MMU changes
   KVM: PPC: Book3s PR: Allow access to unprivileged MMCR2 register
   xen/x86: Update topology map for PV VCPUs
   mfd: wm8350-i2c: Make sure the i2c regmap functions are compiled
   mfd: 88pm80x: Double shifting bug in suspend/resume
   mfd: atmel-hlcdc: Do not sleep in atomic context
   mfd: rtsx_usb: Avoid setting ucr->current_sg.status
   ALSA: usb-line6: use the same declaration as definition in header for MIDI manufacturer ID
   ALSA: usb-audio: Extend DragonFly dB scale quirk to cover other variants
   ALSA: ali5451: Fix out-of-bound position reporting
   phy: sun4i-usb: Use spinlock to guard phyctl register access
   usb: dwc3: fix Clear Stall EP command failure
   timekeeping: Fix __ktime_get_fast_ns() regression
   usb: storage: fix runtime pm issue in usb_stor_probe2
   Linux 4.8.1
   ALSA: hda - Add the top speaker pin config for HP Spectre x360
   ALSA: hda - Fix headset mic detection problem for several Dell laptops
   ALSA: hda - Adding one more ALC255 pin definition for headset problem
   Revert "usbtmc: convert to devm_kzalloc"
   USB: serial: cp210x: Add ID for a Juniper console
   usb: usbip: vudc: fix left shift overflow
   Staging: fbtft: Fix bug in fbtft-core
   usb: misc: legousbtower: Fix NULL pointer deference
   Using BUG_ON() as an assert() is _never_ acceptable
   arm64: debug: avoid resetting stepping state machine when TIF_SINGLESTEP
   Using BUG_ON() as an assert() is _never_ acceptable

(From OE-Core rev: deb7d22d00ace3bfa1252e0a5df1961386231bc2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-10-25 17:51:19 +01:00
Bruce Ashfield 4fd9b03db4 linux-yocto/4.1: fix CVE-2016-5195 (dirtycow)
Backporting commit 19be0eaffa [mm: remove gup_flags FOLL_WRITE games
from __get_user_pages()] to address the dirtycow exploit.

(From OE-Core rev: 8470ea4cfd5fca4c9573e39c7c3486aeb310990a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-10-25 17:51:19 +01:00
Bruce Ashfield d9f9b526d9 linux-yocto/4.4: update to v4.4.26
Integrating the 4.4.23->26 -stable releases. Among other fixes
this contains commit:

  mm: remove gup_flags FOLL_WRITE games from __get_user_pages()

Which addresses CVE-2016-5195.

(From OE-Core rev: e2472c1a66ef62f6904cc9b635b275e7da32e51a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-10-25 17:51:19 +01:00
Bruce Ashfield a8a481741e kern-tools: make patches with shell-unsafe characters valid
If a patch contains characters like ; or (), it can cause processing
errors in the patch queue.

We had previously fixed this issue by renaming the patches to not
include invalid characters, but with this change to the kern tools
that ensures patch names are wrapped in quotes, we avoid shell
processing and hence they are valid.

(From OE-Core rev: 727afe9e6fb9ef4a24a36cc907ebb6336d12184e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-10-25 17:51:19 +01:00
Bruce Ashfield a32f8ce57b linux-yocto/4.4/4.8: kernel config warning cleanups
Merging the following patches into 4.4 and 4.8 to remove kernel
configuration warnings:

  bbaf01752b01 meta-yocto-bsp: beaglebone: remove the stale kernel options
  552a83790b17 features: Fix configcheck warnings in features used by intel-quark BSPs
  c33d9c2c575f features: Fix configcheck warnings in features used by intel-core* BSPs

(From OE-Core rev: ac9842bc3a17f15c3807aa06e4469c030346420e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-10-25 17:51:19 +01:00
Jackie Huang 21d5c58a1e Revert "linux-libc-headers: fix in/if.h includes"
This issue is fixed in the ppp recipe.

This reverts commit 7c6b78ac8e.

(From OE-Core rev: efc92a63d40b909864505d3d6d22ce74cd6a847b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-10-15 10:01:43 +01:00
Andre McCurdy d8adf58f30 linux-yocto.inc: ensure do_kernel_link_images runs before do_strip
If the do_kernel_link_images task is enabled, then it needs to run
before do_strip. The addtask statement for do_strip makes that
explicit. For consistency, make it explicit in the addtask statement
for do_kernel_link_images too.

(From OE-Core rev: 1296cc0538efe64d666868fd28c5b195ec9c08ff)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-10-15 10:01:43 +01:00
Jackie Huang 40f262f9de Revert "linux-libc-headers: if_tunnel: remove include of if/ip/in6.h"
The issue is fixed in net-tools.

This reverts commit fb71f34d73.

(From OE-Core rev: 804bea398af3e3e3d134e5199eda61afbc285088)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-10-11 08:27:27 +01:00
Bruce Ashfield b872e2b2c7 linux-yocto/4.8: Enable R8169 driver since its needed by supported platforms
The Realtek 8169 driver is needed by the Minnowboard MAX, one of the
    boards we currently support, since some of our images do not contain
    modules by default, the network isnt working on genericx86, genericx86-64
    and intel-core2-32 (meta-intel) when no modules are installed.

    This patch fixes network on images not containing modules when
    using the previously mentioned MACHINES for this board.

(From OE-Core rev: 747f59f5103995654f2b10a52d1dfd2dd4ad1a0e)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-10-08 07:48:03 +01:00
Bruce Ashfield 5f6a62c53f linux-yocto/4.8: fix BUG_ON() in workingset_node_shadows_dec() triggers
Paul Gotmaker pointed out that a last minute merge to the 4.8 kernel
has the potential to hard hang a kernel when VM debugging is enabled:

  https://lkml.org/lkml/2016/10/4/1

He also pointed out the fix for it in commit 21f54dda
[Using BUG_ON() as an assert() is _never_ acceptable].

While that fix will loop through -stable into 4.8.1, that will
likely be too late for our release. So I've cherry picked the
change to make it available.

(From OE-Core rev: eb4b39d5ffbe93d363b05c57196bdac61fa09c59)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-10-05 10:11:20 +01:00
Sujith Haridasan c43aed1ca9 perf: Fix to obey LD failure
This patch brings the last bit from meta-mentor for the perf
to build successfully with minnowmax BSP. The meta-mentor
commit for the same is:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-mentor/commit/meta-mentor-staging?id=a8db95c0d4081cf96915e0c3c4063a44f55e21cc

The previous fix:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-kernel/perf?id=ef942d6025e1a339642b10ec1e29055f4ee6bd46
was incomplete and was not submitted upstream. And due to that this change is required.

When built on minnowmax ( machine name: intel-corei7-64),
an error is noticed during the do_compile:

 /home/sujith/codebench-linux-install-2015.12-133-i686-pc-linux-gnu/codebench/bin/i686-pc-linux-gnu-ld:
Relocatable linking with relocations from format elf64-x86-64
(/home/sujith/MEL/dogwood/build-minnowmax/tmp/work/intel_corei7_64-mel-linux/perf/1.0-r9/perf-1.0/fd/array.o)
to format elf32-i386 (/home/sujith/MEL/dogwood/build-minnowmax/tmp/work/intel_corei7_64-mel-linux/perf/1.0-r9/perf-1.0/fd/libapi-in.o)
is not supported

This change help fix the issue.

(From OE-Core rev: 122ae03e2f1a2252a6914d51087531557f9a08f2)

Signed-off-by: Sujith Haridasan <Sujith_Haridasan@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-10-05 10:10:51 +01:00
Ross Burton 16882885f6 systemtap: rationalise dependencies
Boost is an optional dependency but avoid build non-determinism by adding it as
DEPENDS.  It is only for the shared pointer types so can be disabled explicitly
if required.

Turn sqlite into a PACKAGECONFIG.

Add a patch for the "monitor" feature to control the optional dependencies on
ncurses and json-c. Previously this was enabled for target only but enable it
everwhere now that json-c is available for native/nativesdk.

Of course all of this was predicated about systemtap needing systemtap-native to
be built, but it turns out that this dependency is due to oe-core 507bd2 which
adds systemtap-native as DEPENDS for convenience.  Remove this dependency, if
the user wants systemtap-native then they can build it explicitly.

(From OE-Core rev: fb9dc1cf7a2d6d5e22beb68f17b4c9c8d1136e37)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-10-05 10:10:10 +01:00
Bruce Ashfield fb71f34d73 linux-libc-headers: if_tunnel: remove include of if/ip/in6.h
commit 1fe8e0f074c [include/uapi/linux/if_tunnel.h: include linux/if.h, linux/ip.h and linux/in6.h]
breaks the builds of net-tools.

We remove the new includes until such a time that userspace can adapt to the
new kernel headers.

(From OE-Core rev: cd3720317abaff1e857cfb6b1e2a3741baf8f944)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-10-04 16:29:05 +01:00
Bruce Ashfield 8c5ac488f1 linux-yocto/4.1/4.4: remove innappropriate standard/base patches
Before standard/intel/* was created in the 4.1 and 4.4 kernel trees,
some patches were merged to standard/base to add features/support for
intel platforms.

While this isn't entirely bad, there have been some compile issues
reported in some configurations. Since we don't need these commits
on standard/base, we can relocate them to make standard/base upstream
clean.

This commit removes those patches from standard/base, and restores
then to the standard/intel/* branches.

(From OE-Core rev: 2c19e6378697141992c9bd7ff2bd4d57a4f9fe9b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-10-04 16:29:05 +01:00
Bruce Ashfield 7c6b78ac8e linux-libc-headers: fix in/if.h includes
The following kernel commits broke the compilation of ppp, due to redefined
structures.

Nothing else breaks in userspace with or without these uapi changes, so we
revert them to keep everything building.

   commit 05ee5de7451796cf9a8aeb2f05a57790d4fd2336
   Author: Mikko Rapeli <mikko.rapeli@iki.fi>
   Date:   Mon Aug 22 20:32:42 2016 +0200

       include/uapi/linux/if_pppol2tp.h: include linux/in.h and linux/in6.h

       Fixes userspace compilation errors like:

       error: field <E2><80><98>addr<E2><80><99> has incomplete type
        struct sockaddr_in addr; /* IP address and port to send to */
                           ^
       error: field <E2><80><98>addr<E2><80><99> has incomplete type
        struct sockaddr_in6 addr; /* IP address and port to send to */

       Signed-off-by: Mikko Rapeli <mikko.rapeli@iki.fi>
       Signed-off-by: David S. Miller <davem@davemloft.net>

   commit eafe92114308acf14e45c6c3d154a5dad5523d1a
   Author: Mikko Rapeli <mikko.rapeli@iki.fi>
   Date:   Mon Aug 22 20:32:43 2016 +0200

       include/uapi/linux/if_pppox.h: include linux/in.h and linux/in6.h

       Fixes userspace compilation errors:

       error: field <E2><80><98>addr<E2><80><99> has incomplete type
        struct sockaddr_in addr; /* IP address and port to send to */

       error: field <E2><80><98>addr<E2><80><99> has incomplete type
        struct sockaddr_in6 addr; /* IP address and port to send to */

       Signed-off-by: Mikko Rapeli <mikko.rapeli@iki.fi>
       Signed-off-by: David S. Miller <davem@davemloft.net>

(From OE-Core rev: 12451a412fb7b5706c1553618ee7b704234876cc)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-10-04 16:29:05 +01:00
Bruce Ashfield f154229cb2 linux-yocto/4.8: update to 4.8 -final release
(From OE-Core rev: 7b3ae4631e2c68926b254d0d26608636a492b952)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-10-04 16:29:05 +01:00
Bruce Ashfield 5ffef794c4 linux-libc-headers: update to 4.8 final
We've been using a -rc4 variant of the libc-headers, now that
4.8 has been released, we switch to the final tgz of the headers.

(From OE-Core rev: d7cef1c71dedacda86426a1f9f815a8b7108857b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-10-04 16:29:05 +01:00
Bruce Ashfield e2290f08d4 linux-yocto/4.4: update to v4.4.22
(From OE-Core rev: 286d893f9e7caed06035f7916492a74e0212df6a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-10-04 16:29:05 +01:00
Bruce Ashfield d69f01eb5d linux-yocto/4.1: update to 4.1.33
(From OE-Core rev: af4e9d92ae23f0e668da4732ef79cd1f1bb6fc1f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-10-04 16:29:05 +01:00
Bruce Ashfield edf08e5df4 linux-yocto/4.8: mmc configuration for x86*
Updating the common-pc* configuration to have the following mmc
configs available by default:

  meta/common-pc-64: use mmc-sdhci feature
  meta/common-pc: use mmc-sdhci feature
  meta: add mmc/mmc-sdhci feature
  meta: add mmc/mmc-block feature
  meta: add mmc/base feature

(From OE-Core rev: 024ee2f47ebac39438f87069d48f5e34c9c81891)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-10-04 16:29:05 +01:00
Nathan Rossi 2056bad636 linux-yocto.inc: Run kernel_version_sanity_check with final source
Ensure that the kernel_version_sanity_check task runs after all source
modifications are complete, including any that are introduced during the
kernel_metadata task. This also avoids any race condition issues when
kernel_version_sanity_check and kernel_metadata tasks are running at the
same time.

(From OE-Core rev: ac1b2fd1b1a76125a8cf45130c22fb66eb018555)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-10-01 21:45:55 +01:00
Nathan Lynch 206ad10eaa lttng-tools: fix ptest
Since the upgrade to 2.8, lttng-tools' test harness silently succeeds
but doesn't actually run the tests.  This is because upstream made
some changes in their test harness:

83666813ca

Updates to address this include:
- drop now-irrelevant patch
- change the ptest-run make target
- remove indiscriminate search/replace commands from do_install_ptest
- copy entire build directory into PTEST_PATH and then remove unneeded files
- use lttng binaries installed on the system for the tests
- add lttng-tools-ptest runtime dependencies
  - lttng-tools itself
  - babeltrace, used by the test harness to process traces
  - perl modules required by babelstats.pl test script
  - procps (for pgrep, pidof)
  - gawk
- remove unnecessary chmod and munging of utils.sh script library
- remove checkpatch from ptest installation tree
- avoid path-munging of libtool artifacts altogether
- use more efficient find+sed patterns to munge Makefiles
- reduce test harness output to conform to ptest rules

On qemux86-64 and qemuarm I get relatively stable results, with
PASS/FAIL varying by +-1 on successive runs.

TOTAL: 2345
PASS:  1735
SKIP:  311
XFAIL: 0
FAIL:  292
XPASS: 0
ERROR: 7

There are some ERRORs worth looking into further but this should be a
useful basis for future work.

(From OE-Core rev: 9e9875fc19df6b924aa7f9d06e7b4e07222d0799)

Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-28 10:16:04 +01:00
Bruce Ashfield d31bd86379 linux-yocto/4.8: update to -rc8
Updating linux-yocto*4.8 to -rc8.

(From OE-Core rev: 55b579daa4e66f9e23cf739aed35a39128ccd370)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-28 10:16:04 +01:00
Saul Wold c6fbb37c82 linux-yocto: Move PREFERRED_PROVIDER check to be generic
This check ensures that when the PREFERRED_PROVIDER for virtual/kernel
changes, the previous instances gets removed correctly so when the new
instance installs files into the shared area there is not an overlap of
old and new.

[YOCTO #10278]

(From OE-Core rev: 6b67018c2c0229a91fbc55c6aafb86781caf2499)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-28 10:16:03 +01:00
Daiane Angolini e8426a57d7 linux-firmware: package Broadcom BCM43430 firmware
(From OE-Core rev: a0bc732976670810505286ba43feee70e2c812ce)

Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-28 10:16:03 +01:00
Daiane Angolini 2e18c87dd4 linux-firmware: update to revision 42ad5367
(From OE-Core rev: 526114db836d1ad7cb26ef2b4b8af858eaa841c5)

Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-28 10:16:03 +01:00
Ming Liu 0f16c904c6 lttng-tools: adds DEPENDS to util-linux
lttng-utils rdepends on util-linux-libuuid, this fixes a do_package_qa
QA warning.

(From OE-Core rev: 8a25d4871f10021757041755be4e6bd7bc0292de)

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-24 07:30:09 +01:00
Ming Liu a9f4b94f4f lttng-tools: fixes a wrong header issue
This fixes a following compiling issue:
| agent.c:33:19: fatal error: error.h: No such file or directory
|  #include "error.h"

it's back-ported from lttng-tools upstream, we need it in SRC_URI
since 2.8 is still the latest release.

(From OE-Core rev: 08c9a363cc600cb58ab98cf22de0f7963720dea3)

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-24 07:30:09 +01:00
Christopher Larson ef942d6025 perf: Fix to obey LD failure on qemux86-64
When built on an i686 host for qemux86-64 without the
fix to obey LD and it fails:

/scratch/dogwood/toolchains/x86_64/bin/i686-pc-linux-gnu-ld:
Relocatable linking with relocations from format elf64-x86-64
(/scratch/dogwood/perf-ld-test/build/tmp/work/qemux86_64-mel-linux/perf/1.0-r9/perf-1.0/fs/fs.o)
to format elf32-i386 (/scratch/dogwood/perf-ld-test/build/tmp/work/qemux86_64-mel-linux/perf/1.0-r9/perf-1.0/fs/libapi-in.o)
is not supported

This is because LD includes HOST_LD_ARCH, which contains TUNE_LDARGS,
which is -m elf32_x86_64 for x86_64. Without that, direct use of ld will fail.

(From OE-Core rev: 0ce06611068e74e6ea2e226e3f967aaa91fecd25)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Sujith Haridasan <Sujith_Haridasan@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-22 11:13:24 +01:00
Bruce Ashfield cb169d3ada linux-yocto/4.8: introduce preempt-rt
Paul Gortmaker has made the preempt-rt patch available for the
4.8 kernel.

This commit merges his queue to standard/preempt-rt/rebase, which
will be kept up to date with a clean history, and it also makes
it available in standard/preempt-rt/base, which will be kept fast
forward for board support.

(From OE-Core rev: b475bb88cc5d6700b4fadff1b2bb43a376492c7b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-21 21:58:05 +01:00
Bruce Ashfield 8692bed57b linux-yocto/4.8: integrate 4.8-rc7
Updating to the latest release candidate.

(From OE-Core rev: f15d5d8c09da9260a59ed396a4d5c9d009e5c751)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-21 21:58:05 +01:00
Bruce Ashfield b4cf3f305c linux-yocto/4.1: 4.1.32 content and configuration warning fixes
The LINUX_VERSION was previously updated to 4.1.32, but the
SRCREVs for the actual content were missed. This gets our actual
version and the PV back in sync.

We also update the meta data to fix configuration audit warnings
from the beaglebone builds.

(From OE-Core rev: 255adfaddec0dc44db619bf8726cd7804c09400d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>

squash with 4.1

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-21 21:58:05 +01:00
California Sullivan 0eacf03de1 kernel.bbclass: Add kernel_version_sanity_check function
The kernel being built should match what the recipe claims it is
building. This function ensures that happens by comparing the version
information in the kernel's Makefile to the PV the recipe is using.

v2 changes:
* Match against PV instead of LINUX_VERSION
* Match against EXTRAVERSION as well (e.g., -rc4)
* Cleaned up version string building

Fixes [YOCTO #6767].

(From OE-Core rev: ec467cfaea5c8cf22c61daa8845c2e4e96449512)

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-21 21:58:05 +01:00
Ioan-Adrian Ratiu 67cb1169f5 linux-firmware: package carl9170 separately
Package the carl9170 binary firmware separately because it is needed
by various usb dongles and installing whole linux-firmware is overkill.

carl9170 is an atheros-based firmware, the succesor of ar9170 which is
deprecated and its driver (ar9170) was removed from the kernel tree.
carl9170 comes both as a binary blob and also with free sources; the
sources are deleted in linux-firmware.bb to avoid depeding on bash/etc.

Also we should keep ar9170 as is because OOT drivers might still use it.

The license for carl9170 is GPLv2 (sources are beside the bin in the
linux-firmware git repo).

(From OE-Core rev: 907e6596275850cc31b143a4c3094029b0cd078e)

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-20 15:11:08 +01:00
Saul Wold e5de851697 linux-firmware: Add missing ralink-firmware License
(From OE-Core rev: 57c025ac2328482097bce6913edcd89d0d740a7c)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-20 15:11:07 +01:00