Commit Graph

14 Commits

Author SHA1 Message Date
Bruce Ashfield
3a417fb868 linux-yocto/4.12: ide:ide-cd: fix kernel panic resulting from missing scsi_req_init
Integrating a backport of upstream commit:

    ide:ide-cd: fix kernel panic resulting from missing scsi_req_init

    commit 79d73346ac05bc31 upstream

    Since we split the scsi_request out of struct request, while the
    standard prep_rq_fn builds 10 byte cmds, it missed to invoke
    scsi_req_init() to initialize certain fields of a scsi_request
    structure (.__cmd[], .cmd, .cmd_len and .sense_len but no other
    members of struct scsi_request).

    An example panic on virtual machines (qemu/virtualbox) to boot
    from IDE cdrom:
    ...
    [    8.754381] Call Trace:
    [    8.755419]  blk_peek_request+0x182/0x2e0
    [    8.755863]  blk_fetch_request+0x1c/0x40
    [    8.756148]  ? ktime_get+0x40/0xa0
    [    8.756385]  do_ide_request+0x37d/0x660
    [    8.756704]  ? cfq_group_service_tree_add+0x98/0xc0
    [    8.757011]  ? cfq_service_tree_add+0x1e5/0x2c0
    [    8.757313]  ? ktime_get+0x40/0xa0
    [    8.757544]  __blk_run_queue+0x3d/0x60
    [    8.757837]  queue_unplugged+0x2f/0xc0
    [    8.758088]  blk_flush_plug_list+0x1f4/0x240
    [    8.758362]  blk_finish_plug+0x2c/0x40
    ...
    [    8.770906] RIP: ide_cdrom_prep_fn+0x63/0x180 RSP: ffff92aec018bae8
    [    8.772329] ---[ end trace 6408481e551a85c9 ]---
    ...

    Fixes: 82ed4db499b8 ("block: split scsi_request out of struct request")

    Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
    [bva: modified for 4.12 context]
    Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>

(From OE-Core rev: 089dc30e11a5bbd10bf6bebea6aa0ac2173bc9a3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-05 13:40:33 +00:00
Bruce Ashfield
c7b36ffdc5 linux-yocto/4.12: configuration fragment updates
Integrating the following configuration updates:

 dcf1317b36d2 features/mmc/mmc-realtek: enable Realtek PCI-E card reader support
 1a144ffe5f76 edac: split scc into enablement and patching (for treegen)

(From OE-Core rev: 5135d7c88bd1c50b7462d3f219d778e4a33b2995)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-05 13:40:33 +00:00
Bruce Ashfield
dc8cf0d9b6 linux-yocto/4.12: stable backports and bug fixes
Integrating the following bugfixes to the 4.12 tree:

 26c1863a7448 ALSA: hda: Fix regression of hdmi eld control created based on invalid pcm
 2b020e00dd49 arm64: mm: select CONFIG_ARCH_PROC_KCORE_TEXT
 abcf00d7171c fs/proc: kcore: use kcore_list type to check for vmalloc/module address

(From OE-Core rev: 1027bfffb3d6118a43c5697f36b30dd8e4ae3f96)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-05 13:40:33 +00:00
Bruce Ashfield
b29786e134 linux-yocto/4.12: update to v4.12.14
Integrating the korg -stable releases with the following commit summary:

   fa394784e74b Linux 4.12.14
   d0fa64e2a3e8 ipv6: Fix may be used uninitialized warning in rt6_check
   7816eb3874a2 md/raid5: release/flush io in raid5_do_work()
   b57c1b424549 md/raid1/10: reset bio allocated from mempool
   c3f9d09e70a3 idr: remove WARN_ON_ONCE() when trying to replace negative ID
   a82e202cbb72 fuse: allow server to run in different pid_ns
   7b777a6cc52a x86/switch_to/64: Rewrite FS/GS switching yet again to fix AMD CPUs
   831621ada28a x86/fsgsbase/64: Report FSBASE and GSBASE correctly in core dumps
   90ecd1c5bc55 x86/fsgsbase/64: Fully initialize FS and GS state in start_thread_common
   cb14d4cebdb2 f2fs: check hot_data for roll-forward recovery
   96a069a6babb f2fs: let fill_super handle roll-forward errors
   442df0425e95 sctp: fix missing wake ups in some situations
   aa02286a03c7 ipv6: fix typo in fib6_net_exit()
   18c6d4c4d17a ipv6: fix memory leak with multiple tables during netns destruction
   888b7a94104a ip6_gre: update mtu properly in ip6gre_err
   88f6c6f254bf vhost_net: correctly check tx avail during rx busy polling
   fc33f146d9f1 gianfar: Fix Tx flow control deactivation
   a44bb1c4596a Revert "net: fix percpu memory leaks"
   8fbf9f919597 Revert "net: use lib/percpu_counter API for fragmentation mem accounting"
   79f08820eeb8 bridge: switchdev: Clear forward mark when transmitting packet
   2f4232ba8001 mlxsw: spectrum: Forbid linking to devices that have uppers
   a9e548de4cf9 net: fec: Allow reception of frames bigger than 1522 bytes
   b8fcbae2fefa Revert "net: phy: Correctly process PHY_HALTED in phy_stop_machine()"
   b88be44f595f net/mlx5e: Fix CQ moderation mode not set properly
   8049c41db78d net/mlx5e: Fix inline header size for small packets
   8db40bcf439f net/mlx5: E-Switch, Unload the representors in the correct order
   b0034cb5014e net/mlx5e: Properly resolve TC offloaded ipv6 vxlan tunnel source address
   53c5525785bc net/mlx5e: Don't override user RSS upon set channels
   ba008489371d net/mlx5e: Fix dangling page pointer on DMA mapping error
   7ae1eccbde90 net/mlx5: Fix arm SRQ command for ISSI version 0
   0b6b3028c005 net/mlx5e: Fix DCB_CAP_ATTR_DCBX capability for DCBNL getcap.
   9b919ad3f99f net/mlx5e: Check for qos capability in dcbnl_initialize
   31034e443fbf net: dsa: bcm_sf2: Fix number of CFP entries for BCM7278
   f9901adf536c kcm: do not attach PF_KCM sockets to avoid deadlock
   e7ebdeb47c8b packet: Don't write vnet header beyond end of buffer
   ef5a20f0cbae ipv6: do not set sk_destruct in IPV6_ADDRFORM sockopt
   440ea29af6a5 ipv6: set dst.obsolete when a cached route has expired
   24bd86e62739 cxgb4: Fix stack out-of-bounds read due to wrong size to t4_record_mbox()
   59b304fdff15 net: mvpp2: fix the mac address used when using PPv2.2
   38ca2d395e1c udp6: set rx_dst_cookie on rx_dst updates
   b4426cf20366 netvsc: fix deadlock betwen link status and removal
   3f0204b0b7b5 net: systemport: Free DMA coherent descriptors on errors
   71dd9ac555c5 net: bcmgenet: Be drop monitor friendly
   7def678f47fc net: systemport: Be drop monitor friendly
   c86a65cf30ac tipc: Fix tipc_sk_reinit handling of -EAGAIN
   8aafed19d523 qlge: avoid memcpy buffer overflow
   6da138247b47 sctp: Avoid out-of-bounds reads from address storage
   207ab5d5a250 fsl/man: Inherit parent device and of_node
   4670d7961333 bpf: fix map value attribute for hash of maps
   79d6457e8036 udp: on peeking bad csum, drop packets even if not at head
   1999821fa500 macsec: add genl family module alias
   517e43bd1eba ipv6: fix sparse warning on rt6i_node
   640efece69a4 ipv6: add rcu grace period before freeing fib6_node
   76d3e7ff2362 ipv6: accept 64k - 1 packet length in ip6_find_1stfragopt()
   5d7d2e03e0f0 Linux 4.12.13
   9f7df0bca168 xfs: XFS_IS_REALTIME_INODE() should be false if no rt device present
   da0f4931ec52 NFSv4: Fix up mirror allocation
   3307d5f5099c NFS: Sync the correct byte range during synchronous writes
   6f50e3a1b8c3 NFS: Fix 2 use after free issues in the I/O code
   7714f302294d ARM: 8692/1: mm: abort uaccess retries upon fatal signal
   b9a489e1d4a3 ARM64: dts: marvell: armada-37xx: Fix GIC maintenance interrupt
   8329b5e8c6cf Bluetooth: Properly check L2CAP config option output buffer length
   99dc1296b47c rt2800: fix TX_PIN_CFG setting for non MT7620 chips
   2bce0fe7d0cd KVM: SVM: Limit PFERR_NESTED_GUEST_PAGE error_code check to L1 guest
   9d6412aa06ce ALSA: msnd: Optimize / harden DSP and MIDI loops
   846073130799 mm/memory.c: fix mem_cgroup_oom_disable() call missing
   46791eb9f13e mm/swapfile.c: fix swapon frontswap_map memory leak on error
   637f25e5ba94 mm: kvfree the swap cluster info if the swap file is unsatisfactory
   58989dc3af0d selftests/x86/fsgsbase: Test selectors 1, 2, and 3
   9ed3dc1c0431 radix-tree: must check __radix_tree_preload() return value
   0af760ab3882 rtlwifi: btcoexist: Fix breakage of ant_sel for rtl8723be
   8004198bb025 btrfs: resume qgroup rescan on rw remount
   9a5537a76b62 nvme-fabrics: generate spec-compliant UUID NQNs
   02c54b35cad8 mtd: nand: qcom: fix config error for BCH
   f2339a072e47 mtd: nand: qcom: fix read failure without complete bootchain
   71515c37777d mtd: nand: mxc: Fix mxc_v1 ooblayout
   c54a31845019 mtd: nand: hynix: add support for 20nm NAND chips
   2b8b46b24217 mtd: nand: make Samsung SLC NAND usable again

(From OE-Core rev: e611aef364647a0711d0438247ce42555409c62c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-05 13:40:33 +00:00
Bruce Ashfield
02831d1ba3 linux-yocto/4.12: configuration and feature updates
Integrating features and new configurations for the 4.12 kernel.
With this update, a CGL-ready kernel can be configured out of
the box.

(From OE-Core rev: 43c5846e22d246dde314657dbf90f9752b06a54c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-05 13:40:33 +00:00
Alejandro Hernandez
954fbe7f97 linux-yocto-tiny: Enable qemux86-64 on linux-yocto-tiny 4.12
(From OE-Core rev: 6e7f9c158e26d4b60479b2e88d87b02443a07cb4)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-22 17:15:30 +01:00
Bruce Ashfield
2a65dc3229 linux-yocto/4.12: bluetooth: CVE-2017-1000251
Integrating the following commit:

[
    commit 16de0149674ed12d983b77a453852ac2e64584b4
    Author: Ben Seri <ben@armis.com>
    Date:   Sat Sep 9 23:15:59 2017 +0200

    Bluetooth: Properly check L2CAP config option output buffer length

    Validate the output buffer length for L2CAP config requests and
    responses to avoid overflowing the stack buffer used for building the
    option blocks.

    Cc: stable@vger.kernel.org
    Signed-off-by: Ben Seri <ben@armis.com>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
]

(From OE-Core rev: 04a59a5d8e96b145e094c101b87d40cc2d7a1a25)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-17 23:23:21 +01:00
Bruce Ashfield
6d805a57e7 linux-yocto/4.12: integrate aufs4 core support
The aufs4 now has a 4.12 port, so we can integrate it into the
reference kernel and stay consistent with previous releases.

(From OE-Core rev: 3c60106d86b79c9350102ddf2a904876840b458a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-17 23:23:21 +01:00
Bruce Ashfield
311b80a180 linux-yocto/4.12: update to v4.12.12
Integrating the korg stable update comprising the following commits:

   6ff98e8e5d24 Linux 4.12.12
   ce4ef9346d9f rtlwifi: Fix fallback firmware loading
   21da5e36f41e rtlwifi: Fix memory leak when firmware request fails
   3ef5220bdba7 of/device: Prevent buffer overflow in of_device_modalias()
   aee0b37b710e scsi: sg: recheck MMAP_IO request length with lock held
   b0f24dc0e57b scsi: sg: protect against races between mmap() and SG_SET_RESERVED_SIZE
   1054309aca02 cs5536: add support for IDE controller variant
   e5298cd80371 ahci: don't use MSI for devices with the silly Intel NVMe remapping scheme
   f21c4eea8bb4 workqueue: Fix flag collision
   daf316ac4a6c drm/nouveau: Fix error handling in nv50_disp_atomic_commit
   75bc569a0d4b drm/nouveau/pci/msi: disable MSI on big-endian platforms by default
   e3b9fb20262f s390/mm: fix BUG_ON in crst_table_upgrade
   2ce0e0495177 s390/mm: avoid empty zero pages for KVM guests to avoid postcopy hangs
   d859d5a434f1 MCB: add support for SC31 to mcb-lpc
   f7fb789880dd mwifiex: correct channel stat buffer overflows
   0bfb078274ed dlm: avoid double-free on error path in dlm_device_{register,unregister}
   985696916329 iwlwifi: pci: add new PCI ID for 7265D
   cbe865a2e67d Bluetooth: Add support of 13d3:3494 RTL8723BE device
   7d20c5530a56 rtlwifi: rtl_pci_probe: Fix fail path of _rtl_pci_find_adapter
   a47814b210eb Input: trackpoint - assume 3 buttons when buttons detection fails
   d49ea1b6f98f ath10k: fix memory leak in rx ring buffer allocation
   270f0aadd1d2 intel_th: pci: Add Cannon Lake PCH-LP support
   d2192374b951 intel_th: pci: Add Cannon Lake PCH-H support
   055be595e016 fpga: altera-hps2fpga: fix multiple init of l3_remap_lock
   ba89dc8dce4e crypto: caam/qi - fix compilation with DEBUG enabled
   aa57cf57df95 crypto: caam/qi - fix compilation with CONFIG_DEBUG_FORCE_WEAK_PER_CPU=y
   693ef09dc616 binder: free memory on error
   bbe1a3b3d20d HID: wacom: Do not completely map WACOM_HID_WD_TOUCHRINGSTATUS usage
   af617519a8c2 driver core: bus: Fix a potential double free
   6c6c3c6bd954 iio: adc: ti-ads1015: add adequate wait time to get correct conversion
   00202ded930e iio: adc: ti-ads1015: don't return invalid value from buffer setup callbacks
   303d31eb5adf iio: adc: ti-ads1015: avoid getting stale result after runtime resume
   6c164a8ad918 iio: adc: ti-ads1015: enable conversion when CONFIG_PM is not set
   6c5595e0815d iio: adc: ti-ads1015: fix scale information for ADS1115
   1d7fadc5937f iio: adc: ti-ads1015: fix incorrect data rate setting update
   70bfcf9e319e staging/rts5208: fix incorrect shift to extract upper nybble
   ed68c935f5ae USB: core: Avoid race of async_completed() w/ usbdev_release()
   ffdb5b9e299a ANDROID: binder: add hwbinder,vndbinder to BINDER_DEVICES.
   74ffccfed38f ANDROID: binder: add padding to binder_fd_array_object.
   68596cc21060 USB: musb: fix external abort on suspend
   c927f42c8e38 usb:xhci:Fix regression when ATI chipsets detected
   0e8e379786da usb: Add device quirk for Logitech HD Pro Webcam C920-C
   c8ff3d1a47a2 USB: serial: option: add support for D-Link DWM-157 C1
   572bcfc7fbce usb: quirks: add delay init quirk for Corsair Strafe RGB keyboard
   13817987369a Linux 4.12.11
   9c2144e80db8 epoll: fix race between ep_poll_callback(POLLFREE) and ep_free()/ep_remove()
   38f5d65ad997 drm/nouveau/i2c/gf119-: add support for address-only transactions
   bdacc5fcf4f9 nvme: fix the definition of the doorbell buffer config support bit
   c6d2779d8f0d drm/ttm: Fix accounting error when fail to get pages for pool
   6c5b60edd786 xfrm: policy: check policy direction value
   6cc6f45db016 lib/mpi: kunmap after finishing accessing buffer
   a3deff1d3285 mmc: sdhci-xenon: add set_power callback
   d767ccb7c387 wl1251: add a missing spin_lock_init()
   619d31a0d247 drm/vmwgfx: Fix F26 Wayland screen update issue
   399081a50c48 dm mpath: do not lock up a CPU with requeuing activity
   77ab9e7fb431 CIFS: remove endian related sparse warning
   0627f7136685 CIFS: Fix maximum SMB2 header size
   f3e9dc4504b1 alpha: uapi: Add support for __SANE_USERSPACE_TYPES__
   ae53897e22db cpuset: Fix incorrect memory_pressure control file mapping
   fd20ca80f807 cpumask: fix spurious cpumask_of_node() on non-NUMA multi-node configs
   3d7aeba120fd ceph: fix readpage from fscache
   b3010084e111 mm, madvise: ensure poisoned pages are removed from per-cpu lists
   8c46edd78de9 mm, uprobes: fix multiple free of ->uprobes_state.xol_area
   726bd348ead3 crypto: algif_skcipher - only call put_page on referenced and used pages
   44c6b4a96625 i2c: ismt: Return EMSGSIZE for block reads with bogus length
   7a90bfae6345 i2c: ismt: Don't duplicate the receive length for block reads
   6fb972d03751 crypto: chacha20 - fix handling of chunked input
   6b31ae8707a7 Input: xpad - fix PowerA init quirk for some gamepad models
   2ed56448f555 Input: synaptics - fix device info appearing different on reconnect
   55a5a10ce349 irqchip: mips-gic: SYNC after enabling GIC region
   691208979811 x86/io: Add "memory" clobber to insb/insw/insl/outsb/outsw/outsl
   34ed350889dd arm64: mm: abort uaccess retries upon fatal signal

(From OE-Core rev: d932cd6069bfaeb211fc169553955432e0a67614)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-17 23:23:21 +01:00
Bruce Ashfield
6c72c26d2b linux-yocto/meta: configuration feature additions
Introducing the following configuration features:

  d67d2221cc2d bpf: add bpf kernel config
  3f9fb678aa31 sysrq: add sysrq kernel config
  729eb982ffd8 kexec/kdump: Add config fragments
  e00e63ef3068 kdump: add config fragments

(From OE-Core rev: 97f267497ed72931e02ed2991b0acb229d9aa281)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-17 23:23:21 +01:00
Bruce Ashfield
e2d918d83e linux-yocto/4.12: update to v4.12.10
Updating to the korg -stable release with the following commit
summary:

   6371f030c4dc Linux 4.12.10
   849e96758ab2 powerpc/mm: Ensure cpumask update is ordered
   53220a20cec0 ACPI: EC: Fix regression related to wrong ECDT initialization order
   6e80b88a7f7d ACPI: APD: Fix HID for Hisilicon Hip07/08
   49fa8c02e4a6 ntb: transport shouldn't disable link due to bogus values in SPADs
   ab75f0274d34 ntb: ntb_test: ensure the link is up before trying to configure the mws
   03e58884668e Clarify (and fix) MAX_LFS_FILESIZE macros
   0b9a3f300f89 iommu: Fix wrong freeing of iommu_device->dev
   75005bf89ad7 staging: rtl8188eu: add RNX-N150NUB support
   91628e2afc86 iio: magnetometer: st_magn: remove ihl property for LSM303AGR
   e59c095c11af iio: magnetometer: st_magn: fix status register address for LSM303AGR
   fc7957b6cdd7 iio: hid-sensor-trigger: Fix the race with user space powering up sensors
   a1d7b7e7e116 iio: imu: adis16480: Fix acceleration scale factor for adis16480
   bf9b9d3b382b ANDROID: binder: fix proc->tsk check.
   f6fc60d91549 binder: Use wake up hint for synchronous transactions.
   7771e3f4b0b9 binder: use group leader instead of open thread
   62ccb816aab8 Revert "android: binder: Sanity check at binder ioctl"
   b42c44ade798 Bluetooth: bnep: fix possible might sleep error in bnep_session
   b741896229c1 Bluetooth: cmtp: fix possible might sleep error in cmtp_session
   e792d2d48928 Bluetooth: hidp: fix possible might sleep error in hidp_session_thread
   1eb33a1b89e1 netfilter: nfnetlink: Improve input length sanitization in nfnetlink_rcv
   8b5041077024 netfilter: nat: fix src map lookup
   f5263887165a netfilter: expect: fix crash when putting uninited expectation
   4909a7b79965 net: sunrpc: svcsock: fix NULL-pointer exception
   a8da876c1e45 x86/mm: Fix use-after-free of ldt_struct
   2e11eedec6f0 timers: Fix excessive granularity of new timers after a nohz idle
   2c0dc7f00e19 perf/core: Fix group {cpu,task} validation
   aa2da6c4d548 ftrace: Check for null ret_stack on profile function graph entry function
   1b8ca8851c25 virtio_pci: fix cpu affinity support
   78f2e29f27f1 ring-buffer: Have ring_buffer_alloc_read_page() return error on offline CPU
   8d4f126c0791 nfsd: Limit end of page list when decoding NFSv4 WRITE
   ea5745a5117f cifs: return ENAMETOOLONG for overlong names in cifs_open()/cifs_lookup()
   1bc1c4391b79 cifs: Fix df output for users with quota limits
   3b278d7e8945 kbuild: linker script do not match C names unless LD_DEAD_CODE_DATA_ELIMINATION is configured
   51f49383a924 RDMA/uverbs: Initialize cq_context appropriately
   53a38dfbb5e4 tracing: Fix freeing of filter in create_filter() when set_str is false
   983ba8148e18 tracing: Fix kmemleak in tracing_map_array_free()
   a23e782823d6 tracing: Missing error code in tracer_alloc_buffers()
   3888c3aeb6bc tracing: Call clear_boot_tracer() at lateinit_sync
   1344db83ee17 ACPI: device property: Fix node lookup in acpi_graph_get_child_prop_value()
   dbe5b2d70cfd Revert "drm/amdgpu: fix vblank_time when displays are off"
   4ac9a5daaf82 drm/i915/gvt: Fix the kernel null pointer error
   bbb04b377f85 drm/i915/vbt: ignore extraneous child devices for a port
   d76df456a313 drm/atomic: If the atomic check fails, return its value first
   247122f138c0 drm/atomic: Handle -EDEADLK with out-fences correctly
   d4ae641cc285 drm/sun4i: Implement drm_driver lastclose to restore fbdev console
   08353913312a drm: Release driver tracking before making the object available again
   b96c15655125 drm: Fix framebuffer leak
   865d89f80907 arm64: fpsimd: Prevent registers leaking across exec
   1c229d7ad7b9 mm/memblock.c: reversed logic in memblock_discard()
   f5024bb32d4d fork: fix incorrect fput of ->exe_file causing use-after-free
   4823f4630bfd mm/madvise.c: fix freeing of locked page with MADV_FREE
   c237efed8b35 i2c: designware: Fix system suspend
   3a9495fd3719 dax: fix deadlock due to misaligned PMD faults
   735a252fc5b8 mm, shmem: fix handling /sys/kernel/mm/transparent_hugepage/shmem_enabled
   b2719637b16e PM/hibernate: touch NMI watchdog when creating snapshot
   8b366972d7d4 ARCv2: PAE40: set MSB even if !CONFIG_ARC_HAS_PAE40 but PAE exists in SoC
   fcedf2f28570 ARCv2: PAE40: Explicitly set MSB counterpart of SLC region ops addresses
   763ad31728e8 ARCv2: SLC: Make sure busy bit is set properly for region ops
   8537b1e0ff7f ALSA: firewire-motu: destroy stream data surely at failure of card initialization
   59d000610dc3 ALSA: firewire: fix NULL pointer dereference when releasing uninitialized data of iso-resource
   2f45c61ba400 ALSA: hda - Add stereo mic quirk for Lenovo G50-70 (17aa:3978)
   ba6b08b62f0c ALSA: core: Fix unexpected error at replacing user TLV
   1157dcda136a ALSA: usb-audio: Add delay quirk for H650e/Jabra 550a USB headsets
   2f76f62aef90 KVM: x86: block guest protection keys unless the host has them enabled
   3c498d4bde88 KVM, pkeys: do not use PKRU value in vcpu->arch.guest_fpu.state
   d0e52c825f00 KVM: x86: simplify handling of PKRU
   6dc06cd600d0 KVM: s390: sthyi: fix specification exception detection
   e516834ae81b KVM: s390: sthyi: fix sthyi inline assembly
   ddae9e6ec5d5 Input: ALPS - fix two-finger scroll breakage in right side on ALPS touchpad
   8dcee8e81a0e Input: elan_i2c - add ELAN0602 ACPI ID to support Lenovo Yoga310
   38c36f9d1fca Input: trackpoint - add new trackpoint firmware ID
   c9c682f3f029 bpf/verifier: fix min/max handling in BPF_SUB
   eb6cf01cd6b7 bpf: fix mixed signed/unsigned derived min/max value bounds
   659ee9687a11 bpf, verifier: add additional patterns to evaluate_reg_imm_alu
   d8a4ae09809a net_sched: fix order of queue length updates in qdisc_replace()
   09e1d36d0289 net: sched: fix NULL pointer dereference when action calls some targets
   f4e4a2969919 irda: do not leak initialized list.dev to userspace
   754df4da61d1 net/mlx4_core: Enable 4K UAR if SRIOV module parameter is not enabled
   2d093adfb109 tcp: when rearming RTO, if RTO time is in past then fire RTO ASAP
   7bbc60d9c916 ipv6: repair fib6 tree in failure case
   368129fe14f6 ipv6: reset fn->rr_ptr when replacing route
   c549de482f89 tipc: fix use-after-free
   62b3580fc3f0 sctp: fully initialize the IPv6 address in sctp_v6_to_addr()
   dda844773c47 tun: handle register_netdevice() failures properly
   3c3181e17b35 nfp: fix infinite loop on umapping cleanup
   9c579acf6522 ipv4: better IP_MAX_MTU enforcement
   12ee6d75d6a1 ptr_ring: use kmalloc_array()
   cb445bfc1041 openvswitch: fix skb_panic due to the incorrect actions attrlen
   c6fc7b9892a5 net: igmp: Use ingress interface rather than vrf device
   921739a95d4f bpf: fix bpf_trace_printk on 32 bit archs
   99f635d1e70d net_sched: remove warning from qdisc_hash_add
   cf665a603368 net_sched/sfq: update hierarchical backlog when drop packet
   163db2c61aa1 ipv4: fix NULL dereference in free_fib_info_rcu()
   f1d055463980 dccp: defer ccid_hc_tx_delete() at dismantle time
   a8de69b93e86 dccp: purge write queue in dccp_destroy_sock()
   94fd355614e3 af_key: do not use GFP_KERNEL in atomic contexts
   729420142979 bonding: ratelimit failed speed/duplex update warning
   b39ae1c8bdc4 bonding: require speed/duplex only for 802.3ad, alb and tlb
   16caf8dff7ee sparc64: remove unnecessary log message
   e0e7ae96b723 Linux 4.12.9
   3f40666fff96 usb: qmi_wwan: add D-Link DWM-222 device ID
   e2322bcce288 usb: optimize acpi companion search for usb port devices
   6632ae821b59 debug: Fix WARN_ON_ONCE() for modules
   c170b7930db3 pids: make task_tgid_nr_ns() safe
   e950adf8983f Sanitize 'move_pages()' permission checks
   7cbc3a8aaaa3 kernel/watchdog: Prevent false positives with turbo modes
   ee7025fef78c genirq/ipi: Fixup checks against nr_cpu_ids
   8eee5da54afe genirq: Restore trigger settings in irq_modify_status()
   399193e8ef2d irqchip/atmel-aic: Fix unbalanced refcount in aic_common_rtc_irq_fixup()
   2eceab663b9d irqchip/atmel-aic: Fix unbalanced of_node_put() in aic_common_irq_fixup()
   c4ab73ef2cfc x86/elf: Remove the unnecessary ADDR_NO_RANDOMIZE checks
   932769e10de9 x86: Fix norandmaps/ADDR_NO_RANDOMIZE
   c588e0cb269d x86/asm/64: Clear AC on NMI entries
   44e9d5afcec3 perf/x86: Fix RDPMC vs. mm_struct tracking
   33f1d0c79b04 xen-blkfront: use a right index when checking requests
   bd876f33dbeb powerpc: Fix VSX enabling/flushing to also test MSR_FP and MSR_VEC
   a77b5b81ad59 blk-mq-pci: add a fallback when pci_irq_get_affinity returns NULL
   e88bdec3ff7c ARM: dts: imx6qdl-nitrogen6_som2: fix PCIe reset
   c1cee6062ac9 xen: fix bio vec merging
   aab425db4279 mm: revert x86_64 and arm64 ELF_ET_DYN_BASE base changes
   8ac8e1d2a254 mm/vmalloc.c: don't unconditonally use __GFP_HIGHMEM
   6b2676ed32ba mm/mempolicy: fix use after free when calling get_mempolicy
   8b53b7560a8b mm/cma_debug.c: fix stack corruption due to sprintf usage
   76e8fe02bf50 mm: fix double mmap_sem unlock on MMF_UNSTABLE enforced SIGBUS
   889a17078f25 slub: fix per memcg cache leak on css offline
   4d45f00b927c mm: discard memblock data later
   c24138794d14 ALSA: usb-audio: add DSD support for new Amanero PID
   c482b084491b ALSA: usb-audio: Add mute TLV for playback volumes on C-Media devices
   b33fcbb01b3a ALSA: usb-audio: Apply sample rate quirk to Sennheiser headset
   8f05296965d8 ALSA: seq: 2nd attempt at fixing race creating a queue
   6a280cd12306 MD: not clear ->safemode for external metadata array
   7987c4066cbb md: always clear ->safemode when md_check_recovery gets the mddev lock.
   febaf83252f2 md: fix test in md_write_start()
   5f46f337bdeb Input: elan_i2c - Add antoher Lenovo ACPI ID for upcoming Lenovo NB
   04d0645d62a5 Input: elan_i2c - add ELAN0608 to the ACPI table
   b5e042f90f1f drm/amdgpu: save list length when fence is signaled
   2149506faff1 drm/i915: Perform an invalidate prior to executing golden renderstate
   aac1a12cc700 crypto: x86/sha1 - Fix reads beyond the number of blocks passed
   f1615538cd1c crypto: ixp4xx - Fix error handling path in 'aead_perform()'
   0a76684da5c2 parisc: pci memory bar assignment fails with 64bit kernels on dino/cujo
   dfaf892df105 audit: Fix use after free in audit_remove_watch_rule()
   a0fb6543b40f Linux 4.12.8
   1d4efdd222c4 powerpc: Fix /proc/cpuinfo revision for POWER9 DD2
   d40a54500008 MIPS: Octeon: Fix broken EDAC driver.
   bc60edb6aa3f Revert "MIPS: Don't unnecessarily include kmalloc.h into <asm/cache.h>."
   0a5a16f6cefd MIPS: DEC: Fix an int-handler.S CPU_DADDI_WORKAROUNDS regression
   888986477133 pinctrl: meson-gxl: Add missing GPIODV_18 pin entry
   d7b28b4cae66 pinctrl: meson-gxbb: Add missing GPIODV_18 pin entry
   155407bbf9f2 pinctrl: samsung: Remove bogus irq_[un]mask from resource management
   21d22dffc344 pinctrl: uniphier: fix WARN_ON() of pingroups dump on LD20
   338ac5dd59b9 pinctrl: uniphier: fix WARN_ON() of pingroups dump on LD11
   be9f65893e3b pinctrl: intel: merrifield: Correct UART pin lists
   5fa72b4b746a pinctrl: sunxi: add a missing function of A10/A20 pinctrl driver
   c75a48eed01f pinctrl: cherryview: Add Setzer models to the Chromebook DMI quirk
   cc7f330bed71 pnfs/blocklayout: require 64-bit sector_t
   e8a1edad18fa iio: adc: vf610_adc: Fix VALT selection value for REFSEL bits
   0e1f0eaed6c2 xhci: Reset Renesas uPD72020x USB controller for 32-bit DMA issue
   ea9647cf87f5 PCI: Add pci_reset_function_locked()
   c71305e6854d PCI: Remove __pci_dev_reset() and pci_dev_reset()
   31e71939a4dd PCI: Protect pci_error_handlers->reset_notify() usage with device_lock()
   b23ef7b8dd7e usb:xhci:Add quirk for Certain failing HP keyboard on reset after resume
   73e7a2dca9cc usb: quirks: Add no-lpm quirk for Moshi USB to Ethernet Adapter
   488f4d8048e2 usb: core: unlink urbs from the tail of the endpoint's urb_list
   7ff799af2c21 USB: Check for dropped connection before switching to full speed
   c45923eb9413 usb: renesas_usbhs: Fix UGCTRL2 value for R-Car Gen3
   f5324020bcef usb: gadget: udc: renesas_usb3: Fix usb_gadget_giveback_request() calling
   7926348676f5 block: Make blk_mq_delay_kick_requeue_list() rerun the queue at a quiet time
   67e1a98e3a74 firmware: avoid invalid fallback aborts by using killable wait
   b1b5c0b23a90 firmware: fix batched requests - send wake up on failure on direct lookups
   c2c32ed5e6bf firmware: fix batched requests - wake all waiters
   f0834df3d97e uas: Add US_FL_IGNORE_RESIDUE for Initio Corporation INIC-3069
   c208cb9a5596 staging: comedi: comedi_fops: do not call blocking ops when !TASK_RUNNING
   20035abc9e08 iio: adc: Revert "axp288: Drop bogus AXP288_ADC_TS_PIN_CTRL register modifications"
   c1164cc258bc iio: light: tsl2563: use correct event code
   39e07a5c112c iio: pressure: st_pressure_core: disable multiread by default for LPS22HB
   8886738d06fa iio: accel: bmc150: Always restore device to normal mode after suspend-resume
   3fdd0854800e iio: accel: st_accel: add SPI-3wire support
   5f26ebe1afdc iio: aspeed-adc: wait for initial sequence.
   f0ab97d1aa14 staging:iio:resolver:ad2s1210 fix negative IIO_ANGL_VEL read
   9ccd63a6fdbd USB: hcd: Mark secondary HCD as dead if the primary one died
   792c00cb2377 usb: musb: fix tx fifo flush handling again
   ab51515ece30 USB: serial: pl2303: add new ATEN device id
   492eb6125c83 USB: serial: cp210x: add support for Qivicon USB ZigBee dongle
   b576de1e12c9 USB: serial: option: add D-Link DWM-222 device ID
   59f1322cc1e5 drm/i915: Fix out-of-bounds array access in bdw_load_gamma_lut
   4eedc8a7f03b drm/etnaviv: Fix off-by-one error in reloc checking
   8f0f15cc167d drm/bridge: tc358767: fix probe without attached output node
   1cc5cd5b97b5 nfs/flexfiles: fix leak of nfs4_ff_ds_version arrays
   8d189f60407f mmc: mmc: correct the logic for setting HS400ES signal voltage
   3329fe0e05f8 nand: fix wrong default oob layout for small pages using soft ecc
   1f2f0f1a75bd i2c: designware: Some broken DSTDs use 1MiHz instead of 1MHz
   cfea0422a154 fuse: initialize the flock flag in fuse_file on allocation
   59c74236092d target: Fix node_acl demo-mode + uncached dynamic shutdown regression
   7b0d44e25fdb usb-storage: fix deadlock involving host lock and scsi_done
   428048128bf0 iscsi-target: Fix iscsi_np reset hung task during parallel delete
   f838bd1752be iscsi-target: fix memory leak in iscsit_setup_text_cmd()
   a0e1953e0310 mtd: nand: Declare tBERS, tR and tPROG as u64 to avoid integer overflow
   867c07788e97 mtd: nand: Fix timing setup for NANDs that do not support SET FEATURES
   a34d48d5ca47 mtd: nand: atmel: Fix DT backward compatibility in pmecc.c
   0eda7e0bf238 pinctrl: armada-37xx: Fix number of pin in south bridge
   8452494828f7 xfs: Fix leak of discard bio
   0af6995672cb xtensa: don't limit csum_partial export by CONFIG_NET
   094849d602a0 xtensa: mm/cache: add missing EXPORT_SYMBOLs
   5e96389b3adc xtensa: fix cache aliasing handling code for WT cache
   5c1d458de22b futex: Remove unnecessary warning from get_futex_key
   5f064f8a0d4b mm: fix list corruptions on shmem shrinklist
   10df347170c3 mm: ratelimit PFNs busy info message

(From OE-Core rev: 180acc0b1044ff826478b1dac30d20f34eed3023)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-02 00:52:09 +01:00
Bruce Ashfield
ea81d59839 linux-yocto/4.12: silence qeumarma9 config warnings
When building the qemuarma9 BSP, we get the following warnings:

 ---------- CONFIG_VGA_CONSOLE -----------------
 Config: CONFIG_VGA_CONSOLE
 From:
  tmp/work-shared/qemuarma9/kernel-source/.kernel-meta/configs/standard/arm-versatile-926ejs/bsp/qemuarma9/qemuarma9.cfg
 Requested value:  # CONFIG_VGA_CONSOLE is not set
 Actual value:

 ---------- CONFIG_USB_ISP1760_HCD -----------------
 Config: CONFIG_USB_ISP1760_HCD
 From:
  tmp/work-shared/qemuarma9/kernel-source/.kernel-meta/configs/standard/arm-versatile-926ejs/bsp/qemuarma9/qemuarma9.cfg
 Requested value:  CONFIG_USB_ISP1760_HCD=y
 Actual value:

Both of these options no longer need to be in the BSP fragments
for qemuarma9, we fix them with these meta data changes:

  a2edeff915b9 qemuarma9: remove USB_ISP1760_HCD
  5f76e8f64fa5 qemuarma9: drop VGA console disable

(From OE-Core rev: b3abced7aadf9d51017b1d0c1ae44886649ff6a3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-02 00:52:09 +01:00
Bruce Ashfield
76d2bd150b linux-yocto/4.12: fix yaffs2 build
Yaffs2 needs some tweaks to build against the 4.12 kernel, we
import the following two commits:

  084d8ae2f349 fs: yaffs2: includes the missing header file
  595f7d1759d9 fs: yaffs2: replace CURRENT_TIME by other appropriate apis

(From OE-Core rev: c62fa4393014caa526875b7d7a07fc634314f279)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-02 00:52:09 +01:00
Bruce Ashfield
1a8c7cd061 linux-yocto: introduce 4.12 recipes
The 4.12 kernel will be the default/reference for the fall 2017
release.

These recipes represent the introduction of 4.12.7 + related kernel
meta data. Existing functionality has been validated against this
new kernel version, and older versions will be removed in separate
commits.

(From OE-Core rev: 4e5044bcea68f3bac3596507f0828d3cbe869df1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-23 12:06:51 +01:00